{{{ getCombinesInfo()
180609
public function getCombinesInfo()
    {
        $combinesInfo = $this->getCachedValue('combinesInfo');
        if ($combinesInfo === false) {

            $data = $this->dataProvider->getData();
            $fileInfo = $this->getFileInfo();

            $combinesInfo = array();

            foreach ($data as $packageId => $info) {
                $combines = $this->getCombinesForPackage($packageId);
                foreach ($combines as $combine => $combineInfo) {

                    // create entry for the combine set if it does
                    // not exist
                    if (!isset($combinesInfo[$combine])) {
                        $combinesInfo[$combine] = array(
                            'Includes' => array(),
                            'Minify'   => true,
                        );
                    }

                    // set additional attributes
                    if (isset($combineInfo['Minify'])) {
                        $combinesInfo[$combine]['Minify'] = $this->parseBoolean(
                            $combinesInfo['Minify']
                        );
                    }

                    // add entries to the set
                    if (isset($combineInfo['Includes'])
                        && is_array($combineInfo['Includes'])
                    ) {
                        foreach ($combineInfo['Includes'] as $file) {
                            $combinesInfo[$combine]['Includes'][$file] = array(
                                'explicit' => true
                            );
                        }
                    }
                }
            }

            foreach ($combinesInfo as $combine => $info) {
                // Check for dependencies of each set that are not in the set.
                // If a missing dependency also has a dependency on an file in
                // the set, add it to the set.
                $combinesInfo[$combine]['Includes']
                    = $this->getImplicitCombinedFiles(
                        $info['Includes'],
                        $info['Includes']
                    );

                // minification of combine depends on minification of included
                // files
                foreach (array_keys($info['Includes']) as $file) {
                    if (isset($fileInfo[$file])
                        && !$fileInfo[$file]['Minify']
                    ) {
                        $combinesInfo[$combine]['Minify'] = false;
                        break;
                    }
                }
            }

            // sort largest sets first
            uasort($combinesInfo, array($this, 'compareCombines'));

            $this->setCachedValue('combinesInfo', $combinesInfo);
        }

        return $combinesInfo;
    }
1072012
function getCombination (dateFilter, resolutionFilter, dataTypeFilter) {
  var c = {
    date: getFilter(date, dateFilter),
    resolution: getFilter(resolution, resolutionFilter),
    dataType: getFilter(dataType, dataTypeFilter),
    searchParameters: getSearchParameters(dateFilter, resolutionFilter, dataTypeFilter)
  };
  c.key = [c.date.key, c.resolution.key, c.dataType.key].join('_');

  return c;
}
313239
public static Annotation[] getAnnotations(AnnotatedElement annotationEle, boolean isCombination) {
		return (null == annotationEle) ? null : (isCombination ? toCombination(annotationEle) : annotationEle).getAnnotations();
	}
435364
public void gotConfigInfo (final String[] keys, final int[] oids)
    {
        // make sure we're still added
        if (!isDisplayable()) {
            return;
        }

        Integer indexes[] = new Integer[keys.length];
        for (int ii = 0; ii < indexes.length; ii++) {
            indexes[ii] = ii;
        }

        QuickSort.sort(indexes, new Comparator<Integer>() {
            public int compare (Integer i1, Integer i2) {
                return keys[i1].compareTo(keys[i2]);
            }
        });

        // create object editor panels for each of the categories
        for (Integer ii : indexes) {
            ObjectEditorPanel panel = new ObjectEditorPanel(_ctx, keys[ii], oids[ii]);
            JScrollPane scrolly = new JScrollPane(panel);
            _oeditors.addTab(keys[ii], scrolly);
            if (keys[ii].equals(_defaultPane)) {
                _oeditors.setSelectedComponent(scrolly);
            }
        }
    }
288384
function collectAndCombineOperation(node) {
  let substeps = [];

  const status = LikeTermCollector.collectLikeTerms(clone(node));
  if (!status.hasChanged()) {
    return status;
  }

  // STEP 1: collect like terms, e.g. 2x + 4x^2 + 5x => 4x^2 + (2x + 5x)
  substeps.push(status);
  let newNode = Node.Status.resetChangeGroups(status.newNode);

  // STEP 2 onwards: combine like terms for each group that can be combined
  // e.g. (x + 3x) + (2 + 2) has two groups
  const combineSteps = combineLikeTerms(newNode);
  if (combineSteps.length > 0) {
    substeps = substeps.concat(combineSteps);
    const lastStep = combineSteps[combineSteps.length - 1];
    newNode = Node.Status.resetChangeGroups(lastStep.newNode);
  }

  return Node.Status.nodeChanged(
    ChangeTypes.COLLECT_AND_COMBINE_LIKE_TERMS,
    node, newNode, true, substeps);
}
66576
public Info getInfo() {
        BoxAPIConnection api = this.getAPI();
        URL url = COLLABORATION_URL_TEMPLATE.build(api.getBaseURL(), this.getID());

        BoxAPIRequest request = new BoxAPIRequest(api, url, "GET");
        BoxJSONResponse response = (BoxJSONResponse) request.send();
        JsonObject jsonObject = JsonObject.readFrom(response.getJSON());
        return new Info(jsonObject);
    }
1295312
public int getCombinedFlags() {
		return orderFlags
			.stream()
			.map(BitfinexOrderFlag::getFlag)
			.reduce((f1, f2) -> f1 | f2)
			.orElse(0);
	}
713269
function getExternals(packageInfo) {
  let externals = {
    // Hard coded externals
    'h3-js': 'h3',
    's2-geometry': 'S2'
  };
  const {peerDependencies = {}} = packageInfo;

  for (const depName in peerDependencies) {
    if (depName.startsWith('@deck.gl')) {
      // Instead of bundling the dependency, import from the global `deck` object
      externals[depName] = 'deck';
    }
  }

  if (externals['@deck.gl/core']) {
    // Do not bundle luma.gl if `core` is peer dependency
    externals = [
      externals,
      (context, request, callback) => {
        if (/^@?luma\.gl/.test(request)) {
          return callback(null, 'luma');
        }
        return callback();
      }
    ];
  }

  return externals;
}
1353663
function _mergeListInfo(list) {
            var arr = [];
            var info = {};
            for(var i=0,len=list.length; i<len; i++) {
                arr.push('<li data-value="'+list[i].value+'">' + list[i].name + '</li>');

                info[i] = list[i].list ? _mergeListInfo(list[i].list) : {length: 0};
            }
            info.length = i;
            info.content = arr.join('');

            return info;
        }
952446
private Collection<DependencyInfo> createDependencyInfos(Collection<PhpPackage> phpPackages, Collection<DependencyInfo> dependencyInfos, Collection<String> directDependencies) {
        HashMap<DependencyInfo, Collection<String>> parentToChildMap = new HashMap<>();
        HashMap<String, DependencyInfo> packageDependencyMap = new HashMap<>();
        // collect packages data and create its dependencyInfo
        for (PhpPackage phpPackage : phpPackages) {
            DependencyInfo dependencyInfo = createDependencyInfo(phpPackage);
            if (dependencyInfo != null) {
                parentToChildMap.put(dependencyInfo, phpPackage.getPackageRequire().keySet());
                packageDependencyMap.put(phpPackage.getName(), dependencyInfo);
            } else {
                logger.debug("Didn't succeed to create dependencyInfo for {}", phpPackage.getName());
            }
        }
        if (!packageDependencyMap.isEmpty()) {
            for (String directDependency : directDependencies) {
                // create hierarchy tree
                DependencyInfo dependencyInfo = packageDependencyMap.get(directDependency);
                if (dependencyInfo != null) {
                    collectChildren(dependencyInfo, packageDependencyMap, parentToChildMap);
                    dependencyInfos.add(dependencyInfo);
                } else {
                    logger.debug("Didn't found {} in map {}", directDependency, packageDependencyMap.getClass().getName());
                }
            }
        } else {
            logger.debug("The map {} is empty ", packageDependencyMap.getClass().getName());
        }
        return dependencyInfos;
    }
894563
function () {
                        //noinspection JSReferencingMutableVariableFromClosure
                        res.push({
                            combine: 1,
                            path: prefix + currentComboUrls.join(comboSep) + suffix,
                            mods: currentComboMods
                        });
                    }
163421
DependencyInfo getDependencyInfo() {
    if (dependencyInfo == null) {
      dependencyInfo = generateDependencyInfo();
    }
    if (!extraRequires.isEmpty() || !extraProvides.isEmpty()) {
      dependencyInfo =
          SimpleDependencyInfo.builder(getName(), getName())
              .setProvides(concat(dependencyInfo.getProvides(), extraProvides))
              .setRequires(concat(dependencyInfo.getRequires(), extraRequires))
              .setTypeRequires(dependencyInfo.getTypeRequires())
              .setLoadFlags(dependencyInfo.getLoadFlags())
              .setHasExternsAnnotation(dependencyInfo.getHasExternsAnnotation())
              .setHasNoCompileAnnotation(dependencyInfo.getHasNoCompileAnnotation())
              .build();
      extraRequires.clear();
      extraProvides.clear();
    }
    return dependencyInfo;
  }
1034067
public function infos() {
		// return an array
		return(array(
			'error'			=>\Polyfony\Locales::get($this->Error),
			'source'		=>$this->Source,
			'destination'	=>$this->Destination,
			'name'			=>$this->Name,
			'size'			=>$this->Size,
			'type'			=>$this->Type
		));
	}
499492
function Module(moduleId, ctx, combineConfig) {
    this.moduleId = moduleId;
    this.compiler = ctx;
    this.combineConfig = combineConfig || ctx.getCombineConfig(moduleId);
    this.definition = null;
    this.prepare();
}
335799
function CorreosInfo(obj) {
    this.id = obj.id
    this.state = obj.state
    this.state2 = obj.state2
    this.deliveryDate = obj.deliveryDate
    this.states = obj.states.reverse()
    this.origin = obj.origin
    this.destiny = obj.destiny
    this.trackerWebsite = correos.getLink(null)
}
1298214
def combine(self):
        
        self.pair, setup = self.combining_setup()
        self.cube(setup)
        actual = self.combining_search()
        self.cube(actual)
        return setup + actual
1363746
function alldone() {
		// combine and compress modules
		var module = {
				code: results.join(''),
				modified: modified
			};

		// no compressing? done.
		if (!compress) { return next(null, module); }

		compress(module, function(err, js) {
			module.code = js.code || js;
			next(err, err ? null : module);
		});
	}