code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { public int[] extractUShortArray() throws DevFailed { manageExceptions("extractUShortArray"); if (use_union) { final short[] argOut = attributeValue_5.value.ushort_att_value(); final int[] val = new int[argOut.length]; for (int i = 0; i < argOut.length; i++) { val[i] =...
public class class_name { public int[] extractUShortArray() throws DevFailed { manageExceptions("extractUShortArray"); if (use_union) { final short[] argOut = attributeValue_5.value.ushort_att_value(); final int[] val = new int[argOut.length]; for (int i = 0; i < argOut.length; i++) { val[i] =...
public class class_name { public java.util.List<String> getEnableCloudwatchLogsExports() { if (enableCloudwatchLogsExports == null) { enableCloudwatchLogsExports = new com.amazonaws.internal.SdkInternalList<String>(); } return enableCloudwatchLogsExports; } }
public class class_name { public java.util.List<String> getEnableCloudwatchLogsExports() { if (enableCloudwatchLogsExports == null) { enableCloudwatchLogsExports = new com.amazonaws.internal.SdkInternalList<String>(); // depends on control dependency: [if], data = [none] } return en...
public class class_name { public void setWorkingSet(Set<K> workingSet) { synchronized(workingSet) { for (K key : workingSet) { this.get(key); } } } }
public class class_name { public void setWorkingSet(Set<K> workingSet) { synchronized(workingSet) { for (K key : workingSet) { this.get(key); // depends on control dependency: [for], data = [key] } } } }
public class class_name { public boolean defines(MethodMember method) { for (MethodMember existingMethod : methods) { // make sure it *really* defines it (i.e. it is not a catcher) if (!MethodMember.isCatcher(existingMethod) && existingMethod.equals(method)) { return true; } } return false; } }
public class class_name { public boolean defines(MethodMember method) { for (MethodMember existingMethod : methods) { // make sure it *really* defines it (i.e. it is not a catcher) if (!MethodMember.isCatcher(existingMethod) && existingMethod.equals(method)) { return true; // depends on control dependency:...
public class class_name { public String performTask(String taskParameters) { GetUrlTaskParameters taskParams = GetUrlTaskParameters.deserialize(taskParameters); String spaceId = taskParams.getSpaceId(); String contentId = taskParams.getContentId(); String resourcePrefix = t...
public class class_name { public String performTask(String taskParameters) { GetUrlTaskParameters taskParams = GetUrlTaskParameters.deserialize(taskParameters); String spaceId = taskParams.getSpaceId(); String contentId = taskParams.getContentId(); String resourcePrefix = t...
public class class_name { public void setEndpoints(java.util.Collection<Endpoint> endpoints) { if (endpoints == null) { this.endpoints = null; return; } this.endpoints = new java.util.ArrayList<Endpoint>(endpoints); } }
public class class_name { public void setEndpoints(java.util.Collection<Endpoint> endpoints) { if (endpoints == null) { this.endpoints = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] } this.endp...
public class class_name { public void closeAllEmpty() { CmsDebugLog.getInstance().printLine("closing all empty"); int childCount = getWidgetCount(); for (int index = 0; index < childCount; index++) { CmsTreeItem item = getItem(index); if (item.isOpen()) { ...
public class class_name { public void closeAllEmpty() { CmsDebugLog.getInstance().printLine("closing all empty"); int childCount = getWidgetCount(); for (int index = 0; index < childCount; index++) { CmsTreeItem item = getItem(index); if (item.isOpen()) { ...
public class class_name { public static File getFile(String resourceOrFile, Class<?> cls, boolean deleteTmpOnExit) throws FileNotFoundException { try { // jar:file:/home/.../blue.jar!/path/to/file.xml URI uri = getURL(resourceOrFile, cls).toURI(); String uriStr ...
public class class_name { public static File getFile(String resourceOrFile, Class<?> cls, boolean deleteTmpOnExit) throws FileNotFoundException { try { // jar:file:/home/.../blue.jar!/path/to/file.xml URI uri = getURL(resourceOrFile, cls).toURI(); String uriStr ...
public class class_name { private static void populateSuperTypeArgs(final Type[] types, final Map<TypeVariable<?>, Type> map, boolean depthFirst) { for (Type type : types) { if (type instanceof ParameterizedType) { ParameterizedType parameterizedType = (ParameterizedType) type; if (!dep...
public class class_name { private static void populateSuperTypeArgs(final Type[] types, final Map<TypeVariable<?>, Type> map, boolean depthFirst) { for (Type type : types) { if (type instanceof ParameterizedType) { ParameterizedType parameterizedType = (ParameterizedType) type; if (!dep...
public class class_name { public void removePartition( MCollection partition) { for (MFile mfile : partIndexFiles) { if (mfile.getName().equalsIgnoreCase(partition.getCollectionName())) { List<MFile> part = new ArrayList<>(partIndexFiles); part.remove(mfile); partIndexFiles = part; ...
public class class_name { public void removePartition( MCollection partition) { for (MFile mfile : partIndexFiles) { if (mfile.getName().equalsIgnoreCase(partition.getCollectionName())) { List<MFile> part = new ArrayList<>(partIndexFiles); part.remove(mfile); // depends on control dependency:...
public class class_name { private void clearMenus() { for (final Featurable menu : menus) { menu.getFeature(Identifiable.class).destroy(); handler.remove(menu); } menus.clear(); } }
public class class_name { private void clearMenus() { for (final Featurable menu : menus) { menu.getFeature(Identifiable.class).destroy(); // depends on control dependency: [for], data = [menu] handler.remove(menu); // depends on control dependency: [for], data = [menu...
public class class_name { public static BodyQName createWithPrefix( final String uri, final String local, final String prefix) { if (uri == null || uri.length() == 0) { throw(new IllegalArgumentException( "URI is required and may not be null/e...
public class class_name { public static BodyQName createWithPrefix( final String uri, final String local, final String prefix) { if (uri == null || uri.length() == 0) { throw(new IllegalArgumentException( "URI is required and may not be null/e...
public class class_name { @Override @ConstantTime @SuppressWarnings("unchecked") public K findMin() { if (size + insertionBufferSize == 0) { throw new NoSuchElementException(); } if (insertionBufferSize == 0) { return array[0]; } else if (size == 0) ...
public class class_name { @Override @ConstantTime @SuppressWarnings("unchecked") public K findMin() { if (size + insertionBufferSize == 0) { throw new NoSuchElementException(); } if (insertionBufferSize == 0) { return array[0]; // depends on control dependen...
public class class_name { @Override public Result evaluate(TaskRequest taskRequest, VirtualMachineCurrentState targetVM, TaskTrackerState taskTrackerState) { Set<String> coTasks = coTasksGetter.call(taskRequest.getId()); String targetHostAttrVal = AttributeUtilities.getAttrValue(targetVM.getCurrAva...
public class class_name { @Override public Result evaluate(TaskRequest taskRequest, VirtualMachineCurrentState targetVM, TaskTrackerState taskTrackerState) { Set<String> coTasks = coTasksGetter.call(taskRequest.getId()); String targetHostAttrVal = AttributeUtilities.getAttrValue(targetVM.getCurrAva...
public class class_name { @SafeVarargs public static <T, X extends Throwable> Try<T, X> withCatch(final CheckedSupplier<T, X> cf, final Class<? extends X>... classes) { Objects.requireNonNull(cf); try { return Try.success(cf.get()); } catch (final Throwable t) { if (...
public class class_name { @SafeVarargs public static <T, X extends Throwable> Try<T, X> withCatch(final CheckedSupplier<T, X> cf, final Class<? extends X>... classes) { Objects.requireNonNull(cf); try { return Try.success(cf.get()); // depends on control dependency: [try], data = [none]...
public class class_name { public void set(String value) { char[] cha = value.toCharArray(); for ( int i = 0; i < getN() && i < value.length(); i++ ) { setChar(cha[i], i); } } }
public class class_name { public void set(String value) { char[] cha = value.toCharArray(); for ( int i = 0; i < getN() && i < value.length(); i++ ) { setChar(cha[i], i); // depends on control dependency: [for], data = [i] } } }
public class class_name { public void marshall(PutDeliveryChannelRequest putDeliveryChannelRequest, ProtocolMarshaller protocolMarshaller) { if (putDeliveryChannelRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { proto...
public class class_name { public void marshall(PutDeliveryChannelRequest putDeliveryChannelRequest, ProtocolMarshaller protocolMarshaller) { if (putDeliveryChannelRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { proto...
public class class_name { private void storeAttribute(Attr attribute) { // examine the attributes in namespace xmlns if (attribute.getNamespaceURI() != null && attribute.getNamespaceURI().equals( XMLConstants.XMLNS_ATTRIBUTE_NS_URI)) { // Default name...
public class class_name { private void storeAttribute(Attr attribute) { // examine the attributes in namespace xmlns if (attribute.getNamespaceURI() != null && attribute.getNamespaceURI().equals( XMLConstants.XMLNS_ATTRIBUTE_NS_URI)) { // Default name...
public class class_name { @Override void setScanResult(final ScanResult scanResult) { super.setScanResult(scanResult); if (elementTypeSignature != null) { elementTypeSignature.setScanResult(scanResult); } } }
public class class_name { @Override void setScanResult(final ScanResult scanResult) { super.setScanResult(scanResult); if (elementTypeSignature != null) { elementTypeSignature.setScanResult(scanResult); // depends on control dependency: [if], data = [none] } } }
public class class_name { @Nullable protected String getParentPath(String path) { // Root does not have a parent. if (isRoot(path)) { return null; } int separatorIndex = path.lastIndexOf(PATH_SEPARATOR); if (separatorIndex < 0) { return null; } return path.substring(0, separat...
public class class_name { @Nullable protected String getParentPath(String path) { // Root does not have a parent. if (isRoot(path)) { return null; // depends on control dependency: [if], data = [none] } int separatorIndex = path.lastIndexOf(PATH_SEPARATOR); if (separatorIndex < 0) { r...
public class class_name { private Bundle buildAppLinkDataForNavigation(Context context) { Bundle data = new Bundle(); Bundle refererAppLinkData = new Bundle(); if (context != null) { String refererAppPackage = context.getPackageName(); if (refererAppPackage != null) { refererAppLinkData...
public class class_name { private Bundle buildAppLinkDataForNavigation(Context context) { Bundle data = new Bundle(); Bundle refererAppLinkData = new Bundle(); if (context != null) { String refererAppPackage = context.getPackageName(); if (refererAppPackage != null) { refererAppLinkData...
public class class_name { private String parseHadoopOutputCommitter(Path fullPath, boolean addTaskIdCompositeName, String hostNameScheme) throws IOException { String path = fullPath.toString(); String noPrefix = path; if (path.startsWith(hostNameScheme)) { noPrefix = path.substring(hostNameSche...
public class class_name { private String parseHadoopOutputCommitter(Path fullPath, boolean addTaskIdCompositeName, String hostNameScheme) throws IOException { String path = fullPath.toString(); String noPrefix = path; if (path.startsWith(hostNameScheme)) { noPrefix = path.substring(hostNameSche...
public class class_name { public static boolean isCompatibleWithThrowsClause(Throwable ex, Class<?>[] declaredExceptions) { if (!isCheckedException(ex)) { return true; } if (declaredExceptions != null) { int i = 0; while (i < declaredExceptions.length) { ...
public class class_name { public static boolean isCompatibleWithThrowsClause(Throwable ex, Class<?>[] declaredExceptions) { if (!isCheckedException(ex)) { return true; // depends on control dependency: [if], data = [none] } if (declaredExceptions != null) { int i = 0; ...
public class class_name { private CmsObject getOnlineCmsObject(CmsObject cms) { CmsObject res = null; try { res = OpenCms.initCmsObject(cms); res.getRequestContext().setCurrentProject(cms.readProject(CmsProject.ONLINE_PROJECT_ID)); } catch (CmsException e) { ...
public class class_name { private CmsObject getOnlineCmsObject(CmsObject cms) { CmsObject res = null; try { res = OpenCms.initCmsObject(cms); // depends on control dependency: [try], data = [none] res.getRequestContext().setCurrentProject(cms.readProject(CmsProject.ONLINE_PROJE...
public class class_name { public void init() { // load the filter mappings (copy of the list in case add is called while we iterate) List fMappings = new ArrayList(webAppConfig.getFilterMappings()); // if the list isn't empty, show that this web app has filters if (!fMappings.isEmpty()...
public class class_name { public void init() { // load the filter mappings (copy of the list in case add is called while we iterate) List fMappings = new ArrayList(webAppConfig.getFilterMappings()); // if the list isn't empty, show that this web app has filters if (!fMappings.isEmpty()...
public class class_name { protected void initEventAdaptors() { if ( _implDecl == null || _implDecl.getMethods() == null ) return; for (MethodDeclaration implMethod : _implDecl.getMethods()) { // // Do a quick check for the presence of the EventHa...
public class class_name { protected void initEventAdaptors() { if ( _implDecl == null || _implDecl.getMethods() == null ) return; for (MethodDeclaration implMethod : _implDecl.getMethods()) { // // Do a quick check for the presence of the EventHa...
public class class_name { public String getQualifiedName() { if (prefixManager != null) { String shortName = prefixManager.getShortForm(getFullName()); if (shortName.startsWith(":")) { return shortName.substring(1, shortName.length()); } else { return shortName; } } else { return getFullName...
public class class_name { public String getQualifiedName() { if (prefixManager != null) { String shortName = prefixManager.getShortForm(getFullName()); if (shortName.startsWith(":")) { return shortName.substring(1, shortName.length()); // depends on control dependency: [if], data = [none] } else { r...
public class class_name { public void setLoggedOutIndicatorPattern(String loggedOutIndicatorPattern) { if (loggedOutIndicatorPattern == null || loggedOutIndicatorPattern.trim().length() == 0) { this.loggedOutIndicatorPattern = null; } else { this.loggedOutIndicatorPattern = Pattern.compile(loggedOutIndicator...
public class class_name { public void setLoggedOutIndicatorPattern(String loggedOutIndicatorPattern) { if (loggedOutIndicatorPattern == null || loggedOutIndicatorPattern.trim().length() == 0) { this.loggedOutIndicatorPattern = null; // depends on control dependency: [if], data = [none] } else { this.loggedOu...
public class class_name { private WyalFile.Stmt flatten(AssumptionSet assumptions) { WyalFile.Stmt result = flattenUpto(assumptions, null); if (result == null) { return new Expr.Constant(new Value.Bool(true)); } else { return result; } } }
public class class_name { private WyalFile.Stmt flatten(AssumptionSet assumptions) { WyalFile.Stmt result = flattenUpto(assumptions, null); if (result == null) { return new Expr.Constant(new Value.Bool(true)); // depends on control dependency: [if], data = [none] } else { return result; // depends on contr...
public class class_name { private boolean containsNull(Object[] arguments) { for (Object argument : arguments) { if (argument == null) { return true; } } return false; } }
public class class_name { private boolean containsNull(Object[] arguments) { for (Object argument : arguments) { if (argument == null) { return true; // depends on control dependency: [if], data = [none] } } return false; } }
public class class_name { private void initRestTemplate() { boolean isContainsConverter = false; for (HttpMessageConverter<?> httpMessageConverter : this.restTemplate.getMessageConverters()) { if (MappingJacksonRPC2HttpMessageConverter.class.isAssignableFrom(httpMessageConverter.getClass())) { isContainsCo...
public class class_name { private void initRestTemplate() { boolean isContainsConverter = false; for (HttpMessageConverter<?> httpMessageConverter : this.restTemplate.getMessageConverters()) { if (MappingJacksonRPC2HttpMessageConverter.class.isAssignableFrom(httpMessageConverter.getClass())) { isContainsCo...
public class class_name { public static void setOutputs(Message message, KnowledgeOperation operation, Map<String, Object> contextOverrides) { try { setOutputsOrFaults(message, operation.getOutputExpressionMappings(), contextOverrides, RESULT, false); } catch (Exception e) { set...
public class class_name { public static void setOutputs(Message message, KnowledgeOperation operation, Map<String, Object> contextOverrides) { try { setOutputsOrFaults(message, operation.getOutputExpressionMappings(), contextOverrides, RESULT, false); // depends on control dependency: [try], data =...
public class class_name { public static void clusterToBinary( List<List<Point2D_I32>> clusters , GrayU8 binary ) { ImageMiscOps.fill(binary, 0); for( List<Point2D_I32> l : clusters ) { for( Point2D_I32 p : l ) { binary.set(p.x,p.y,1); } } } }
public class class_name { public static void clusterToBinary( List<List<Point2D_I32>> clusters , GrayU8 binary ) { ImageMiscOps.fill(binary, 0); for( List<Point2D_I32> l : clusters ) { for( Point2D_I32 p : l ) { binary.set(p.x,p.y,1); // depends on control dependency: [for], data = [p] } ...
public class class_name { @Override public Event doExecute(final RequestContext requestContext) { val tgtId = WebUtils.getTicketGrantingTicketId(requestContext); if (StringUtils.isBlank(tgtId)) { return new Event(this, CasWebflowConstants.TRANSITION_ID_TGT_NOT_EXISTS); } ...
public class class_name { @Override public Event doExecute(final RequestContext requestContext) { val tgtId = WebUtils.getTicketGrantingTicketId(requestContext); if (StringUtils.isBlank(tgtId)) { return new Event(this, CasWebflowConstants.TRANSITION_ID_TGT_NOT_EXISTS); // depends on con...
public class class_name { @Override public Map<String, String> getMetadataMap() { String metadataNamespace = namespace + INSTANCE_METADATA_PREFIX + "."; Map<String, String> metadataMap = new LinkedHashMap<String, String>(); Configuration config = (Configuration) configInstance.getBackingCon...
public class class_name { @Override public Map<String, String> getMetadataMap() { String metadataNamespace = namespace + INSTANCE_METADATA_PREFIX + "."; Map<String, String> metadataMap = new LinkedHashMap<String, String>(); Configuration config = (Configuration) configInstance.getBackingCon...
public class class_name { protected void appendCopiesUntil(RoaringArray sourceArray, short stoppingKey) { int stopKey = Util.toIntUnsigned(stoppingKey); for (int i = 0; i < sourceArray.size; ++i) { if (Util.toIntUnsigned(sourceArray.keys[i]) >= stopKey) { break; } extendArray(1); ...
public class class_name { protected void appendCopiesUntil(RoaringArray sourceArray, short stoppingKey) { int stopKey = Util.toIntUnsigned(stoppingKey); for (int i = 0; i < sourceArray.size; ++i) { if (Util.toIntUnsigned(sourceArray.keys[i]) >= stopKey) { break; } extendArray(1); // d...
public class class_name { @Override public void ack(long batchId) { if (logger.isDebugEnabled() == true) { logger.debug("acked. taskIndex=" + this.taskIndex + ", batchId=" + batchId); } } }
public class class_name { @Override public void ack(long batchId) { if (logger.isDebugEnabled() == true) { logger.debug("acked. taskIndex=" + this.taskIndex + ", batchId=" + batchId); // depends on control dependency: [if], data = [none] } } }
public class class_name { public void setPluginList(Path src) { if (pluginList == null) { pluginList = src; } else { pluginList.append(src); } } }
public class class_name { public void setPluginList(Path src) { if (pluginList == null) { pluginList = src; // depends on control dependency: [if], data = [none] } else { pluginList.append(src); // depends on control dependency: [if], data = [none] } } }
public class class_name { public static String insert(final String str, final String given, final int begin, final int end) { if (begin < 1 || end > str.length() || end < begin) { return str; } return str.substring(0, begin - 1) + given + str.substring(end); } }
public class class_name { public static String insert(final String str, final String given, final int begin, final int end) { if (begin < 1 || end > str.length() || end < begin) { return str; } // depends on control dependency: [if], data = [none] return str.substring(0, begin - 1) + given + str.substring(end)...
public class class_name { public void concat(AbstractLinkedList<? extends E, ? extends T> other) { if (other.isEmpty()) { return; } if (isEmpty()) { head = other.head; last = other.last; } else { T otherHead = other.head; last...
public class class_name { public void concat(AbstractLinkedList<? extends E, ? extends T> other) { if (other.isEmpty()) { return; // depends on control dependency: [if], data = [none] } if (isEmpty()) { head = other.head; // depends on control dependency: [if], data = [...
public class class_name { public static LinePolar2D_F32 polar(List<Point2D_I32> points , int start , int length , LinePolar2D_F32 ret ) { if( ret == null ) ret = new LinePolar2D_F32(); int sumX = 0; int sumY = 0; final int N = length; for( int i = 0; i < N; i++ ) { Point2D_I32 p = points.get(start+i)...
public class class_name { public static LinePolar2D_F32 polar(List<Point2D_I32> points , int start , int length , LinePolar2D_F32 ret ) { if( ret == null ) ret = new LinePolar2D_F32(); int sumX = 0; int sumY = 0; final int N = length; for( int i = 0; i < N; i++ ) { Point2D_I32 p = points.get(start+i)...
public class class_name { @Override public void handle(T result, HttpResponse response) { String transitionHeader = response.getHeaders().get(Headers.IBM_TRANSITION); if (transitionHeader != null) { result.setTransitionDate(parseDate(transitionHeader)); String transition = p...
public class class_name { @Override public void handle(T result, HttpResponse response) { String transitionHeader = response.getHeaders().get(Headers.IBM_TRANSITION); if (transitionHeader != null) { result.setTransitionDate(parseDate(transitionHeader)); // depends on control dependency:...
public class class_name { private static String md5(byte[] buffer) { try { MessageDigest md = MessageDigest.getInstance("MD5"); md.update(buffer); byte[] digest = md.digest(); return new String(FlexBase64.encodeBytes(digest, 0, digest.length, false), StandardChar...
public class class_name { private static String md5(byte[] buffer) { try { MessageDigest md = MessageDigest.getInstance("MD5"); md.update(buffer); // depends on control dependency: [try], data = [none] byte[] digest = md.digest(); return new String(FlexBase64.enc...
public class class_name { public Node searchNode(Object key, EntityMetadata m, GraphDatabaseService graphDb, boolean skipProxy) { Node node = null; String idColumnName = ((AbstractAttribute) m.getIdAttribute()).getJPAColumnName(); final MetamodelImpl metaModel = (MetamodelImpl) kunderaMeta...
public class class_name { public Node searchNode(Object key, EntityMetadata m, GraphDatabaseService graphDb, boolean skipProxy) { Node node = null; String idColumnName = ((AbstractAttribute) m.getIdAttribute()).getJPAColumnName(); final MetamodelImpl metaModel = (MetamodelImpl) kunderaMeta...
public class class_name { public static Projection project(Projection... projection) { if (projection.length == 1) { return projection[0]; } else { Projection x = new Projection(true); for (Projection p : projection) { x.addToArray(p.toJson()); ...
public class class_name { public static Projection project(Projection... projection) { if (projection.length == 1) { return projection[0]; // depends on control dependency: [if], data = [none] } else { Projection x = new Projection(true); for (Projection p : projecti...
public class class_name { public void marshall(ReportTaskProgressRequest reportTaskProgressRequest, ProtocolMarshaller protocolMarshaller) { if (reportTaskProgressRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { proto...
public class class_name { public void marshall(ReportTaskProgressRequest reportTaskProgressRequest, ProtocolMarshaller protocolMarshaller) { if (reportTaskProgressRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { proto...
public class class_name { public JSONObject sameHqAddUrl(String url, HashMap<String, String> options) { AipRequest request = new AipRequest(); preOperation(request); request.addBody("url", url); if (options != null) { request.addBody(options); } requ...
public class class_name { public JSONObject sameHqAddUrl(String url, HashMap<String, String> options) { AipRequest request = new AipRequest(); preOperation(request); request.addBody("url", url); if (options != null) { request.addBody(options); // depends on control ...
public class class_name { public static SyntaxFactory getInstance() { if(SyntaxFactory.syntaxFactory == null) { SyntaxFactory.syntaxFactory = new SyntaxFactory(); } return SyntaxFactory.syntaxFactory; } }
public class class_name { public static SyntaxFactory getInstance() { if(SyntaxFactory.syntaxFactory == null) { SyntaxFactory.syntaxFactory = new SyntaxFactory(); // depends on control dependency: [if], data = [none] } return SyntaxFactory.syntaxFactory; } }
public class class_name { public ArrayList<String> getRows() { ArrayList<String> rows = new ArrayList<String>(); for (String row : rowLookup.keySet()) { HeaderInfo hi = rowLookup.get(row); if (!hi.isHide()) { rows.add(row); } } return rows; } }
public class class_name { public ArrayList<String> getRows() { ArrayList<String> rows = new ArrayList<String>(); for (String row : rowLookup.keySet()) { HeaderInfo hi = rowLookup.get(row); if (!hi.isHide()) { rows.add(row); // depends on control dependency: [if], data = [none] } } return rows; } ...
public class class_name { @Pure public DoubleProperty maxYProperty() { if (this.maxY == null) { this.maxY = new SimpleDoubleProperty(this, MathFXAttributeNames.MAXIMUM_Y) { @Override protected void invalidated() { final double currentMax = get(); final double currentMin = getMinY(); if (cu...
public class class_name { @Pure public DoubleProperty maxYProperty() { if (this.maxY == null) { this.maxY = new SimpleDoubleProperty(this, MathFXAttributeNames.MAXIMUM_Y) { @Override protected void invalidated() { final double currentMax = get(); final double currentMin = getMinY(); if (cu...
public class class_name { public void marshall(PutWebhookRequest putWebhookRequest, ProtocolMarshaller protocolMarshaller) { if (putWebhookRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(p...
public class class_name { public void marshall(PutWebhookRequest putWebhookRequest, ProtocolMarshaller protocolMarshaller) { if (putWebhookRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(p...
public class class_name { private void doSimpleMatching() { for (int i = 0; i < equalElements.size(); i++) { if (!alreadyMatched.get(i)) { List<Integer> equalTo = equalElements.get(i); if (equalTo.size() > 0) { List<Integer> equivalentElements = g...
public class class_name { private void doSimpleMatching() { for (int i = 0; i < equalElements.size(); i++) { if (!alreadyMatched.get(i)) { List<Integer> equalTo = equalElements.get(i); if (equalTo.size() > 0) { List<Integer> equivalentElements = g...
public class class_name { protected void layoutInline() { int x1 = fleft.getWidth(floatY) - floatXl; //available width with considering floats int x2 = fright.getWidth(floatY) - floatXr; if (x1 < 0) x1 = 0; if (x2 < 0) x2 = 0; int wlimit = getAvailableContentWidth(); ...
public class class_name { protected void layoutInline() { int x1 = fleft.getWidth(floatY) - floatXl; //available width with considering floats int x2 = fright.getWidth(floatY) - floatXr; if (x1 < 0) x1 = 0; if (x2 < 0) x2 = 0; int wlimit = getAvailableContentWidth(); ...
public class class_name { public static boolean respondsTo(Object object, String methodName) { MetaClass metaClass = DefaultGroovyMethods.getMetaClass(object); if (!metaClass.respondsTo(object, methodName).isEmpty()) { return true; } Map properties = DefaultGroovyMethod...
public class class_name { public static boolean respondsTo(Object object, String methodName) { MetaClass metaClass = DefaultGroovyMethods.getMetaClass(object); if (!metaClass.respondsTo(object, methodName).isEmpty()) { return true; // depends on control dependency: [if], data = [none] ...
public class class_name { private double getSurfaceSums4Sorting(int minEntries, int maxEntries, int[] entrySorting, int dim) { // avoid multiple MBR calculations by updating min/max-logs for the two // collections' bounds: // the first entries' maximum upper bounds double[] pqUBFirst = new double[dim]...
public class class_name { private double getSurfaceSums4Sorting(int minEntries, int maxEntries, int[] entrySorting, int dim) { // avoid multiple MBR calculations by updating min/max-logs for the two // collections' bounds: // the first entries' maximum upper bounds double[] pqUBFirst = new double[dim]...
public class class_name { protected LoopItem newTabContainer(final int tabIndex) { return new LoopItem(tabIndex) { /** The Constant serialVersionUID. */ private static final long serialVersionUID = 1L; /** * {@inheritDoc} */ @Override protected void onComponentTag(final ComponentTag tag) ...
public class class_name { protected LoopItem newTabContainer(final int tabIndex) { return new LoopItem(tabIndex) { /** The Constant serialVersionUID. */ private static final long serialVersionUID = 1L; /** * {@inheritDoc} */ @Override protected void onComponentTag(final ComponentTag tag) ...
public class class_name { protected void releaseResources() { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "releaseResources : State = " + stateStrs[state]); // If the state is not complete, then the ContainerTx should not // be cleared, and sho...
public class class_name { protected void releaseResources() { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "releaseResources : State = " + stateStrs[state]); // If the state is not complete, then the ContainerTx should not // be cleared, and sho...
public class class_name { public boolean inOrder() { SortedSet<Integer> prev = null; for (SortedSet<Integer> cell : cells) { if (prev == null) { prev = cell; } else { int first = cell.first(); int last = cell.last(); ...
public class class_name { public boolean inOrder() { SortedSet<Integer> prev = null; for (SortedSet<Integer> cell : cells) { if (prev == null) { prev = cell; // depends on control dependency: [if], data = [none] } else { int first = cell.first(); ...
public class class_name { private void broadcast() { try (LongStream events = eventStream()) { LongArrayList batch = new LongArrayList(batchSize); for (PrimitiveIterator.OfLong i = events.iterator(); i.hasNext();) { batch.add(i.nextLong()); if (batch.size() == batchSize) { rou...
public class class_name { private void broadcast() { try (LongStream events = eventStream()) { LongArrayList batch = new LongArrayList(batchSize); for (PrimitiveIterator.OfLong i = events.iterator(); i.hasNext();) { batch.add(i.nextLong()); // depends on control dependency: [for], data = [i] ...
public class class_name { public static List<TypePathEntry> getTypePathFromBinary(java.util.List<Integer> list) { ListBuffer<TypePathEntry> loc = new ListBuffer<>(); Iterator<Integer> iter = list.iterator(); while (iter.hasNext()) { Integer fst = iter.next(); Assert.chec...
public class class_name { public static List<TypePathEntry> getTypePathFromBinary(java.util.List<Integer> list) { ListBuffer<TypePathEntry> loc = new ListBuffer<>(); Iterator<Integer> iter = list.iterator(); while (iter.hasNext()) { Integer fst = iter.next(); Assert.chec...
public class class_name { protected static BoxCollaboration.Info create(BoxAPIConnection api, JsonObject accessibleBy, JsonObject item, BoxCollaboration.Role role, Boolean notify, Boolean canViewPath) { String queryString = ""; if (notify != null) { ...
public class class_name { protected static BoxCollaboration.Info create(BoxAPIConnection api, JsonObject accessibleBy, JsonObject item, BoxCollaboration.Role role, Boolean notify, Boolean canViewPath) { String queryString = ""; if (notify != null) { ...
public class class_name { boolean removeUntil(int index, boolean inclusive) { if (index >= 0) { boolean changed = false; PT startPoint = this.startingPoint; ST segment; int limit = index; if (inclusive) { ++limit; } for (int i = 0; i < limit; ++i) { segment = this.segmentList.remove(0); ...
public class class_name { boolean removeUntil(int index, boolean inclusive) { if (index >= 0) { boolean changed = false; PT startPoint = this.startingPoint; ST segment; int limit = index; if (inclusive) { ++limit; // depends on control dependency: [if], data = [none] } for (int i = 0; i < li...
public class class_name { public final void setLocation(String loc) { if (location == null && loc == null) { // no unnecessary property creation if everything is null return; } locationProperty().set(loc); } }
public class class_name { public final void setLocation(String loc) { if (location == null && loc == null) { // no unnecessary property creation if everything is null return; // depends on control dependency: [if], data = [none] } locationProperty().set(loc); } }
public class class_name { public ACallObjectExpStmIR consInstanceCallStm(STypeIR instanceType, String instanceName, String memberName, SExpIR... args) { AIdentifierVarExpIR instance = new AIdentifierVarExpIR(); instance.setName(instanceName); instance.setType(instanceType.clone()); instance.setIsLocal(true...
public class class_name { public ACallObjectExpStmIR consInstanceCallStm(STypeIR instanceType, String instanceName, String memberName, SExpIR... args) { AIdentifierVarExpIR instance = new AIdentifierVarExpIR(); instance.setName(instanceName); instance.setType(instanceType.clone()); instance.setIsLocal(true...
public class class_name { private void findDeploymentAddress(final String deploymentID, Handler<AsyncResult<String>> resultHandler) { context.execute(new Action<String>() { @Override public String perform() { synchronized (deployments) { JsonObject locatedInfo = null; Collec...
public class class_name { private void findDeploymentAddress(final String deploymentID, Handler<AsyncResult<String>> resultHandler) { context.execute(new Action<String>() { @Override public String perform() { synchronized (deployments) { JsonObject locatedInfo = null; Collec...
public class class_name { public ChartConfiguration<T> setSimpleTitle(String title) { if (title == null) { this.title = new Title(title); } else { this.title.setText(title); } return this; } }
public class class_name { public ChartConfiguration<T> setSimpleTitle(String title) { if (title == null) { this.title = new Title(title); // depends on control dependency: [if], data = [(title] } else { this.title.setText(title); // depends on control dependency: [if], data = [(title] } return this; } }
public class class_name { public ListAssessmentTemplatesResult withAssessmentTemplateArns(String... assessmentTemplateArns) { if (this.assessmentTemplateArns == null) { setAssessmentTemplateArns(new java.util.ArrayList<String>(assessmentTemplateArns.length)); } for (String ele : ass...
public class class_name { public ListAssessmentTemplatesResult withAssessmentTemplateArns(String... assessmentTemplateArns) { if (this.assessmentTemplateArns == null) { setAssessmentTemplateArns(new java.util.ArrayList<String>(assessmentTemplateArns.length)); // depends on control dependency: [if],...
public class class_name { public void marshall(UpdateProductRequest updateProductRequest, ProtocolMarshaller protocolMarshaller) { if (updateProductRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.m...
public class class_name { public void marshall(UpdateProductRequest updateProductRequest, ProtocolMarshaller protocolMarshaller) { if (updateProductRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.m...
public class class_name { private void maybeCollapseIntoForStatements(Node n, Node parent) { // Only SCRIPT, BLOCK, and LABELs can have FORs that can be collapsed into. // LABELs are not supported here. if (parent == null || !NodeUtil.isStatementBlock(parent)) { return; } // Is the current n...
public class class_name { private void maybeCollapseIntoForStatements(Node n, Node parent) { // Only SCRIPT, BLOCK, and LABELs can have FORs that can be collapsed into. // LABELs are not supported here. if (parent == null || !NodeUtil.isStatementBlock(parent)) { return; // depends on control dependen...
public class class_name { private String compXmlStringAt(byte[] arr, int strOff) { int strLen = arr[strOff + 1] << 8 & 0xff00 | arr[strOff] & 0xff; byte[] chars = new byte[strLen]; for (int ii = 0; ii < strLen; ii++) { chars[ii] = arr[strOff + 2 + ii * 2]; } return n...
public class class_name { private String compXmlStringAt(byte[] arr, int strOff) { int strLen = arr[strOff + 1] << 8 & 0xff00 | arr[strOff] & 0xff; byte[] chars = new byte[strLen]; for (int ii = 0; ii < strLen; ii++) { chars[ii] = arr[strOff + 2 + ii * 2]; // depends on control depe...
public class class_name { @Override public <T> Single<RestClientResponse<T>> request(HttpMethod method, String uri, Class<T> responseClass, Action1<RestClientRequest<T>> requestBuilder) { return Single.fromEmitter(emitter -> { final RestClientRequest<T> callbackRequest = restClient.request(meth...
public class class_name { @Override public <T> Single<RestClientResponse<T>> request(HttpMethod method, String uri, Class<T> responseClass, Action1<RestClientRequest<T>> requestBuilder) { return Single.fromEmitter(emitter -> { final RestClientRequest<T> callbackRequest = restClient.request(meth...
public class class_name { static <V> LookupProcessor create( ChronoElement<V> element, Map<V, String> resources ) { Map<V, String> map; Class<V> keyType = element.getType(); if (keyType.isEnum()) { if (resources.size() < keyType.getEnumConstants().length) { ...
public class class_name { static <V> LookupProcessor create( ChronoElement<V> element, Map<V, String> resources ) { Map<V, String> map; Class<V> keyType = element.getType(); if (keyType.isEnum()) { if (resources.size() < keyType.getEnumConstants().length) { ...
public class class_name { private CanInlineResult canInlineReferenceAsStatementBlock( Reference ref, Node fnNode, ImmutableSet<String> namesToAlias) { CallSiteType callSiteType = classifyCallSite(ref); if (callSiteType == CallSiteType.UNSUPPORTED) { return CanInlineResult.NO; } if (!allowD...
public class class_name { private CanInlineResult canInlineReferenceAsStatementBlock( Reference ref, Node fnNode, ImmutableSet<String> namesToAlias) { CallSiteType callSiteType = classifyCallSite(ref); if (callSiteType == CallSiteType.UNSUPPORTED) { return CanInlineResult.NO; // depends on control ...
public class class_name { public boolean load(GVRScene scene) { GVRAssetLoader loader = getGVRContext().getAssetLoader(); if (scene == null) { scene = getGVRContext().getMainScene(); } if (mReplaceScene) { loader.loadScene(getOwnerObject(), m...
public class class_name { public boolean load(GVRScene scene) { GVRAssetLoader loader = getGVRContext().getAssetLoader(); if (scene == null) { scene = getGVRContext().getMainScene(); // depends on control dependency: [if], data = [none] } if (mReplaceScene) ...
public class class_name { public static void wave(View[] layers, float scale, int duration, float offset) { int step = 0; for (View l : layers) { wave(l, scale, duration, ((float) 1 / layers.length) * step * offset); step++; } } }
public class class_name { public static void wave(View[] layers, float scale, int duration, float offset) { int step = 0; for (View l : layers) { wave(l, scale, duration, ((float) 1 / layers.length) * step * offset); // depends on control dependency: [for], data = [l] step++; /...
public class class_name { private String cloud_hgt2_meters(String height) { if (height.equals("999")) { return "30000"; } else { // $meters = 30 * $height ; return Integer.toString(30 * Integer.parseInt(height)); } } }
public class class_name { private String cloud_hgt2_meters(String height) { if (height.equals("999")) { return "30000"; // depends on control dependency: [if], data = [none] } else { // $meters = 30 * $height ; return Integer.toString(30 * Integer.parseInt(height)); // depends...
public class class_name { public void setAveragingPeriod(final int PERIOD) { if (null == averagingPeriod) { _averagingPeriod = PERIOD; movingAverage = new MovingAverage(PERIOD); // MAX 1000 values fireUpdateEvent(REDRAW_EVENT); } else { averagingPeriod...
public class class_name { public void setAveragingPeriod(final int PERIOD) { if (null == averagingPeriod) { _averagingPeriod = PERIOD; // depends on control dependency: [if], data = [none] movingAverage = new MovingAverage(PERIOD); // MAX 1000 values // depends on control dependency:...
public class class_name { public void goTo(final ContentScene contentScene) { Log.d(TAG, "Go to %s", contentScene.getName()); if (!goBackTo(contentScene)) { mContentSceneViewStack.push(contentScene); } executeHideShowCycle(contentScene); } }
public class class_name { public void goTo(final ContentScene contentScene) { Log.d(TAG, "Go to %s", contentScene.getName()); if (!goBackTo(contentScene)) { mContentSceneViewStack.push(contentScene); // depends on control dependency: [if], data = [none] } executeHideShowCy...
public class class_name { @Nullable public static String decode (@Nullable final String sValue) { if (sValue == null) return null; try { // try BCodec first return new RFC1522BCodec ().getDecoded (sValue); } catch (final DecodeException de) { // try QCodec next ...
public class class_name { @Nullable public static String decode (@Nullable final String sValue) { if (sValue == null) return null; try { // try BCodec first return new RFC1522BCodec ().getDecoded (sValue); // depends on control dependency: [try], data = [none] } catch (final ...
public class class_name { void putAnnotations(final int attributeNameIndex, final ByteVector output) { int attributeLength = 2; // For num_annotations. int numAnnotations = 0; AnnotationWriter annotationWriter = this; AnnotationWriter firstAnnotation = null; while (annotationWriter != null) { ...
public class class_name { void putAnnotations(final int attributeNameIndex, final ByteVector output) { int attributeLength = 2; // For num_annotations. int numAnnotations = 0; AnnotationWriter annotationWriter = this; AnnotationWriter firstAnnotation = null; while (annotationWriter != null) { ...
public class class_name { public static void flushAll(long now) { if (MetricsManager.instance != null) { MetricsManager.instance.metricsLoggers.values().forEach(MetricsManager::flushMetricsLogger); flushToServer(now); } } }
public class class_name { public static void flushAll(long now) { if (MetricsManager.instance != null) { MetricsManager.instance.metricsLoggers.values().forEach(MetricsManager::flushMetricsLogger); // depends on control dependency: [if], data = [none] flushToServer(now); // depends on c...
public class class_name { public int getOpcode(final int opcode) { if (opcode == Opcodes.IALOAD || opcode == Opcodes.IASTORE) { // the offset for IALOAD or IASTORE is in byte 1 of 'off' for // primitive types (buf == null) return opcode + (buf == null ? (off & 0xFF00) >> 8 :...
public class class_name { public int getOpcode(final int opcode) { if (opcode == Opcodes.IALOAD || opcode == Opcodes.IASTORE) { // the offset for IALOAD or IASTORE is in byte 1 of 'off' for // primitive types (buf == null) return opcode + (buf == null ? (off & 0xFF00) >> 8 :...
public class class_name { private ZapTable getTableExtension() { if (tableExt == null) { tableExt = new ZapTable() { private static final long serialVersionUID = 1L; @Override protected AutoScrollAction createAutoScrollAction() { return null; } }; tableExt.setAutoScrollOnNe...
public class class_name { private ZapTable getTableExtension() { if (tableExt == null) { tableExt = new ZapTable() { private static final long serialVersionUID = 1L; @Override protected AutoScrollAction createAutoScrollAction() { return null; } }; // depends on control depende...
public class class_name { private Page getTargetPage(String targetPath, InternalLinkResolverOptions options) { if (StringUtils.isEmpty(targetPath)) { return null; } // Rewrite target to current site context String rewrittenPath; if (options.isRewritePathToContext() && !useTargetContext(opti...
public class class_name { private Page getTargetPage(String targetPath, InternalLinkResolverOptions options) { if (StringUtils.isEmpty(targetPath)) { return null; // depends on control dependency: [if], data = [none] } // Rewrite target to current site context String rewrittenPath; if (opti...
public class class_name { public boolean selectItem(int dataIndex, boolean select) { Log.d(Log.SUBSYSTEM.LAYOUT, TAG, "selectItem [%d] select [%b]", dataIndex, select); if (dataIndex < 0 || dataIndex >= mContent.size()) { throw new IndexOutOfBoundsException("Selection index [" + dataIndex +...
public class class_name { public boolean selectItem(int dataIndex, boolean select) { Log.d(Log.SUBSYSTEM.LAYOUT, TAG, "selectItem [%d] select [%b]", dataIndex, select); if (dataIndex < 0 || dataIndex >= mContent.size()) { throw new IndexOutOfBoundsException("Selection index [" + dataIndex +...
public class class_name { public static boolean isWhitespace(CharSequence string) { if (string == null) { return true; } return StringUtil.trimToNull(string.toString()) == null; } }
public class class_name { public static boolean isWhitespace(CharSequence string) { if (string == null) { return true; // depends on control dependency: [if], data = [none] } return StringUtil.trimToNull(string.toString()) == null; } }
public class class_name { private static int _getDistance111 (@Nonnull final char [] aStr1, @Nonnegative final int nLen1, @Nonnull final char [] aStr2, @Nonnegative final int nLen2) { // previous cos...
public class class_name { private static int _getDistance111 (@Nonnull final char [] aStr1, @Nonnegative final int nLen1, @Nonnull final char [] aStr2, @Nonnegative final int nLen2) { // previous cos...
public class class_name { protected void notifyListenersDatabaseOpen(Collection<DatabaseListener> listeners, DatabaseServer databaseServer) throws DatabaseException { for (DatabaseListener databaseListener : listeners) { try { databaseListener.databaseOpen(databaseServer...
public class class_name { protected void notifyListenersDatabaseOpen(Collection<DatabaseListener> listeners, DatabaseServer databaseServer) throws DatabaseException { for (DatabaseListener databaseListener : listeners) { try { databaseListener.databaseOpen(databaseServer...
public class class_name { public ArrayList<String> getAllColumns() { ArrayList<String> columns = new ArrayList<String>(); for (String col : columnLookup.keySet()) { columns.add(col); } return columns; } }
public class class_name { public ArrayList<String> getAllColumns() { ArrayList<String> columns = new ArrayList<String>(); for (String col : columnLookup.keySet()) { columns.add(col); // depends on control dependency: [for], data = [col] } return columns; } }
public class class_name { public boolean contains(final float k) { int intKey = Float.floatToIntBits(k); if (intKey == 0) { return this.containsZero; } else { float[] key = this.key; int curr; int pos; if ((curr = Float.floatToIntBits(key[pos = MurmurHashUtil.fmix(intKey) & this.mask])) == 0) { ...
public class class_name { public boolean contains(final float k) { int intKey = Float.floatToIntBits(k); if (intKey == 0) { return this.containsZero; // depends on control dependency: [if], data = [none] } else { float[] key = this.key; int curr; int pos; if ((curr = Float.floatToIntBits(key[pos =...
public class class_name { @Descriptor("Send event admin messages") public void sendmessage(@Descriptor("sendmessage BUS [KEY=VALUE ]*") String... parameters) { assert parameters[0] != null; String bus = parameters[0]; Dictionary eventAdminPayload = new Hashtable(); for (String m : p...
public class class_name { @Descriptor("Send event admin messages") public void sendmessage(@Descriptor("sendmessage BUS [KEY=VALUE ]*") String... parameters) { assert parameters[0] != null; String bus = parameters[0]; Dictionary eventAdminPayload = new Hashtable(); for (String m : p...
public class class_name { public boolean checkForDangerousProps() { final Map<String, String> dangerousProps = new HashMap<>(); dangerousProps.put("ro.debuggable", "1"); dangerousProps.put("ro.secure", "0"); boolean result = false; String[] lines = propsReader(); if ...
public class class_name { public boolean checkForDangerousProps() { final Map<String, String> dangerousProps = new HashMap<>(); dangerousProps.put("ro.debuggable", "1"); dangerousProps.put("ro.secure", "0"); boolean result = false; String[] lines = propsReader(); if ...
public class class_name { static <T> T runWithRetries(Callable<T> callable) { // Use same backoff setting as abort, somewhat arbitrarily. Span span = tracer.getCurrentSpan(); ExponentialBackOff backOff = newBackOff(); Context context = Context.current(); int attempt = 0; while (true) { at...
public class class_name { static <T> T runWithRetries(Callable<T> callable) { // Use same backoff setting as abort, somewhat arbitrarily. Span span = tracer.getCurrentSpan(); ExponentialBackOff backOff = newBackOff(); Context context = Context.current(); int attempt = 0; while (true) { at...
public class class_name { public static int[] stride(INDArray arr, INDArrayIndex[] indexes, int... shape) { List<Integer> strides = new ArrayList<>(); int strideIndex = 0; //list of indexes to prepend to for new axes //if all is encountered List<Integer> prependNewAxes = new Arr...
public class class_name { public static int[] stride(INDArray arr, INDArrayIndex[] indexes, int... shape) { List<Integer> strides = new ArrayList<>(); int strideIndex = 0; //list of indexes to prepend to for new axes //if all is encountered List<Integer> prependNewAxes = new Arr...
public class class_name { private Object[] getTable() { expungeCount++; if (expungeCount >= MAX_EXPUNGE_COUNT) { forceWeak = this.size() > weakThreshold; expungeCount = 0; if (expungerUpdater.compareAndSet(this, 0, 1)) { ...
public class class_name { private Object[] getTable() { expungeCount++; if (expungeCount >= MAX_EXPUNGE_COUNT) { forceWeak = this.size() > weakThreshold; // depends on control dependency: [if], data = [none] expungeCount = 0; // depends on control dependency: ...
public class class_name { protected static <R extends AddressSection, S extends AddressSegment> R fastIncrement( R section, long increment, AddressCreator<?, R, ?, S> addrCreator, Supplier<R> lowerProducer, Supplier<R> upperProducer, Integer prefixLength) { if(increment >= 0) { BigInteger count...
public class class_name { protected static <R extends AddressSection, S extends AddressSegment> R fastIncrement( R section, long increment, AddressCreator<?, R, ?, S> addrCreator, Supplier<R> lowerProducer, Supplier<R> upperProducer, Integer prefixLength) { if(increment >= 0) { BigInteger count...
public class class_name { public static IReaction getReactionByReactionID(IReactionSet reactionSet, String id) { Iterable<IReaction> reactionIter = reactionSet.reactions(); for (IReaction reaction : reactionIter) { if (reaction.getID() != null && reaction.getID().equals(id)) { ...
public class class_name { public static IReaction getReactionByReactionID(IReactionSet reactionSet, String id) { Iterable<IReaction> reactionIter = reactionSet.reactions(); for (IReaction reaction : reactionIter) { if (reaction.getID() != null && reaction.getID().equals(id)) { ...
public class class_name { public <A> List<A> addToBatchGetKeys(Class<A> klass){ this.addToBatch(); if (this.currentBatchRecords == 0) { return this.connection.getKeys(klass); } else { return Collections.emptyList(); } } }
public class class_name { public <A> List<A> addToBatchGetKeys(Class<A> klass){ this.addToBatch(); if (this.currentBatchRecords == 0) { return this.connection.getKeys(klass); // depends on control dependency: [if], data = [none] } else { return Collections.emptyList(); ...
public class class_name { protected Stylesheet resolve(String sheet) { try { sheet = sheet.replace("\\", "/"); if (!sheet.endsWith(".scss")) { sheet += ".scss"; } try (InputStream is = resolveIntoStream(sheet)) { if (is == null) {...
public class class_name { protected Stylesheet resolve(String sheet) { try { sheet = sheet.replace("\\", "/"); // depends on control dependency: [try], data = [none] if (!sheet.endsWith(".scss")) { sheet += ".scss"; // depends on control dependency: [if], data = [none] ...
public class class_name { @Private @Override public void threwException(final int taskletId, final Exception exception) { try { failedTasklets(exception, Collections.singletonList(taskletId)); } catch (final InterruptedException e) { throw new RuntimeException(e); } } }
public class class_name { @Private @Override public void threwException(final int taskletId, final Exception exception) { try { failedTasklets(exception, Collections.singletonList(taskletId)); // depends on control dependency: [try], data = [exception] } catch (final InterruptedException e) { t...