code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { @Override public C.Sequence<T> prepend(C.Sequence<? extends T> seq) { if (seq instanceof C.List) { return prependList((C.List<T>) seq); } if (isLazy()) { return new CompositeSeq<T>(seq, this); } return unLazyPrepend(seq); ...
public class class_name { @Override public C.Sequence<T> prepend(C.Sequence<? extends T> seq) { if (seq instanceof C.List) { return prependList((C.List<T>) seq); // depends on control dependency: [if], data = [none] } if (isLazy()) { return new CompositeSeq<T>(seq, t...
public class class_name { public boolean register(final Object pProvider) { Iterator<Class<?>> categories = compatibleCategories(pProvider); boolean registered = false; while (categories.hasNext()) { Class<?> category = categories.next(); if (registerImpl(pProvider,...
public class class_name { public boolean register(final Object pProvider) { Iterator<Class<?>> categories = compatibleCategories(pProvider); boolean registered = false; while (categories.hasNext()) { Class<?> category = categories.next(); if (registerImpl(pProvider,...
public class class_name { private void fillOsubMatrix( Coordinate[] controlPoints, GeneralMatrix L ) { int controlPointsNum = controlPoints.length; for( int i = controlPointsNum; i < (controlPointsNum + 3); i++ ) { for( int j = controlPointsNum; j < (controlPointsNum + 3); j++ ) { ...
public class class_name { private void fillOsubMatrix( Coordinate[] controlPoints, GeneralMatrix L ) { int controlPointsNum = controlPoints.length; for( int i = controlPointsNum; i < (controlPointsNum + 3); i++ ) { for( int j = controlPointsNum; j < (controlPointsNum + 3); j++ ) { ...
public class class_name { public void marshall(ListStreamProcessorsRequest listStreamProcessorsRequest, ProtocolMarshaller protocolMarshaller) { if (listStreamProcessorsRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { public void marshall(ListStreamProcessorsRequest listStreamProcessorsRequest, ProtocolMarshaller protocolMarshaller) { if (listStreamProcessorsRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { public final <V, C> Flux<T> distinct( Function<? super T, ? extends V> keySelector, Supplier<C> distinctStoreSupplier, BiPredicate<C, V> distinctPredicate, Consumer<C> cleanup) { if (this instanceof Fuseable) { return onAssembly(new FluxDistinctFuseable<>(this, keySelector, ...
public class class_name { public final <V, C> Flux<T> distinct( Function<? super T, ? extends V> keySelector, Supplier<C> distinctStoreSupplier, BiPredicate<C, V> distinctPredicate, Consumer<C> cleanup) { if (this instanceof Fuseable) { return onAssembly(new FluxDistinctFuseable<>(this, keySelector, ...
public class class_name { public Set<Permission> authorize(AuthenticatedUser user, IResource resource) { if (user.isSuper()) return Permission.ALL; UntypedResultSet result; try { ResultMessage.Rows rows = authorizeStatement.execute(QueryState.forInternalCall...
public class class_name { public Set<Permission> authorize(AuthenticatedUser user, IResource resource) { if (user.isSuper()) return Permission.ALL; UntypedResultSet result; try { ResultMessage.Rows rows = authorizeStatement.execute(QueryState.forInternalCall...
public class class_name { synchronized static TraceSpecification setTraceSpec(String spec) { // If logger is used & configured by logger properties, // we're done as far as trace string processing is concerned if (WsLogManager.isConfiguredByLoggingProperties()) { return null; ...
public class class_name { synchronized static TraceSpecification setTraceSpec(String spec) { // If logger is used & configured by logger properties, // we're done as far as trace string processing is concerned if (WsLogManager.isConfiguredByLoggingProperties()) { return null; // de...
public class class_name { public Observable<ServiceResponse<Page<SharedAccessSignatureAuthorizationRuleInner>>> listKeysNextWithServiceResponseAsync(final String nextPageLink) { return listKeysNextSinglePageAsync(nextPageLink) .concatMap(new Func1<ServiceResponse<Page<SharedAccessSignatureAuthoriza...
public class class_name { public Observable<ServiceResponse<Page<SharedAccessSignatureAuthorizationRuleInner>>> listKeysNextWithServiceResponseAsync(final String nextPageLink) { return listKeysNextSinglePageAsync(nextPageLink) .concatMap(new Func1<ServiceResponse<Page<SharedAccessSignatureAuthoriza...
public class class_name { public Optional<ImmutableSubstitution<ImmutableTerm>> computeUnidirectionalSubstitution(ImmutableTerm sourceTerm, ImmutableTerm targetTerm) { /* * Variable */ i...
public class class_name { public Optional<ImmutableSubstitution<ImmutableTerm>> computeUnidirectionalSubstitution(ImmutableTerm sourceTerm, ImmutableTerm targetTerm) { /* * Variable */ i...
public class class_name { private Connector findSipConnector(String ipAddress, int port, String transport) { Connector connectorToRemove = null; for (Connector connector : connectors) { final ProtocolHandler protocolHandler = connector.getProtocolHandler(); if(protocolHandler instanceof SipProtocolHandler...
public class class_name { private Connector findSipConnector(String ipAddress, int port, String transport) { Connector connectorToRemove = null; for (Connector connector : connectors) { final ProtocolHandler protocolHandler = connector.getProtocolHandler(); if(protocolHandler instanceof SipProtocolHandler...
public class class_name { boolean doScoring(Frame fTrain, Frame fValid, Key<Job> jobKey, int iteration, boolean finalScoring) { final long now = System.currentTimeMillis(); final double time_since_last_iter = now - _timeLastIterationEnter; updateTiming(jobKey); _timeLastIterationEnter = now; epoch_...
public class class_name { boolean doScoring(Frame fTrain, Frame fValid, Key<Job> jobKey, int iteration, boolean finalScoring) { final long now = System.currentTimeMillis(); final double time_since_last_iter = now - _timeLastIterationEnter; updateTiming(jobKey); _timeLastIterationEnter = now; epoch_...
public class class_name { static SpatialOperation parseSpatialOperation(String operation) { if (operation == null) { throw new IndexException("Operation is required"); } else if (operation.equalsIgnoreCase("is_within")) { return SpatialOperation.IsWithin; } else if (oper...
public class class_name { static SpatialOperation parseSpatialOperation(String operation) { if (operation == null) { throw new IndexException("Operation is required"); } else if (operation.equalsIgnoreCase("is_within")) { return SpatialOperation.IsWithin; // depends on control d...
public class class_name { @LinearTime public static <K> BinaryArrayBulkInsertWeakHeap<K> heapify(K[] array, Comparator<? super K> comparator) { if (array == null) { throw new IllegalArgumentException("Array cannot be null"); } if (array.length == 0) { return new Bina...
public class class_name { @LinearTime public static <K> BinaryArrayBulkInsertWeakHeap<K> heapify(K[] array, Comparator<? super K> comparator) { if (array == null) { throw new IllegalArgumentException("Array cannot be null"); } if (array.length == 0) { return new Bina...
public class class_name { public static LocalDate parse(String date) { if (StringUtils.isEmpty(date)) return null; try { return parse_(date); } catch (DateTimeParseException x) { return InvalidValues.createInvalidLocalDate(date); } } }
public class class_name { public static LocalDate parse(String date) { if (StringUtils.isEmpty(date)) return null; try { return parse_(date); // depends on control dependency: [try], data = [none] } catch (DateTimeParseException x) { return InvalidValues.createInvalidLocalDate(date); } // depends on cont...
public class class_name { @SuppressWarnings("unchecked") public V get(final int key) { V value = null; @DoNotSub final int setNumber = Hashing.hash(key, mask); @DoNotSub final int setBeginIndex = setNumber << setSizeShift; for (@DoNotSub int i = setBeginIndex, setEndIndex = set...
public class class_name { @SuppressWarnings("unchecked") public V get(final int key) { V value = null; @DoNotSub final int setNumber = Hashing.hash(key, mask); @DoNotSub final int setBeginIndex = setNumber << setSizeShift; for (@DoNotSub int i = setBeginIndex, setEndIndex = set...
public class class_name { public static String fixName(String name) { if (name == null) { throw MESSAGES.nullArgument("name"); } int length = name.length(); if (length <= 1) { return name; } if (name.charAt(length - 1) == '/') { return name.substring(0, length - 1); ...
public class class_name { public static String fixName(String name) { if (name == null) { throw MESSAGES.nullArgument("name"); } int length = name.length(); if (length <= 1) { return name; } // depends on control dependency: [if], data = [none] if (name.charAt(length...
public class class_name { private void indexSupertypes(TypeElement rootElement, TypeElement element) throws IOException { for (TypeMirror mirror : types.directSupertypes(element.asType())) { if (mirror.getKind() != TypeKind.DECLARED) { continue; } DeclaredType superType = (DeclaredType) mirror; Typ...
public class class_name { private void indexSupertypes(TypeElement rootElement, TypeElement element) throws IOException { for (TypeMirror mirror : types.directSupertypes(element.asType())) { if (mirror.getKind() != TypeKind.DECLARED) { continue; } DeclaredType superType = (DeclaredType) mirror; Typ...
public class class_name { @Override protected int handleGetYearLength(int extendedYear) { int length =0; if (cType == CalculationType.ISLAMIC_CIVIL || cType == CalculationType.ISLAMIC_TBLA || (cType == CalculationType.ISLAMIC_UMALQURA && (extendedYear < UMALQURA_YEAR...
public class class_name { @Override protected int handleGetYearLength(int extendedYear) { int length =0; if (cType == CalculationType.ISLAMIC_CIVIL || cType == CalculationType.ISLAMIC_TBLA || (cType == CalculationType.ISLAMIC_UMALQURA && (extendedYear < UMALQURA_YEAR...
public class class_name { @Override public Class<?> classForName(String name) { try { if (classes.containsKey(name)) { return classes.get(name); } final Class<?> clazz = module.getClassLoader().loadClass(name); classes.put(name, clazz); ...
public class class_name { @Override public Class<?> classForName(String name) { try { if (classes.containsKey(name)) { return classes.get(name); // depends on control dependency: [if], data = [none] } final Class<?> clazz = module.getClassLoader().loadCla...
public class class_name { public void marshall(Compliance compliance, ProtocolMarshaller protocolMarshaller) { if (compliance == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(compliance.getStatus()...
public class class_name { public void marshall(Compliance compliance, ProtocolMarshaller protocolMarshaller) { if (compliance == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(compliance.getStatus()...
public class class_name { public FlowStepRule createFlowStepExitRule(FlowStepRule flowStepRuleParam) { if(flowStepRuleParam != null && this.serviceTicket != null) { flowStepRuleParam.setServiceTicket(this.serviceTicket); } return new FlowStepRule(this.putJson( ...
public class class_name { public FlowStepRule createFlowStepExitRule(FlowStepRule flowStepRuleParam) { if(flowStepRuleParam != null && this.serviceTicket != null) { flowStepRuleParam.setServiceTicket(this.serviceTicket); // depends on control dependency: [if], data = [none] } ...
public class class_name { public static String getSiteSelectOptionsStatic(CmsObject cms, Locale locale) { List<CmsSite> sites = OpenCms.getSiteManager().getAvailableSites( cms, true, false, cms.getRequestContext().getOuFqn()); StringBuffer resultBuffer ...
public class class_name { public static String getSiteSelectOptionsStatic(CmsObject cms, Locale locale) { List<CmsSite> sites = OpenCms.getSiteManager().getAvailableSites( cms, true, false, cms.getRequestContext().getOuFqn()); StringBuffer resultBuffer ...
public class class_name { public static void addCookie(HttpServletRequest request, HttpServletResponse response, String name, String value, String path, int age) { LOG.debug("add cookie[name:{},value={},path={}]", new String[] { name, value, path }); Cookie cookie = null; try { cookie = new Coo...
public class class_name { public static void addCookie(HttpServletRequest request, HttpServletResponse response, String name, String value, String path, int age) { LOG.debug("add cookie[name:{},value={},path={}]", new String[] { name, value, path }); Cookie cookie = null; try { cookie = new Coo...
public class class_name { public void addConstantMembers(ClassDoc cd, List<FieldDoc> fields, Content classConstantTree) { currentClassDoc = cd; Content tbody = new HtmlTree(HtmlTag.TBODY); for (int i = 0; i < fields.size(); ++i) { HtmlTree tr = new HtmlTree(HtmlTag.TR); ...
public class class_name { public void addConstantMembers(ClassDoc cd, List<FieldDoc> fields, Content classConstantTree) { currentClassDoc = cd; Content tbody = new HtmlTree(HtmlTag.TBODY); for (int i = 0; i < fields.size(); ++i) { HtmlTree tr = new HtmlTree(HtmlTag.TR); ...
public class class_name { private static @CheckForNull String codeSource(@Nonnull Class<?> c) { CodeSource cs = c.getProtectionDomain().getCodeSource(); if (cs == null) { return null; } URL loc = cs.getLocation(); if (loc == null) { return null; }...
public class class_name { private static @CheckForNull String codeSource(@Nonnull Class<?> c) { CodeSource cs = c.getProtectionDomain().getCodeSource(); if (cs == null) { return null; // depends on control dependency: [if], data = [none] } URL loc = cs.getLocation(); ...
public class class_name { public static void setInt(int n, byte[] b, int off, boolean littleEndian) { if (littleEndian) { b[off] = (byte) n; b[off + 1] = (byte) (n >>> 8); b[off + 2] = (byte) (n >>> 16); b[off + 3] = (byte) (n >>> 24); } else { b[off] = (byte) (n >>> 24); b[off + 1] = (by...
public class class_name { public static void setInt(int n, byte[] b, int off, boolean littleEndian) { if (littleEndian) { b[off] = (byte) n; // depends on control dependency: [if], data = [none] b[off + 1] = (byte) (n >>> 8); // depends on control dependency: [if], data = [none] b[off + 2] = (byte) (n >...
public class class_name { public synchronized void finish() { if (!isFinished) { isFinished = true; try { writer.close(); // Re-open as a random access file so we can overwrite the 3 int // header that specifies the number of dimensions an...
public class class_name { public synchronized void finish() { if (!isFinished) { isFinished = true; // depends on control dependency: [if], data = [none] try { writer.close(); // depends on control dependency: [try], data = [none] // Re-open as a random a...
public class class_name { private ContentType getAcceptType() { // If the format header is present, it overrides the ACCEPT header. String format = m_variableMap.get("format"); if (format != null) { return new ContentType(format); } String acceptParts = m_reque...
public class class_name { private ContentType getAcceptType() { // If the format header is present, it overrides the ACCEPT header. String format = m_variableMap.get("format"); if (format != null) { return new ContentType(format); // depends on control dependency: [if], data = ...
public class class_name { public void addWorldGroup(String name) { if (!worldGroupExist(name)) { list.put(name, new WorldGroup(name)); } } }
public class class_name { public void addWorldGroup(String name) { if (!worldGroupExist(name)) { list.put(name, new WorldGroup(name)); // depends on control dependency: [if], data = [none] } } }
public class class_name { @Override public EClass getIfcCsgPrimitive3D() { if (ifcCsgPrimitive3DEClass == null) { ifcCsgPrimitive3DEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc4Package.eNS_URI) .getEClassifiers().get(156); } return ifcCsgPrimitive3DEClass; } }
public class class_name { @Override public EClass getIfcCsgPrimitive3D() { if (ifcCsgPrimitive3DEClass == null) { ifcCsgPrimitive3DEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc4Package.eNS_URI) .getEClassifiers().get(156); // depends on control dependency: [if], data = [none] } retu...
public class class_name { private static boolean isOptionCodeMatch(final Object option, final Object data) { // If the option is an instance of Option, check if the data value is the "CODE" value on the option if (option instanceof Option) { String optionCode = ((Option) option).getCode(); String matchAsStri...
public class class_name { private static boolean isOptionCodeMatch(final Object option, final Object data) { // If the option is an instance of Option, check if the data value is the "CODE" value on the option if (option instanceof Option) { String optionCode = ((Option) option).getCode(); String matchAsStri...
public class class_name { public static Collection<Subquery> subqueries( Visitable visitable, final boolean includeNestedSubqueries ) { final Collection<Subquery> subqueries = new LinkedList<Subquery>(); Visitors.visitAll(visitable, new Visitors.Abstra...
public class class_name { public static Collection<Subquery> subqueries( Visitable visitable, final boolean includeNestedSubqueries ) { final Collection<Subquery> subqueries = new LinkedList<Subquery>(); Visitors.visitAll(visitable, new Visitors.Abstra...
public class class_name { public void send(final MailInfo mailInfo) { try { final MultiPartEmail email = new MultiPartEmail(); email.setCharset("utf-8"); mailInfo.fillEmail(email); email.send(); } catch (Exception e) { JK.throww(e); } } }
public class class_name { public void send(final MailInfo mailInfo) { try { final MultiPartEmail email = new MultiPartEmail(); email.setCharset("utf-8"); // depends on control dependency: [try], data = [none] mailInfo.fillEmail(email); // depends on control dependency: [try], data = [none] email.send(); ...
public class class_name { String copyFile( final ExecutionContext executionContext, final File file, final InputStream input, final String content, final INodeEntry node, String destination ) throws FileCopierException { final Stri...
public class class_name { String copyFile( final ExecutionContext executionContext, final File file, final InputStream input, final String content, final INodeEntry node, String destination ) throws FileCopierException { final Stri...
public class class_name { @Override public <T> TypedQuery<T> createQuery(CriteriaQuery<T> arg0) { try { return ivEm.createQuery(arg0); } finally { if (!inJTATransaction()) { ivEm.clear(); } } } }
public class class_name { @Override public <T> TypedQuery<T> createQuery(CriteriaQuery<T> arg0) { try { return ivEm.createQuery(arg0); // depends on control dependency: [try], data = [none] } finally { if (!inJTATransaction()) { iv...
public class class_name { private byte[] inputStreamToByte(InputStream inputStream) { try { return IOUtils.toByteArray(inputStream); } catch (IOException e) { LOGGER.error("image inputStream to byte error", e); throw new FdfsUploadImageException("upload ThumbImage er...
public class class_name { private byte[] inputStreamToByte(InputStream inputStream) { try { return IOUtils.toByteArray(inputStream); // depends on control dependency: [try], data = [none] } catch (IOException e) { LOGGER.error("image inputStream to byte error", e); t...
public class class_name { public void setAttribute(String name, final String value) { initAttributes(); String rawAttributeName = name; if (!ownerDocument.config.isCaseSensitive()) { name = name.toLowerCase(); } // search if attribute with the same name exist for (int i = 0, attributesSize = attribute...
public class class_name { public void setAttribute(String name, final String value) { initAttributes(); String rawAttributeName = name; if (!ownerDocument.config.isCaseSensitive()) { name = name.toLowerCase(); // depends on control dependency: [if], data = [none] } // search if attribute with the same n...
public class class_name { protected boolean removePropertyListener(final BoundPropertyListener listener) { // get the bound property name String name = makePropertyName(listener.getPropertyName()); // get the bound listener list for the property List list = (List) boundListeners.get(name); ...
public class class_name { protected boolean removePropertyListener(final BoundPropertyListener listener) { // get the bound property name String name = makePropertyName(listener.getPropertyName()); // get the bound listener list for the property List list = (List) boundListeners.get(name); ...
public class class_name { public FieldSource<JavaClassSource> addFieldTo(final JavaClassSource targetClass, final String fieldType, final String fieldName, Visibility visibility, boolean withGetter, boolean withSetter, boolean updateToString, String... annotations) { if (ta...
public class class_name { public FieldSource<JavaClassSource> addFieldTo(final JavaClassSource targetClass, final String fieldType, final String fieldName, Visibility visibility, boolean withGetter, boolean withSetter, boolean updateToString, String... annotations) { if (ta...
public class class_name { public C instantiateClass(Parameterization config) { if(getValue() == null /* && !optionalParameter */) { config.reportError(new UnspecifiedParameterException(this)); return null; } try { config = config.descend(this); return ClassGenericsUtil.tryInstantiat...
public class class_name { public C instantiateClass(Parameterization config) { if(getValue() == null /* && !optionalParameter */) { config.reportError(new UnspecifiedParameterException(this)); // depends on control dependency: [if], data = [none] return null; // depends on control dependency: [if], dat...
public class class_name { public Pipeline pipelineWithPasswordAwareBuildCauseByBuildId(final long buildId) { Pipeline pipeline = pipelineDao.pipelineWithMaterialsAndModsByBuildId(buildId); MaterialRevisions scheduledRevs = pipeline.getBuildCause().getMaterialRevisions(); MaterialConfigs knownMa...
public class class_name { public Pipeline pipelineWithPasswordAwareBuildCauseByBuildId(final long buildId) { Pipeline pipeline = pipelineDao.pipelineWithMaterialsAndModsByBuildId(buildId); MaterialRevisions scheduledRevs = pipeline.getBuildCause().getMaterialRevisions(); MaterialConfigs knownMa...
public class class_name { public ColumnMapper getMapper(String field) { String[] components = field.split("\\."); for (int i = components.length - 1; i >= 0; i--) { StringBuilder sb = new StringBuilder(); for (int j = 0; j <= i; j++) { sb.append(components[j]); ...
public class class_name { public ColumnMapper getMapper(String field) { String[] components = field.split("\\."); for (int i = components.length - 1; i >= 0; i--) { StringBuilder sb = new StringBuilder(); for (int j = 0; j <= i; j++) { sb.append(components[j]); /...
public class class_name { public void setLookupAttributes(java.util.Collection<LookupAttribute> lookupAttributes) { if (lookupAttributes == null) { this.lookupAttributes = null; return; } this.lookupAttributes = new com.amazonaws.internal.SdkInternalList<LookupAttribute...
public class class_name { public void setLookupAttributes(java.util.Collection<LookupAttribute> lookupAttributes) { if (lookupAttributes == null) { this.lookupAttributes = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = ...
public class class_name { @Nonnull public static SAXReaderSettings createCloneOnDemand (@Nullable final ISAXReaderSettings aOther) { if (aOther == null) { // Create plain object return new SAXReaderSettings (); } // Create a clone return new SAXReaderSettings (aOther); } }
public class class_name { @Nonnull public static SAXReaderSettings createCloneOnDemand (@Nullable final ISAXReaderSettings aOther) { if (aOther == null) { // Create plain object return new SAXReaderSettings (); // depends on control dependency: [if], data = [none] } // Create a clone ...
public class class_name { public Observable<ServiceResponse<Page<KeyItem>>> getKeyVersionsSinglePageAsync(final String vaultBaseUrl, final String keyName, final Integer maxresults) { if (vaultBaseUrl == null) { throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be nul...
public class class_name { public Observable<ServiceResponse<Page<KeyItem>>> getKeyVersionsSinglePageAsync(final String vaultBaseUrl, final String keyName, final Integer maxresults) { if (vaultBaseUrl == null) { throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be nul...
public class class_name { public String getDiscriminatingValue(ILoggingEvent event) { // http://jira.qos.ch/browse/LBCLASSIC-213 Map<String, String> mdcMap = event.getMDCPropertyMap(); if (mdcMap == null) { return defaultValue; } String mdcValue = mdcMap.get(key); if (mdcValue == null) { ...
public class class_name { public String getDiscriminatingValue(ILoggingEvent event) { // http://jira.qos.ch/browse/LBCLASSIC-213 Map<String, String> mdcMap = event.getMDCPropertyMap(); if (mdcMap == null) { return defaultValue; // depends on control dependency: [if], data = [none] } String md...
public class class_name { public void marshall(InputTemplate inputTemplate, ProtocolMarshaller protocolMarshaller) { if (inputTemplate == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(inputTemplate...
public class class_name { public void marshall(InputTemplate inputTemplate, ProtocolMarshaller protocolMarshaller) { if (inputTemplate == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(inputTemplate...
public class class_name { void removeVertexLabel(VertexLabel vertexLabel, boolean preserveData) { getTopology().lock(); String fn = this.name + "." + VERTEX_PREFIX + vertexLabel.getName(); if (!uncommittedRemovedVertexLabels.contains(fn)) { uncommittedRemovedVertexLabels.add(fn); ...
public class class_name { void removeVertexLabel(VertexLabel vertexLabel, boolean preserveData) { getTopology().lock(); String fn = this.name + "." + VERTEX_PREFIX + vertexLabel.getName(); if (!uncommittedRemovedVertexLabels.contains(fn)) { uncommittedRemovedVertexLabels.add(fn); //...
public class class_name { @Override public boolean isChannelDeepMemberOf(String fname, String groupKey) { final IEntityGroup distinguishedGroup = GroupService.findGroup(groupKey); if (distinguishedGroup == null) { if (this.logger.isDebugEnabled()) { this.logger.debug("No...
public class class_name { @Override public boolean isChannelDeepMemberOf(String fname, String groupKey) { final IEntityGroup distinguishedGroup = GroupService.findGroup(groupKey); if (distinguishedGroup == null) { if (this.logger.isDebugEnabled()) { this.logger.debug("No...
public class class_name { public int deleteAll() { int count = 0; for (String geoPackage : propertiesMap.keySet()) { if (deleteAll(geoPackage)) { count++; } } return count; } }
public class class_name { public int deleteAll() { int count = 0; for (String geoPackage : propertiesMap.keySet()) { if (deleteAll(geoPackage)) { count++; // depends on control dependency: [if], data = [none] } } return count; } }
public class class_name { private void discoverMessageType(ProtobufValueWrapper valueWrapper) { try { ProtobufParser.INSTANCE.parse(new WrappedMessageTagHandler(valueWrapper, serializationContext), wrapperDescriptor, valueWrapper.getBinary()); } catch (IOException e) { throw new CacheExce...
public class class_name { private void discoverMessageType(ProtobufValueWrapper valueWrapper) { try { ProtobufParser.INSTANCE.parse(new WrappedMessageTagHandler(valueWrapper, serializationContext), wrapperDescriptor, valueWrapper.getBinary()); // depends on control dependency: [try], data = [none] ...
public class class_name { @Override public int nextOrdinal() { if(offset >>> 3 == reader.length()) return NO_MORE_ORDINALS; skipToNextPopulatedByte(); while(moreBytesToRead()) { if(testCurrentBit()) { return offset++; } ...
public class class_name { @Override public int nextOrdinal() { if(offset >>> 3 == reader.length()) return NO_MORE_ORDINALS; skipToNextPopulatedByte(); while(moreBytesToRead()) { if(testCurrentBit()) { return offset++; // depends on c...
public class class_name { public Tuple get(RowKey key) { AssociationOperation result = currentState.get( key ); if ( result == null ) { return cleared ? null : snapshot.get( key ); } else if ( result.getType() == REMOVE ) { return null; } return result.getValue(); } }
public class class_name { public Tuple get(RowKey key) { AssociationOperation result = currentState.get( key ); if ( result == null ) { return cleared ? null : snapshot.get( key ); // depends on control dependency: [if], data = [none] } else if ( result.getType() == REMOVE ) { return null; // depends on ...
public class class_name { public void marshall(RecoveryPointByResource recoveryPointByResource, ProtocolMarshaller protocolMarshaller) { if (recoveryPointByResource == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMar...
public class class_name { public void marshall(RecoveryPointByResource recoveryPointByResource, ProtocolMarshaller protocolMarshaller) { if (recoveryPointByResource == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMar...
public class class_name { public final void mEscapeSequence() throws RecognitionException { try { // src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:1353:5: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | UnicodeEscape | OctalEscape ) int alt24=3; int LA24_0 = input....
public class class_name { public final void mEscapeSequence() throws RecognitionException { try { // src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:1353:5: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\\\"' | '\\'' | '\\\\' ) | UnicodeEscape | OctalEscape ) int alt24=3; int LA24_0 = input....
public class class_name { private InputStream openCustomSortOrderFile() throws FileNotFoundException { InputStream inputStream; try { inputStream = new FileInputStream(customSortOrderFile); } catch (FileNotFoundException ex) { // try classpath try { ...
public class class_name { private InputStream openCustomSortOrderFile() throws FileNotFoundException { InputStream inputStream; try { inputStream = new FileInputStream(customSortOrderFile); } catch (FileNotFoundException ex) { // try classpath try { ...
public class class_name { protected String[] getArgNames() { if (args == null) { return new String[]{}; } return args.keySet().toArray(new String[args.keySet().size()]); } }
public class class_name { protected String[] getArgNames() { if (args == null) { return new String[]{}; // depends on control dependency: [if], data = [none] } return args.keySet().toArray(new String[args.keySet().size()]); } }
public class class_name { public org.grails.datastore.mapping.query.api.Criteria geProperty(String propertyName, String otherPropertyName) { if (!validateSimpleExpression()) { throwRuntimeException(new IllegalArgumentException("Call to [geProperty] with propertyName [" + propert...
public class class_name { public org.grails.datastore.mapping.query.api.Criteria geProperty(String propertyName, String otherPropertyName) { if (!validateSimpleExpression()) { throwRuntimeException(new IllegalArgumentException("Call to [geProperty] with propertyName [" + propert...
public class class_name { private void fireMultipleLinePropertyParsedEvent(String name, String[] value) { MultipleLinePropertyParsedEvent _event = new MultipleLinePropertyParsedEvent(name, value); for (PropertiesParsingListener _listener : getListeners()) { _listener.onMultipleLinePropertyParsed(_event); }...
public class class_name { private void fireMultipleLinePropertyParsedEvent(String name, String[] value) { MultipleLinePropertyParsedEvent _event = new MultipleLinePropertyParsedEvent(name, value); for (PropertiesParsingListener _listener : getListeners()) { _listener.onMultipleLinePropertyParsed(_event); // ...
public class class_name { public PollingResult poll( TaskListener listener ) { SCM scm = getScm(); if (scm==null) { listener.getLogger().println(Messages.AbstractProject_NoSCM()); return NO_CHANGES; } if (!isBuildable()) { listener.getLogger().println...
public class class_name { public PollingResult poll( TaskListener listener ) { SCM scm = getScm(); if (scm==null) { listener.getLogger().println(Messages.AbstractProject_NoSCM()); // depends on control dependency: [if], data = [none] return NO_CHANGES; // depends on control depe...
public class class_name { @Override public int countByCWI_CPIU(long commerceWarehouseId, String CPInstanceUuid) { FinderPath finderPath = FINDER_PATH_COUNT_BY_CWI_CPIU; Object[] finderArgs = new Object[] { commerceWarehouseId, CPInstanceUuid }; Long count = (Long)finderCache.getResult(finderPath, finderArgs, ...
public class class_name { @Override public int countByCWI_CPIU(long commerceWarehouseId, String CPInstanceUuid) { FinderPath finderPath = FINDER_PATH_COUNT_BY_CWI_CPIU; Object[] finderArgs = new Object[] { commerceWarehouseId, CPInstanceUuid }; Long count = (Long)finderCache.getResult(finderPath, finderArgs, ...
public class class_name { public String unCapitalize(final Object target) { if (target == null) { return null; } return StringUtils.unCapitalize(target); } }
public class class_name { public String unCapitalize(final Object target) { if (target == null) { return null; // depends on control dependency: [if], data = [none] } return StringUtils.unCapitalize(target); } }
public class class_name { private void shortcutChanged(String shortcut, boolean unbind) { Set<String> bindings = new HashSet<>(); bindings.add(shortcut); for (BaseUIComponent component : componentBindings) { CommandUtil.updateShortcuts(component, bindings, unbind); ...
public class class_name { private void shortcutChanged(String shortcut, boolean unbind) { Set<String> bindings = new HashSet<>(); bindings.add(shortcut); for (BaseUIComponent component : componentBindings) { CommandUtil.updateShortcuts(component, bindings, unbind); // depen...
public class class_name { protected float getPropertyBoost(InternalQName propertyName) { if (indexingConfig == null) { return DEFAULT_BOOST; } else { return indexingConfig.getPropertyBoost(node, propertyName); } } }
public class class_name { protected float getPropertyBoost(InternalQName propertyName) { if (indexingConfig == null) { return DEFAULT_BOOST; // depends on control dependency: [if], data = [none] } else { return indexingConfig.getPropertyBoost(node, propertyName); // d...
public class class_name { public static String toPrettyPrintedString(final JSONObject jsonObject) { ArgumentChecker.notNull(jsonObject, "jsonObject"); try { return jsonObject.toString(JSON_INDENT) + LINE_SEPARATOR; } catch (JSONException ex) { s_logger.error("Problem converting JSONObject to St...
public class class_name { public static String toPrettyPrintedString(final JSONObject jsonObject) { ArgumentChecker.notNull(jsonObject, "jsonObject"); try { return jsonObject.toString(JSON_INDENT) + LINE_SEPARATOR; // depends on control dependency: [try], data = [none] } catch (JSONException ex) { ...
public class class_name { public final double mmToDocUom(final double pValue, final EUnitOfMeasure pUom) { if (pUom.equals(EUnitOfMeasure.INCH)) { return pValue / 25.4; } return pValue; } }
public class class_name { public final double mmToDocUom(final double pValue, final EUnitOfMeasure pUom) { if (pUom.equals(EUnitOfMeasure.INCH)) { return pValue / 25.4; // depends on control dependency: [if], data = [none] } return pValue; } }
public class class_name { public String getMappedFormatterConfiguration(String id) { CmsUUID resultId = m_formatterConfigMap.get(new CmsUUID(id)); if (resultId == null) { return null; } return resultId.toString(); } }
public class class_name { public String getMappedFormatterConfiguration(String id) { CmsUUID resultId = m_formatterConfigMap.get(new CmsUUID(id)); if (resultId == null) { return null; // depends on control dependency: [if], data = [none] } return resultId.toString(); } ...
public class class_name { public com.google.protobuf.ByteString getUfsUriBytes() { java.lang.Object ref = ufsUri_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ufsUri_ =...
public class class_name { public com.google.protobuf.ByteString getUfsUriBytes() { java.lang.Object ref = ufsUri_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ufsUri_ =...
public class class_name { public static String extractKeyHead(String key, String delimeter) { int index = key.indexOf(delimeter); if (index == -1) { return key; } String result = key.substring(0, index); return result; } }
public class class_name { public static String extractKeyHead(String key, String delimeter) { int index = key.indexOf(delimeter); if (index == -1) { return key; // depends on control dependency: [if], data = [none] } String result = key.substring(0, index); ...
public class class_name { public ISynchronizationPoint<IOException> start(String rootNamespaceURI, String rootLocalName, Map<String, String> namespaces) { if (includeXMLDeclaration) { writer.write(XML_DECLARATION_START); writer.write(output.getEncoding().name()); writer.write(XML_DECLARATION_END); } ...
public class class_name { public ISynchronizationPoint<IOException> start(String rootNamespaceURI, String rootLocalName, Map<String, String> namespaces) { if (includeXMLDeclaration) { writer.write(XML_DECLARATION_START); // depends on control dependency: [if], data = [none] writer.write(output.getEncoding()...
public class class_name { public void marshall(DeleteLicenseConfigurationRequest deleteLicenseConfigurationRequest, ProtocolMarshaller protocolMarshaller) { if (deleteLicenseConfigurationRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } ...
public class class_name { public void marshall(DeleteLicenseConfigurationRequest deleteLicenseConfigurationRequest, ProtocolMarshaller protocolMarshaller) { if (deleteLicenseConfigurationRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } ...
public class class_name { private void resetXAResourceTimeout() { // Do a reset of the underlying XAResource timeout if (!(xaResource instanceof LocalXAResource) && xaResourceTimeout > 0) { try { xaResource.setTransactionTimeout(xaResourceTimeout); } ...
public class class_name { private void resetXAResourceTimeout() { // Do a reset of the underlying XAResource timeout if (!(xaResource instanceof LocalXAResource) && xaResourceTimeout > 0) { try { xaResource.setTransactionTimeout(xaResourceTimeout); // depends on contr...
public class class_name { public static int select(long w, int j) { int part1 = (int) (w & 0xFFFFFFFF); int wfirsthalf = Integer.bitCount(part1); if (wfirsthalf > j) { return select(part1, j); } else { return select((int) (w >>> 32), j - wfirsthalf) + 32; } } }
public class class_name { public static int select(long w, int j) { int part1 = (int) (w & 0xFFFFFFFF); int wfirsthalf = Integer.bitCount(part1); if (wfirsthalf > j) { return select(part1, j); // depends on control dependency: [if], data = [j)] } else { return select((int) (w >>> 32), j - w...
public class class_name { private void checkIndex() throws IOException { boolean isUpToDate = true; if (!isUpToDate()) { closeFile(); isUpToDate = false; } if (zipRandomFile != null || isUpToDate) { lastReferenceTimeStamp = System.currentTimeMillis()...
public class class_name { private void checkIndex() throws IOException { boolean isUpToDate = true; if (!isUpToDate()) { closeFile(); isUpToDate = false; } if (zipRandomFile != null || isUpToDate) { lastReferenceTimeStamp = System.currentTimeMillis()...
public class class_name { private String generateKey(String key, HashMap<String, String[]>[] queryVariables) { StringBuilder newKey = new StringBuilder(key); newKey.append(" -"); for (int q = 0; q < queryVariables.length; q++) { if (queryVariables[q] != null && queryVariables[q].size() > 0) { ...
public class class_name { private String generateKey(String key, HashMap<String, String[]>[] queryVariables) { StringBuilder newKey = new StringBuilder(key); newKey.append(" -"); for (int q = 0; q < queryVariables.length; q++) { if (queryVariables[q] != null && queryVariables[q].size() > 0) { ...
public class class_name { public boolean removeBusHalt(String name) { Iterator<BusItineraryHalt> iterator = this.validHalts.iterator(); BusItineraryHalt bushalt; int i = 0; while (iterator.hasNext()) { bushalt = iterator.next(); if (name.equals(bushalt.getName())) { return removeBusHalt(i); } +...
public class class_name { public boolean removeBusHalt(String name) { Iterator<BusItineraryHalt> iterator = this.validHalts.iterator(); BusItineraryHalt bushalt; int i = 0; while (iterator.hasNext()) { bushalt = iterator.next(); // depends on control dependency: [while], data = [none] if (name.equals(bus...
public class class_name { private void recover(ReadableLogRecord logRecord) throws LogCorruptedException, InternalLogException { if (tc.isEntryEnabled()) Tr.entry(tc, "recover", new Object[] { this, logRecord }); // If the parent recovery log instance has experienced a serious internal...
public class class_name { private void recover(ReadableLogRecord logRecord) throws LogCorruptedException, InternalLogException { if (tc.isEntryEnabled()) Tr.entry(tc, "recover", new Object[] { this, logRecord }); // If the parent recovery log instance has experienced a serious internal...
public class class_name { public static boolean hasSideEffect(ExpressionTree expression) { if (expression == null) { return false; } SideEffectAnalysis analyzer = new SideEffectAnalysis(); expression.accept(analyzer, null); return analyzer.hasSideEffect; } }
public class class_name { public static boolean hasSideEffect(ExpressionTree expression) { if (expression == null) { return false; // depends on control dependency: [if], data = [none] } SideEffectAnalysis analyzer = new SideEffectAnalysis(); expression.accept(analyzer, null); return analyzer...
public class class_name { public com.google.appengine.v1.AutomaticScalingOrBuilder getAutomaticScalingOrBuilder() { if (scalingCase_ == 3) { return (com.google.appengine.v1.AutomaticScaling) scaling_; } return com.google.appengine.v1.AutomaticScaling.getDefaultInstance(); } }
public class class_name { public com.google.appengine.v1.AutomaticScalingOrBuilder getAutomaticScalingOrBuilder() { if (scalingCase_ == 3) { return (com.google.appengine.v1.AutomaticScaling) scaling_; // depends on control dependency: [if], data = [none] } return com.google.appengine.v1.AutomaticSca...
public class class_name { public boolean readThisClass( String strClassName) { try { Record recClassInfo = this.getMainRecord(); recClassInfo.getField(ClassInfo.CLASS_NAME).setString(strClassName); recClassInfo.setKeyArea(ClassInfo.CLASS_NAME_KEY); return r...
public class class_name { public boolean readThisClass( String strClassName) { try { Record recClassInfo = this.getMainRecord(); recClassInfo.getField(ClassInfo.CLASS_NAME).setString(strClassName); // depends on control dependency: [try], data = [none] recClassInfo.set...
public class class_name { @Override public void createTableIfDoesNotExist(final String tableName, final String... colFamily) throws MasterNotRunningException, IOException { if (!admin.tableExists(Bytes.toBytes(tableName))) { HTableDescriptor htDescriptor = new HTableDesc...
public class class_name { @Override public void createTableIfDoesNotExist(final String tableName, final String... colFamily) throws MasterNotRunningException, IOException { if (!admin.tableExists(Bytes.toBytes(tableName))) { HTableDescriptor htDescriptor = new HTableDesc...
public class class_name { private static void generateSelectiveCommColumnTo(XmlElement element, IntrospectedColumn introspectedColumn, String prefix, int type) { switch (type) { case 3: List<Element> incrementEles = PluginTools.getHook(IIncrementsPluginHook.class).incrementSetElemen...
public class class_name { private static void generateSelectiveCommColumnTo(XmlElement element, IntrospectedColumn introspectedColumn, String prefix, int type) { switch (type) { case 3: List<Element> incrementEles = PluginTools.getHook(IIncrementsPluginHook.class).incrementSetElemen...
public class class_name { private static String getVersion() { final String defaultVersion = "dev-" + System.currentTimeMillis(); final String fileName = "bigtable-version.properties"; final String versionProperty = "bigtable.version"; try (InputStream stream = BigtableVersionInfo.class.getReso...
public class class_name { private static String getVersion() { final String defaultVersion = "dev-" + System.currentTimeMillis(); final String fileName = "bigtable-version.properties"; final String versionProperty = "bigtable.version"; try (InputStream stream = BigtableVersionInfo.class.getReso...
public class class_name { private boolean containsValue(StatementGroup statementGroup, Value value) { for (Statement s : statementGroup) { if (value.equals(s.getValue())) { return true; } } return false; } }
public class class_name { private boolean containsValue(StatementGroup statementGroup, Value value) { for (Statement s : statementGroup) { if (value.equals(s.getValue())) { return true; // depends on control dependency: [if], data = [none] } } return false; } }
public class class_name { public double[] update( double w, double c1, double rand1, double c2, double rand2, double[] globalBest ) { for( int i = 0; i < locations.length; i++ ) { particleVelocities[i] = w * particleVelocities[i] + // c1 * rand1 * (particleLocalBests[i] - locati...
public class class_name { public double[] update( double w, double c1, double rand1, double c2, double rand2, double[] globalBest ) { for( int i = 0; i < locations.length; i++ ) { particleVelocities[i] = w * particleVelocities[i] + // c1 * rand1 * (particleLocalBests[i] - locati...
public class class_name { public static String ucFirst(String str) { if (str == null) return null; else if (str.length() <= 1) return str.toUpperCase(); else { return str.substring(0, 1).toUpperCase() + str.substring(1); } } }
public class class_name { public static String ucFirst(String str) { if (str == null) return null; else if (str.length() <= 1) return str.toUpperCase(); else { return str.substring(0, 1).toUpperCase() + str.substring(1); // depends on control dependency: [if], data = [none] } } }
public class class_name { private void pldltpt() throws Exception{ //matrix S will be changed by the factorization, ad we do not want to change the matrix passed in by the client DoubleMatrix2D S = (rescaler==null)? this.Q.copy() : this.Q; int n = S.rows(); DoubleMatrix2D A = S.copy(); this.P = DoubleF...
public class class_name { private void pldltpt() throws Exception{ //matrix S will be changed by the factorization, ad we do not want to change the matrix passed in by the client DoubleMatrix2D S = (rescaler==null)? this.Q.copy() : this.Q; int n = S.rows(); DoubleMatrix2D A = S.copy(); this.P = DoubleF...
public class class_name { @Override public <S extends ResourceSnapshot> S resolve( final Class<? extends S> snapshotClass, final Individual<?,?> individual) { checkNotNull(snapshotClass,"Resource snapshot class cannot be null"); checkNotNull(individual,"Individual cannot be null"); checkState(this.status....
public class class_name { @Override public <S extends ResourceSnapshot> S resolve( final Class<? extends S> snapshotClass, final Individual<?,?> individual) { checkNotNull(snapshotClass,"Resource snapshot class cannot be null"); checkNotNull(individual,"Individual cannot be null"); checkState(this.status....
public class class_name { public static Interceptor[] build(Intercept annotation) { if (annotation == null) { return null; } Class<? extends Interceptor>[] interceptorClasses = annotation.value(); int count = interceptorClasses.length; if (count == 0) { return null; } final List<Interc...
public class class_name { public static Interceptor[] build(Intercept annotation) { if (annotation == null) { return null; // depends on control dependency: [if], data = [none] } Class<? extends Interceptor>[] interceptorClasses = annotation.value(); int count = interceptorClasses.length; if (coun...
public class class_name { @Override public void encode(final BsonWriter writer, final Instant value, final EncoderContext encoderContext) { try { writer.writeDateTime(value.toEpochMilli()); } catch (ArithmeticException e) { throw new CodecConfigurationException(format("Unsup...
public class class_name { @Override public void encode(final BsonWriter writer, final Instant value, final EncoderContext encoderContext) { try { writer.writeDateTime(value.toEpochMilli()); // depends on control dependency: [try], data = [none] } catch (ArithmeticException e) { ...
public class class_name { public static boolean isInAggregate(String aggr, String str) { if (aggr != null && str != null) { str += "1"; for (int i = 0; i < str.length(); i++) { String s = str.substring(i, i + 1); if (aggr.indexOf(s...
public class class_name { public static boolean isInAggregate(String aggr, String str) { if (aggr != null && str != null) { str += "1"; // depends on control dependency: [if], data = [none] for (int i = 0; i < str.length(); i++) { String s = str.s...
public class class_name { @Override public String indexValue(String name, Object value) { // Check not null if (value == null) { return null; } // Parse big decimal String svalue = value.toString(); BigDecimal bd; try { bd = new BigD...
public class class_name { @Override public String indexValue(String name, Object value) { // Check not null if (value == null) { return null; // depends on control dependency: [if], data = [none] } // Parse big decimal String svalue = value.toString(); ...
public class class_name { @SuppressWarnings("MethodLength") public String build() { sb.setLength(0); if (null != prefix && !"".equals(prefix)) { sb.append(prefix).append(':'); } sb.append(ChannelUri.AERON_SCHEME).append(':').append(media).append('?'); ...
public class class_name { @SuppressWarnings("MethodLength") public String build() { sb.setLength(0); if (null != prefix && !"".equals(prefix)) { sb.append(prefix).append(':'); // depends on control dependency: [if], data = [none] } sb.append(ChannelUri.AERO...
public class class_name { public void marshall(GetBotChannelAssociationsRequest getBotChannelAssociationsRequest, ProtocolMarshaller protocolMarshaller) { if (getBotChannelAssociationsRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } tr...
public class class_name { public void marshall(GetBotChannelAssociationsRequest getBotChannelAssociationsRequest, ProtocolMarshaller protocolMarshaller) { if (getBotChannelAssociationsRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } tr...
public class class_name { public static int listFindIgnoreEmpty(String list, String value, char delimiter) { if (list == null) return -1; int len = list.length(); if (len == 0) return -1; int last = 0; int count = 0; for (int i = 0; i < len; i++) { if (list.charAt(i) == delimiter) { if (last < i) { ...
public class class_name { public static int listFindIgnoreEmpty(String list, String value, char delimiter) { if (list == null) return -1; int len = list.length(); if (len == 0) return -1; int last = 0; int count = 0; for (int i = 0; i < len; i++) { if (list.charAt(i) == delimiter) { if (last < i) { ...
public class class_name { static BsonDocument sanitizeDocument(final BsonDocument document) { if (document == null) { return null; } if (document.containsKey(DOCUMENT_VERSION_FIELD)) { final BsonDocument clonedDoc = document.clone(); clonedDoc.remove(DOCUMENT_VERSION_FIELD); return...
public class class_name { static BsonDocument sanitizeDocument(final BsonDocument document) { if (document == null) { return null; // depends on control dependency: [if], data = [none] } if (document.containsKey(DOCUMENT_VERSION_FIELD)) { final BsonDocument clonedDoc = document.clone(); c...
public class class_name { public static ModuleIdentifier forClosure(String name) { String normalizedName = name; if (normalizedName.startsWith("goog:")) { normalizedName = normalizedName.substring("goog:".length()); } String namespace = normalizedName; String moduleName = normalizedName; ...
public class class_name { public static ModuleIdentifier forClosure(String name) { String normalizedName = name; if (normalizedName.startsWith("goog:")) { normalizedName = normalizedName.substring("goog:".length()); // depends on control dependency: [if], data = [none] } String namespace = norma...
public class class_name { public V remove(K key) { final OClosableEntry<K, V> removed = data.remove(key); if (removed != null) { long preStatus = removed.makeRetired(); if (OClosableEntry.isOpen(preStatus)) { countClosedFiles(); } logRemoved(removed); return removed.get...
public class class_name { public V remove(K key) { final OClosableEntry<K, V> removed = data.remove(key); if (removed != null) { long preStatus = removed.makeRetired(); if (OClosableEntry.isOpen(preStatus)) { countClosedFiles(); // depends on control dependency: [if], data = [none] ...
public class class_name { public void executeInterceptors(final List<IntuitMessage> intuitMessages) throws FMSException { for(IntuitMessage message : intuitMessages) { executeRequestInterceptors(message); } HTTPBatchClientConnectionInterceptor batchConnectionInterceptor = new HTTPB...
public class class_name { public void executeInterceptors(final List<IntuitMessage> intuitMessages) throws FMSException { for(IntuitMessage message : intuitMessages) { executeRequestInterceptors(message); } HTTPBatchClientConnectionInterceptor batchConnectionInterceptor = new HTTPB...
public class class_name { public void computeValue(DoubleVector values) { if (this.isType()) { setValues(values); double sumDif = 0.0; this.value = this.values.sumOfValues() / (double) values.numValues(); for (int i = 0; i < this.values.numValues(); i++) { ...
public class class_name { public void computeValue(DoubleVector values) { if (this.isType()) { setValues(values); // depends on control dependency: [if], data = [none] double sumDif = 0.0; this.value = this.values.sumOfValues() / (double) values.numValues(); // depends on co...