PageRenderTime 625ms queryFilters 0ms Sphinxql 311ms app.CodeModel.GetByIds 68ms findMatchingLines 109ms GetByIds 177ms meta 0ms repositoryFilters 38ms languageFilters 33ms sourceFilters 3ms

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

Source

Language

Repository

ext.transcribe.php https://bitbucket.org/tdevonshire/hoolux.git | PHP | 1,288 lines
46		
47		foreach ($hooks as $hook => $ext_method)
48		{
121				$all_entry_ids = array();
122				foreach($entry_ids as $id) $all_entry_ids[]['entry_id'] = $id;
123
168			
169			foreach( $current_queries as $query )
170			{
221		$original_entry_ids = array();
222		foreach( $all_entry_ids as $row )
223			$original_entry_ids[] = $row['entry_id'];
246		$entry_ids = array();
247		foreach( $new_ids as $row )
248			$entry_ids[] = $row->entry_id;
Renamer.cs https://bitbucket.org/muscipular/de4dot.git | C# | 1,752 lines
193
194			foreach (var file in files)
195				modules.add(new Module(file));
220		void renameResourceKeys() {
221			foreach (var module in modules.TheModules) {
222				if (!module.ObfuscatedFile.RenameResourceKeys)
228		void removeUselessOverrides(MethodNameGroups groups) {
229			foreach (var group in groups.getAllGroups()) {
230				foreach (var method in group.Methods) {
255
256			foreach (var module in modules.TheModules) {
257				if (module.ObfuscatedFile.RemoveNamespaceWithOneType)
261			var state = new TypeRenamerState();
262			foreach (var type in modules.AllTypes)
263				state.addTypeName(memberInfos.type(type).oldName);
grocery_crud.php https://bitbucket.org/masangga/laperbanget.git | PHP | 4,906 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				{
scss.inc.php https://bitbucket.org/allanfreitas/yii-scss.git | PHP | 3,939 lines
85
86		foreach ($target as $part) {
87			if (isset($this->extendsMap[$part])) {
108		$counts = array();
109		foreach ($single as $part) {
110			if (!is_string($part)) return false; // hmm
112			if (isset($this->extendsMap[$part])) {
113				foreach ($this->extendsMap[$part] as $idx) {
114					$counts[$idx] =
119
120		foreach ($counts as $idx => $count) {
121			list($target, $origin) = $this->extends[$idx];
139
140		foreach (array($base, $other) as $single) {
141			foreach ($single as $part) {
SimpleAlign.pm https://bitbucket.org/intogen/intogen-sm.git | Perl | 1,935 lines
37  # extract sequences and check values for the alignment column $pos
38  foreach $seq ($aln->each_seq) {
39      $res = $seq->subseq($pos, $pos);
41  }
42  foreach $res (keys %count) {
43      printf "Res: %s  Count: %2d\n", $res, $count{$res};
409    }
410    foreach my $seq (@dups) {
411	$self->remove_seq($seq);
433
434    foreach $seq ( $self->each_seq() ) {
435	$nse = $seq->get_nse;
442
443    foreach $nse ( sort _alpha_startend keys %hash) {
444	$self->{'_order'}->{$count} = $nse;
parsemanager.cpp https://bitbucket.org/kpozn/qt-creator-py-reborn.git | C++ | 1,531 lines
139        return false;
140    foreach(QString str, this->values){
141        if(!cpenum->values.contains(str))
155        return false;
156    foreach(QString str, this->enumvalues){
157        if(!cpflag->enumvalues.contains(str))
224    QStringList headers;
225    foreach (const QString &file, files) {
226        const QFileInfo fileInfo(file);
231
232    foreach (const QString &file, files) {
233        preproc->snapshot.remove(file);
311    Trace("Following classes found in Header file: " + m_strHeaderFile);
312    foreach(CLASSTREE *cltree, ret){
313        QString classname = cltree->highestlevelclass->trlUnit->spell(cltree->highestlevelclass->classspec->name->firstToken());
model.cpp https://bitbucket.org/kpozn/qtcreator.git | C++ | 1,984 lines
108{
109    foreach (const QWeakPointer<AbstractView> &view, m_viewList)
110        detachView(view.data(), true);
139    QList<Import> removedImportList;
140    foreach (const Import &import, toBeRemovedImportList) {
141        if (m_imports.contains(import)) {
147    QList<Import> addedImportList;
148    foreach (const Import &import, toBeAddedImportList) {
149        if (!m_imports.contains(import)) {
177
178    foreach (const QWeakPointer<AbstractView> &view, m_viewList)
179        view->importsChanged(addedImports, removedImports);
197
198        foreach (const QWeakPointer<AbstractView> &view, m_viewList)
199            view->fileUrlChanged(oldPath, fileUrl);
StatsCache.cs https://bitbucket.org/gibwar/jmm-test.git | C# | 1,558 lines
113
114            foreach(JMMUser user in repUser.GetAll())
115            {
134
135                foreach (AnimeGroup grp in allGrps)
136                {
163            gfs.Add(gfgf);
164            foreach(GroupFilter gf in gfs)
165            {
176
177                foreach (AnimeGroup grp in allGrps)
178                {
194                return;
195            foreach (JMMUser user in repUser.GetAll())
196            {
Importer.cs https://bitbucket.org/gibwar/jmm-test.git | C# | 1,144 lines
33			List<VideoLocal> filesToDelete = repVidLocals.GetVideosWithoutImportFolder();
34			foreach (VideoLocal vl in filesToDelete)
35				repVidLocals.Delete(vl.VideoLocalID);
41			Dictionary<int, VideoLocal> dictFilesToHash = new Dictionary<int, VideoLocal>();
42			foreach (VideoLocal vl in filesToHash)
43			{
51			Dictionary<int, VideoLocal> dictFilesToRehash = new Dictionary<int, VideoLocal>();
52			foreach (VideoLocal vl in filesToHash)
53			{
73			Dictionary<int, VideoLocal> dictFilesWithoutEpisode = new Dictionary<int, VideoLocal>();
74			foreach (VideoLocal vl in filesWithoutEpisode)
75				dictFilesWithoutEpisode[vl.VideoLocalID] = vl;
80			Dictionary<string, VideoLocal> dictFilesAllExisting = new Dictionary<string, VideoLocal>();
81			foreach (VideoLocal vl in filesAll)
82			{
devel_node_access.module https://bitbucket.org/niccolo/open-outreach-rc9-radix-bootswatch.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;
theme.inc https://bitbucket.org/sanjeevam/taxation.git | Pascal | 2,044 lines
111  // Grab stylesheets from base theme
112  foreach ($base_theme as $base) {
113    if (!empty($base->stylesheets)) {
113    if (!empty($base->stylesheets)) {
114      foreach ($base->stylesheets as $media => $stylesheets) {
115        foreach ($stylesheets as $name => $stylesheet) {
123  if (!empty($theme->stylesheets)) {
124    foreach ($theme->stylesheets as $media => $stylesheets) {
125      foreach ($stylesheets as $name => $stylesheet) {
131  // And now add the stylesheets properly
132  foreach ($final_stylesheets as $media => $stylesheets) {
133    foreach ($stylesheets as $stylesheet) {
141  // Grab scripts from base theme
142  foreach ($base_theme as $base) {
143    if (!empty($base->scripts)) {
ARC2_StoreSelectQueryHandler.php https://bitbucket.org/rhiaro/public-notices-as-georss.git | PHP | 1,799 lines
59    $this->buildInitialIndexes();
60    foreach ($this->indexes as $i => $index) {
61      $this->index = array_merge($this->getEmptyIndex(), $index);
146    $added = array();
147    foreach ($parts as $part) {
148      if (preg_match('/\.?(.+)\s+AS\s+`(.+)`/U', trim($part), $m) && !isset($added[$m[2]])) {
166    $aggregate_vars = array();
167    foreach ($this->infos['query']['result_vars'] as $entry) {
168      if ($entry['aggregate']) {
191        $row = array();
192        foreach ($vars as $var) {
193          if (isset($pre_row[$var])) {
237      }
238      foreach ($keys as $i => $key) {
239        $sub_pattern = $sub_patterns[$key];
ScenePermissions.cs https://bitbucket.org/VirtualReality/aurora-sim.git | C# | 1,579 lines
260#if (!ISWIN)
261                foreach (GenerateClientFlagsHandler handler in list)
262                    perms = perms & handler(userID, part);
283#if (!ISWIN)
284                foreach (BypassPermissionsHandler h in list)
285                {
302#if (!ISWIN)
303                foreach (PropagatePermissionsHandler h in list)
304                {
321#if (!ISWIN)
322                foreach (ReclaimParcelHandler h in list)
323                {
340#if (!ISWIN)
341                foreach (DeedParcelHandler h in list)
342                {
EventManager.cs https://bitbucket.org/VirtualReality/aurora-sim.git | C# | 1,685 lines
291            {
292                foreach (Attach d in handlerOnAttach.GetInvocationList())
293                {
312            {
313                foreach (ScriptChangedEvent d in handlerScriptChangedEvent.GetInvocationList())
314                {
333            {
334                foreach (ScriptMovingStartEvent d in handlerScriptMovingStartEvent.GetInvocationList())
335                {
354            {
355                foreach (ScriptMovingEndEvent d in handlerScriptMovingEndEvent.GetInvocationList())
356                {
375            {
376                foreach (OnPermissionErrorDelegate d in handlerPermissionError.GetInvocationList())
377                {
YPCompiler.cs https://bitbucket.org/VirtualReality/optional-modules.git | C# | 6,379 lines
899                                                        }
900                                                        foreach (bool l12 in append(BodyCode, new ListPair(new Functor2("foreach", new Functor2("call", Atom.a("YP.fail"), Atom.NIL), new ListPair(Atom.a("yieldfalse"), Atom.NIL)), Atom.NIL), BodyWithReturn))
901                                                        {
2366                {
2367                    foreach (bool l3 in YP.unify(arg3, ListPair.make(new object[] { new Functor3("declare", Atom.a("YP.Catch"), CatchGoal, new Functor2("new", Atom.a("YP.Catch"), new ListPair(GoalTermCode, new ListPair(new Functor2("call", Atom.a("getDeclaringClass"), Atom.NIL), Atom.NIL)))), new Functor2("foreach", new Functor1("var", CatchGoal), BCode), new Functor2("foreach", new Functor3("callMember", new Functor1("var", CatchGoal), Atom.a("unifyExceptionOrThrow"), new ListPair(CatcherTermCode, Atom.NIL)), HandlerAndBCode) })))
2368                    {
4655                Variable NextLevel = new Variable();
4656                foreach (bool l2 in YP.unify(arg1, new ListPair(new Functor2("foreach", Expression, Body), RestStatements)))
4657                {
5181                Variable NextLevel = new Variable();
5182                foreach (bool l2 in YP.unify(arg1, new ListPair(new Functor2("foreach", Expression, Body), RestStatements)))
5183                {
5539                Variable _RestStatements = new Variable();
5540                foreach (bool l2 in YP.unify(arg1, new ListPair(new Functor2("foreach", _Expression, Body), _RestStatements)))
5541                {
Scene.Permissions.cs https://bitbucket.org/VirtualReality/taiga.git | C# | 968 lines
174                Delegate[] list = handlerGenerateClientFlags.GetInvocationList();
175                foreach (GenerateClientFlagsHandler check in list)
176                {
195                Delegate[] list = handler.GetInvocationList();
196                foreach (BypassPermissionsHandler h in list)
197                {
210                Delegate[] list = handler.GetInvocationList();
211                foreach (PropagatePermissionsHandler h in list)
212                {
226                Delegate[] list = handler.GetInvocationList();
227                foreach (RezObjectHandler h in list)
228                {
244                Delegate[] list = handler.GetInvocationList();
245                foreach (DeleteObjectHandler h in list)
246                {
product.tpl https://bitbucket.org/enurkov/prestashop.git | Smarty Template | 639 lines
54var product_specific_price = new Array();
55{foreach from=$product->specificPrice key='key_specific_price' item='specific_price_value'}
56	product_specific_price['{$key_specific_price}'] = '{$specific_price_value}';
90{assign var='textFieldIndex' value=0}
91{foreach from=$customizationFields item='field' name='customizationFields'}
92	{assign var="key" value="pictures_`$product->id`_`$field.id_customization_field`"}
92	{assign var="key" value="pictures_`$product->id`_`$field.id_customization_field`"}
93	customizationFields[{$smarty.foreach.customizationFields.index|intval}] = new Array();
94	customizationFields[{$smarty.foreach.customizationFields.index|intval}][0] = '{if $field.type|intval == 0}img{$imgIndex++}{else}textField{$textFieldIndex++}{/if}';
94	customizationFields[{$smarty.foreach.customizationFields.index|intval}][0] = '{if $field.type|intval == 0}img{$imgIndex++}{else}textField{$textFieldIndex++}{/if}';
95	customizationFields[{$smarty.foreach.customizationFields.index|intval}][1] = {if $field.type|intval == 0 && isset($pictures.$key) && $pictures.$key}2{else}{$field.required|intval}{/if};
96{/foreach}
533							{assign var='accessoryLink' value=$link->getProductLink($accessory.id_product, $accessory.link_rewrite, $accessory.category)}
534							<li class="ajax_block_product {if $smarty.foreach.accessories_list.first}first_item{elseif $smarty.foreach.accessories_list.last}last_item{else}item{/if} product_accessories_description">
535								<p class="s_title_block">
shopimporter.php https://bitbucket.org/enurkov/prestashop.git | PHP | 1,505 lines
290		//get installed module only
291		foreach($exportModules as $key => $module)
292			if ($module->name == $this->name || !(bool)$module->id)
299		$i = 0;
300		foreach($this->supportedImports as $import)
301		{
337
338		foreach($exportModules as $key => $module)
339			(($module->name != $this->name AND $module->id) ? $html .= '<option value="'.$module->name.'">'.$module->displayName.'</option>' : '' );
355					<div id="importOptionsYesNo">';
356					foreach($this->supportedImports as $key => $import)
357					{
476
477		foreach($fields as $key => $field)
478		{
xmlLoader.php https://bitbucket.org/enurkov/prestashop.git | PHP | 1,276 lines
160				{
161					foreach ($xml->fields->field as $field)
162					{
179			$sort_entities = array();
180			foreach ($entities as $key => $entity)
181			{
184					$min = count($entities) - 1;
185					foreach ($dependencies[$entity] as $item)
186						if (($key = array_search($item, $sort_entities)) !== false)
210		// Populate entities
211		foreach ($entities as $entity)
212			$this->populateEntity($entity);
238			$default_lang = null;
239			foreach ($this->languages as $id_lang => $iso)
240			{
kernel-doc https://bitbucket.org/digetx/picasso-kernel.git | Perl | 2,605 lines
491    }
492    foreach $line (split "\n", $contents) {
493	if (! $output_preformatted) {
516
517    foreach $section (@{$args{'sectionlist'}}) {
518	print "<h3>$section</h3>\n";
533    $count = 0;
534    foreach $parameter (@{$args{'parameterlist'}}) {
535	print " <b>" . $parameter . "</b>";
545    print "<dl>\n";
546    foreach $parameter (@{$args{'parameterlist'}}) {
547	print "<dt><b>" . $parameter . "</b>\n";
574    print "<b>" . $args{'type'} . " " . $args{'struct'} . "</b> {<br>\n";
575    foreach $parameter (@{$args{'parameterlist'}}) {
576	if ($parameter =~ /^#/) {
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21