code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { public final FieldTextInfo createFieldInfo(@NotNull final Field field, @NotNull final Locale locale, @NotNull final Class<? extends Annotation> annotationClasz) { Contract.requireArgNotNull("field", field); Contract.requireArgNotNull("locale", locale); ...
public class class_name { public final FieldTextInfo createFieldInfo(@NotNull final Field field, @NotNull final Locale locale, @NotNull final Class<? extends Annotation> annotationClasz) { Contract.requireArgNotNull("field", field); Contract.requireArgNotNull("locale", locale); ...
public class class_name { public void setOpenIDConnectProviderList(java.util.Collection<OpenIDConnectProviderListEntry> openIDConnectProviderList) { if (openIDConnectProviderList == null) { this.openIDConnectProviderList = null; return; } this.openIDConnectProviderList ...
public class class_name { public void setOpenIDConnectProviderList(java.util.Collection<OpenIDConnectProviderListEntry> openIDConnectProviderList) { if (openIDConnectProviderList == null) { this.openIDConnectProviderList = null; // depends on control dependency: [if], data = [none] retu...
public class class_name { public static void Forward(double[] data) { double[] result = new double[data.length]; for (int k = 0; k < result.length; k++) { double sum = 0; for (int n = 0; n < data.length; n++) { double theta = ((2.0 * Math.PI) / data.length) * k ...
public class class_name { public static void Forward(double[] data) { double[] result = new double[data.length]; for (int k = 0; k < result.length; k++) { double sum = 0; for (int n = 0; n < data.length; n++) { double theta = ((2.0 * Math.PI) / data.length) * k ...
public class class_name { private Deployment findMatchingDeployment(DeploymentTargetDescription target) { List<Deployment> matching = findMatchingDeployments(target); if (matching.size() == 0) { return null; } if (matching.size() == 1) { return matching.get(0); ...
public class class_name { private Deployment findMatchingDeployment(DeploymentTargetDescription target) { List<Deployment> matching = findMatchingDeployments(target); if (matching.size() == 0) { return null; // depends on control dependency: [if], data = [none] } if (matchin...
public class class_name { void hashUpdate(final long hash0, final long hash1) { int col = Long.numberOfLeadingZeros(hash1); if (col < fiCol) { return; } // important speed optimization if (col > 63) { col = 63; } // clip so that 0 <= col <= 63 final long c = numCoupons; if (c == 0) { promoteEmptyTo...
public class class_name { void hashUpdate(final long hash0, final long hash1) { int col = Long.numberOfLeadingZeros(hash1); if (col < fiCol) { return; } // important speed optimization // depends on control dependency: [if], data = [none] if (col > 63) { col = 63; } // clip so that 0 <= col <= 63 // depend...
public class class_name { protected void handleControlSignal() { if (toActivate) { if (!isInstanceStarted) { startInstance(); } instance.activate(); LOG.info("Activated instance: " + physicalPlanHelper.getMyInstanceId()); // Reset the flag value toActivate = false; ...
public class class_name { protected void handleControlSignal() { if (toActivate) { if (!isInstanceStarted) { startInstance(); // depends on control dependency: [if], data = [none] } instance.activate(); // depends on control dependency: [if], data = [none] LOG.info("Activated insta...
public class class_name { private static TaskEntity getTask(final int taskId, final Collection<TaskEntity> tasks) { for (final TaskEntity task : tasks) { if (taskId == task.getId()) { return task; } } return null; } }
public class class_name { private static TaskEntity getTask(final int taskId, final Collection<TaskEntity> tasks) { for (final TaskEntity task : tasks) { if (taskId == task.getId()) { return task; // depends on control dependency: [if], data = [none] } } return null; } }
public class class_name { public static Collection<ModelElementType> calculateAllExtendingTypes(Model model, Collection<ModelElementType> baseTypes) { Set<ModelElementType> allExtendingTypes = new HashSet<ModelElementType>(); for (ModelElementType baseType : baseTypes) { ModelElementTypeImpl modelElement...
public class class_name { public static Collection<ModelElementType> calculateAllExtendingTypes(Model model, Collection<ModelElementType> baseTypes) { Set<ModelElementType> allExtendingTypes = new HashSet<ModelElementType>(); for (ModelElementType baseType : baseTypes) { ModelElementTypeImpl modelElement...
public class class_name { @Override public int compareTo(YearMonth other) { int cmp = (year - other.year); if (cmp == 0) { cmp = (month - other.month); } return cmp; } }
public class class_name { @Override public int compareTo(YearMonth other) { int cmp = (year - other.year); if (cmp == 0) { cmp = (month - other.month); // depends on control dependency: [if], data = [none] } return cmp; } }
public class class_name { public static String determineLeastSpecificType(final String... types) { switch (types.length) { case 0: throw new IllegalArgumentException("At least one type has to be provided"); case 1: return types[0]; case 2: ...
public class class_name { public static String determineLeastSpecificType(final String... types) { switch (types.length) { case 0: throw new IllegalArgumentException("At least one type has to be provided"); case 1: return types[0]; case 2: ...
public class class_name { protected final JsEngineComponent loadClass(String className, int stopSeq, boolean reportError) { String thisMethodName = "loadClass"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, thisMethodName, new Object[] { className, Int...
public class class_name { protected final JsEngineComponent loadClass(String className, int stopSeq, boolean reportError) { String thisMethodName = "loadClass"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, thisMethodName, new Object[] { className, Int...
public class class_name { private static void swap(byte[] array, int i, int j) { if (i != j) { byte valAtI = array[i]; array[i] = array[j]; array[j] = valAtI; numSwaps++; } } }
public class class_name { private static void swap(byte[] array, int i, int j) { if (i != j) { byte valAtI = array[i]; array[i] = array[j]; // depends on control dependency: [if], data = [none] array[j] = valAtI; // depends on control dependency: [if], data = [none] ...
public class class_name { public static Object getAttribute(String key) { Object value = localAttributeHolder.get().get(key); if(value == null) { value = inheritableAttributeHolder.get().get(key); } return value; } }
public class class_name { public static Object getAttribute(String key) { Object value = localAttributeHolder.get().get(key); if(value == null) { value = inheritableAttributeHolder.get().get(key); // depends on control dependency: [if], data = [none] } return value; } }
public class class_name { public static Set<EmailAddress> parseMultiple(String email) { if(AssertUtils.isEmpty(email)) { throw new IllegalArgumentException("Email cannot be empty/null"); } Set<EmailAddress> emails = new HashSet<EmailAddress>(); String[] tokens = email.split("[;,]"); for(String token : ...
public class class_name { public static Set<EmailAddress> parseMultiple(String email) { if(AssertUtils.isEmpty(email)) { throw new IllegalArgumentException("Email cannot be empty/null"); } Set<EmailAddress> emails = new HashSet<EmailAddress>(); String[] tokens = email.split("[;,]"); for(String token : ...
public class class_name { public final ProtoParser.extensions_range_return extensions_range(Proto proto, Message message) throws RecognitionException { ProtoParser.extensions_range_return retval = new ProtoParser.extensions_range_return(); retval.start = input.LT(1); Object root_0 = null; ...
public class class_name { public final ProtoParser.extensions_range_return extensions_range(Proto proto, Message message) throws RecognitionException { ProtoParser.extensions_range_return retval = new ProtoParser.extensions_range_return(); retval.start = input.LT(1); Object root_0 = null; ...
public class class_name { public void setTrainingJobSummaries(java.util.Collection<HyperParameterTrainingJobSummary> trainingJobSummaries) { if (trainingJobSummaries == null) { this.trainingJobSummaries = null; return; } this.trainingJobSummaries = new java.util.ArrayLi...
public class class_name { public void setTrainingJobSummaries(java.util.Collection<HyperParameterTrainingJobSummary> trainingJobSummaries) { if (trainingJobSummaries == null) { this.trainingJobSummaries = null; // depends on control dependency: [if], data = [none] return; // depends on ...
public class class_name { protected static String makeFilename(File directory, final String keyspace, final String columnFamily) { final Set<Descriptor> existing = new HashSet<Descriptor>(); directory.list(new FilenameFilter() { public boolean accept(File dir, String name) ...
public class class_name { protected static String makeFilename(File directory, final String keyspace, final String columnFamily) { final Set<Descriptor> existing = new HashSet<Descriptor>(); directory.list(new FilenameFilter() { public boolean accept(File dir, String name) ...
public class class_name { private static void cleanStyles(Element e) { if (e == null) { return; } Element cur = e.children().first(); // Remove any root styles, if we're able. if (!"readability-styled".equals(e.className())) { e.removeAttr("style"); ...
public class class_name { private static void cleanStyles(Element e) { if (e == null) { return; // depends on control dependency: [if], data = [none] } Element cur = e.children().first(); // Remove any root styles, if we're able. if (!"readability-styled".equals(e....
public class class_name { public void setLargeIcons(boolean largeIcons) { this.largeIcons = largeIcons; if (getCompositionRoot() != null) { if (largeIcons) { getCompositionRoot().addStyleName(ValoTheme.MENU_PART_LARGE_ICONS); } else { getCompositi...
public class class_name { public void setLargeIcons(boolean largeIcons) { this.largeIcons = largeIcons; if (getCompositionRoot() != null) { if (largeIcons) { getCompositionRoot().addStyleName(ValoTheme.MENU_PART_LARGE_ICONS); // depends on control dependency: [if], data = [n...
public class class_name { public AbstractRule getRule() { if (rule != null && rule.eIsProxy()) { InternalEObject oldRule = (InternalEObject)rule; rule = (AbstractRule)eResolveProxy(oldRule); if (rule != oldRule) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE...
public class class_name { public AbstractRule getRule() { if (rule != null && rule.eIsProxy()) { InternalEObject oldRule = (InternalEObject)rule; rule = (AbstractRule)eResolveProxy(oldRule); // depends on control dependency: [if], data = [none] if (rule != oldRule) { if (eNotificationRequired()) eN...
public class class_name { int compareTwoSegments_(Segment seg_1, Segment seg_2) { int res = seg_1._isIntersecting(seg_2, m_tolerance, true); if (res != 0) { if (res == 2) return errorCoincident(); else return errorCracking(); } Point2D start_1 = seg_1.getStartXY(); Point2D end1 = seg_1.getEndX...
public class class_name { int compareTwoSegments_(Segment seg_1, Segment seg_2) { int res = seg_1._isIntersecting(seg_2, m_tolerance, true); if (res != 0) { if (res == 2) return errorCoincident(); else return errorCracking(); } Point2D start_1 = seg_1.getStartXY(); Point2D end1 = seg_1.getEndX...
public class class_name { public void Resolve( String pFrom, String pTo ) { if( periods != null ) { // call on an already resolved CalendarPeriod // echo // "LJLJKZHL KJH ELF B.EB EKJGF EFJBH EKLFJHL JGH <{{ : ' } <br/>"; throw new RuntimeException( "Error call on an already resolved CalendarPeriod" )...
public class class_name { public void Resolve( String pFrom, String pTo ) { if( periods != null ) { // call on an already resolved CalendarPeriod // echo // "LJLJKZHL KJH ELF B.EB EKJGF EFJBH EKLFJHL JGH <{{ : ' } <br/>"; throw new RuntimeException( "Error call on an already resolved CalendarPeriod" )...
public class class_name { public static Method getMethod(Class<?> cl, Method method) { if (method == null) { return null; } if (Modifier.isPublic(cl.getModifiers())) { return method; } Class<?> [] interfaces = cl.getInterfaces (); for (int i = 0...
public class class_name { public static Method getMethod(Class<?> cl, Method method) { if (method == null) { return null; // depends on control dependency: [if], data = [none] } if (Modifier.isPublic(cl.getModifiers())) { return method; // depends on control dependency...
public class class_name { synchronized ContentHandler getContentHandler() throws IOException { String contentType = stripOffParameters(getContentType()); ContentHandler handler = null; if (contentType == null) { if ((contentType = guessContentTypeFromName(url.getFile()))...
public class class_name { synchronized ContentHandler getContentHandler() throws IOException { String contentType = stripOffParameters(getContentType()); ContentHandler handler = null; if (contentType == null) { if ((contentType = guessContentTypeFromName(url.getFile()))...
public class class_name { public BDD bdd(final VariableOrdering variableOrdering) { final int varNum = this.variables().size(); final BDDFactory factory = new BDDFactory(varNum * 30, varNum * 20, this.factory()); if (variableOrdering == null) { factory.setNumberOfVars(varNum); ...
public class class_name { public BDD bdd(final VariableOrdering variableOrdering) { final int varNum = this.variables().size(); final BDDFactory factory = new BDDFactory(varNum * 30, varNum * 20, this.factory()); if (variableOrdering == null) { factory.setNumberOfVars(varNum); // de...
public class class_name { @Override public String getUserFacingMessage() { final StringBuilder bldr = new StringBuilder(); bldr.append("RESOLUTION FAILURE "); final String name = getName(); if (name != null) { bldr.append(" in "); bldr.append(name); ...
public class class_name { @Override public String getUserFacingMessage() { final StringBuilder bldr = new StringBuilder(); bldr.append("RESOLUTION FAILURE "); final String name = getName(); if (name != null) { bldr.append(" in "); // depends on control dependency: [if],...
public class class_name { protected void logDebug(String id, String messageTemplate, Object... parameters) { if(delegateLogger.isDebugEnabled()) { String msg = formatMessageTemplate(id, messageTemplate); delegateLogger.debug(msg, parameters); } } }
public class class_name { protected void logDebug(String id, String messageTemplate, Object... parameters) { if(delegateLogger.isDebugEnabled()) { String msg = formatMessageTemplate(id, messageTemplate); delegateLogger.debug(msg, parameters); // depends on control dependency: [if], data = [none] } ...
public class class_name { protected void removeSequence(String sequenceName) { // lookup the sequence map for calling DB Map mapForDB = (Map) sequencesDBMap.get(getBrokerForClass() .serviceConnectionManager().getConnectionDescriptor().getJcdAlias()); if(mapForDB != null...
public class class_name { protected void removeSequence(String sequenceName) { // lookup the sequence map for calling DB Map mapForDB = (Map) sequencesDBMap.get(getBrokerForClass() .serviceConnectionManager().getConnectionDescriptor().getJcdAlias()); if(mapForDB != null...
public class class_name { public void moveResource(CmsDbContext dbc, CmsResource source, String destination, boolean internal) throws CmsException { CmsFolder destinationFolder = readFolder(dbc, CmsResource.getParentFolder(destination), CmsResourceFilter.ALL); m_securityManager.checkPermissions( ...
public class class_name { public void moveResource(CmsDbContext dbc, CmsResource source, String destination, boolean internal) throws CmsException { CmsFolder destinationFolder = readFolder(dbc, CmsResource.getParentFolder(destination), CmsResourceFilter.ALL); m_securityManager.checkPermissions( ...
public class class_name { public void deleteUser(final Node user) { Node userReplica, following; for (Relationship replica : user.getRelationships( SocialGraphRelationshipType.REPLICA, Direction.INCOMING)) { userReplica = replica.getEndNode(); following = NeoUtils.getPrevSingleNode(userReplica, Soci...
public class class_name { public void deleteUser(final Node user) { Node userReplica, following; for (Relationship replica : user.getRelationships( SocialGraphRelationshipType.REPLICA, Direction.INCOMING)) { userReplica = replica.getEndNode(); // depends on control dependency: [for], data = [replica] fol...
public class class_name { private static List<RedisCommand<?, ?, ?>> drainCommands(Queue<? extends RedisCommand<?, ?, ?>> source) { List<RedisCommand<?, ?, ?>> target = new ArrayList<>(source.size()); RedisCommand<?, ?, ?> cmd; while ((cmd = source.poll()) != null) { if (!cmd.isD...
public class class_name { private static List<RedisCommand<?, ?, ?>> drainCommands(Queue<? extends RedisCommand<?, ?, ?>> source) { List<RedisCommand<?, ?, ?>> target = new ArrayList<>(source.size()); RedisCommand<?, ?, ?> cmd; while ((cmd = source.poll()) != null) { if (!cmd.isD...
public class class_name { public void configure(Object object, String objectName) { if (object == null) { logger.debug("object to be configured is null"); return; } Assert.notNull(objectName, "objectName"); if (object instanceof TitleConfigurable) { configureTitle((TitleConfigurable) object, object...
public class class_name { public void configure(Object object, String objectName) { if (object == null) { logger.debug("object to be configured is null"); // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] } Assert.notNull(objectName, "obje...
public class class_name { public static int checkPreconditionI( final int value, final IntPredicate predicate, final IntFunction<String> describer) { final boolean ok; try { ok = predicate.test(value); } catch (final Throwable e) { final Violations violations = singleViolation(fai...
public class class_name { public static int checkPreconditionI( final int value, final IntPredicate predicate, final IntFunction<String> describer) { final boolean ok; try { ok = predicate.test(value); // depends on control dependency: [try], data = [none] } catch (final Throwable e) { ...
public class class_name { static String convertToSnakeCase(final String string) { final StringBuilder builder = new StringBuilder(); boolean isPrevCharLowerCase = false; for (int index = 0; index < string.length(); index++) { final char character = string.charAt(index); ...
public class class_name { static String convertToSnakeCase(final String string) { final StringBuilder builder = new StringBuilder(); boolean isPrevCharLowerCase = false; for (int index = 0; index < string.length(); index++) { final char character = string.charAt(index); ...
public class class_name { public void addTopic(String topic) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "addTopic", topic); SelectionCriteria criteria = _messageProcessor. getSelectionCriteriaFactory(). ...
public class class_name { public void addTopic(String topic) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "addTopic", topic); SelectionCriteria criteria = _messageProcessor. getSelectionCriteriaFactory(). ...
public class class_name { void onNextJVM(final AllocatedEvaluator allocatedEvaluator) { try { final Configuration contextConfiguration = ContextConfiguration.CONF .set(ContextConfiguration.IDENTIFIER, "HelloREEFContext") .build(); final Configuration taskConfiguration = TaskConfigu...
public class class_name { void onNextJVM(final AllocatedEvaluator allocatedEvaluator) { try { final Configuration contextConfiguration = ContextConfiguration.CONF .set(ContextConfiguration.IDENTIFIER, "HelloREEFContext") .build(); final Configuration taskConfiguration = TaskConfigu...
public class class_name { public ListCertificateAuthoritiesResult withCertificateAuthorities(CertificateAuthority... certificateAuthorities) { if (this.certificateAuthorities == null) { setCertificateAuthorities(new java.util.ArrayList<CertificateAuthority>(certificateAuthorities.length)); ...
public class class_name { public ListCertificateAuthoritiesResult withCertificateAuthorities(CertificateAuthority... certificateAuthorities) { if (this.certificateAuthorities == null) { setCertificateAuthorities(new java.util.ArrayList<CertificateAuthority>(certificateAuthorities.length)); // depen...
public class class_name { public List<String> extractWords(@NotNull String text, @NotNull Language language) { Timer timer = MetricsFactory.getMetrics().getTimer(MetricsType.TEXT_UTILS_TOKENIZE_TEXT.name()); if (StringUtils.isEmpty(text)) { timer.stop(); return Collections.empt...
public class class_name { public List<String> extractWords(@NotNull String text, @NotNull Language language) { Timer timer = MetricsFactory.getMetrics().getTimer(MetricsType.TEXT_UTILS_TOKENIZE_TEXT.name()); if (StringUtils.isEmpty(text)) { timer.stop(); // depends on control dependency: [...
public class class_name { public List<String> descriptionsForResponseIDs(List<String> _ids, boolean payload, boolean pretty) { List<String> descriptions = new ArrayList<String>(); for (ServiceWrapper s : _cache) { if (_ids.isEmpty() || _responseIds.contains(s.getResponseId())) { StringBuffer buf...
public class class_name { public List<String> descriptionsForResponseIDs(List<String> _ids, boolean payload, boolean pretty) { List<String> descriptions = new ArrayList<String>(); for (ServiceWrapper s : _cache) { if (_ids.isEmpty() || _responseIds.contains(s.getResponseId())) { StringBuffer buf...
public class class_name { public static Version copy(Version version) { if (version == null) { return null; } Version result = new Version(); result.labels = new LinkedList<String>(version.labels); result.numbers = new LinkedList<Integer>(version.numbers); re...
public class class_name { public static Version copy(Version version) { if (version == null) { return null; // depends on control dependency: [if], data = [none] } Version result = new Version(); result.labels = new LinkedList<String>(version.labels); result.numbers ...
public class class_name { public boolean replaceMemberVariable( Variable newVar) { if (isImmutable()) throw new IllegalStateException("Cant modify"); //smembers = null; boolean found = false; for (int i = 0; i < members.size(); i++) { Variable v = members.get(i); if (v.getShortName() == nu...
public class class_name { public boolean replaceMemberVariable( Variable newVar) { if (isImmutable()) throw new IllegalStateException("Cant modify"); //smembers = null; boolean found = false; for (int i = 0; i < members.size(); i++) { Variable v = members.get(i); if (v.getShortName() == nu...
public class class_name { public java.util.List<SnapshotDetail> getSnapshotDetails() { if (snapshotDetails == null) { snapshotDetails = new com.amazonaws.internal.SdkInternalList<SnapshotDetail>(); } return snapshotDetails; } }
public class class_name { public java.util.List<SnapshotDetail> getSnapshotDetails() { if (snapshotDetails == null) { snapshotDetails = new com.amazonaws.internal.SdkInternalList<SnapshotDetail>(); // depends on control dependency: [if], data = [none] } return snapshotDetails; }...
public class class_name { public synchronized Object[] mapObjects(ResultSet pRSet) throws SQLException { Vector result = new Vector(); ResultSetMetaData meta = pRSet.getMetaData(); int cols = meta.getColumnCount(); // Get colum names String[] colNames = new String[cols]...
public class class_name { public synchronized Object[] mapObjects(ResultSet pRSet) throws SQLException { Vector result = new Vector(); ResultSetMetaData meta = pRSet.getMetaData(); int cols = meta.getColumnCount(); // Get colum names String[] colNames = new String[cols]...
public class class_name { public static Range create2D(Device _device, int _globalWidth, int _globalHeight) { final Range withoutLocal = create2D(_device, _globalWidth, _globalHeight, 1, 1); if (withoutLocal.isValid()) { withoutLocal.setLocalIsDerived(true); final int[] widthFactors = ge...
public class class_name { public static Range create2D(Device _device, int _globalWidth, int _globalHeight) { final Range withoutLocal = create2D(_device, _globalWidth, _globalHeight, 1, 1); if (withoutLocal.isValid()) { withoutLocal.setLocalIsDerived(true); // depends on control dependency: [if]...
public class class_name { @SuppressWarnings("unchecked") public Translator<V> getTranslatedValue(Object src, Locale loc, Translator<?> curr) { if( curr != null ) { Map<Locale,Object> map = (Map<Locale, Object>)curr.toMap(); Object ob = getValue(src); map.put...
public class class_name { @SuppressWarnings("unchecked") public Translator<V> getTranslatedValue(Object src, Locale loc, Translator<?> curr) { if( curr != null ) { Map<Locale,Object> map = (Map<Locale, Object>)curr.toMap(); Object ob = getValue(src); map.put...
public class class_name { public static MappedStatement newCountMappedStatement(MappedStatement ms, String newMsId) { MappedStatement.Builder builder = new MappedStatement.Builder(ms.getConfiguration(), newMsId, ms.getSqlSource(), ms.getSqlCommandType()); builder.resource(ms.getResource()); bui...
public class class_name { public static MappedStatement newCountMappedStatement(MappedStatement ms, String newMsId) { MappedStatement.Builder builder = new MappedStatement.Builder(ms.getConfiguration(), newMsId, ms.getSqlSource(), ms.getSqlCommandType()); builder.resource(ms.getResource()); bui...
public class class_name { public GetCostAndUsageResult withGroupDefinitions(GroupDefinition... groupDefinitions) { if (this.groupDefinitions == null) { setGroupDefinitions(new java.util.ArrayList<GroupDefinition>(groupDefinitions.length)); } for (GroupDefinition ele : groupDefinitio...
public class class_name { public GetCostAndUsageResult withGroupDefinitions(GroupDefinition... groupDefinitions) { if (this.groupDefinitions == null) { setGroupDefinitions(new java.util.ArrayList<GroupDefinition>(groupDefinitions.length)); // depends on control dependency: [if], data = [none] ...
public class class_name { public void marshall(DescribeEndpointGroupRequest describeEndpointGroupRequest, ProtocolMarshaller protocolMarshaller) { if (describeEndpointGroupRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { public void marshall(DescribeEndpointGroupRequest describeEndpointGroupRequest, ProtocolMarshaller protocolMarshaller) { if (describeEndpointGroupRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { public final AntlrDatatypeRuleToken ruleOpMultiAssign() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; enterRule(); try { // InternalSARL.g:12210:2: ( (kw= '+=' | kw= '-=' | kw= '*=' ...
public class class_name { public final AntlrDatatypeRuleToken ruleOpMultiAssign() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; enterRule(); try { // InternalSARL.g:12210:2: ( (kw= '+=' | kw= '-=' | kw= '*=' ...
public class class_name { private synchronized void evaluateConditions() { // Copy the current Conditions ... Set<IWatchedCondition> copiedConditions = this.copyConditions(); // check the conditions .... for (Iterator<IWatchedCondition> iterator = copiedConditions.iterator(); iterator....
public class class_name { private synchronized void evaluateConditions() { // Copy the current Conditions ... Set<IWatchedCondition> copiedConditions = this.copyConditions(); // check the conditions .... for (Iterator<IWatchedCondition> iterator = copiedConditions.iterator(); iterator....
public class class_name { public List<MonolingualTextValue> getRemovedAliases(String language) { AliasesWithUpdate update = newAliases.get(language); if (update == null) { return Collections.<MonolingualTextValue>emptyList(); } return update.deleted; } }
public class class_name { public List<MonolingualTextValue> getRemovedAliases(String language) { AliasesWithUpdate update = newAliases.get(language); if (update == null) { return Collections.<MonolingualTextValue>emptyList(); // depends on control dependency: [if], data = [none] } return update.deleted; } ...
public class class_name { public void remove(T element) { lock.writeLock().lock(); try { if (outgoingEdges.remove(element) != null) { for (Set<T> values : outgoingEdges.values()) { values.remove(element); } } if (incomingEdges.remove(element...
public class class_name { public void remove(T element) { lock.writeLock().lock(); try { if (outgoingEdges.remove(element) != null) { for (Set<T> values : outgoingEdges.values()) { values.remove(element); // depends on control dependency: [for], data = [values] ...
public class class_name { public MethodInfo addMethod(Method method) { Modifiers modifiers = Modifiers.getInstance(method.getModifiers()).toAbstract(false); MethodInfo mi = addMethod(modifiers, method.getName(), MethodDesc.forMethod(method)); // exception stuff... Class[] excep...
public class class_name { public MethodInfo addMethod(Method method) { Modifiers modifiers = Modifiers.getInstance(method.getModifiers()).toAbstract(false); MethodInfo mi = addMethod(modifiers, method.getName(), MethodDesc.forMethod(method)); // exception stuff... Class[] excep...
public class class_name { public final void unlockRejectedTick(TransactionCommon t, AOValue storedTick) throws MessageStoreException, SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "unlockRejectedTick"); try { SIMPMessage msg = cons...
public class class_name { public final void unlockRejectedTick(TransactionCommon t, AOValue storedTick) throws MessageStoreException, SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "unlockRejectedTick"); try { SIMPMessage msg = cons...
public class class_name { public RetentionStrategy getRetentionStrategyCopy() { if (retentionStrategy instanceof DockerOnceRetentionStrategy) { DockerOnceRetentionStrategy onceRetention = (DockerOnceRetentionStrategy) retentionStrategy; return new DockerOnceRetentionStrategy(onceRetenti...
public class class_name { public RetentionStrategy getRetentionStrategyCopy() { if (retentionStrategy instanceof DockerOnceRetentionStrategy) { DockerOnceRetentionStrategy onceRetention = (DockerOnceRetentionStrategy) retentionStrategy; return new DockerOnceRetentionStrategy(onceRetenti...
public class class_name { public Kafka properties(Properties properties) { Preconditions.checkNotNull(properties); if (this.kafkaProperties == null) { this.kafkaProperties = new HashMap<>(); } this.kafkaProperties.clear(); properties.forEach((k, v) -> this.kafkaProperties.put((String) k, (String) v)); r...
public class class_name { public Kafka properties(Properties properties) { Preconditions.checkNotNull(properties); if (this.kafkaProperties == null) { this.kafkaProperties = new HashMap<>(); // depends on control dependency: [if], data = [none] } this.kafkaProperties.clear(); properties.forEach((k, v) -> ...
public class class_name { public boolean contains(Jid jid) { if (jid == null) { return false; } synchronized (entries) { for (Iterator<EntityBareJid> i = entries.iterator(); i.hasNext();) { EntityBareJid entry = i.next(); if (entry.equals(...
public class class_name { public boolean contains(Jid jid) { if (jid == null) { return false; // depends on control dependency: [if], data = [none] } synchronized (entries) { for (Iterator<EntityBareJid> i = entries.iterator(); i.hasNext();) { EntityBareJ...
public class class_name { public static String datasetStats(Map<String, List<double[]>> data, String name) { int globalMinLength = Integer.MAX_VALUE; int globalMaxLength = Integer.MIN_VALUE; double globalMinValue = Double.MAX_VALUE; double globalMaxValue = Double.MIN_VALUE; for (Entry<String, Li...
public class class_name { public static String datasetStats(Map<String, List<double[]>> data, String name) { int globalMinLength = Integer.MAX_VALUE; int globalMaxLength = Integer.MIN_VALUE; double globalMinValue = Double.MAX_VALUE; double globalMaxValue = Double.MIN_VALUE; for (Entry<String, Li...
public class class_name { @Override public T create(CreationalContext<T> creationalContext) { T instance = getProducer().produce(creationalContext); getProducer().inject(instance, creationalContext); if (!hasPostConstructCallback || beanManager.isContextActive(RequestScoped.class)) { ...
public class class_name { @Override public T create(CreationalContext<T> creationalContext) { T instance = getProducer().produce(creationalContext); getProducer().inject(instance, creationalContext); if (!hasPostConstructCallback || beanManager.isContextActive(RequestScoped.class)) { ...
public class class_name { public void marshall(Workteam workteam, ProtocolMarshaller protocolMarshaller) { if (workteam == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(workteam.getWorkteamName(), ...
public class class_name { public void marshall(Workteam workteam, ProtocolMarshaller protocolMarshaller) { if (workteam == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(workteam.getWorkteamName(), ...
public class class_name { public Observable<ServiceResponse<WorkerPoolResourceInner>> getWorkerPoolWithServiceResponseAsync(String resourceGroupName, String name, String workerPoolName) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required an...
public class class_name { public Observable<ServiceResponse<WorkerPoolResourceInner>> getWorkerPoolWithServiceResponseAsync(String resourceGroupName, String name, String workerPoolName) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required an...
public class class_name { public static Centroid make(Relation<? extends NumberVector> relation, DBIDs ids) { final int dim = RelationUtil.dimensionality(relation); Centroid c = new Centroid(dim); double[] elems = c.elements; int count = 0; for(DBIDIter iter = ids.iter(); iter.valid(); iter.advance...
public class class_name { public static Centroid make(Relation<? extends NumberVector> relation, DBIDs ids) { final int dim = RelationUtil.dimensionality(relation); Centroid c = new Centroid(dim); double[] elems = c.elements; int count = 0; for(DBIDIter iter = ids.iter(); iter.valid(); iter.advance...
public class class_name { private void convert(int set[], UnicodeSet uset) { uset.clear(); if (!initNameSetsLengths()) { return; } // build a char string with all chars that are used in character names for (char c = 255; c > 0; c --) { if (contains(s...
public class class_name { private void convert(int set[], UnicodeSet uset) { uset.clear(); if (!initNameSetsLengths()) { return; // depends on control dependency: [if], data = [none] } // build a char string with all chars that are used in character names for (c...
public class class_name { public void marshall(RemoveTagsFromOnPremisesInstancesRequest removeTagsFromOnPremisesInstancesRequest, ProtocolMarshaller protocolMarshaller) { if (removeTagsFromOnPremisesInstancesRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"...
public class class_name { public void marshall(RemoveTagsFromOnPremisesInstancesRequest removeTagsFromOnPremisesInstancesRequest, ProtocolMarshaller protocolMarshaller) { if (removeTagsFromOnPremisesInstancesRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"...
public class class_name { public void register(final Class<?> model) { final ODatabaseObject db = dbProvider.get(); // auto create schema for new classes ((OObjectDatabaseTx) db).setAutomaticSchemaGeneration(true); // processing lower hierarchy types first try { for ...
public class class_name { public void register(final Class<?> model) { final ODatabaseObject db = dbProvider.get(); // auto create schema for new classes ((OObjectDatabaseTx) db).setAutomaticSchemaGeneration(true); // processing lower hierarchy types first try { for ...
public class class_name { private void browserButtonActionPerformed(java.awt.event.ActionEvent evt) { try { Desktop.getDesktop().browse(new URL(localhostURL).toURI()); } catch (IOException e) { System.err.println("IO Exception: " + e.getMessage()); } catch (URISyntaxException e) { System....
public class class_name { private void browserButtonActionPerformed(java.awt.event.ActionEvent evt) { try { Desktop.getDesktop().browse(new URL(localhostURL).toURI()); // depends on control dependency: [try], data = [none] } catch (IOException e) { System.err.println("IO Exception: " + e.getMessage...
public class class_name { public Set<D> getMatchedDeclaration() { Set<D> bindedSet = new HashSet<D>(); for (Map.Entry<ServiceReference<D>, Boolean> e : declarations.entrySet()) { if (e.getValue()) { bindedSet.add(getDeclaration(e.getKey())); } } r...
public class class_name { public Set<D> getMatchedDeclaration() { Set<D> bindedSet = new HashSet<D>(); for (Map.Entry<ServiceReference<D>, Boolean> e : declarations.entrySet()) { if (e.getValue()) { bindedSet.add(getDeclaration(e.getKey())); // depends on control dependency:...
public class class_name { public void addNodesInDocOrder(NodeList nodelist, XPathContext support) { if (!m_mutable) throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!"); int nChildren = nodelist.getLength(); ...
public class class_name { public void addNodesInDocOrder(NodeList nodelist, XPathContext support) { if (!m_mutable) throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!"); int nChildren = nodelist.getLength(); ...
public class class_name { private static void init(List<File> list, File dir, Filter filter) { File[] files = dir.listFiles(); for (int i = 0; i < files.length; i++) { if (files[i].isDirectory()) { init(list, files[i], filter); } ...
public class class_name { private static void init(List<File> list, File dir, Filter filter) { File[] files = dir.listFiles(); for (int i = 0; i < files.length; i++) { if (files[i].isDirectory()) { init(list, files[i], filter); // depends on c...
public class class_name { public static String replaceAll(String str, final String searchToken, final String replacement) { if (str == null) { return str; } str = str.replace(searchToken, replacement); return str; } }
public class class_name { public static String replaceAll(String str, final String searchToken, final String replacement) { if (str == null) { return str; // depends on control dependency: [if], data = [none] } str = str.replace(searchToken, replacement); return str; } }
public class class_name { protected final void firePropertyChange(PropertyChangeEvent event) { PropertyChangeSupport aChangeSupport = this.changeSupport; if (aChangeSupport == null) { return; } aChangeSupport.firePropertyChange(event); } }
public class class_name { protected final void firePropertyChange(PropertyChangeEvent event) { PropertyChangeSupport aChangeSupport = this.changeSupport; if (aChangeSupport == null) { return; // depends on control dependency: [if], data = [none] } aChangeSupport.fireProperty...
public class class_name { public static File getCurrentVersion(File storeDirectory) { File latestDir = getLatestDir(storeDirectory); if(latestDir != null) return latestDir; File[] versionDirs = getVersionDirs(storeDirectory); if(versionDirs == null || versionDirs.length == ...
public class class_name { public static File getCurrentVersion(File storeDirectory) { File latestDir = getLatestDir(storeDirectory); if(latestDir != null) return latestDir; File[] versionDirs = getVersionDirs(storeDirectory); if(versionDirs == null || versionDirs.length == ...
public class class_name { private void collectGarbage() { // dispose unused objects if any NativePointerPhantomReference toCollect; while((toCollect = (NativePointerPhantomReference)collectableObjects.poll()) != null) { liveComObjects.remove(toCollect); toCollect.clear(); toCollect.releaseNativ...
public class class_name { private void collectGarbage() { // dispose unused objects if any NativePointerPhantomReference toCollect; while((toCollect = (NativePointerPhantomReference)collectableObjects.poll()) != null) { liveComObjects.remove(toCollect); // depends on control dependency: [while], data = [no...
public class class_name { private static List<MavenCoordinates> findCompileDependenciesFromManifest(ZipFile zipFile, ZipEntry zipEntry) throws MavenRepoGeneratorException { List<MavenCoordinates> result = new ArrayList<MavenCoordinates>(); InputStream inputStream = null; try { inputStream = zip...
public class class_name { private static List<MavenCoordinates> findCompileDependenciesFromManifest(ZipFile zipFile, ZipEntry zipEntry) throws MavenRepoGeneratorException { List<MavenCoordinates> result = new ArrayList<MavenCoordinates>(); InputStream inputStream = null; try { inputStream = zip...
public class class_name { private static int compareTo(Deque<String> first, Deque<String> second) { if (0 == first.size() && 0 == second.size()) { return 0; } if (0 == first.size()) { return 1; } if (0 == second.size()) { return -1; } ...
public class class_name { private static int compareTo(Deque<String> first, Deque<String> second) { if (0 == first.size() && 0 == second.size()) { return 0; // depends on control dependency: [if], data = [none] } if (0 == first.size()) { return 1; // depends on control d...
public class class_name { private static Optional<Class<?>> loadEnum(final String className) { try { Class<?> type = Class.forName(className, true, Thread.currentThread().getContextClassLoader()); if (type.isEnum()) { return Optional.of(type); } } catch (ClassNotFoundException e) { LOG.error(e.getM...
public class class_name { private static Optional<Class<?>> loadEnum(final String className) { try { Class<?> type = Class.forName(className, true, Thread.currentThread().getContextClassLoader()); if (type.isEnum()) { return Optional.of(type); // depends on control dependency: [if], data = [none] } } ...
public class class_name { protected Date getExpirationDate(HttpServletRequest request, XHttpServletResponse response) { String contentType = response.getContentType(); // lookup exact content-type match (e.g. // "text/html; charset=iso-8859-1") ExpiresConfiguration configuration = expi...
public class class_name { protected Date getExpirationDate(HttpServletRequest request, XHttpServletResponse response) { String contentType = response.getContentType(); // lookup exact content-type match (e.g. // "text/html; charset=iso-8859-1") ExpiresConfiguration configuration = expi...
public class class_name { @Override public double getCopyProcessingRate(long currentTime) { @SuppressWarnings("deprecation") long bytesCopied = super.getCounters().findCounter (Task.Counter.REDUCE_SHUFFLE_BYTES).getCounter(); long timeSpentCopying = 0; long startTime = getStartTime(); if(...
public class class_name { @Override public double getCopyProcessingRate(long currentTime) { @SuppressWarnings("deprecation") long bytesCopied = super.getCounters().findCounter (Task.Counter.REDUCE_SHUFFLE_BYTES).getCounter(); long timeSpentCopying = 0; long startTime = getStartTime(); if(...
public class class_name { public Object nextElemNoEx() { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); // If the current bucket has been exhausted, try to find // another non-empty bucket. if (ivElementIndex >= ivBucketSize) { if (!findNextBuck...
public class class_name { public Object nextElemNoEx() { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); // If the current bucket has been exhausted, try to find // another non-empty bucket. if (ivElementIndex >= ivBucketSize) { if (!findNextBuck...
public class class_name { public List<Role> findAllRoles() { List<Role> list = new ArrayList<>(); List<String> roleStrings; try { roleStrings = readLines(rolesFile); } catch (IOException e) { throw new FileBasedRuntimeException(e); } for (String ...
public class class_name { public List<Role> findAllRoles() { List<Role> list = new ArrayList<>(); List<String> roleStrings; try { roleStrings = readLines(rolesFile); // depends on control dependency: [try], data = [none] } catch (IOException e) { throw new FileBa...
public class class_name { @SuppressWarnings("deprecation") public void onDestroy() { if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) { mRemoteControlClientCompat.setPlaybackState(RemoteControlClient.PLAYSTATE_STOPPED); mAudioManager.unregisterMediaButtonEventReceiver(mMedi...
public class class_name { @SuppressWarnings("deprecation") public void onDestroy() { if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) { mRemoteControlClientCompat.setPlaybackState(RemoteControlClient.PLAYSTATE_STOPPED); // depends on control dependency: [if], data = [none] ...
public class class_name { @SuppressWarnings("unchecked") public double getRank(final T value) { if (isEmpty()) { return Double.NaN; } long total = 0; int weight = 1; for (int i = 0; i < baseBufferCount_; i++) { if (comparator_.compare((T) combinedBuffer_[i], value) < 0) { total += weigh...
public class class_name { @SuppressWarnings("unchecked") public double getRank(final T value) { if (isEmpty()) { return Double.NaN; } // depends on control dependency: [if], data = [none] long total = 0; int weight = 1; for (int i = 0; i < baseBufferCount_; i++) { if (comparator_.compare((T) co...
public class class_name { protected void enterClause(Clause clause) { if (clause instanceof WAMCompiledQuery) { WAMOptimizeableListing query = (WAMCompiledQuery) clause; for (WAMInstruction instruction : query.getUnoptimizedInstructions()) { addL...
public class class_name { protected void enterClause(Clause clause) { if (clause instanceof WAMCompiledQuery) { WAMOptimizeableListing query = (WAMCompiledQuery) clause; for (WAMInstruction instruction : query.getUnoptimizedInstructions()) { addL...
public class class_name { public static byte[] readEntityBytes(InputStream in) { byte[] jsonEntity = null; try { if (in != null && in.available() > 0) { ByteArrayOutputStream baos = new ByteArrayOutputStream(); byte[] buf = new byte[1024]; int length; while ((length = in.read(buf)) > 0) { b...
public class class_name { public static byte[] readEntityBytes(InputStream in) { byte[] jsonEntity = null; try { if (in != null && in.available() > 0) { ByteArrayOutputStream baos = new ByteArrayOutputStream(); byte[] buf = new byte[1024]; int length; while ((length = in.read(buf)) > 0) { b...
public class class_name { public static boolean getSetPortUsedBySupervisor(String instanceName, String supervisorHost, int port, RegistryOperations registryOperations) { String appPath = RegistryUtils.serviceclassPath( JOYConstants.APP_NAME, JOYConstants.APP_TYPE); String path = Regist...
public class class_name { public static boolean getSetPortUsedBySupervisor(String instanceName, String supervisorHost, int port, RegistryOperations registryOperations) { String appPath = RegistryUtils.serviceclassPath( JOYConstants.APP_NAME, JOYConstants.APP_TYPE); String path = Regist...
public class class_name { private String getUrlPrefix( HttpServletRequest req ) { StringBuilder url = new StringBuilder(); String scheme = req.getScheme(); int port = req.getServerPort(); url.append( scheme ); // http, https url.append( "://" ); url.append( re...
public class class_name { private String getUrlPrefix( HttpServletRequest req ) { StringBuilder url = new StringBuilder(); String scheme = req.getScheme(); int port = req.getServerPort(); url.append( scheme ); // http, https url.append( "://" ); url.append( re...
public class class_name { private List<TypePattern> getPatternsFrom(String value) { if (value == null) { return Collections.emptyList(); } List<TypePattern> typePatterns = new ArrayList<TypePattern>(); StringTokenizer st = new StringTokenizer(value, ","); while (st.hasMoreElements()) { String typepatte...
public class class_name { private List<TypePattern> getPatternsFrom(String value) { if (value == null) { return Collections.emptyList(); // depends on control dependency: [if], data = [none] } List<TypePattern> typePatterns = new ArrayList<TypePattern>(); StringTokenizer st = new StringTokenizer(value, ",")...
public class class_name { private void updateActionStatus(final Message message) { final DmfActionUpdateStatus actionUpdateStatus = convertMessage(message, DmfActionUpdateStatus.class); final Action action = checkActionExist(message, actionUpdateStatus); final List<String> messages = actionUpd...
public class class_name { private void updateActionStatus(final Message message) { final DmfActionUpdateStatus actionUpdateStatus = convertMessage(message, DmfActionUpdateStatus.class); final Action action = checkActionExist(message, actionUpdateStatus); final List<String> messages = actionUpd...
public class class_name { @Override public double[] getVotesForInstance(Instance inst) { // Prepare the results array double[] votes = new double[getNumberOfClasses()]; // Over all classes for (int classIndex = 0; classIndex < votes.length; classIndex++) { // Get the prior for this class votes[classInde...
public class class_name { @Override public double[] getVotesForInstance(Instance inst) { // Prepare the results array double[] votes = new double[getNumberOfClasses()]; // Over all classes for (int classIndex = 0; classIndex < votes.length; classIndex++) { // Get the prior for this class votes[classInde...
public class class_name { public static AmazonS3Client getS3Client(Map conf) { AWSCredentialsProvider provider = new DefaultAWSCredentialsProviderChain(); AWSCredentials credentials = provider.getCredentials(); ClientConfiguration config = new ClientConfiguration(); AmazonS3Client clie...
public class class_name { public static AmazonS3Client getS3Client(Map conf) { AWSCredentialsProvider provider = new DefaultAWSCredentialsProviderChain(); AWSCredentials credentials = provider.getCredentials(); ClientConfiguration config = new ClientConfiguration(); AmazonS3Client clie...
public class class_name { private boolean buildHeader(HeaderFields headerFields, WsByteBuffer xmitBuffer) { if (tc.isEntryEnabled()) SibTr.entry(this, tc, "buildHeader", new Object[] {headerFields, xmitBuffer}); if (tc.isDebugEnabled()) JFapUtils.debugTraceWsByteBufferInfo(this, tc, xmitBuffer, "xmitBuf...
public class class_name { private boolean buildHeader(HeaderFields headerFields, WsByteBuffer xmitBuffer) { if (tc.isEntryEnabled()) SibTr.entry(this, tc, "buildHeader", new Object[] {headerFields, xmitBuffer}); if (tc.isDebugEnabled()) JFapUtils.debugTraceWsByteBufferInfo(this, tc, xmitBuffer, "xmitBuf...
public class class_name { public boolean containsFunction(String ns, String name) { for (int i = 0; i < this.libraries.length; i++) { if (this.libraries[i].containsFunction(ns, name)) { return true; } } return false; } }
public class class_name { public boolean containsFunction(String ns, String name) { for (int i = 0; i < this.libraries.length; i++) { if (this.libraries[i].containsFunction(ns, name)) { return true; // depends on control dependency: [if], data = [none] ...
public class class_name { void sendAccessibilityEvent(View view) { // Since the view is still not attached we create, populate, // and send the event directly since we do not know when it // will be attached and posting commands is not as clean. AccessibilityManager accessibilityManager = ...
public class class_name { void sendAccessibilityEvent(View view) { // Since the view is still not attached we create, populate, // and send the event directly since we do not know when it // will be attached and posting commands is not as clean. AccessibilityManager accessibilityManager = ...
public class class_name { private static String findJavaVersionString(MavenProject project) { while (project != null) { String target = project.getProperties().getProperty("maven.compiler.target"); if (target != null) { return target; } for (org.a...
public class class_name { private static String findJavaVersionString(MavenProject project) { while (project != null) { String target = project.getProperties().getProperty("maven.compiler.target"); if (target != null) { return target; // depends on control dependency: [i...
public class class_name { private Link verify(Link link) { Assert.notNull(link, "Link must not be null!"); try { String uri = link.expand().getHref(); this.log.debug("Verifying link pointing to {}…", uri); this.restOperations.headForHeaders(uri); this.log.debug("Successfully verified link!"); r...
public class class_name { private Link verify(Link link) { Assert.notNull(link, "Link must not be null!"); try { String uri = link.expand().getHref(); this.log.debug("Verifying link pointing to {}…", uri); // depends on control dependency: [try], data = [none] this.restOperations.headForHeaders(uri); ...
public class class_name { @Override public JmxMetricReporter init(ConfigurationProperties configurationProperties, MetricRegistry metricRegistry) { if (configurationProperties.isJmxEnabled()) { jmxReporter = JmxReporter .forRegistry(metricRegistry) .inDom...
public class class_name { @Override public JmxMetricReporter init(ConfigurationProperties configurationProperties, MetricRegistry metricRegistry) { if (configurationProperties.isJmxEnabled()) { jmxReporter = JmxReporter .forRegistry(metricRegistry) .inDom...
public class class_name { public static <T> List<T> toposort(final Set<T> inputSet, T root, final Deps<T> deps, boolean isFullCut) { // Check that inputs set is a valid set of leaves for the given output module. checkAreDescendentsOf(inputSet, root, deps); if (isFullCut) { checkIsFu...
public class class_name { public static <T> List<T> toposort(final Set<T> inputSet, T root, final Deps<T> deps, boolean isFullCut) { // Check that inputs set is a valid set of leaves for the given output module. checkAreDescendentsOf(inputSet, root, deps); if (isFullCut) { checkIsFu...
public class class_name { boolean compareAndSetLeaf(Page oldPage, Page page) { if (oldPage == page) { return true; } int pid = (int) page.getId(); updateTailPid(pid); if (oldPage instanceof PageLeafImpl && page instanceof PageLeafImpl) { PageLeafImpl oldLeaf = (PageLeaf...
public class class_name { boolean compareAndSetLeaf(Page oldPage, Page page) { if (oldPage == page) { return true; // depends on control dependency: [if], data = [none] } int pid = (int) page.getId(); updateTailPid(pid); if (oldPage instanceof PageLeafImpl && page instanceof ...
public class class_name { private void addAnchor(DeprecatedAPIListBuilder builder, int type, Content htmlTree) { if (builder.hasDocumentation(type)) { htmlTree.addContent(getMarkerAnchor(ANCHORS[type])); } } }
public class class_name { private void addAnchor(DeprecatedAPIListBuilder builder, int type, Content htmlTree) { if (builder.hasDocumentation(type)) { htmlTree.addContent(getMarkerAnchor(ANCHORS[type])); // depends on control dependency: [if], data = [none] } } }
public class class_name { public SIMPTopicSpaceControllable getTopicSpace() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getTopicSpace"); //need to check that we don't hav it already if (_topicspace == null) { _topicspace = new Topicspace(_me...
public class class_name { public SIMPTopicSpaceControllable getTopicSpace() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getTopicSpace"); //need to check that we don't hav it already if (_topicspace == null) { _topicspace = new Topicspace(_me...