code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { public ParameterBinding getBindingFor(int position) { for (ParameterBinding binding : bindings) { if (binding.hasPosition(position)) { return binding; } } throw new IllegalArgumentException(String.format("No parameter b...
public class class_name { public ParameterBinding getBindingFor(int position) { for (ParameterBinding binding : bindings) { if (binding.hasPosition(position)) { return binding; // depends on control dependency: [if], data = [none] } } throw new ...
public class class_name { protected VisibilityConfiguration createVisibilityConfiguration(String className, String params) { I_CmsXmlContentVisibilityHandler handler = this; if (className != null) { try { handler = (I_CmsXmlContentVisibilityHandler)(Class.forName(className)...
public class class_name { protected VisibilityConfiguration createVisibilityConfiguration(String className, String params) { I_CmsXmlContentVisibilityHandler handler = this; if (className != null) { try { handler = (I_CmsXmlContentVisibilityHandler)(Class.forName(className)...
public class class_name { public void marshall(LogGroupField logGroupField, ProtocolMarshaller protocolMarshaller) { if (logGroupField == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(logGroupField...
public class class_name { public void marshall(LogGroupField logGroupField, ProtocolMarshaller protocolMarshaller) { if (logGroupField == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(logGroupField...
public class class_name { public void marshall(StreamNameCondition streamNameCondition, ProtocolMarshaller protocolMarshaller) { if (streamNameCondition == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.mars...
public class class_name { public void marshall(StreamNameCondition streamNameCondition, ProtocolMarshaller protocolMarshaller) { if (streamNameCondition == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.mars...
public class class_name { static Optional<String> validateRelationHasRolePlayers(Relation relation) { if (!relation.rolePlayers().findAny().isPresent()) { return Optional.of(ErrorMessage.VALIDATION_RELATION_WITH_NO_ROLE_PLAYERS.getMessage(relation.id(), relation.type().label())); } ...
public class class_name { static Optional<String> validateRelationHasRolePlayers(Relation relation) { if (!relation.rolePlayers().findAny().isPresent()) { return Optional.of(ErrorMessage.VALIDATION_RELATION_WITH_NO_ROLE_PLAYERS.getMessage(relation.id(), relation.type().label())); // depends on cont...
public class class_name { private void zInternalSetLastValidTimeAndNotifyListeners(LocalTime newTime) { LocalTime oldTime = lastValidTime; lastValidTime = newTime; if (!PickerUtilities.isSameLocalTime(oldTime, newTime)) { for (TimeChangeListener timeChangeListener : timeChangeListen...
public class class_name { private void zInternalSetLastValidTimeAndNotifyListeners(LocalTime newTime) { LocalTime oldTime = lastValidTime; lastValidTime = newTime; if (!PickerUtilities.isSameLocalTime(oldTime, newTime)) { for (TimeChangeListener timeChangeListener : timeChangeListen...
public class class_name { private void internalSetFiled(MethodVisitor mv, Accessor acc) { /** * FNC params * * 1 -> object to alter * * 2 -> id of field * * 3 -> new value */ mv.visitVarInsn(ALOAD, 1); mv.visitTypeInsn(CHECKCAST, classNameInternal); // get VELUE mv.visitVarInsn(ALO...
public class class_name { private void internalSetFiled(MethodVisitor mv, Accessor acc) { /** * FNC params * * 1 -> object to alter * * 2 -> id of field * * 3 -> new value */ mv.visitVarInsn(ALOAD, 1); mv.visitTypeInsn(CHECKCAST, classNameInternal); // get VELUE mv.visitVarInsn(ALO...
public class class_name { public ToConverter getToConverter(Class toClass, Class domainClass) throws JTransfoException { ToConverter converter = withPreConverter(toClass); List<SyntheticField> domainFields = reflectionHelper.getSyntheticFields(domainClass); for (Field field : reflectionHelper....
public class class_name { public ToConverter getToConverter(Class toClass, Class domainClass) throws JTransfoException { ToConverter converter = withPreConverter(toClass); List<SyntheticField> domainFields = reflectionHelper.getSyntheticFields(domainClass); for (Field field : reflectionHelper....
public class class_name { public int compareTo(Weight anotherWeight) { boolean wIsInfinity = anotherWeight.isInfinity; boolean wPosOrNeg = anotherWeight.posOrNeg; if (isInfinity && wIsInfinity && ((posOrNeg && wPosOrNeg) || (!posOrNeg && !wPosOrNeg))) { return 0; ...
public class class_name { public int compareTo(Weight anotherWeight) { boolean wIsInfinity = anotherWeight.isInfinity; boolean wPosOrNeg = anotherWeight.posOrNeg; if (isInfinity && wIsInfinity && ((posOrNeg && wPosOrNeg) || (!posOrNeg && !wPosOrNeg))) { return 0; //...
public class class_name { protected CompletableFuture<Long> configure(Collection<RaftMember> members) { raft.checkThread(); final long term = raft.getTerm(); return appendAndCompact(new ConfigurationEntry(term, System.currentTimeMillis(), members)) .thenComposeAsync(entry -> { // Store ...
public class class_name { protected CompletableFuture<Long> configure(Collection<RaftMember> members) { raft.checkThread(); final long term = raft.getTerm(); return appendAndCompact(new ConfigurationEntry(term, System.currentTimeMillis(), members)) .thenComposeAsync(entry -> { // Store ...
public class class_name { private String encodeMap(Map<String, Object> destProps) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "encodeMap", destProps); // string result to return StringBuffer result = new StringBuffer(""); // new...
public class class_name { private String encodeMap(Map<String, Object> destProps) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "encodeMap", destProps); // string result to return StringBuffer result = new StringBuffer(""); // new...
public class class_name { public String[] getDictionaryEntries(String dictionaryName) { Dictionary dictionary = getDictionary(dictionaryName); if (dictionary == null) { logger.error("Cannot find requested dictionary"); return new String[0]; } else { // FIXME:...
public class class_name { public String[] getDictionaryEntries(String dictionaryName) { Dictionary dictionary = getDictionary(dictionaryName); if (dictionary == null) { logger.error("Cannot find requested dictionary"); // depends on control dependency: [if], data = [none] return...
public class class_name { public static void bufferRgbToMsU8( byte []input , Planar<GrayU8> output ) { GrayU8 band0 = output.getBand(0); GrayU8 band1 = output.getBand(1); GrayU8 band2 = output.getBand(2); int indexIn = 0; for( int y = 0; y < output.height; y++ ) { int indexOut = output.startIndex + y*out...
public class class_name { public static void bufferRgbToMsU8( byte []input , Planar<GrayU8> output ) { GrayU8 band0 = output.getBand(0); GrayU8 band1 = output.getBand(1); GrayU8 band2 = output.getBand(2); int indexIn = 0; for( int y = 0; y < output.height; y++ ) { int indexOut = output.startIndex + y*out...
public class class_name { public static void checkSize(final int size, final String className) { if (MemoryUtil.WARN_THRESHOLD < size) { MemoryUtil.log(className + " may be leaking memory, it contains a large number of items: " + size); } } }
public class class_name { public static void checkSize(final int size, final String className) { if (MemoryUtil.WARN_THRESHOLD < size) { MemoryUtil.log(className + " may be leaking memory, it contains a large number of items: " + size); // depends on control dependency: [if], data = [size)] } } }
public class class_name { public boolean removeSpace() { int start = pos; while (pos < text.length && lcText[pos] == ' ') { pos++; } return (start < pos); } }
public class class_name { public boolean removeSpace() { int start = pos; while (pos < text.length && lcText[pos] == ' ') { pos++; // depends on control dependency: [while], data = [none] } return (start < pos); } }
public class class_name { public boolean remove(int o) { if (isEmpty()) { return false; } // the element cannot exist if (o > last) { return false; } // check if the element can be removed from a literal word int blockIndex = maxLiteralLengthDivision(o); i...
public class class_name { public boolean remove(int o) { if (isEmpty()) { return false; // depends on control dependency: [if], data = [none] } // the element cannot exist if (o > last) { return false; // depends on control dependency: [if], data = [none] } // check...
public class class_name { public void tokenizeToKAF(final KAFDocument kaf) throws IOException { int noSents = 0; int noParas = 1; List<List<Token>> tokens; if (isNoSeg) { String[] sentences = text.toArray(new String[text.size()]); tokens = tokenizer.tokenize(sentences); } else { ...
public class class_name { public void tokenizeToKAF(final KAFDocument kaf) throws IOException { int noSents = 0; int noParas = 1; List<List<Token>> tokens; if (isNoSeg) { String[] sentences = text.toArray(new String[text.size()]); tokens = tokenizer.tokenize(sentences); } else { ...
public class class_name { @Override public final void addTransformer(ClassTransformer transformerClass) { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) { Tr.entry(tc, "addTransformer: PUID = " + ivArchivePuId + ", transformer = " +...
public class class_name { @Override public final void addTransformer(ClassTransformer transformerClass) { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) { Tr.entry(tc, "addTransformer: PUID = " + ivArchivePuId + ", transformer = " +...
public class class_name { @Nonnull public String getAsString (final boolean bPrintZeroElements) { // special handling if no ceiling version is present final StringBuilder aSB = new StringBuilder (m_bIncludeFloor ? "[" : "("); aSB.append (m_aFloorVersion.getAsString (bPrintZeroElements)); if (m_aCei...
public class class_name { @Nonnull public String getAsString (final boolean bPrintZeroElements) { // special handling if no ceiling version is present final StringBuilder aSB = new StringBuilder (m_bIncludeFloor ? "[" : "("); aSB.append (m_aFloorVersion.getAsString (bPrintZeroElements)); if (m_aCei...
public class class_name { @Override public List<I_CmsXmlContentValue> getSubValues(String path, Locale locale) { List<I_CmsXmlContentValue> result = new ArrayList<I_CmsXmlContentValue>(); String bookmark = getBookmarkName(CmsXmlUtils.createXpath(path, 1), locale); int depth = CmsResource.g...
public class class_name { @Override public List<I_CmsXmlContentValue> getSubValues(String path, Locale locale) { List<I_CmsXmlContentValue> result = new ArrayList<I_CmsXmlContentValue>(); String bookmark = getBookmarkName(CmsXmlUtils.createXpath(path, 1), locale); int depth = CmsResource.g...
public class class_name { private static ImmutableList<String> immutableCopy(List<String> tags) { if (tags == null || tags.size() == 0 || (tags.size() == 1 && tags.get(0) == null)) { return ImmutableList.of(); } return ImmutableList.copyOf(tags); ...
public class class_name { private static ImmutableList<String> immutableCopy(List<String> tags) { if (tags == null || tags.size() == 0 || (tags.size() == 1 && tags.get(0) == null)) { return ImmutableList.of(); // depends on control dependency: [if], data = [none] ...
public class class_name { private void tryBackgroundEnter(boolean focused) { if (mBackground == null) { mBackground = new RippleBackground(this, mHotspotBounds); } mBackground.setup(mState.mMaxRadius, mDensity); mBackground.enter(focused); } }
public class class_name { private void tryBackgroundEnter(boolean focused) { if (mBackground == null) { mBackground = new RippleBackground(this, mHotspotBounds); // depends on control dependency: [if], data = [none] } mBackground.setup(mState.mMaxRadius, mDensity); mBackgro...
public class class_name { static void setFramePositon(JFrame inTargetFrame) { Dimension d = Toolkit.getDefaultToolkit().getScreenSize(); Dimension size = inTargetFrame.getSize(); // (ulrivo): full size on screen with less than 640 width if (d.width >= 640) { inTargetFra...
public class class_name { static void setFramePositon(JFrame inTargetFrame) { Dimension d = Toolkit.getDefaultToolkit().getScreenSize(); Dimension size = inTargetFrame.getSize(); // (ulrivo): full size on screen with less than 640 width if (d.width >= 640) { inTargetFra...
public class class_name { public void addItemForLogger(Logger logger) { Item item = m_container.addItem(logger); if (item != null) { item.getItemProperty(TableColumn.Channel).setValue(logger.getName()); Logger parent = logger.getParent(); item.getItemProperty(TableC...
public class class_name { public void addItemForLogger(Logger logger) { Item item = m_container.addItem(logger); if (item != null) { item.getItemProperty(TableColumn.Channel).setValue(logger.getName()); // depends on control dependency: [if], data = [none] Logger parent = logge...
public class class_name { private boolean isDuplicateName(String name) { if (this.existingNames != null) { final String newName = Strings.nullToEmpty(name); for (final String existingName : this.existingNames) { if (newName.equals(existingName)) { return true; } } } return false; } }
public class class_name { private boolean isDuplicateName(String name) { if (this.existingNames != null) { final String newName = Strings.nullToEmpty(name); for (final String existingName : this.existingNames) { if (newName.equals(existingName)) { return true; // depends on control dependency: [if], d...
public class class_name { public void setCodePage(DBaseCodePage code) { if (this.columns != null) { throw new IllegalStateException(); } if (code != null) { this.language = code; } } }
public class class_name { public void setCodePage(DBaseCodePage code) { if (this.columns != null) { throw new IllegalStateException(); } if (code != null) { this.language = code; // depends on control dependency: [if], data = [none] } } }
public class class_name { public static <K extends SpecificRecord, S extends SpecificRecord> Dao<Map<String, S>> buildCompositeDaoWithEntityManager( HTablePool tablePool, String tableName, List<Class<S>> subEntityClasses, SchemaManager schemaManager) { List<EntityMapper<S>> entityMappers = new ArrayLi...
public class class_name { public static <K extends SpecificRecord, S extends SpecificRecord> Dao<Map<String, S>> buildCompositeDaoWithEntityManager( HTablePool tablePool, String tableName, List<Class<S>> subEntityClasses, SchemaManager schemaManager) { List<EntityMapper<S>> entityMappers = new ArrayLi...
public class class_name { private void setupProxyIfNeeded(HttpClientBuilder builder) { if (httpProxy != null) { builder.setProxy(new HttpHost(httpProxy.getHost(),httpProxy.getPort())); if (httpProxy.getUser() != null) { AuthScope proxyAuthScope = new AuthScope(httpProxy....
public class class_name { private void setupProxyIfNeeded(HttpClientBuilder builder) { if (httpProxy != null) { builder.setProxy(new HttpHost(httpProxy.getHost(),httpProxy.getPort())); // depends on control dependency: [if], data = [(httpProxy] if (httpProxy.getUser() != null) { ...
public class class_name { Element evaluateXPathNodeNS(Node contextNode, NamespaceContext namespaceContext, String expression, Object... args) { if (args.length > 0) { expression = Strings.format(expression, args); } Node node = null; try { XPath xpath = XPathFactory.newInstance().newXPath(); ...
public class class_name { Element evaluateXPathNodeNS(Node contextNode, NamespaceContext namespaceContext, String expression, Object... args) { if (args.length > 0) { expression = Strings.format(expression, args); // depends on control dependency: [if], data = [none] } Node node = null; try { XPa...
public class class_name { Optional<ExecutableElement> findGetterMethodFor(Element field) { String getterName = getterNameFor(field); // FIXME refine this to discover one of possible overloaded methods with correct signature (i.e. single arg of field type) TypeElement typeElement = classElementF...
public class class_name { Optional<ExecutableElement> findGetterMethodFor(Element field) { String getterName = getterNameFor(field); // FIXME refine this to discover one of possible overloaded methods with correct signature (i.e. single arg of field type) TypeElement typeElement = classElementF...
public class class_name { @Override public Method resolveFunction(String prefix, String localName) { Function f = this.functions.get(prefix + ":" + localName); if (f == null) { return null; } return f.getMethod(); } }
public class class_name { @Override public Method resolveFunction(String prefix, String localName) { Function f = this.functions.get(prefix + ":" + localName); if (f == null) { return null; // depends on control dependency: [if], data = [none] } return f.getMethod(); ...
public class class_name { private static boolean processIntList(CharIter iter, char sep, List<Integer> dest) { while (iter.hasNext()) { char c = iter.curr(); if (isDigit(c)) { int r = processUnsignedInt(iter); if (r < 0) return false; iter...
public class class_name { private static boolean processIntList(CharIter iter, char sep, List<Integer> dest) { while (iter.hasNext()) { char c = iter.curr(); if (isDigit(c)) { int r = processUnsignedInt(iter); if (r < 0) return false; iter...
public class class_name { private InputStream getDeliverableContent(Deliverable deliverable) { URL url = null; try { String uriStart = getHostForLaunch(deliverable.getJobId()); url = new URL(uriStart + "/ws/simple/file?id=" + deliverable.getRandomId()); j...
public class class_name { private InputStream getDeliverableContent(Deliverable deliverable) { URL url = null; try { String uriStart = getHostForLaunch(deliverable.getJobId()); url = new URL(uriStart + "/ws/simple/file?id=" + deliverable.getRandomId()); // depends on...
public class class_name { public Query adding( Column... columns ) { List<Column> newColumns = null; if (this.columns != null) { newColumns = new ArrayList<Column>(this.columns); for (Column column : columns) { newColumns.add(column); } } else...
public class class_name { public Query adding( Column... columns ) { List<Column> newColumns = null; if (this.columns != null) { newColumns = new ArrayList<Column>(this.columns); // depends on control dependency: [if], data = [(this.columns] for (Column column : columns) { ...
public class class_name { public void getFeature(int lat, int lon) { info("*** GetFeature: lat={0} lon={1}", lat, lon); Point request = Point.newBuilder().setLatitude(lat).setLongitude(lon).build(); Feature feature; try { feature = blockingStub.getFeature(request); if (testHelper != null)...
public class class_name { public void getFeature(int lat, int lon) { info("*** GetFeature: lat={0} lon={1}", lat, lon); Point request = Point.newBuilder().setLatitude(lat).setLongitude(lon).build(); Feature feature; try { feature = blockingStub.getFeature(request); // depends on control depende...
public class class_name { private Map<ServiceInstanceToken, InstanceHealthPair> getCacheServiceInstances() { if (instanceCache == null) { synchronized (this) { if (instanceCache == null) { instanceCache = new ConcurrentHashMap<ServiceInstanceToken, InstanceHealth...
public class class_name { private Map<ServiceInstanceToken, InstanceHealthPair> getCacheServiceInstances() { if (instanceCache == null) { synchronized (this) { // depends on control dependency: [if], data = [none] if (instanceCache == null) { instanceCache = new ...
public class class_name { public TagHandler getHandler(Tag tag) { if (handlers.containsKey(tag.getName())) { return handlers.get(tag.getName()); } return null; } }
public class class_name { public TagHandler getHandler(Tag tag) { if (handlers.containsKey(tag.getName())) { return handlers.get(tag.getName()); // depends on control dependency: [if], data = [none] } return null; } }
public class class_name { protected double[] modifyPriorVector(double P[], double u, Random r, boolean skew) { for (int j = 0; j < P.length; j++) { if (r.nextDouble() < u) { P[j] = r.nextDouble(); } } return P; } }
public class class_name { protected double[] modifyPriorVector(double P[], double u, Random r, boolean skew) { for (int j = 0; j < P.length; j++) { if (r.nextDouble() < u) { P[j] = r.nextDouble(); // depends on control dependency: [if], data = [none] } } ...
public class class_name { public int sumConsumptions(Collection<VM> ids, boolean undef) { int s = 0; for (VM u: ids) { if (consumptionDefined(u) || undef) { s += vmsConsumption.get(u); } } return s; } }
public class class_name { public int sumConsumptions(Collection<VM> ids, boolean undef) { int s = 0; for (VM u: ids) { if (consumptionDefined(u) || undef) { s += vmsConsumption.get(u); // depends on control dependency: [if], data = [none] } } return s; } }
public class class_name { public void setPoolAddressRanges(java.util.Collection<PublicIpv4PoolRange> poolAddressRanges) { if (poolAddressRanges == null) { this.poolAddressRanges = null; return; } this.poolAddressRanges = new com.amazonaws.internal.SdkInternalList<Public...
public class class_name { public void setPoolAddressRanges(java.util.Collection<PublicIpv4PoolRange> poolAddressRanges) { if (poolAddressRanges == null) { this.poolAddressRanges = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if],...
public class class_name { public final void setExceptionTimestamp(long value) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setExceptionTimestamp", Long.valueOf(value)); boolean wasEmpty = (getHdr2().getChoiceField(JsHdr2Access.EXCEPTION) == JsHdr...
public class class_name { public final void setExceptionTimestamp(long value) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setExceptionTimestamp", Long.valueOf(value)); boolean wasEmpty = (getHdr2().getChoiceField(JsHdr2Access.EXCEPTION) == JsHdr...
public class class_name { protected <T> T invokeJavascriptReturnValue(String function, Class<T> returnType, Object... args) { Object returnObject = invokeJavascript(function, args); if (returnObject != null) { return (T) returnObject; } else { return null; } ...
public class class_name { protected <T> T invokeJavascriptReturnValue(String function, Class<T> returnType, Object... args) { Object returnObject = invokeJavascript(function, args); if (returnObject != null) { return (T) returnObject; // depends on control dependency: [if], data = [none] ...
public class class_name { public Builder addPredicates(int index, Predicate... predicates) { while (index >= this.predicates.size()) { this.predicates.add(new ArrayList<>()); } this.predicates.get(index).addAll(new ArrayList<>(Arrays.asList(predicates))); return self(); ...
public class class_name { public Builder addPredicates(int index, Predicate... predicates) { while (index >= this.predicates.size()) { this.predicates.add(new ArrayList<>()); // depends on control dependency: [while], data = [none] } this.predicates.get(index).addAll(new ArrayList<>...
public class class_name { public boolean hasSolution(Pattern p, BioPAXElement ... ele) { Match m = new Match(p.size()); for (int i = 0; i < ele.length; i++) { m.set(ele[i], i); } return !search(m, p).isEmpty(); } }
public class class_name { public boolean hasSolution(Pattern p, BioPAXElement ... ele) { Match m = new Match(p.size()); for (int i = 0; i < ele.length; i++) { m.set(ele[i], i); // depends on control dependency: [for], data = [i] } return !search(m, p).isEmpty(); } }
public class class_name { public void marshall(AttachmentsSource attachmentsSource, ProtocolMarshaller protocolMarshaller) { if (attachmentsSource == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(a...
public class class_name { public void marshall(AttachmentsSource attachmentsSource, ProtocolMarshaller protocolMarshaller) { if (attachmentsSource == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(a...
public class class_name { protected String convertIdentifierPattern(final String pattern, boolean datanucleusFormat) { if (pattern == null) { return convertPattern("%", true); } else { return convertPattern(pattern, datanucleusFormat); } } }
public class class_name { protected String convertIdentifierPattern(final String pattern, boolean datanucleusFormat) { if (pattern == null) { return convertPattern("%", true); // depends on control dependency: [if], data = [none] } else { return convertPattern(pattern, datanucleusFormat); // depend...
public class class_name { public static <V> void removeVertices(DirectedGraph<V, DefaultEdge> graph, Set<V> vertices) { for (V vertex : vertices) { if (graph.containsVertex(vertex)) { graph.removeVertex(vertex); } } } }
public class class_name { public static <V> void removeVertices(DirectedGraph<V, DefaultEdge> graph, Set<V> vertices) { for (V vertex : vertices) { if (graph.containsVertex(vertex)) { graph.removeVertex(vertex); // depends on control dependency: [if], data = [none] } ...
public class class_name { private void resizeWindowIfNecessary(int newSize) { try { int numberOfLinesToLoad = newSize - this.lineQueue.size(); for (int i = 0; i < numberOfLinesToLoad; i++) { String nextLine = getNextLine(); if (nextLine != null) { ...
public class class_name { private void resizeWindowIfNecessary(int newSize) { try { int numberOfLinesToLoad = newSize - this.lineQueue.size(); for (int i = 0; i < numberOfLinesToLoad; i++) { String nextLine = getNextLine(); if (nextLine != null) { ...
public class class_name { public void proxyTo(final List<? extends URI> uris) { for (URI uri : uris) { if(uri == null) { throw new NullPointerException("URI can't be null"); } if(!JainSipUtils.checkScheme(uri.toString())) { throw new IllegalArgumentException("Scheme " + uri.getScheme() + " ...
public class class_name { public void proxyTo(final List<? extends URI> uris) { for (URI uri : uris) { if(uri == null) { throw new NullPointerException("URI can't be null"); } if(!JainSipUtils.checkScheme(uri.toString())) { throw new IllegalArgumentException("Scheme " + uri.getScheme() + " ...
public class class_name { @Override public final Scene remove(final Layer layer) { if ((null != layer) && (LienzoCore.IS_CANVAS_SUPPORTED)) { if (getChildNodes().contains(layer)) { getElement().removeChild(layer.getElement()); } su...
public class class_name { @Override public final Scene remove(final Layer layer) { if ((null != layer) && (LienzoCore.IS_CANVAS_SUPPORTED)) { if (getChildNodes().contains(layer)) { getElement().removeChild(layer.getElement()); // depends on control depend...
public class class_name { public void removeFilter(String filterName) { Filter filter = getFilterByName(filterName); if (filter != null) { if (filter.isTaskFilter()) { m_taskFilters.remove(filter); } if (filter.isResourceFilter()) { ...
public class class_name { public void removeFilter(String filterName) { Filter filter = getFilterByName(filterName); if (filter != null) { if (filter.isTaskFilter()) { m_taskFilters.remove(filter); // depends on control dependency: [if], data = [none] } ...
public class class_name { public SqlRepositoryBuilder withSchema(String schemaName) { if (schemaName != null && !schemaName.isEmpty()) { this.schemaName = schemaName; } return this; } }
public class class_name { public SqlRepositoryBuilder withSchema(String schemaName) { if (schemaName != null && !schemaName.isEmpty()) { this.schemaName = schemaName; // depends on control dependency: [if], data = [none] } return this; } }
public class class_name { @Override public boolean addData(IoBuffer data) { if (!this.canHandleData(data)) { return false; } data.get(); this.updateSize(data); int idx = 0; int pos = 0; byte[] tmpData = new byte[this.blockDataSize]; ...
public class class_name { @Override public boolean addData(IoBuffer data) { if (!this.canHandleData(data)) { return false; // depends on control dependency: [if], data = [none] } data.get(); this.updateSize(data); int idx = 0; int pos = 0; ...
public class class_name { @Override public CommerceCountry fetchByG_N(long groupId, int numericISOCode, boolean retrieveFromCache) { Object[] finderArgs = new Object[] { groupId, numericISOCode }; Object result = null; if (retrieveFromCache) { result = finderCache.getResult(FINDER_PATH_FETCH_BY_G_N, ...
public class class_name { @Override public CommerceCountry fetchByG_N(long groupId, int numericISOCode, boolean retrieveFromCache) { Object[] finderArgs = new Object[] { groupId, numericISOCode }; Object result = null; if (retrieveFromCache) { result = finderCache.getResult(FINDER_PATH_FETCH_BY_G_N, ...
public class class_name { public static String[] stripAll(final String[] strs, final String stripChars) { int strsLen; if (strs == null || (strsLen = strs.length) == 0) { return strs; } final String[] newArr = new String[strsLen]; for (int i = 0; i < strsLen; i++) { ...
public class class_name { public static String[] stripAll(final String[] strs, final String stripChars) { int strsLen; if (strs == null || (strsLen = strs.length) == 0) { return strs; // depends on control dependency: [if], data = [none] } final String[] newArr = new String[...
public class class_name { public static void enableAutoRead(Channel channel) { if (!channel.config().isAutoRead()) { channel.config().setAutoRead(true); channel.read(); } } }
public class class_name { public static void enableAutoRead(Channel channel) { if (!channel.config().isAutoRead()) { channel.config().setAutoRead(true); // depends on control dependency: [if], data = [none] channel.read(); // depends on control dependency: [if], data = [none] } } }
public class class_name { public void marshall(ListUsersInGroupRequest listUsersInGroupRequest, ProtocolMarshaller protocolMarshaller) { if (listUsersInGroupRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMar...
public class class_name { public void marshall(ListUsersInGroupRequest listUsersInGroupRequest, ProtocolMarshaller protocolMarshaller) { if (listUsersInGroupRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMar...
public class class_name { public static EntropyStats entropy(SparseMatrix m) { double sum = 0; double[] colSums = new double[m.columns()]; double[] rowSums = new double[m.rows()]; for (int r = 0; r < m.rows(); ++r) { SparseDoubleVector sv = m.getRowVector(r); for...
public class class_name { public static EntropyStats entropy(SparseMatrix m) { double sum = 0; double[] colSums = new double[m.columns()]; double[] rowSums = new double[m.rows()]; for (int r = 0; r < m.rows(); ++r) { SparseDoubleVector sv = m.getRowVector(r); for...
public class class_name { public void assignModelReferences(XAttributable target, List<String> modelReferences) { StringBuilder sb = new StringBuilder(); for (String ref : modelReferences) { sb.append(ref); sb.append(" "); } if (sb.toString().trim().length() > 0) { XAttributeLiteral attr = (XAttrib...
public class class_name { public void assignModelReferences(XAttributable target, List<String> modelReferences) { StringBuilder sb = new StringBuilder(); for (String ref : modelReferences) { sb.append(ref); // depends on control dependency: [for], data = [ref] sb.append(" "); // depends on control depende...
public class class_name { protected Object createCacheEntry(String host, String[] ips) { try { long expiration = System.currentTimeMillis() + EXPIRATION;// 10年失效 InetAddress[] addresses = new InetAddress[ips.length]; for (int i = 0; i < addresses.length; i++) { // addresses[i] = InetAddress.getByAddress...
public class class_name { protected Object createCacheEntry(String host, String[] ips) { try { long expiration = System.currentTimeMillis() + EXPIRATION;// 10年失效 InetAddress[] addresses = new InetAddress[ips.length]; for (int i = 0; i < addresses.length; i++) { // addresses[i] = InetAddress.getByAddress...
public class class_name { public void marshall(DescribeRecoveryPointRequest describeRecoveryPointRequest, ProtocolMarshaller protocolMarshaller) { if (describeRecoveryPointRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { public void marshall(DescribeRecoveryPointRequest describeRecoveryPointRequest, ProtocolMarshaller protocolMarshaller) { if (describeRecoveryPointRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { @Override public WebSphereEjbServices getWebSphereEjbServices(String applicationID) { WebSphereEjbServices services = null; synchronized (ejbServices) { services = ejbServices.get(applicationID); if (services == null) { services = n...
public class class_name { @Override public WebSphereEjbServices getWebSphereEjbServices(String applicationID) { WebSphereEjbServices services = null; synchronized (ejbServices) { services = ejbServices.get(applicationID); if (services == null) { services = n...
public class class_name { protected void notifyModuleUpdate(@Nullable ScriptModule newModule, @Nullable ScriptModule oldModule) { for (ScriptModuleListener listener : listeners) { listener.moduleUpdated(newModule, oldModule); } } }
public class class_name { protected void notifyModuleUpdate(@Nullable ScriptModule newModule, @Nullable ScriptModule oldModule) { for (ScriptModuleListener listener : listeners) { listener.moduleUpdated(newModule, oldModule); // depends on control dependency: [for], data = [listener] } ...
public class class_name { protected static void parseCondFlag(String line, RewriteCond condition, String flag) { if (flag.equals("NC") || flag.equals("nocase")) { condition.setNocase(true); } else if (flag.equals("OR") || flag.equals("ornext")) { condition.setOrnext(true); ...
public class class_name { protected static void parseCondFlag(String line, RewriteCond condition, String flag) { if (flag.equals("NC") || flag.equals("nocase")) { condition.setNocase(true); // depends on control dependency: [if], data = [none] } else if (flag.equals("OR") || flag.equals("or...
public class class_name { public List<AbstractExpression> bindingToIndexedExpression( AbstractExpression expr) { // Defer the result construction for as long as possible on the // assumption that this function mostly gets applied to eliminate // negative cases. if (m_type !=...
public class class_name { public List<AbstractExpression> bindingToIndexedExpression( AbstractExpression expr) { // Defer the result construction for as long as possible on the // assumption that this function mostly gets applied to eliminate // negative cases. if (m_type !=...
public class class_name { @Override public void applicationStopped(ApplicationInfo appInfo) { Application application = this.runtimeFactory.removeApplication(appInfo); /* ignore apps not controlled by the app manager */ if (application == null) { return; } try { ...
public class class_name { @Override public void applicationStopped(ApplicationInfo appInfo) { Application application = this.runtimeFactory.removeApplication(appInfo); /* ignore apps not controlled by the app manager */ if (application == null) { return; // depends on control de...
public class class_name { protected void initFailedJobCommandFactory() { if (failedJobCommandFactory == null) { failedJobCommandFactory = new DefaultFailedJobCommandFactory(); } if (postParseListeners == null) { postParseListeners = new ArrayList<BpmnParseListener>(); } postParseListene...
public class class_name { protected void initFailedJobCommandFactory() { if (failedJobCommandFactory == null) { failedJobCommandFactory = new DefaultFailedJobCommandFactory(); // depends on control dependency: [if], data = [none] } if (postParseListeners == null) { postParseListeners = new Arra...
public class class_name { public <T, V extends Comparable<T>> V exclusiveBetween(final T start, final T end, final V value) { if (value.compareTo(start) <= 0 || value.compareTo(end) >= 0) { fail(String.format(DEFAULT_EXCLUSIVE_BETWEEN_EX_MESSAGE, value, start, end)); } return value;...
public class class_name { public <T, V extends Comparable<T>> V exclusiveBetween(final T start, final T end, final V value) { if (value.compareTo(start) <= 0 || value.compareTo(end) >= 0) { fail(String.format(DEFAULT_EXCLUSIVE_BETWEEN_EX_MESSAGE, value, start, end)); // depends on control dependenc...
public class class_name { protected static int getTotalAttempts(ClientRequestContext ctx) { final State state = ctx.attr(STATE).get(); if (state == null) { return 0; } return state.totalAttemptNo; } }
public class class_name { protected static int getTotalAttempts(ClientRequestContext ctx) { final State state = ctx.attr(STATE).get(); if (state == null) { return 0; // depends on control dependency: [if], data = [none] } return state.totalAttemptNo; } }
public class class_name { private List<HeaderCell> loadHeaderRowWithConfigurationTab(final SheetConfiguration sheetConfig, final RangeBuildRef rangeBuildRef, final int currentRow, final Map<String, CellRangeAddress> cellRangeMap, final List<String> skippedRegionCells) { Sheet sheet1 = rangeBuildRef.getShe...
public class class_name { private List<HeaderCell> loadHeaderRowWithConfigurationTab(final SheetConfiguration sheetConfig, final RangeBuildRef rangeBuildRef, final int currentRow, final Map<String, CellRangeAddress> cellRangeMap, final List<String> skippedRegionCells) { Sheet sheet1 = rangeBuildRef.getShe...
public class class_name { private String getShortClassName(String className) { int lastDot = className.lastIndexOf('.'); if (lastDot >= 0) { className = className.substring(lastDot + 1); } return className.toLowerCase(Locale.US).replace('+', '$'); } }
public class class_name { private String getShortClassName(String className) { int lastDot = className.lastIndexOf('.'); if (lastDot >= 0) { className = className.substring(lastDot + 1); // depends on control dependency: [if], data = [(lastDot] } return className.toLowerCase...
public class class_name { @SuppressWarnings("unchecked") public Map<String, Object> getParamMap(String paramName) { Object paramValue = getParam(paramName); if (paramValue == null) { return null; } if (!(paramValue instanceof Map)) { throw new IllegalA...
public class class_name { @SuppressWarnings("unchecked") public Map<String, Object> getParamMap(String paramName) { Object paramValue = getParam(paramName); if (paramValue == null) { return null; // depends on control dependency: [if], data = [none] } if (!(paramVa...
public class class_name { public static void installSecureRandomProvider() { CoGProperties props = CoGProperties.getDefault(); String providerName = props.getSecureRandomProvider(); try { Class providerClass = Class.forName(providerName); Security.insertProviderAt( (Prov...
public class class_name { public static void installSecureRandomProvider() { CoGProperties props = CoGProperties.getDefault(); String providerName = props.getSecureRandomProvider(); try { Class providerClass = Class.forName(providerName); // depends on control dependency: [try], dat...
public class class_name { public void setNodeGroupsToRetain(java.util.Collection<String> nodeGroupsToRetain) { if (nodeGroupsToRetain == null) { this.nodeGroupsToRetain = null; return; } this.nodeGroupsToRetain = new com.amazonaws.internal.SdkInternalList<String>(nodeGr...
public class class_name { public void setNodeGroupsToRetain(java.util.Collection<String> nodeGroupsToRetain) { if (nodeGroupsToRetain == null) { this.nodeGroupsToRetain = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [...
public class class_name { public void setMinProgress(final float minProgress) { if (composition == null) { lazyCompositionTasks.add(new LazyCompositionTask() { @Override public void run(LottieComposition composition) { setMinProgress(minProgress); } }); return; ...
public class class_name { public void setMinProgress(final float minProgress) { if (composition == null) { lazyCompositionTasks.add(new LazyCompositionTask() { @Override public void run(LottieComposition composition) { setMinProgress(minProgress); } }); // depends on c...
public class class_name { @SuppressWarnings("serial") public Map<String, PullMeasure<?>> createPullsFromGetters( final Object object) { Map<String, PullMeasure<?>> measures = new HashMap<String, PullMeasure<?>>(); Class<? extends Object> clazz = object.getClass(); for (final Method method : clazz.getMethods(...
public class class_name { @SuppressWarnings("serial") public Map<String, PullMeasure<?>> createPullsFromGetters( final Object object) { Map<String, PullMeasure<?>> measures = new HashMap<String, PullMeasure<?>>(); Class<? extends Object> clazz = object.getClass(); for (final Method method : clazz.getMethods(...
public class class_name { private static int byteCompaction(int mode, int[] codewords, Charset encoding, int codeIndex, StringBuilder result) { ByteArrayOutputStream decod...
public class class_name { private static int byteCompaction(int mode, int[] codewords, Charset encoding, int codeIndex, StringBuilder result) { ByteArrayOutputStream decod...
public class class_name { public static String getStringValue(JSONObject jsonObject, String key) throws JSONException { checkArguments(jsonObject, key); JSONValue value = jsonObject.get(key); if (value != null) { if (value.isString() != null) { return ((JSONString) value).stringValue(); } else { St...
public class class_name { public static String getStringValue(JSONObject jsonObject, String key) throws JSONException { checkArguments(jsonObject, key); JSONValue value = jsonObject.get(key); if (value != null) { if (value.isString() != null) { return ((JSONString) value).stringValue(); } else { St...
public class class_name { private static int getJavaVersion() { String version = System.getProperty("java.version"); if (version == null) { return -1; } else { int index = version.indexOf('.'); if (index > 0) { version = version.substring(0, index); } try { return Integer.parseInt(version...
public class class_name { private static int getJavaVersion() { String version = System.getProperty("java.version"); if (version == null) { return -1; // depends on control dependency: [if], data = [none] } else { int index = version.indexOf('.'); if (index > 0) { version = version.substring(0, inde...
public class class_name { public void marshall(ListAliasesRequest listAliasesRequest, ProtocolMarshaller protocolMarshaller) { if (listAliasesRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshal...
public class class_name { public void marshall(ListAliasesRequest listAliasesRequest, ProtocolMarshaller protocolMarshaller) { if (listAliasesRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshal...
public class class_name { private Map<String, TargetInfo> getTargets(final LinkerConfiguration linkerConfig, final Vector<File> objectFiles, final VersionInfo versionInfo, final File outputFile) { // FREEHEP final List<String> order = new ArrayList<>(); final Map<String, TargetInfo> targets = new Tr...
public class class_name { private Map<String, TargetInfo> getTargets(final LinkerConfiguration linkerConfig, final Vector<File> objectFiles, final VersionInfo versionInfo, final File outputFile) { // FREEHEP final List<String> order = new ArrayList<>(); final Map<String, TargetInfo> targets = new Tr...
public class class_name { public void setTickMarkColor(final Color COLOR) { if (null == tickMarkColor) { _tickMarkColor = COLOR; fireUpdateEvent(REDRAW_EVENT); } else { tickMarkColor.set(COLOR); } } }
public class class_name { public void setTickMarkColor(final Color COLOR) { if (null == tickMarkColor) { _tickMarkColor = COLOR; // depends on control dependency: [if], data = [none] fireUpdateEvent(REDRAW_EVENT); // depends on control dependency: [if], data = [none] } else { ...
public class class_name { public static double[] normalize(final double[] values) { final double sum = 1.0/DoubleAdder.sum(values); for (int i = values.length; --i >= 0;) { values[i] = values[i]*sum; } return values; } }
public class class_name { public static double[] normalize(final double[] values) { final double sum = 1.0/DoubleAdder.sum(values); for (int i = values.length; --i >= 0;) { values[i] = values[i]*sum; // depends on control dependency: [for], data = [i] } return values; } }
public class class_name { @NonNull protected ViewGroupMvpDelegate<V, P> getMvpDelegate() { if (mvpDelegate == null) { mvpDelegate = new ViewGroupMvpDelegateImpl<>(this, this, true); } return mvpDelegate; } }
public class class_name { @NonNull protected ViewGroupMvpDelegate<V, P> getMvpDelegate() { if (mvpDelegate == null) { mvpDelegate = new ViewGroupMvpDelegateImpl<>(this, this, true); // depends on control dependency: [if], data = [none] } return mvpDelegate; } }
public class class_name { @Override @PreDestroy public synchronized void close() { if (this.shutdown) { return; } this.shutdown = true; for (final ManagedChannel channel : this.channels.values()) { channel.shutdown(); } try { f...
public class class_name { @Override @PreDestroy public synchronized void close() { if (this.shutdown) { return; // depends on control dependency: [if], data = [none] } this.shutdown = true; for (final ManagedChannel channel : this.channels.values()) { cha...
public class class_name { protected List<CmsRelation> validateLinks( CmsDbContext dbc, CmsResource resource, Map<String, CmsResource> fileLookup, CmsProject project, I_CmsReport report) { List<CmsRelation> brokenRelations = new ArrayList<CmsRelation>(); Map<Stri...
public class class_name { protected List<CmsRelation> validateLinks( CmsDbContext dbc, CmsResource resource, Map<String, CmsResource> fileLookup, CmsProject project, I_CmsReport report) { List<CmsRelation> brokenRelations = new ArrayList<CmsRelation>(); Map<Stri...
public class class_name { public String toCsv() { StringBuilder sb = new StringBuilder(); Iterator<Outcome> iter = outcomeIterator(); while (iter.hasNext()) { Outcome outcome = iter.next(); sb.append(outcome.toCsv()); if (iter.hasNext()) { sb.append("\n"); } } return...
public class class_name { public String toCsv() { StringBuilder sb = new StringBuilder(); Iterator<Outcome> iter = outcomeIterator(); while (iter.hasNext()) { Outcome outcome = iter.next(); sb.append(outcome.toCsv()); // depends on control dependency: [while], data = [none] if (iter.hasNe...
public class class_name { public static MutableIntTuple min( Collection<? extends IntTuple> tuples, MutableIntTuple result) { if (tuples.isEmpty()) { return null; } int size = getSize(result, tuples); IntTuple identity = In...
public class class_name { public static MutableIntTuple min( Collection<? extends IntTuple> tuples, MutableIntTuple result) { if (tuples.isEmpty()) { return null; // depends on control dependency: [if], data = [none] } int size = getSize(result, ...
public class class_name { public PhotoContext getContext(String photoId) throws FlickrException { Map<String, Object> parameters = new HashMap<String, Object>(); parameters.put("method", METHOD_GET_CONTEXT); parameters.put("photo_id", photoId); Response response = transport.get(...
public class class_name { public PhotoContext getContext(String photoId) throws FlickrException { Map<String, Object> parameters = new HashMap<String, Object>(); parameters.put("method", METHOD_GET_CONTEXT); parameters.put("photo_id", photoId); Response response = transport.get(...
public class class_name { public void visit(ASTNode[] nodes, final SourceUnit source) { if (nodes.length != 2 || !(nodes[0] instanceof AnnotationNode) || !(nodes[1] instanceof ClassNode)) { source.getErrorCollector().addError( new SyntaxErrorMessage(new SyntaxException("@Cate...
public class class_name { public void visit(ASTNode[] nodes, final SourceUnit source) { if (nodes.length != 2 || !(nodes[0] instanceof AnnotationNode) || !(nodes[1] instanceof ClassNode)) { source.getErrorCollector().addError( new SyntaxErrorMessage(new SyntaxException("@Cate...
public class class_name { Map<String, CmsSSLMode> getWebserverList() { Map<String, CmsSSLMode> ret = new LinkedHashMap<String, CmsSSLMode>(); for (I_CmsEditableGroupRow row : m_workplaceServerGroup.getRows()) { CmsWorkplaceServerWidget widget = (CmsWorkplaceServerWidget)row.getComponent();...
public class class_name { Map<String, CmsSSLMode> getWebserverList() { Map<String, CmsSSLMode> ret = new LinkedHashMap<String, CmsSSLMode>(); for (I_CmsEditableGroupRow row : m_workplaceServerGroup.getRows()) { CmsWorkplaceServerWidget widget = (CmsWorkplaceServerWidget)row.getComponent();...
public class class_name { public void marshall(CreateEventSubscriptionRequest createEventSubscriptionRequest, ProtocolMarshaller protocolMarshaller) { if (createEventSubscriptionRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { public void marshall(CreateEventSubscriptionRequest createEventSubscriptionRequest, ProtocolMarshaller protocolMarshaller) { if (createEventSubscriptionRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { public void setPendingMaintenanceActions(java.util.Collection<PendingMaintenanceAction> pendingMaintenanceActions) { if (pendingMaintenanceActions == null) { this.pendingMaintenanceActions = null; return; } this.pendingMaintenanceActions = new ...
public class class_name { public void setPendingMaintenanceActions(java.util.Collection<PendingMaintenanceAction> pendingMaintenanceActions) { if (pendingMaintenanceActions == null) { this.pendingMaintenanceActions = null; // depends on control dependency: [if], data = [none] return; //...
public class class_name { public void addAnnotationDetailsTreeHeader(TypeElement te, Content memberDetailsTree) { if (!writer.printedAnnotationHeading) { memberDetailsTree.addContent(writer.getMarkerAnchor( SectionName.ANNOTATION_TYPE_ELEMENT_DETAIL)); Co...
public class class_name { public void addAnnotationDetailsTreeHeader(TypeElement te, Content memberDetailsTree) { if (!writer.printedAnnotationHeading) { memberDetailsTree.addContent(writer.getMarkerAnchor( SectionName.ANNOTATION_TYPE_ELEMENT_DETAIL)); // depends on ...
public class class_name { public Subject getSubject(Subject subject) { Subject result = null; if(isSecurityEnabled) { /* * Check if the SIBSecurity Service is loaded. If it is not loaded, * load SIBSecurity Service Invoke the Login method of the * SIBSecurity Service to get the Subject * * ...
public class class_name { public Subject getSubject(Subject subject) { Subject result = null; if(isSecurityEnabled) { /* * Check if the SIBSecurity Service is loaded. If it is not loaded, * load SIBSecurity Service Invoke the Login method of the * SIBSecurity Service to get the Subject * * ...
public class class_name { public java.util.List<StackResourceDrift> getStackResourceDrifts() { if (stackResourceDrifts == null) { stackResourceDrifts = new com.amazonaws.internal.SdkInternalList<StackResourceDrift>(); } return stackResourceDrifts; } }
public class class_name { public java.util.List<StackResourceDrift> getStackResourceDrifts() { if (stackResourceDrifts == null) { stackResourceDrifts = new com.amazonaws.internal.SdkInternalList<StackResourceDrift>(); // depends on control dependency: [if], data = [none] } return st...
public class class_name { private void checkSendUpdateConfigMessage(String site1, String site2, Status site1Status, Status site2Status) throws Exception { String repo; String revision; String branch; if(includeConfig) { repo = site1Status.getConfigRepo(); revision = site1Status.getCon...
public class class_name { private void checkSendUpdateConfigMessage(String site1, String site2, Status site1Status, Status site2Status) throws Exception { String repo; String revision; String branch; if(includeConfig) { repo = site1Status.getConfigRepo(); revision = site1Status.getCon...
public class class_name { public static String getCanonicalizedURI(String uri, boolean canonicalizePath) { String canonicalURI = uri; if (uri != null) { String host = getHost(uri); String path = getPath(uri); final boolean emptyPath = "".equals(path); fin...
public class class_name { public static String getCanonicalizedURI(String uri, boolean canonicalizePath) { String canonicalURI = uri; if (uri != null) { String host = getHost(uri); String path = getPath(uri); final boolean emptyPath = "".equals(path); fin...
public class class_name { private void setStreamIsBlocked(boolean value, int blockingReason, Exception exception, JsDestinationAddress blockedAddress) { if (TraceComponent.isAnyTracingEnabled() && tc...
public class class_name { private void setStreamIsBlocked(boolean value, int blockingReason, Exception exception, JsDestinationAddress blockedAddress) { if (TraceComponent.isAnyTracingEnabled() && tc...
public class class_name { public static boolean blockAligned( int blockLength , DSubmatrixD1 A ) { if( A.col0 % blockLength != 0 ) return false; if( A.row0 % blockLength != 0 ) return false; if( A.col1 % blockLength != 0 && A.col1 != A.original.numCols ) { r...
public class class_name { public static boolean blockAligned( int blockLength , DSubmatrixD1 A ) { if( A.col0 % blockLength != 0 ) return false; if( A.row0 % blockLength != 0 ) return false; if( A.col1 % blockLength != 0 && A.col1 != A.original.numCols ) { r...