PageRenderTime 240ms queryFilters 0ms Sphinxql 46ms app.CodeModel.GetByIds 125ms findMatchingLines 37ms GetByIds 162ms meta 0ms repositoryFilters 13ms languageFilters 2ms sourceFilters 3ms

4,262 results for 'eval $_GET' (240 ms)

Source

Language

Repository

GET.js https://github.com/pipifuyj/global.git | JavaScript | 39 lines
19		}
20		eval("if(typeof _GET"+t+"==\"undefined\")_GET"+t+"={};")
21	}
21	}
22	eval("_GET"+t+"=\""+value+"\";");
23}
anagrams.m4 https://gitlab.com/dlucenap/RosettaCodeData.git | m4 | 46 lines
4   [ifelse($#,0,[[$0]],
5   [ifelse(eval($2<=$3),1,
6   [pushdef([$1],$2)$4[]popdef([$1])$0([$1],incr($2),$3,[$4])])])])
8define([eachlineA],
9   [ifelse(eval($2>0),1,
10      [$3(substr([$1],0,$2))[]eachline(substr([$1],incr($2)),[$3])])])
15define([checkfirst],
16   [ifelse(eval(index([$2],substr([$1],0,1))<0),1,
17      0,
21   [ifelse([$1],[$2],1,
22      eval(len([$1])!=len([$2])),1,0,
23      len([$1]),0,0,
29define([matchj],
30   [_set([count],$2,incr(_get([count],$2)))[]ifelse(eval(_get([count],$2)>_max),
31         1,[define([_max],incr(_max))])[]_set([list],$2,[_get([list],$2) $1])])
anagrams.m4 https://github.com/aayushKumarJarvis/RosettaCodeData.git | m4 | 46 lines
4   [ifelse($#,0,[[$0]],
5   [ifelse(eval($2<=$3),1,
6   [pushdef([$1],$2)$4[]popdef([$1])$0([$1],incr($2),$3,[$4])])])])
8define([eachlineA],
9   [ifelse(eval($2>0),1,
10      [$3(substr([$1],0,$2))[]eachline(substr([$1],incr($2)),[$3])])])
15define([checkfirst],
16   [ifelse(eval(index([$2],substr([$1],0,1))<0),1,
17      0,
21   [ifelse([$1],[$2],1,
22      eval(len([$1])!=len([$2])),1,0,
23      len([$1]),0,0,
29define([matchj],
30   [_set([count],$2,incr(_get([count],$2)))[]ifelse(eval(_get([count],$2)>_max),
31         1,[define([_max],incr(_max))])[]_set([list],$2,[_get([list],$2) $1])])
anagrams.m4 https://github.com/cxchan1/RosettaCodeData.git | m4 | 46 lines
4   [ifelse($#,0,[[$0]],
5   [ifelse(eval($2<=$3),1,
6   [pushdef([$1],$2)$4[]popdef([$1])$0([$1],incr($2),$3,[$4])])])])
8define([eachlineA],
9   [ifelse(eval($2>0),1,
10      [$3(substr([$1],0,$2))[]eachline(substr([$1],incr($2)),[$3])])])
15define([checkfirst],
16   [ifelse(eval(index([$2],substr([$1],0,1))<0),1,
17      0,
21   [ifelse([$1],[$2],1,
22      eval(len([$1])!=len([$2])),1,0,
23      len([$1]),0,0,
29define([matchj],
30   [_set([count],$2,incr(_get([count],$2)))[]ifelse(eval(_get([count],$2)>_max),
31         1,[define([_max],incr(_max))])[]_set([list],$2,[_get([list],$2) $1])])
jnode.js https://github.com/annmuor/jnode.git | JavaScript | 83 lines
73	url += ((url.indexOf("?") >= 0) ? "&cb=" : "?cb=") + callback;
74	eval(_get(url));
75}
compiler.txt https://bitbucket.org/Spivey/geomlab | Unknown | 931 lines
724  let c_match(ps, env) =
725    { Carefully evaluate from left to right }
726    let compile(_, []) = []
741        let match = c_match(patts, env) in
742        let eval = c_exp(body, env, true) in
743        reset(env) >>
743        reset(env) >>
744        [[#seq, fst(match), eval], snd(match)]
745
750        let test = c_exp(guard, env, false) in
751        let eval = c_exp(body, env, true) in
752        reset(env) >>
752        reset(env) >>
753        [[#seq, fst(match), test, [#JFALSE, f], eval], [f, 0]:snd(match)] in
754
test_mlabwrap.py https://bitbucket.org/ronw/gordon | Python | 429 lines
390        self.assertRaises(TypeError, mlabraw.get, object(), 'a')
391        self.assertRaises(TypeError, mlabraw.eval, object(), '1')
392
395        # chars is safe
396        mlabraw.eval(mlab._session, '1'*(BUFSIZE-100))
397        assert numpy.inf == mlabraw.get(mlab._session, 'ans');
398        # test for buffer overflow detection
399        self.assertRaises(Exception, mlabraw.eval, mlab._session, '1'*BUFSIZE)
400        self.assertEqual(mlabraw.eval(mlab._session, r"fprintf('1\n')"),'1\n')
401        try:
402            self.assertEqual(mlabraw.eval(mlab._session, r"1"),'')
403        finally:
403        finally:
404            mlabraw.eval(mlab._session,'clear ans')
405        #print "tested mlabraw"
WWW.pm https://bitbucket.org/plwiki/bot | Perl | 444 lines
38
39	eval {
40		$this->_get( 'title' => 'Special:UserLogin' );
133
134	eval {
135		$this->_get(
157
158	eval {
159		$this->_get(
189
190	eval {
191
225	my $text = undef;
226	eval {
227		$this->_get(
mlabwrap.py https://bitbucket.org/ronw/gordon | Python | 669 lines
265                state['mlab_contents'], suffix='.mat', binary=1)
266            mlabraw.eval(mlab._session,
267                       "TMP_UNPICKLE_STRUCT__ = load('%s', '%s');" % (
268                tmp_filename, old_name))
269            mlabraw.eval(mlab._session,
270                       "%s = TMP_UNPICKLE_STRUCT__.%s;" % (mlab_name, old_name))
270                       "%s = TMP_UNPICKLE_STRUCT__.%s;" % (mlab_name, old_name))
271            mlabraw.eval(mlab._session, "clear TMP_UNPICKLE_STRUCT__;")
272            # XXX
273            mlab._make_proxy(mlab_name, constructor=lambda *args: self.__init__(*args) or self)
274            mlabraw.eval(mlab._session, 'clear %s;' % mlab_name)
275        finally:
295        if self._parent is None:
296            mlabraw.eval(self._mlabwrap._session, 'clear %s;' % self._name)
297    def _get_part(self, to_get):
old_test_mlabwrap.py https://bitbucket.org/joshayers/mlabwrap | Python | 434 lines
395        self.assertRaises(TypeError, mlabraw.get, object(), 'a')
396        self.assertRaises(TypeError, mlabraw.eval, object(), '1')
397
400        # chars is safe
401        mlabraw.eval(self.mlab._session, '1'*(BUFSIZE-100))
402        assert numpy.inf == mlabraw.get(self.mlab._session, 'ans');
403        # test for buffer overflow detection
404        self.assertRaises(Exception, mlabraw.eval, self.mlab._session, '1'*BUFSIZE)
405        self.assertEqual(mlabraw.eval(self.mlab._session, r"fprintf('1\n')"),'1\n')
406        try:
407            self.assertEqual(mlabraw.eval(self.mlab._session, r"1"),'')
408        finally:
408        finally:
409            mlabraw.eval(self.mlab._session,'clear ans')
410        #print "tested mlabraw"
Perlate.pm https://github.com/gitpan/Text-Perlate.git | Perl | 693 lines
22
23To catch errors, wrap calls to this module in eval{} and check $@.
24
138containing Perl code, surrounds it with a bit of setup and tear-down code, then
139eval's the string to create a new package, then calls the package's _main()
140function.  The setup code includes a "package" statement and
143close it in a later one, for example, to conditionally emit certain text or to
144repeat a block of text in a loop.  A perlate is only eval'd once.  Subsequent
145calls to it simply call _main() again.  (This is the reason it is wrapped in a
2200 is none.  1 or more enables basic debugging.  10 or more dumps the code as
221it is eval'd.  Changes to this knob are not considered relevent to the API.
222
559
560		# Change $text into eval'able code and append to eval string.
561		if(defined $text and $text ne '') {
javascript.js https://bitbucket.org/teramako/vimperator | JavaScript | 620 lines
52                    // However, as we really need to make sure, values coming
53                    // from content scope are never used in unsecured eval(),
54                    // we dissallow unwrapping objects for now, unless the user
116
117    eval: function eval(arg, key, tmp) {
118        let cache = this.context.cache.eval;
125
126        context[JavaScript.EVAL_TMP] = tmp;
127        try {
441
442        // Find any complete statements that we can eval before we eval our object.
443        // This allows for things like: let doc = window.content.document; let elem = doc.createElement...; elem.<Tab>
568}, {
569    EVAL_TMP: "__liberator_eval_tmp",
570
finddialog.itk https://bitbucket.org/vrrm/brl-cad-copy-for-fast-history-browsing-in-git.git | TCL | 489 lines
162    #
163    eval itk_initialize $args
164}
253    if {$itk_option(-clearcommand) != {}} {
254	eval $itk_option(-clearcommand)
255    }
341	# Create the final search command out of the pre and post parts
342	# and evaluate it which returns the location of the matching string.
343	#
346
347	if {[catch {eval $cmd} matchPoint] != 0} {
348	    set _searchPoint($itk_option(-textwidget)) 1.0
javascript.jsm https://bitbucket.org/oshybystyi/pentadactyl-fork | Unknown | 903 lines
110
111    evalled: function evalled(arg, key, tmp) {
112        let cache = this.context.cache.evalled;
121        try {
122            cache[key] = this.modules.dactyl.userEval(arg, context, /*L*/"[Command Line Completion]", 1);
123
464        this.context.getCache("evalled", Object);
465        this.context.getCache("evalContext", this.closure.newContext);
466
468
469        // Find any complete statements that we can eval before we eval our object.
470        // This allows for things like:
645}, {
646    EVAL_TMP: "__dactyl_eval_tmp",
647
javascript.js https://github.com/bangpt/vimperator-labs.git | JavaScript | 644 lines
50                    // However, as we really need to make sure, values coming
51                    // from content scope are never used in unsecured eval(),
52                    // we dissallow unwrapping objects for now, unless the user
117
118    eval: function eval(arg, key, tmp) {
119        let cache = this.context.cache.eval;
126
127        context[JavaScript.EVAL_TMP] = tmp;
128        try {
461
462        // Find any complete statements that we can eval before we eval our object.
463        // This allows for things like: let doc = window.content.document; let elem = doc.createElement...; elem.<Tab>
590}, {
591    EVAL_TMP: "__liberator_eval_tmp",
592
javascript.js https://github.com/caseman72/vimperator-labs.git | JavaScript | 644 lines
50                    // However, as we really need to make sure, values coming
51                    // from content scope are never used in unsecured eval(),
52                    // we dissallow unwrapping objects for now, unless the user
117
118    eval: function eval(arg, key, tmp) {
119        let cache = this.context.cache.eval;
126
127        context[JavaScript.EVAL_TMP] = tmp;
128        try {
461
462        // Find any complete statements that we can eval before we eval our object.
463        // This allows for things like: let doc = window.content.document; let elem = doc.createElement...; elem.<Tab>
590}, {
591    EVAL_TMP: "__liberator_eval_tmp",
592
BDB.pm https://gitlab.com/mba811/spamassassin.git | Perl | 1,576 lines
41BEGIN {
42  eval { require Digest::SHA; import Digest::SHA qw(sha1); 1 }
43  or do { require Digest::SHA1; import Digest::SHA1 qw(sha1) }
52
53use constant HAS_BDB => eval { require BerkeleyDB; BerkeleyDB->import; };
54
170    # Create the path
171    eval {
172      mkpath($path, 0, (oct($main->{conf}->{bayes_file_mode}) & 0777));
323      dbg("bayes: closing database $handle");
324      eval { $handles->{$handle}->db_close };  # ignoring status
325    }
1091  my $path = $main->sed_path($main->{conf}->{bayes_path});
1092  eval {rmpath($path)};
1093  return 1;
tcoll.js https://gitlab.com/sapobogdan/hackatoning.git | JavaScript | 1,332 lines
1082
1083	eval("matcher = function (obj) { return "+ (arrayMatch?qt.native3():qt.native()) + " }");
1084
1134				with (value.scope) {
1135					obj[key] = eval('(' + value.code + ')');
1136				}
1171				with (map.scope) {
1172					map = eval('(' + map.code + ')');
1173				}
1173				}
1174			} else map = eval('(' + map + ')');
1175			if (reduce instanceof Code) {
1176				with (reduce.scope) {
1177					reduce = eval('(' + reduce.code + ')');
1178				}
mlabwrap.py https://bitbucket.org/nikratio/mlabwrap | Python | 631 lines
253        if self._parent is None:
254            mlabraw.eval(self._mlabwrap._session, 'clear %s;' % self._name)
255    def _get_part(self, to_get):
258            # with 'atomic' values like ``foo`` and not e.g. ``foo.bar``.
259            mlabraw.eval(self._mlabwrap._session, "TMP_VAL__=%s" % to_get)
260            return self._mlabwrap._get('TMP_VAL__', remove=True)
264        if isinstance(value, MlabObjectProxy):
265            mlabraw.eval(self._mlabwrap._session, "%s = %s;" % (to_set, value._name))
266        else:
267            self._mlabwrap._set("TMP_VAL__", value)
268            mlabraw.eval(self._mlabwrap._session, "%s = TMP_VAL__;" % to_set)
269            mlabraw.eval(self._mlabwrap._session, 'clear TMP_VAL__;')
407    def _var_type(self, varname):
408        mlabraw.eval(self._session,
409                     "TMP_CLS__ = class(%(x)s); if issparse(%(x)s),"
mlabwrap_core.py https://bitbucket.org/joshayers/mlabwrap | Python | 568 lines
137        if self._parent is None:
138            mlabraw.eval(self._mlabwrap._session, 'clear %s;' % self._name)
139    def _get_part(self, to_get):
142            # with 'atomic' values like ``foo`` and not e.g. ``foo.bar``.
143            mlabraw.eval(self._mlabwrap._session, "TMP_VAL__=%s" % to_get)
144            return self._mlabwrap._get('TMP_VAL__', remove=True)
149        if isinstance(value, MlabObjectProxy):
150            mlabraw.eval(self._mlabwrap._session, "%s = %s;" % (to_set, value._name))
151        else:
152            self._mlabwrap._set("TMP_VAL__", value)
153            mlabraw.eval(self._mlabwrap._session, "%s = TMP_VAL__;" % to_set)
154            mlabraw.eval(self._mlabwrap._session, 'clear TMP_VAL__;')
282        command = "cd('{0}')"
283        self._mlabraw_eval(command.format(os.getcwd()))
284
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21