PageRenderTime 368ms queryFilters 0ms Sphinxql 295ms app.CodeModel.GetByIds 14ms findMatchingLines 18ms GetByIds 32ms meta 0ms repositoryFilters 7ms languageFilters 1ms sourceFilters 1ms

4,916,907 results for 'foreach' (368 ms)

Source

Language

Repository

Data.php https://bitbucket.org/acidel/buykoala.git | PHP | 1,514 lines
109            if (!empty($result)) {
110                foreach ($result as &$found) {
111
262        $ret = "001";
263        foreach ($list as $key => $value) {
264            if (strpos($locale, '_') !== false) {
340                if ($value === 1) {
341                    foreach($temp as $key => $value) {
342                        if ((is_numeric($key) === false) and ($key != 'QO') and ($key != 'QU')) {
346                } else if ($value === 2) {
347                    foreach($temp as $key => $value) {
348                        if (is_numeric($key) or ($key == 'QO') or ($key == 'QU')) {
555                $_temp = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value . '\']/dateTimeFormats/availableFormats/dateFormatItem', 'id');
556                foreach($_temp as $key => $found) {
557                    $temp += self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value . '\']/dateTimeFormats/availableFormats/dateFormatItem[@id=\'' . $key . '\']', '', $key);
devel_node_access.module https://bitbucket.org/dgolovnyak/ra.git | Unknown | 1,389 lines
133  $rows = array();
134  foreach ($result as $row) {
135    $rows[] = array($row->realm);
166  $rows = array();
167  foreach ($result as $row) {
168    $rows[] = array($row->realm);
180  $rows = array();
181  foreach ($result as $row) {
182    $rows[] = array(
202  $rows = array();
203  foreach ($result as $row) {
204    // no Views yet:
249  $return = array();
250  foreach (module_implements($hook) as $module) {
251    $function = $module . '_' . $hook;
Kurs.cs https://bitbucket.org/wawrzek/autoszkola.git | C# | 872 lines
250                //cenaJazda = (Double)(listJ.Count * TypKursu.GetCenaJazda());
251                foreach (KursGodzina kursGodzina in listJ)
252                    cenaJazda += TypKursu.GetCenaJazda(kursGodzina.Czas);
258                //cenaTeoria = (Double)(listT.Count * TypKursu.GetCenaTeoria());
259                foreach (KursGodzina kursGodzina in listT)
260                    cenaTeoria += TypKursu.GetCenaTeoria(kursGodzina.Czas);
266                //cenaDodatkowa = (Double)(listD.Count * TypKursu.GetCenaDodatkowa());
267                foreach (KursGodzina kursGodzina in listD)
268                    cenaDodatkowa += TypKursu.GetCenaDodatkowa(kursGodzina.Czas);
274                //cenaEgzaminJazda = (Double)(listEJ.Count * TypKursu.GetCenaEgzaminJazda());
275                foreach (KursGodzina kursGodzina in listEJ)
276                    cenaEgzaminJazda += TypKursu.GetCenaEgzaminJazda(kursGodzina.Czas);
282                //cenaEgzaminTeoria = (Double)(listET.Count * TypKursu.GetCenaEgzaminTeoria());
283                foreach (KursGodzina kursGodzina in listET)
284                    cenaEgzaminTeoria += TypKursu.GetCenaEgzaminTeoria(kursGodzina.Czas);
Data.php https://bitbucket.org/skuda/rsslounge.git | PHP | 1,515 lines
109            if (!empty($result)) {
110                foreach ($result as &$found) {
111
262        $ret = "001";
263        foreach ($list as $key => $value) {
264            if (strpos($locale, '_') !== false) {
340                if ($value === 1) {
341                    foreach($temp as $key => $value) {
342                        if ((is_numeric($key) === false) and ($key != 'QO') and ($key != 'QU')) {
346                } else if ($value === 2) {
347                    foreach($temp as $key => $value) {
348                        if (is_numeric($key) or ($key == 'QO') or ($key == 'QU')) {
555                $_temp = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value . '\']/dateTimeFormats/availableFormats/dateFormatItem', 'id');
556                foreach($_temp as $key => $found) {
557                    $temp += self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value . '\']/dateTimeFormats/availableFormats/dateFormatItem[@id=\'' . $key . '\']', '', $key);
folk_assignGear_nato.sqf https://bitbucket.org/zorrobyte/dws.git | Unknown | 546 lines
214	{
215		{_unit addmagazine _glriflemag} foreach [1,2,3,4,5,6,7];	//_COriflemag
216		{_unit addmagazine _glriflemag_tr} foreach [1,2,3];	//_COriflemag
216		{_unit addmagazine _glriflemag_tr} foreach [1,2,3];	//_COriflemag
217		{_unit addmagazine _glmag} foreach [1,2,3];
218		{_unit addmagazine _glsmokewhite} foreach [1,2,3];
219		_unit addweapon _glrifle;									//_COrifle
220		{_unit addmagazine _pistolmag} foreach [1,2];
221		_unit addweapon _pistol;		
221		_unit addweapon _pistol;		
222		{_unit addmagazine _grenade} foreach [1,2];
223		{_unit addmagazine _smokegrenade;} foreach [1,2];
223		{_unit addmagazine _smokegrenade;} foreach [1,2];
224		{_unit addmagazine _smokegrenadegreen;} foreach [1];
225		_unit addWeapon "Binocular";
folk_assignGear_iran.sqf https://bitbucket.org/zorrobyte/dws.git | Unknown | 547 lines
213	{
214		{_unit addmagazine _glriflemag} foreach [1,2,3,4,5,6,7];	//_COriflemag
215		{_unit addmagazine _glriflemag_tr} foreach [1,2,3];	//_COriflemag
215		{_unit addmagazine _glriflemag_tr} foreach [1,2,3];	//_COriflemag
216		{_unit addmagazine _glmag} foreach [1,2,3];
217		{_unit addmagazine _glsmokewhite} foreach [1,2,3];
218		_unit addweapon _glrifle;									//_COrifle
219		{_unit addmagazine _pistolmag} foreach [1,2];
220		_unit addweapon _pistol;		
220		_unit addweapon _pistol;		
221		{_unit addmagazine _grenade} foreach [1,2];
222		{_unit addmagazine _smokegrenade;} foreach [1,2];
222		{_unit addmagazine _smokegrenade;} foreach [1,2];
223		{_unit addmagazine _smokegrenadegreen;} foreach [1];
224		_unit addWeapon "Binocular";
Makefile.old https://bitbucket.org/iamer/mozilla-central.git | Unknown | 786 lines
354
355ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
356    $(findstring $(join ^,$(prefix)),\
359endif
360ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
361    $(findstring $(join ^,$(prefix)),\
364endif
365ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
366    $(findstring $(join ^,$(prefix)),\
369endif
370ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
371    $(findstring $(join ^,$(prefix)),\
374endif
375ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
376    $(findstring $(join ^,$(prefix)),\
grocery_crud.php https://bitbucket.org/sibernetika/jobsite.git | PHP | 4,907 lines
46		$types	= array();
47		foreach($this->basic_model->get_field_types_basic_table() as $field_info)
48		{
107		{
108			foreach($this->relation_n_n as $field_name => $field_extras)
109			{
124		if(!empty($this->add_fields))
125			foreach($this->add_fields as $field_object)
126			{
146		if(!empty($this->edit_fields))
147			foreach($this->edit_fields as $field_object)
148			{
274				$value_as_array = array();
275				foreach(explode(",",$value) as $row_value)
276				{
kernel-doc https://bitbucket.org/evzijst/gittest.git | Perl | 1,832 lines
329my $dohighlight = "";
330foreach my $pattern (keys %highlights) {
331#    print "scanning pattern $pattern ($highlights{$pattern})\n";
379    die $@ if $@;
380    foreach $line (split "\n", $contents) {
381      if ($line eq ""){
395
396    foreach $section (@{$args{'sectionlist'}}) {
397	print "<h3>$section</h3>\n";
412    $count = 0;
413    foreach $parameter (@{$args{'parameterlist'}}) {
414        print " <b>".$parameter."</b>";
424    print "<dl>\n";
425    foreach $parameter (@{$args{'parameterlist'}}) {
426	print "<dt><b>".$parameter."</b>\n";
options_callback_functions.php https://bitbucket.org/IAMimaginaryNL/mta-apeldoorn.git | PHP | 1,168 lines
32			echo "<select class='actionList' id='row' style='width:80px;margin-left:27px;' name='jwl_options_group1[jwl_fontselect_dropdown][row]' onchange=';'>";
33			foreach($items_fontselect as $item_fontselect) {
34				$selected_fontselect = ($options_fontselect['row']==$item_fontselect) ? 'selected="selected"' : '';
48			echo "<select class='actionList' id='row' style='width:80px;margin-left:27px;' name='jwl_options_group1[jwl_fontsizeselect_dropdown][row]'>";
49			foreach($items_fontsizeselect as $item_fontsizeselect) {
50				$selected_fontsizeselect = ($options_fontsizeselect['row']==$item_fontsizeselect) ? 'selected="selected"' : '';
64			echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_cut_dropdown][row]'>";
65			foreach($items_cut as $item_cut) {
66				$selected_cut = ($options_cut['row']==$item_cut) ? 'selected="selected"' : '';
80			echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_copy_dropdown][row]'>";
81			foreach($items_copy as $item_copy) {
82				$selected_copy = ($options_copy['row']==$item_copy) ? 'selected="selected"' : '';
96			echo "<select class='actionList' id='row' style='width:80px;margin-left:82px;' name='jwl_options_group1[jwl_paste_dropdown][row]'>";
97			foreach($items_paste as $item_paste) {
98				$selected_paste = ($options_paste['row']==$item_paste) ? 'selected="selected"' : '';
foreach.test https://bitbucket.org/vrrm/brl-cad-copy-for-fast-history-browsing-in-git.git | Unknown | 276 lines
38} {a b {c d} e 123 {{x}}}
39test foreach-1.3 {basic foreach tests} {catch {foreach} msg} 1
40test foreach-1.4 {basic foreach tests} {
43} {wrong # args: should be "foreach varList list ?varList list ...? command"}
44test foreach-1.5 {basic foreach tests} {catch {foreach i} msg} 1
45test foreach-1.6 {basic foreach tests} {
48} {wrong # args: should be "foreach varList list ?varList list ...? command"}
49test foreach-1.7 {basic foreach tests} {catch {foreach i j} msg} 1
50test foreach-1.8 {basic foreach tests} {
53} {wrong # args: should be "foreach varList list ?varList list ...? command"}
54test foreach-1.9 {basic foreach tests} {catch {foreach i j k l} msg} 1
55test foreach-1.10 {basic foreach tests} {
72catch {unset a}
73test foreach-1.14 {foreach errors} {
74    catch {unset a}
Apigen.cs https://bitbucket.org/rabbitmq/dotnet-client | C# | 1,033 lines
121            ArrayList result = new ArrayList();
122            foreach (String s1 in name.Split(new Char[] { '-' })) {
123                foreach (String s2 in s1.Split(new Char[] { ' ' })) {
131            StringBuilder sb = new StringBuilder();
132            foreach (String s in IdentifierParts(name)) {
133                sb.Append(Char.ToUpper(s[0]) + s.Substring(1).ToLower());
140            bool useUpper = false;
141            foreach (String s in IdentifierParts(name)) {
142                if (useUpper) {
281            }
282            foreach (XmlNode n in spec.SelectNodes("/amqp/constant")) {
283                constants.Add(new DictionaryEntry(GetString(n, "@name"), GetInt(n, "@value")));
284            }
285            foreach (XmlNode n in spec.SelectNodes("/amqp/class")) {
286                classes.Add(new AmqpClass(n));
Apigen.cs https://bitbucket.org/essiene/rabbitmq-dotnet-client | C# | 1,073 lines
121            ArrayList result = new ArrayList();
122            foreach (String s1 in name.Split(new Char[] { '-' })) {
123                foreach (String s2 in s1.Split(new Char[] { ' ' })) {
131            StringBuilder sb = new StringBuilder();
132            foreach (String s in IdentifierParts(name)) {
133                sb.Append(Char.ToUpper(s[0]) + s.Substring(1).ToLower());
140            bool useUpper = false;
141            foreach (String s in IdentifierParts(name)) {
142                if (useUpper) {
284            }
285            foreach (XmlNode n in m_spec.SelectNodes("/amqp/constant")) {
286                m_constants.Add(new DictionaryEntry(GetString(n, "@name"), GetInt(n, "@value")));
287            }
288            foreach (XmlNode n in m_spec.SelectNodes("/amqp/class")) {
289                m_classes.Add(new AmqpClass(n));
seen.pl https://bitbucket.org/plwiki/bot | Perl | 1,205 lines
206    my %chans = ();
207    foreach my $nick (@nicks) {
208        if ($channels{$chatnet}{lc_irc $nick}) {
208        if ($channels{$chatnet}{lc_irc $nick}) {
209            foreach my $channel (@{$channels{$chatnet}{lc_irc $nick}}) {
210                $chans{$channel} = 1;
473    open DATABASE, ">$database_tmp";
474    foreach my $chatnet (keys %listen_on) {
475        foreach my $channel (keys %{$listen_on{$chatnet}}) {
479    }
480    foreach my $chatnet (keys %nick_absent) {
481        foreach my $nick (keys %{$nick_absent{$chatnet}}) {
487    }
488    foreach my $chatnet (keys %address_absent) {
489        foreach my $address (keys %{$address_absent{$chatnet}}) {
ditto.class.inc.php https://bitbucket.org/modxwarehouse/modxwarehouse | PHP | 1,169 lines
83		}
84		foreach ($fields as $field) {
85			if (is_array($field)) {
157
158		foreach ($orderBy['parsed'] as $item) {
159			$this->addFields($item[0],'backend');
162		
163		foreach ($orderBy['custom'] as $item) {
164			$this->addFields($item[0],'backend');
169			$inputs = explode(',',$orderBy['unparsed']);
170			foreach ($inputs as $input) {
171				$input = trim($input);
223		if ($filter && count($filters) > 0) {
224			foreach ($filters AS $filter) {
225				if (!empty($filter)) {
BidiEngineTestLayouts.js https://bitbucket.org/dojo/dojox | JavaScript | 1,053 lines
19			runTest:function() {
20				dojo.forEach(unilisrc, function(el, i){	
21					doh.is('', bdEngine.bidiTransform('', 'VLNNN', 'IRYNN'),"empty string.");
32			runTest:function() {
33				dojo.forEach(unilisrc, function(el, i){	
34					doh.is(unilisrc[i], bdEngine.bidiTransform(el, '', ''),"bidi layouts empty");
45			runTest:function() {
46				dojo.forEach(unilisrc, function(el, i){
47					try{
63			runTest:function() {
64				dojo.forEach(unilisrc, function(el, i){
65					try{
81			runTest:function() {
82				dojo.forEach(unilisrc, function(el, i){
83					try{
data https://bitbucket.org/titiller/atgc | Unknown | 11,950 lines
161        if {$n != ""} {
162            foreach key [array names S *,tar]  {
163                if {$S($key) == 1} {
185        if {$key != "nodenetwork"} {
186            foreach ti $S($w,t) {
187                switch $key {
189                        set peres [FindFatherNode $ti $SouRefLea]
190                        foreach ni $peres {
191                            Figuration::NodeColorFgTree $ti $ni $S(col)
195                        set peres [FindFatherNode $ti $SouRefLea]
196                        foreach ni $peres {
197                            Figuration::NodeColorFgLeaf $ti $ni $S(col)
201                        set peres [FindFatherNode $ti $SouRefLea]
202                        foreach ni $peres {
203                            Abstraction::Shrink $w $ti $ni
Resolver.cs https://bitbucket.org/bartwe/plukc | C# | 996 lines
67            {
68                foreach (Field field in fieldWritten.Keys)
69                    Require.True(field.GetModifiers.Static);
158                    return;
159                foreach (Entry e in variables.Values)
160                {
174            {
175                foreach (Entry v in context.variables.Values)
176                {
179                }
180                foreach (KeyValuePair<int, bool> e in context.variableWrite)
181                {
184                }
185                foreach (KeyValuePair<int, bool> e in context.variableRead)
186                {
Definition.cs https://bitbucket.org/bartwe/plukc | C# | 1,087 lines
94                TypeName myTypeName = new TypeName(name.PrimaryName);
95                foreach (Identifier param in templateParamaters)
96                    myTypeName.AddTemplateParameter(new TypeName(param));
103            TypeName definitionName = new TypeName(typeName.PrimaryName, Compiler.Metadata.Nullability.NotNullable);
104            foreach (TypeReference tr in parameters)
105                definitionName.AddTemplateParameter(tr.TypeName);
106            result.name = definitionName;
107            foreach (Field field in localFields)
108            {
112            }
113            foreach (Method method in localMethods)
114            {
118            }
119            foreach (Property property in localProperties)
120            {
error.log https://bitbucket.org/dvcolgan/bqregsys | Unknown | 203 lines
552009-09-13 00:14:06 Warning: Warning (512): <span style = "color:Red;text-align:left"><b>SQL Error:</b> 1054: Unknown column 'Registration.Registration' in 'field list'</span> in [CORE\cake\libs\model\datasources\dbo_source.php, line 525]
562009-09-13 00:14:06 Warning: Warning (2): Invalid argument supplied for foreach() in [APP\views\registrations\edit.ctp, line 122]
572009-09-13 00:14:06 Warning: Warning (2): Invalid argument supplied for foreach() in [APP\views\registrations\edit.ctp, line 155]
572009-09-13 00:14:06 Warning: Warning (2): Invalid argument supplied for foreach() in [APP\views\registrations\edit.ctp, line 155]
582009-09-13 00:14:06 Warning: Warning (2): Invalid argument supplied for foreach() in [APP\views\registrations\edit.ctp, line 188]
592009-09-13 00:14:06 Warning: Warning (2): Invalid argument supplied for foreach() in [APP\views\registrations\edit.ctp, line 217]
632009-09-13 13:04:08 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\bqregsys\cake\basics.php:109) in [CORE\cake\libs\controller\controller.php, line 644]
642009-09-13 13:28:05 Warning: Warning (2): Invalid argument supplied for foreach() in [APP\views\registrations\edit.ctp, line 125]
652009-09-13 13:28:05 Warning: Warning (2): Invalid argument supplied for foreach() in [APP\views\registrations\edit.ctp, line 158]
652009-09-13 13:28:05 Warning: Warning (2): Invalid argument supplied for foreach() in [APP\views\registrations\edit.ctp, line 158]
662009-09-13 13:28:05 Warning: Warning (2): Invalid argument supplied for foreach() in [APP\views\registrations\edit.ctp, line 191]
672009-09-13 13:28:05 Warning: Warning (2): Invalid argument supplied for foreach() in [APP\views\registrations\edit.ctp, line 220]
672009-09-13 13:28:05 Warning: Warning (2): Invalid argument supplied for foreach() in [APP\views\registrations\edit.ctp, line 220]
682009-09-13 13:28:54 Warning: Warning (2): Invalid argument supplied for foreach() in [APP\views\registrations\edit.ctp, line 125]
692009-09-13 13:28:54 Warning: Warning (2): Invalid argument supplied for foreach() in [APP\views\registrations\edit.ctp, line 158]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21