code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { private static int checkWildCard(final SearchableString value, final Literal suffix, final int start) { for (final int index : value.getIndices(suffix)) { if (index >= start) { return index; } } return -1; } }
public class class_name { private static int checkWildCard(final SearchableString value, final Literal suffix, final int start) { for (final int index : value.getIndices(suffix)) { if (index >= start) { return index; // depends on control dependency: [if], data = [none] ...
public class class_name { private long[] determinePreferenceVector(Relation<V> relation, DBIDRef id, DBIDs neighborIDs) { NumberVector p = relation.get(id); // variances final int size = neighborIDs.size(), dim = p.getDimensionality(); double[] sumsq = new double[dim]; for(DBIDIter iter = neighborI...
public class class_name { private long[] determinePreferenceVector(Relation<V> relation, DBIDRef id, DBIDs neighborIDs) { NumberVector p = relation.get(id); // variances final int size = neighborIDs.size(), dim = p.getDimensionality(); double[] sumsq = new double[dim]; for(DBIDIter iter = neighborI...
public class class_name { public void introduceServiceToTransports(Iterator<? extends BindingDescriptorRegistrationListener> transports) { while (transports.hasNext()) { BindingDescriptorRegistrationListener t = transports.next(); boolean eventTransport = t instanceof EventTransport; ...
public class class_name { public void introduceServiceToTransports(Iterator<? extends BindingDescriptorRegistrationListener> transports) { while (transports.hasNext()) { BindingDescriptorRegistrationListener t = transports.next(); boolean eventTransport = t instanceof EventTransport; ...
public class class_name { public static String encodeReserved(String value, FragmentType type, Charset charset) { /* value is encoded, we need to split it up and skip the parts that are already encoded */ Matcher matcher = PCT_ENCODED_PATTERN.matcher(value); if (!matcher.find()) { return encodeChunk...
public class class_name { public static String encodeReserved(String value, FragmentType type, Charset charset) { /* value is encoded, we need to split it up and skip the parts that are already encoded */ Matcher matcher = PCT_ENCODED_PATTERN.matcher(value); if (!matcher.find()) { return encodeChunk...
public class class_name { public SignUpRequest withValidationData(AttributeType... validationData) { if (this.validationData == null) { setValidationData(new java.util.ArrayList<AttributeType>(validationData.length)); } for (AttributeType ele : validationData) { this.val...
public class class_name { public SignUpRequest withValidationData(AttributeType... validationData) { if (this.validationData == null) { setValidationData(new java.util.ArrayList<AttributeType>(validationData.length)); // depends on control dependency: [if], data = [none] } for (Attr...
public class class_name { public static List<Document> convert2DocumentList(String folderPath, boolean verbose) { long start = System.currentTimeMillis(); List<File> fileList = IOUtil.fileList(folderPath); List<Document> documentList = new LinkedList<Document>(); int i = 0; ...
public class class_name { public static List<Document> convert2DocumentList(String folderPath, boolean verbose) { long start = System.currentTimeMillis(); List<File> fileList = IOUtil.fileList(folderPath); List<Document> documentList = new LinkedList<Document>(); int i = 0; ...
public class class_name { public HttpUrl url() { HttpUrl.Builder urlBuilder = HttpUrl.parse(baseUrl()).newBuilder() .addPathSegment("styles") .addPathSegment("v1") .addPathSegment(user()) .addPathSegment(styleId()) .addPathSegment("static") .addQueryParameter("access_token", acc...
public class class_name { public HttpUrl url() { HttpUrl.Builder urlBuilder = HttpUrl.parse(baseUrl()).newBuilder() .addPathSegment("styles") .addPathSegment("v1") .addPathSegment(user()) .addPathSegment(styleId()) .addPathSegment("static") .addQueryParameter("access_token", acc...
public class class_name { public static List<LatLonPointNoNormalize> connectLatLonPoints(List<LatLonPoint> points) { LinkedList<LatLonPointNoNormalize> connectedPoints = new LinkedList<>(); for (LatLonPoint point : points) { double curLat = point.getLatitude(); double curLon = point.getLongitude()...
public class class_name { public static List<LatLonPointNoNormalize> connectLatLonPoints(List<LatLonPoint> points) { LinkedList<LatLonPointNoNormalize> connectedPoints = new LinkedList<>(); for (LatLonPoint point : points) { double curLat = point.getLatitude(); double curLon = point.getLongitude()...
public class class_name { public static <S extends Storable> OrderingList<S> get(OrderedProperty<S>... orderings) { OrderingList<S> list = emptyList(); if (orderings != null && orderings.length > 0) { for (OrderedProperty<S> property : orderings) { list = list.concat(pro...
public class class_name { public static <S extends Storable> OrderingList<S> get(OrderedProperty<S>... orderings) { OrderingList<S> list = emptyList(); if (orderings != null && orderings.length > 0) { for (OrderedProperty<S> property : orderings) { list = list.concat(pro...
public class class_name { public static boolean sameSubject(SubjectNode s1, String s2) { if (s1 instanceof URIReference) { return sameResource((URIReference) s1, s2); } else { return false; } } }
public class class_name { public static boolean sameSubject(SubjectNode s1, String s2) { if (s1 instanceof URIReference) { return sameResource((URIReference) s1, s2); // depends on control dependency: [if], data = [none] } else { return false; // depends on control dependency: [...
public class class_name { @Nullable private Map<String, Set<String>> getConstrainingInfo(JavaClass cls, Method m) throws ClassNotFoundException { String methodName = m.getName(); String methodSig = m.getSignature(); { // First look for the method in interfaces of the class ...
public class class_name { @Nullable private Map<String, Set<String>> getConstrainingInfo(JavaClass cls, Method m) throws ClassNotFoundException { String methodName = m.getName(); String methodSig = m.getSignature(); { // First look for the method in interfaces of the class ...
public class class_name { private <T> SwingWorker<T,T> studioProcess(final int timeout, final Callable<T> c, final UnaryFunction<Callable<T>,T> f) { final Callable<T> cw = new Callable<T>() { public T call() { final FutureTask<T> t = new FutureTask<T>(c); try { ...
public class class_name { private <T> SwingWorker<T,T> studioProcess(final int timeout, final Callable<T> c, final UnaryFunction<Callable<T>,T> f) { final Callable<T> cw = new Callable<T>() { public T call() { final FutureTask<T> t = new FutureTask<T>(c); try { ...
public class class_name { static void apply(final String patchId, final Collection<ContentModification> modifications, final PatchEntry patchEntry, final ContentItemFilter filter) { for (final ContentModification modification : modifications) { final ContentItem item = modification.getItem(); ...
public class class_name { static void apply(final String patchId, final Collection<ContentModification> modifications, final PatchEntry patchEntry, final ContentItemFilter filter) { for (final ContentModification modification : modifications) { final ContentItem item = modification.getItem(); ...
public class class_name { private void addParallaxView(View view, int pageIndex) { if (view instanceof ViewGroup) { // recurse children ViewGroup viewGroup = (ViewGroup) view; for (int i = 0, childCount = viewGroup.getChildCount(); i < childCount; i++) { addParallaxView(viewGroup.getChild...
public class class_name { private void addParallaxView(View view, int pageIndex) { if (view instanceof ViewGroup) { // recurse children ViewGroup viewGroup = (ViewGroup) view; for (int i = 0, childCount = viewGroup.getChildCount(); i < childCount; i++) { addParallaxView(viewGroup.getChild...
public class class_name { private VarSymbol getDefinedSerializableFields(ClassSymbol def) { Names names = def.name.table.names; /* SERIALIZABLE_FIELDS can be private, * so must lookup by ClassSymbol, not by ClassDocImpl. */ for (Symbol sym : def.members().getSymbolsByName(nam...
public class class_name { private VarSymbol getDefinedSerializableFields(ClassSymbol def) { Names names = def.name.table.names; /* SERIALIZABLE_FIELDS can be private, * so must lookup by ClassSymbol, not by ClassDocImpl. */ for (Symbol sym : def.members().getSymbolsByName(nam...
public class class_name { protected String processFileName(String name) { int pos = name.lastIndexOf("/"); if (pos >= 0) { name = name.substring(pos + 1); } pos = name.lastIndexOf("\\"); if (pos >= 0) { name = name.substring(pos + 1); } r...
public class class_name { protected String processFileName(String name) { int pos = name.lastIndexOf("/"); if (pos >= 0) { name = name.substring(pos + 1); // depends on control dependency: [if], data = [(pos] } pos = name.lastIndexOf("\\"); if (pos >= 0) { ...
public class class_name { public static <K, T extends ScheduledTask<K>> TaskScheduler<K, T> get(TaskSchedulerType type, Optional<String> name) { try { TaskScheduler<K, T> taskScheduler = type.getTaskSchedulerClass().newInstance(); taskScheduler.start(name); return taskScheduler; } catch (Inst...
public class class_name { public static <K, T extends ScheduledTask<K>> TaskScheduler<K, T> get(TaskSchedulerType type, Optional<String> name) { try { TaskScheduler<K, T> taskScheduler = type.getTaskSchedulerClass().newInstance(); taskScheduler.start(name); // depends on control dependency: [try], data...
public class class_name { private void buildJoinTreeForColumn(String aColName, boolean useOuterJoin, UserAlias aUserAlias, Map pathClasses) { String pathName = SqlHelper.cleanPath(aColName); int sepPos = pathName.lastIndexOf("."); if (sepPos >= 0) { getTableAlias(pathName.substring(0, sepPos), useO...
public class class_name { private void buildJoinTreeForColumn(String aColName, boolean useOuterJoin, UserAlias aUserAlias, Map pathClasses) { String pathName = SqlHelper.cleanPath(aColName); int sepPos = pathName.lastIndexOf("."); if (sepPos >= 0) { getTableAlias(pathName.substring(0, sepPos), useO...
public class class_name { private static byte[] manifestKeyToBytes(final String key) { final byte[] bytes = new byte[key.length()]; for (int i = 0; i < key.length(); i++) { bytes[i] = (byte) Character.toLowerCase(key.charAt(i)); } return bytes; } }
public class class_name { private static byte[] manifestKeyToBytes(final String key) { final byte[] bytes = new byte[key.length()]; for (int i = 0; i < key.length(); i++) { bytes[i] = (byte) Character.toLowerCase(key.charAt(i)); // depends on control dependency: [for], data = [i] } ...
public class class_name { private void initReporter() { String reporterType = System.getProperty("net.spy.metrics.reporter.type", DEFAULT_REPORTER_TYPE); String reporterInterval = System.getProperty("net.spy.metrics.reporter.interval", DEFAULT_REPORTER_INTERVAL); String reporterDir = Syst...
public class class_name { private void initReporter() { String reporterType = System.getProperty("net.spy.metrics.reporter.type", DEFAULT_REPORTER_TYPE); String reporterInterval = System.getProperty("net.spy.metrics.reporter.interval", DEFAULT_REPORTER_INTERVAL); String reporterDir = Syst...
public class class_name { private void addSource(Object entity, Map<String, Object> values, EntityType entityType) { Set<Attribute> attributes = entityType.getAttributes(); for (Attribute attrib : attributes) { if (!attrib.isAssociation()) { Object va...
public class class_name { private void addSource(Object entity, Map<String, Object> values, EntityType entityType) { Set<Attribute> attributes = entityType.getAttributes(); for (Attribute attrib : attributes) { if (!attrib.isAssociation()) { Object va...
public class class_name { public <T> void set(ElementDescriptor<T> property, T value) { if (mSet == null) { mSet = new HashMap<ElementDescriptor<?>, Object>(16); } mSet.put(property, value); if (mRemove != null) { mRemove.remove(property); } } }
public class class_name { public <T> void set(ElementDescriptor<T> property, T value) { if (mSet == null) { mSet = new HashMap<ElementDescriptor<?>, Object>(16); // depends on control dependency: [if], data = [none] } mSet.put(property, value); if (mRemove != null) { mRemove.remove(property); // de...
public class class_name { public boolean doCommand(String strCommand, ScreenField sourceSField, int iCommandOptions) { if (MenuConstants.LOGIN.equalsIgnoreCase(strCommand)) { Task task = this.getTask(); if (task != null) { String strUserName = thi...
public class class_name { public boolean doCommand(String strCommand, ScreenField sourceSField, int iCommandOptions) { if (MenuConstants.LOGIN.equalsIgnoreCase(strCommand)) { Task task = this.getTask(); if (task != null) { String strUserName = thi...
public class class_name { private void encodeBytesBody(StringBuffer result, JsJmsBytesMessage msg) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "encodeBytesBody"); byte[] body = msg.getBytes(); if (body != null) { result.append('~'); HexString.binToHex(body...
public class class_name { private void encodeBytesBody(StringBuffer result, JsJmsBytesMessage msg) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "encodeBytesBody"); byte[] body = msg.getBytes(); if (body != null) { result.append('~'); // depends on control depende...
public class class_name { public void marshall(HealthCheckCustomConfig healthCheckCustomConfig, ProtocolMarshaller protocolMarshaller) { if (healthCheckCustomConfig == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMar...
public class class_name { public void marshall(HealthCheckCustomConfig healthCheckCustomConfig, ProtocolMarshaller protocolMarshaller) { if (healthCheckCustomConfig == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMar...
public class class_name { public void prune() { if (children != null) { List<String> removeList = new ArrayList<String>(); for (Entry<String, DepTreeNode> entry : children.entrySet()) { DepTreeNode child = entry.getValue(); child.prune(); if ((child.defineDependencies == null && child.require...
public class class_name { public void prune() { if (children != null) { List<String> removeList = new ArrayList<String>(); for (Entry<String, DepTreeNode> entry : children.entrySet()) { DepTreeNode child = entry.getValue(); child.prune(); // depends on control dependency: [for], data = [none] ...
public class class_name { public Map<String, DesignDocument.View> generateViews( final Object repository) { final Map<String, DesignDocument.View> views = new HashMap<String, DesignDocument.View>(); final Class<?> repositoryClass = repository.getClass(); final Class<?> handledType = repository instanceof Cou...
public class class_name { public Map<String, DesignDocument.View> generateViews( final Object repository) { final Map<String, DesignDocument.View> views = new HashMap<String, DesignDocument.View>(); final Class<?> repositoryClass = repository.getClass(); final Class<?> handledType = repository instanceof Cou...
public class class_name { @Override public boolean dispatchTouchEvent(MotionEvent ev) { int action = MotionEventCompat.getActionMasked(ev); if (stopScrollWhenTouch) { if ((action == MotionEvent.ACTION_DOWN) && isAutoScroll) { isStopByTouch = true; stopAu...
public class class_name { @Override public boolean dispatchTouchEvent(MotionEvent ev) { int action = MotionEventCompat.getActionMasked(ev); if (stopScrollWhenTouch) { if ((action == MotionEvent.ACTION_DOWN) && isAutoScroll) { isStopByTouch = true; // depends on control ...
public class class_name { public static List<Field> getAllFields(List<Field> fields, Class<?> clazz) { for (Field field : clazz.getDeclaredFields()) { fields.add(field); } if (clazz.getSuperclass() != null) { fields = getAllFields(fields, clazz.getSuperclass()); } return fie...
public class class_name { public static List<Field> getAllFields(List<Field> fields, Class<?> clazz) { for (Field field : clazz.getDeclaredFields()) { fields.add(field); // depends on control dependency: [for], data = [field] } if (clazz.getSuperclass() != null) { fields = getAllFiel...
public class class_name { private static Map<String, Method> getAllMethod(Class<?> clazz, Map<String, Method> methods) { if (clazz == null || clazz == Object.class) { return methods; } Arrays.stream(clazz.getDeclaredMethods()).forEach(method -> { String key = String.for...
public class class_name { private static Map<String, Method> getAllMethod(Class<?> clazz, Map<String, Method> methods) { if (clazz == null || clazz == Object.class) { return methods; // depends on control dependency: [if], data = [none] } Arrays.stream(clazz.getDeclaredMethods()).f...
public class class_name { public static String trimLeft(String str) { int start = 0; for (char c : str.toCharArray()) { if (c != ' ') { break; } start++; } return str.substring(start); } }
public class class_name { public static String trimLeft(String str) { int start = 0; for (char c : str.toCharArray()) { if (c != ' ') { break; } start++; // depends on control dependency: [for], data = [none] } return str.substring(start); } }
public class class_name { public ListWebsiteCertificateAuthoritiesResult withWebsiteCertificateAuthorities(WebsiteCaSummary... websiteCertificateAuthorities) { if (this.websiteCertificateAuthorities == null) { setWebsiteCertificateAuthorities(new java.util.ArrayList<WebsiteCaSummary>(websiteCertifi...
public class class_name { public ListWebsiteCertificateAuthoritiesResult withWebsiteCertificateAuthorities(WebsiteCaSummary... websiteCertificateAuthorities) { if (this.websiteCertificateAuthorities == null) { setWebsiteCertificateAuthorities(new java.util.ArrayList<WebsiteCaSummary>(websiteCertifi...
public class class_name { static String expandUriComponent(String source, UriTemplateVariables uriVariables) { if (source == null) { return null; } if (source.indexOf('{') == -1) { return source; } Matcher matcher = NAMES_PATTERN.matcher(source); StringBuffer sb = new StringBuffer(); while (matcher...
public class class_name { static String expandUriComponent(String source, UriTemplateVariables uriVariables) { if (source == null) { return null; // depends on control dependency: [if], data = [none] } if (source.indexOf('{') == -1) { return source; // depends on control dependency: [if], data = [none] }...
public class class_name { protected final Channel fakeChannel() { if (channel == null) { channel = new FakeChannel(eventLoop(), alloc(), remoteAddress(), localAddress()); } return channel; } }
public class class_name { protected final Channel fakeChannel() { if (channel == null) { channel = new FakeChannel(eventLoop(), alloc(), remoteAddress(), localAddress()); // depends on control dependency: [if], data = [none] } return channel; } }
public class class_name { public void exists(String tableName, String columnName, boolean ignoreCase) throws SQLException { if (tableName == null) throw new SQLException("TableName was null. You must specify a valid table name."); if (columnName == null) throw new SQLException("Column name was null. You must...
public class class_name { public void exists(String tableName, String columnName, boolean ignoreCase) throws SQLException { if (tableName == null) throw new SQLException("TableName was null. You must specify a valid table name."); if (columnName == null) throw new SQLException("Column name was null. You must...
public class class_name { private void ensureNodeVisible(TreePath nodePath) { Rectangle bounds = getTreeParam().getPathBounds(nodePath); if (!getTreeParam().getVisibleRect().contains(bounds)) { // Just do vertical scrolling. bounds.x = 0; getTreeParam().scrollRe...
public class class_name { private void ensureNodeVisible(TreePath nodePath) { Rectangle bounds = getTreeParam().getPathBounds(nodePath); if (!getTreeParam().getVisibleRect().contains(bounds)) { // Just do vertical scrolling. bounds.x = 0; // depends on control dependency: [...
public class class_name { void submitForm(CmsForm formParam, final Map<String, String> fieldValues, Set<String> editedFields) { String modelGroupId = null; if (CmsInheritanceContainerEditor.getInstance() != null) { CmsInheritanceContainerEditor.getInstance().onSettingsEdited(); } ...
public class class_name { void submitForm(CmsForm formParam, final Map<String, String> fieldValues, Set<String> editedFields) { String modelGroupId = null; if (CmsInheritanceContainerEditor.getInstance() != null) { CmsInheritanceContainerEditor.getInstance().onSettingsEdited(); // depends...
public class class_name { public void marshall(GeoMatchSetSummary geoMatchSetSummary, ProtocolMarshaller protocolMarshaller) { if (geoMatchSetSummary == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshal...
public class class_name { public void marshall(GeoMatchSetSummary geoMatchSetSummary, ProtocolMarshaller protocolMarshaller) { if (geoMatchSetSummary == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshal...
public class class_name { public static String extractAccessKey(HttpServletRequest request) { if (request == null) { return ""; } String accessKey = ""; String auth = request.getHeader(HttpHeaders.AUTHORIZATION); boolean isAnonymousRequest = isAnonymousRequest(request); if (StringUtils.isBlank(auth)) { ...
public class class_name { public static String extractAccessKey(HttpServletRequest request) { if (request == null) { return ""; // depends on control dependency: [if], data = [none] } String accessKey = ""; String auth = request.getHeader(HttpHeaders.AUTHORIZATION); boolean isAnonymousRequest = isAnonymou...
public class class_name { @Override public void deliver(Postcard postcard) { final SMailPostingMessage message = createMailMessage(postcard); if (isCancel(postcard)) { return; // no logging here, only filter knows the reason } prepareAddress(postcard, message); p...
public class class_name { @Override public void deliver(Postcard postcard) { final SMailPostingMessage message = createMailMessage(postcard); if (isCancel(postcard)) { return; // no logging here, only filter knows the reason // depends on control dependency: [if], data = [none] ...
public class class_name { private void drawPEHeaders() { long msdosOffset = 0; long msdosSize = withMinLength(data.getMSDOSHeader().getHeaderSize()); drawPixels(colorMap.get(MSDOS_HEADER), msdosOffset, msdosSize); long optOffset = data.getOptionalHeader().getOffset(); long optSize = withMinLength(data.getOp...
public class class_name { private void drawPEHeaders() { long msdosOffset = 0; long msdosSize = withMinLength(data.getMSDOSHeader().getHeaderSize()); drawPixels(colorMap.get(MSDOS_HEADER), msdosOffset, msdosSize); long optOffset = data.getOptionalHeader().getOffset(); long optSize = withMinLength(data.getOp...
public class class_name { public ProvenancedConfusionMatrix<CellFiller> filteredCopy(Predicate<CellFiller> predicate) { final ImmutableTable.Builder<Symbol, Symbol, List<CellFiller>> newTable = ImmutableTable.builder(); for (final Cell<Symbol, Symbol, List<CellFiller>> curCell : table.cellSet()) { ...
public class class_name { public ProvenancedConfusionMatrix<CellFiller> filteredCopy(Predicate<CellFiller> predicate) { final ImmutableTable.Builder<Symbol, Symbol, List<CellFiller>> newTable = ImmutableTable.builder(); for (final Cell<Symbol, Symbol, List<CellFiller>> curCell : table.cellSet()) { ...
public class class_name { private void evict(Node candidate) { if (data.size() > maximumSize) { Node evict; Node victim = head.next; if (admittor.admit(candidate.key, victim.key)) { evict = victim; } else if (adapt(candidate)) { evict = victim; } else { evict =...
public class class_name { private void evict(Node candidate) { if (data.size() > maximumSize) { Node evict; Node victim = head.next; if (admittor.admit(candidate.key, victim.key)) { evict = victim; // depends on control dependency: [if], data = [none] } else if (adapt(candidate)) { ...
public class class_name { public void addComponentInterceptors(List<InterceptorFactory> factory, int priority, boolean publicOnly) { for (Method method : (Iterable<Method>)classIndex.getClassMethods()) { if (publicOnly && !Modifier.isPublic(method.getModifiers())) { continue; ...
public class class_name { public void addComponentInterceptors(List<InterceptorFactory> factory, int priority, boolean publicOnly) { for (Method method : (Iterable<Method>)classIndex.getClassMethods()) { if (publicOnly && !Modifier.isPublic(method.getModifiers())) { continue; ...
public class class_name { @Nonnull public static EChange setAll (final boolean bResponseCompressionEnabled, final boolean bResponseGzipEnabled, final boolean bResponseDeflateEnabled) { return s_aRWLock.writeLocked ( () -> { EChange eChange =...
public class class_name { @Nonnull public static EChange setAll (final boolean bResponseCompressionEnabled, final boolean bResponseGzipEnabled, final boolean bResponseDeflateEnabled) { return s_aRWLock.writeLocked ( () -> { EChange eChange =...
public class class_name { private void subset(RuntimeSubexpression sub, int begin, int end) { int n = sub.number; assert n > 0; while (match.size() < (n + 1)) { match.add(null); } match.set(n, new RegMatch(begin, end)); } }
public class class_name { private void subset(RuntimeSubexpression sub, int begin, int end) { int n = sub.number; assert n > 0; while (match.size() < (n + 1)) { match.add(null); // depends on control dependency: [while], data = [none] } match.set(n, new RegMatch(b...
public class class_name { public void invalidate(String id) { if(lur instanceof EpiLur) { ((EpiLur)lur).remove(id); } else if(lur instanceof CachingLur) { ((CachingLur<?>)lur).remove(id); } } }
public class class_name { public void invalidate(String id) { if(lur instanceof EpiLur) { ((EpiLur)lur).remove(id); // depends on control dependency: [if], data = [none] } else if(lur instanceof CachingLur) { ((CachingLur<?>)lur).remove(id); // depends on control dependency: [if], data = [none] } } }
public class class_name { protected StateHelper getStateHelper(boolean create) { if (_stateHelper != null) { return _stateHelper; } if (create) { _stateHelper = new _DeltaStateHelper(this); } return _stateHelper; } }
public class class_name { protected StateHelper getStateHelper(boolean create) { if (_stateHelper != null) { return _stateHelper; // depends on control dependency: [if], data = [none] } if (create) { _stateHelper = new _DeltaStateHelper(this); // depe...
public class class_name { public void closeConnection(String id){ JSONObject packet = new JSONObject(); try { if (!this.peers.containsKey(id)) return; PnPeer peer = this.peers.get(id); peer.hangup(); packet.put(PnRTCMessage.JSON_HANGUP, true); ...
public class class_name { public void closeConnection(String id){ JSONObject packet = new JSONObject(); try { if (!this.peers.containsKey(id)) return; PnPeer peer = this.peers.get(id); peer.hangup(); // depends on control dependency: [try], data = [none] ...
public class class_name { public static INDArray max(INDArray x, INDArray y, INDArray z, int... dimensions) { if(dimensions == null || dimensions.length == 0) { validateShapesNoDimCase(x,y,z); return Nd4j.getExecutioner().exec(new OldMax(x,y,z)); } return Nd4j.getExecu...
public class class_name { public static INDArray max(INDArray x, INDArray y, INDArray z, int... dimensions) { if(dimensions == null || dimensions.length == 0) { validateShapesNoDimCase(x,y,z); // depends on control dependency: [if], data = [none] return Nd4j.getExecutioner().exec(new Ol...
public class class_name { private static boolean isArrayFromUbiquitousMethod(OpcodeStack.Item item) { XMethod method = item.getReturnValueOf(); if (method == null) { return false; } FQMethod methodDesc = new FQMethod(method.getClassName().replace('.', '/'), method.getName()...
public class class_name { private static boolean isArrayFromUbiquitousMethod(OpcodeStack.Item item) { XMethod method = item.getReturnValueOf(); if (method == null) { return false; // depends on control dependency: [if], data = [none] } FQMethod methodDesc = new FQMethod(met...
public class class_name { private void addText(TextCursor cursor, int limit, ArrayList<MDText> elements) { if (cursor.currentOffset < limit) { elements.add(new MDRawText(cursor.text.substring(cursor.currentOffset, limit))); cursor.currentOffset = limit; } } }
public class class_name { private void addText(TextCursor cursor, int limit, ArrayList<MDText> elements) { if (cursor.currentOffset < limit) { elements.add(new MDRawText(cursor.text.substring(cursor.currentOffset, limit))); // depends on control dependency: [if], data = [(cursor.currentOffset] ...
public class class_name { public static void sleepUninterruptibly(final long timeoutInMillis) { if (timeoutInMillis <= 0) { return; } boolean interrupted = false; try { long remainingNanos = TimeUnit.MILLISECONDS.toNanos(timeoutInMillis); f...
public class class_name { public static void sleepUninterruptibly(final long timeoutInMillis) { if (timeoutInMillis <= 0) { return; // depends on control dependency: [if], data = [none] } boolean interrupted = false; try { long remainingNanos = TimeUnit...
public class class_name { public long getMillisecondsFromId(final Object id, final long offset) { if (id instanceof String && id.toString().length() >= MAX_LONG_ALPHANUMERIC_VALUE_LENGTH) { final char[] buffer = new char[MAX_LONG_ALPHANUMERIC_VALUE_LENGTH]; System.arraycopy( ...
public class class_name { public long getMillisecondsFromId(final Object id, final long offset) { if (id instanceof String && id.toString().length() >= MAX_LONG_ALPHANUMERIC_VALUE_LENGTH) { final char[] buffer = new char[MAX_LONG_ALPHANUMERIC_VALUE_LENGTH]; System.arraycopy( ...
public class class_name { public int getPixelSize(Component component) { if (unit == PIXEL) { return intValue(); } else if (unit == POINT) { return Sizes.pointAsPixel(intValue(), component); } else if (unit == INCH) { return Sizes.inchAsPixel(value, component...
public class class_name { public int getPixelSize(Component component) { if (unit == PIXEL) { return intValue(); // depends on control dependency: [if], data = [none] } else if (unit == POINT) { return Sizes.pointAsPixel(intValue(), component); // depends on control dependency: ...
public class class_name { public Observable<ServiceResponse<List<EventTypeInner>>> listEventTypesWithServiceResponseAsync(String topicTypeName) { if (topicTypeName == null) { throw new IllegalArgumentException("Parameter topicTypeName is required and cannot be null."); } if (this.cl...
public class class_name { public Observable<ServiceResponse<List<EventTypeInner>>> listEventTypesWithServiceResponseAsync(String topicTypeName) { if (topicTypeName == null) { throw new IllegalArgumentException("Parameter topicTypeName is required and cannot be null."); } if (this.cl...
public class class_name { private String getDataFieldValue(final String dataHeader, final String fieldName) { String value = null; String token = String.valueOf((new StringBuffer(String.valueOf(fieldName))).append('=').append('"')); int pos = dataHeader.indexOf(token); if (pos > 0) { int start = pos + token...
public class class_name { private String getDataFieldValue(final String dataHeader, final String fieldName) { String value = null; String token = String.valueOf((new StringBuffer(String.valueOf(fieldName))).append('=').append('"')); int pos = dataHeader.indexOf(token); if (pos > 0) { int start = pos + token...
public class class_name { @Override public ISource locate(String path) { if(path == null || path.isEmpty()) { return new UnfoundSource(); } // create file pointer from given path File file = new File(path); FileSource fileSource = new FileSource(file); if(!fileSource.available()) { return new Unfoun...
public class class_name { @Override public ISource locate(String path) { if(path == null || path.isEmpty()) { return new UnfoundSource(); // depends on control dependency: [if], data = [none] } // create file pointer from given path File file = new File(path); FileSource fileSource = new FileSource(file)...
public class class_name { public String findRootPackageForActionPath(final String actionPath) { if (mappings == null) { return null; } int ndx = -1; int delta = Integer.MAX_VALUE; for (int i = 0; i < mappings.length; i++) { String mapping = mappings[i]; boolean found = false; if (actionPath.eq...
public class class_name { public String findRootPackageForActionPath(final String actionPath) { if (mappings == null) { return null; // depends on control dependency: [if], data = [none] } int ndx = -1; int delta = Integer.MAX_VALUE; for (int i = 0; i < mappings.length; i++) { String mapping = mappin...
public class class_name { @SuppressWarnings({ "unchecked", "rawtypes" }) public static void rewrite(ArrayList<?> al, MtasSolrSearchComponent searchComponent) throws IOException { for (int i = 0; i < al.size(); i++) { if (al.get(i) instanceof NamedList) { rewrite((NamedList) al.get(i), searchC...
public class class_name { @SuppressWarnings({ "unchecked", "rawtypes" }) public static void rewrite(ArrayList<?> al, MtasSolrSearchComponent searchComponent) throws IOException { for (int i = 0; i < al.size(); i++) { if (al.get(i) instanceof NamedList) { rewrite((NamedList) al.get(i), searchC...
public class class_name { public EClass getIfcCurveStyle() { if (ifcCurveStyleEClass == null) { ifcCurveStyleEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc2x3tc1Package.eNS_URI) .getEClassifiers().get(137); } return ifcCurveStyleEClass; } }
public class class_name { public EClass getIfcCurveStyle() { if (ifcCurveStyleEClass == null) { ifcCurveStyleEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc2x3tc1Package.eNS_URI) .getEClassifiers().get(137); // depends on control dependency: [if], data = [none] } return ifcCurveStyleECl...
public class class_name { public void marshall(Core core, ProtocolMarshaller protocolMarshaller) { if (core == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(core.getCertificateArn(), CERTIFICATEARN...
public class class_name { public void marshall(Core core, ProtocolMarshaller protocolMarshaller) { if (core == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(core.getCertificateArn(), CERTIFICATEARN...
public class class_name { @Override protected Object save(final NoSqlSession session, final Object version, final boolean activateAfterSave) { try { log.debug("save:" + session); session.willPassivate(); if (!session.isValid()) { ...
public class class_name { @Override protected Object save(final NoSqlSession session, final Object version, final boolean activateAfterSave) { try { log.debug("save:" + session); session.willPassivate(); if (!session.isValid()) { ...
public class class_name { private String timeToStr(Timestamp pobjTS, String pstrFmt) { String strRet = null; SimpleDateFormat dtFmt = null; try { dtFmt = new SimpleDateFormat(pstrFmt); strRet = dtFmt.format(pobjTS); } catch (Illegal...
public class class_name { private String timeToStr(Timestamp pobjTS, String pstrFmt) { String strRet = null; SimpleDateFormat dtFmt = null; try { dtFmt = new SimpleDateFormat(pstrFmt); // depends on control dependency: [try], data = [none] strRet = d...
public class class_name { public static ModelNode getResults(ModelNode operationResult) { if (!operationResult.hasDefined(RESULT)) { return new ModelNode(); } return operationResult.get(RESULT); } }
public class class_name { public static ModelNode getResults(ModelNode operationResult) { if (!operationResult.hasDefined(RESULT)) { return new ModelNode(); // depends on control dependency: [if], data = [none] } return operationResult.get(RESULT); } }
public class class_name { public static CustomInfo getOrCreateCustomInfo(Message message) { CustomInfo customInfo = message.get(CustomInfo.class); if (customInfo == null) { customInfo = new CustomInfo(); message.put(CustomInfo.class, customInfo); } return customI...
public class class_name { public static CustomInfo getOrCreateCustomInfo(Message message) { CustomInfo customInfo = message.get(CustomInfo.class); if (customInfo == null) { customInfo = new CustomInfo(); // depends on control dependency: [if], data = [none] message.put(CustomInf...
public class class_name { public void ensureNumBuffersReturned(final int minRequiredAvailable) { if (minRequiredAvailable > this.availableMemory.size() + this.buildSpillRetBufferNumbers) { throw new IllegalArgumentException("More buffers requested available than totally available."); } try { while (this.a...
public class class_name { public void ensureNumBuffersReturned(final int minRequiredAvailable) { if (minRequiredAvailable > this.availableMemory.size() + this.buildSpillRetBufferNumbers) { throw new IllegalArgumentException("More buffers requested available than totally available."); } try { while (this.a...
public class class_name { private ELNode.Nodes parseEL() { StringBuilder buf = new StringBuilder(); ELexpr = new ELNode.Nodes(); while (hasNext()) { nextToken(); if (curToken instanceof Char) { if (curToken.toChar() == '}') { break; } buf.append(curToken.toChar()); } else { // Output w...
public class class_name { private ELNode.Nodes parseEL() { StringBuilder buf = new StringBuilder(); ELexpr = new ELNode.Nodes(); while (hasNext()) { nextToken(); // depends on control dependency: [while], data = [none] if (curToken instanceof Char) { if (curToken.toChar() == '}') { break; } b...
public class class_name { public static int getArgumentsAndReturnSizes(final String methodDescriptor) { int argumentsSize = 1; // Skip the first character, which is always a '('. int currentOffset = 1; int currentChar = methodDescriptor.charAt(currentOffset); // Parse the argument types and compute...
public class class_name { public static int getArgumentsAndReturnSizes(final String methodDescriptor) { int argumentsSize = 1; // Skip the first character, which is always a '('. int currentOffset = 1; int currentChar = methodDescriptor.charAt(currentOffset); // Parse the argument types and compute...
public class class_name { public List<SecurityUserBean> getUsers() { List<SecurityUserBean> users = new ArrayList<SecurityUserBean>(); for (DuracloudUserDetails user : this.usersTable.values()) { SecurityUserBean bean = createUserBean(user); users.add(bean); } re...
public class class_name { public List<SecurityUserBean> getUsers() { List<SecurityUserBean> users = new ArrayList<SecurityUserBean>(); for (DuracloudUserDetails user : this.usersTable.values()) { SecurityUserBean bean = createUserBean(user); users.add(bean); // depends on contro...
public class class_name { public static List<String> getNativePermissions(int permissionBits, boolean denied) { List<String> result = new ArrayList<String>(); String prefix = denied ? "opencms:deny-" : "opencms:"; if ((permissionBits & CmsPermissionSet.PERMISSION_READ) != 0) { ...
public class class_name { public static List<String> getNativePermissions(int permissionBits, boolean denied) { List<String> result = new ArrayList<String>(); String prefix = denied ? "opencms:deny-" : "opencms:"; if ((permissionBits & CmsPermissionSet.PERMISSION_READ) != 0) { ...
public class class_name { public void makeDebugActions() { DebugCommands.Category debugHandler = debugCommands.findCategory("Catalogs"); DebugCommands.Action act; act = new DebugCommands.Action("showCatalogExt", "Show known catalogs") { public void doAction(DebugCommands.Event e) { e.pw.p...
public class class_name { public void makeDebugActions() { DebugCommands.Category debugHandler = debugCommands.findCategory("Catalogs"); DebugCommands.Action act; act = new DebugCommands.Action("showCatalogExt", "Show known catalogs") { public void doAction(DebugCommands.Event e) { e.pw.p...
public class class_name { public static double gradientCoherentNoise3D(double x, double y, double z, int seed, NoiseQuality quality) { // Create a unit-length cube aligned along an integer boundary. This cube // surrounds the input point. int x0 = ((x > 0.0) ? (int) x : (int) x - 1); ...
public class class_name { public static double gradientCoherentNoise3D(double x, double y, double z, int seed, NoiseQuality quality) { // Create a unit-length cube aligned along an integer boundary. This cube // surrounds the input point. int x0 = ((x > 0.0) ? (int) x : (int) x - 1); ...
public class class_name { protected static PropRecord parseMetaData (String path, URL sourceURL) throws IOException { InputStream input = sourceURL.openStream(); BufferedReader bin = new BufferedReader(new InputStreamReader(input)); try { PropRecord record = new PropReco...
public class class_name { protected static PropRecord parseMetaData (String path, URL sourceURL) throws IOException { InputStream input = sourceURL.openStream(); BufferedReader bin = new BufferedReader(new InputStreamReader(input)); try { PropRecord record = new PropReco...
public class class_name { public static MicroserviceConfig readConfig(final String serviceName) { final Logger logger = LoggerFactory.getLogger(MicroserviceConfig.class); if (new File(resourceLocation).exists()) { final String json = IO.read(resourceLocation); return JsonFact...
public class class_name { public static MicroserviceConfig readConfig(final String serviceName) { final Logger logger = LoggerFactory.getLogger(MicroserviceConfig.class); if (new File(resourceLocation).exists()) { final String json = IO.read(resourceLocation); return JsonFact...
public class class_name { void dbg(String msg) { if (debug ) { if (!msg.endsWith(LINE_SEP)) { System.err.println(LE + msg); } else { System.err.print(LE + msg); } } } }
public class class_name { void dbg(String msg) { if (debug ) { if (!msg.endsWith(LINE_SEP)) { System.err.println(LE + msg); // depends on control dependency: [if], data = [none] } else { System.err.print(LE + msg); // depends on control dependency: [if], data = [none] } } } }
public class class_name { public java.util.List<String> getReasonCodes() { if (reasonCodes == null) { reasonCodes = new com.amazonaws.internal.SdkInternalList<String>(); } return reasonCodes; } }
public class class_name { public java.util.List<String> getReasonCodes() { if (reasonCodes == null) { reasonCodes = new com.amazonaws.internal.SdkInternalList<String>(); // depends on control dependency: [if], data = [none] } return reasonCodes; } }
public class class_name { @Override public void set(int index, boolean value) { int i = Arrays.binarySearch(trueBits, index); // bit at index is set to true and shall be set to false if (i >= 0 && !value) { int[] tmp = new int[trueBits.length - 1]; System.arraycopy(t...
public class class_name { @Override public void set(int index, boolean value) { int i = Arrays.binarySearch(trueBits, index); // bit at index is set to true and shall be set to false if (i >= 0 && !value) { int[] tmp = new int[trueBits.length - 1]; System.arraycopy(t...
public class class_name { public static void upto(BigInteger self, Number to, @ClosureParams(FirstParam.class) Closure closure) { if (to instanceof BigDecimal) { final BigDecimal one = BigDecimal.valueOf(10, 1); BigDecimal self1 = new BigDecimal(self); BigDecimal to1 = (BigD...
public class class_name { public static void upto(BigInteger self, Number to, @ClosureParams(FirstParam.class) Closure closure) { if (to instanceof BigDecimal) { final BigDecimal one = BigDecimal.valueOf(10, 1); BigDecimal self1 = new BigDecimal(self); BigDecimal to1 = (BigD...
public class class_name { public int[] getWidths() { int[] wx = new int[mtxTab.length]; for (int i = 0; i < wx.length; i++) { wx[i] = (mtxTab[i].getWx()); } return wx; } }
public class class_name { public int[] getWidths() { int[] wx = new int[mtxTab.length]; for (int i = 0; i < wx.length; i++) { wx[i] = (mtxTab[i].getWx()); // depends on control dependency: [for], data = [i] } return wx; } }
public class class_name { public static String replaceChars(String str, char searchChar, char replaceChar) { if (str == null) { return null; } return str.replace(searchChar, replaceChar); } }
public class class_name { public static String replaceChars(String str, char searchChar, char replaceChar) { if (str == null) { return null; // depends on control dependency: [if], data = [none] } return str.replace(searchChar, replaceChar); } }
public class class_name { public TrieNode matchPredictor(String search) { TrieNode cursor = matchEnd(search); if (cursor.getNumberOfChildren() > 0) { return cursor; } String string = cursor.getString(); if (string.isEmpty()) return null; return matchPredictor(string.substring(1)); } }
public class class_name { public TrieNode matchPredictor(String search) { TrieNode cursor = matchEnd(search); if (cursor.getNumberOfChildren() > 0) { return cursor; // depends on control dependency: [if], data = [none] } String string = cursor.getString(); if (string.isEmpty()) return null; ...
public class class_name { public void interpret( Specification specification ) { stats = new Statistics(); Example table = specification.nextExample(); columns = parseColumns( table ); enterRowMessage = parseEnterRowMessage( table ); for (Example row = table.at( 0, 2 ); row != null && canContinue( stats );...
public class class_name { public void interpret( Specification specification ) { stats = new Statistics(); Example table = specification.nextExample(); columns = parseColumns( table ); enterRowMessage = parseEnterRowMessage( table ); for (Example row = table.at( 0, 2 ); row != null && canContinue( stats );...
public class class_name { public static String[] getIPs(String strInterface) throws UnknownHostException { try { boolean toGetIpv4 = true; if (System.getProperty(PREFER_IPV6_ADDRESS_PROPERTY) != null) { toGetIpv4 = "false".equals(System .getProperty(PREFER_IPV6_ADDRESS_PROPERTY)...
public class class_name { public static String[] getIPs(String strInterface) throws UnknownHostException { try { boolean toGetIpv4 = true; if (System.getProperty(PREFER_IPV6_ADDRESS_PROPERTY) != null) { toGetIpv4 = "false".equals(System .getProperty(PREFER_IPV6_ADDRESS_PROPERTY)...
public class class_name { private void insertAggExpressionsToAggResultColumns ( List<AbstractExpression> aggColumns, ParsedColInfo cookedCol) { for (AbstractExpression expr: aggColumns) { assert(expr instanceof AggregateExpression); if (expr.hasSubquerySubexpression()) { ...
public class class_name { private void insertAggExpressionsToAggResultColumns ( List<AbstractExpression> aggColumns, ParsedColInfo cookedCol) { for (AbstractExpression expr: aggColumns) { assert(expr instanceof AggregateExpression); // depends on control dependency: [for], data = [expr]...
public class class_name { public void marshall(DeleteAliasRequest deleteAliasRequest, ProtocolMarshaller protocolMarshaller) { if (deleteAliasRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshal...
public class class_name { public void marshall(DeleteAliasRequest deleteAliasRequest, ProtocolMarshaller protocolMarshaller) { if (deleteAliasRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshal...
public class class_name { private static void addCacheInfoUpdate(CacheStatus cacheStatus) { long cacheSize = cacheStatus.size; synchronized (baseDirSize) { Long dirSize = baseDirSize.get(cacheStatus.getBaseDir()); if( dirSize == null ) { dirSize = Long.valueOf(cacheSize); } else { ...
public class class_name { private static void addCacheInfoUpdate(CacheStatus cacheStatus) { long cacheSize = cacheStatus.size; synchronized (baseDirSize) { Long dirSize = baseDirSize.get(cacheStatus.getBaseDir()); if( dirSize == null ) { dirSize = Long.valueOf(cacheSize); // depends on cont...
public class class_name { public double getPercentage(T style) { int scnt = 0; int allcnt = 0; for (Map.Entry<T, Integer> entry : getAll().entrySet()) { if (entry.getKey().equals(style)) scnt = entry.getValue(); allcnt += entry.getValue(); ...
public class class_name { public double getPercentage(T style) { int scnt = 0; int allcnt = 0; for (Map.Entry<T, Integer> entry : getAll().entrySet()) { if (entry.getKey().equals(style)) scnt = entry.getValue(); allcnt += entry.getValue(); // ...
public class class_name { public void putAll(Map<KEY, VALUE> mapDataToPut) { int targetSize = maxSize - mapDataToPut.size(); if (maxSize > 0 && values.size() > targetSize) { evictToTargetSize(targetSize); } Set<Entry<KEY, VALUE>> entries = mapDataToPut.entrySet(); fo...
public class class_name { public void putAll(Map<KEY, VALUE> mapDataToPut) { int targetSize = maxSize - mapDataToPut.size(); if (maxSize > 0 && values.size() > targetSize) { evictToTargetSize(targetSize); // depends on control dependency: [if], data = [none] } Set<Entry<KEY,...
public class class_name { @Override public void heartbeat() { // Prepare metadata for the next heartbeat BlockHeartbeatReport blockReport = mBlockWorker.getReport(); BlockStoreMeta storeMeta = mBlockWorker.getStoreMeta(); // Send the heartbeat and execute the response Command cmdFromMaster = nul...
public class class_name { @Override public void heartbeat() { // Prepare metadata for the next heartbeat BlockHeartbeatReport blockReport = mBlockWorker.getReport(); BlockStoreMeta storeMeta = mBlockWorker.getStoreMeta(); // Send the heartbeat and execute the response Command cmdFromMaster = nul...
public class class_name { @Conditioned @Lorsque("Je patiente que le fichier nommé '(.*)' soit téléchargé avec un timeout de '(.*)' secondes[\\.|\\?]") @Then("I wait file named '(.*)' to be downloaded with timeout of '(.*)' seconds[\\.|\\?]") public void waitDownloadFile(String file, int timeout, List<Gherk...
public class class_name { @Conditioned @Lorsque("Je patiente que le fichier nommé '(.*)' soit téléchargé avec un timeout de '(.*)' secondes[\\.|\\?]") @Then("I wait file named '(.*)' to be downloaded with timeout of '(.*)' seconds[\\.|\\?]") public void waitDownloadFile(String file, int timeout, List<Gherk...
public class class_name { public static DataSet<Vertex<Long, String>> getVertices(ExecutionEnvironment env) { List<Vertex<Long, String>> vertices = new ArrayList<>(INPUT_VERTICES.length); for (String vertex : INPUT_VERTICES) { String[] tokens = vertex.split(";"); vertices.add(new Vertex<>(Long.parseLong(toke...
public class class_name { public static DataSet<Vertex<Long, String>> getVertices(ExecutionEnvironment env) { List<Vertex<Long, String>> vertices = new ArrayList<>(INPUT_VERTICES.length); for (String vertex : INPUT_VERTICES) { String[] tokens = vertex.split(";"); vertices.add(new Vertex<>(Long.parseLong(toke...
public class class_name { public EClass getFontFidelity() { if (fontFidelityEClass == null) { fontFidelityEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(AfplibPackage.eNS_URI).getEClassifiers().get(504); } return fontFidelityEClass; } }
public class class_name { public EClass getFontFidelity() { if (fontFidelityEClass == null) { fontFidelityEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(AfplibPackage.eNS_URI).getEClassifiers().get(504); // depends on control dependency: [if], data = [none] } return fontFidelityEClass; } }
public class class_name { private void addPossibleSignature(String name, Node node, NodeTraversal t) { if (node.isFunction()) { // The node we're looking at is a function, so we can add it directly addSignature(name, node, t.getSourceName()); } else { nonMethodProperties.add(name); } } ...
public class class_name { private void addPossibleSignature(String name, Node node, NodeTraversal t) { if (node.isFunction()) { // The node we're looking at is a function, so we can add it directly addSignature(name, node, t.getSourceName()); // depends on control dependency: [if], data = [none] } ...
public class class_name { protected boolean readCache() { if (this.cache != null) { if (this.cache.isCached(resourceId)) { byte[] data = this.cache.read(resourceId); if (data != null) { setData(data); return true; ...
public class class_name { protected boolean readCache() { if (this.cache != null) { if (this.cache.isCached(resourceId)) { byte[] data = this.cache.read(resourceId); if (data != null) { setData(data); // depends on control dependency: [if], data =...
public class class_name { private CompositeExpression parseWildcardRange() { if (tokens.positiveLookahead(WILDCARD)) { tokens.consume(); return gte(versionFor(0, 0, 0)); } int major = intOf(consumeNextToken(NUMERIC).lexeme); consumeNextToken(DOT); if (to...
public class class_name { private CompositeExpression parseWildcardRange() { if (tokens.positiveLookahead(WILDCARD)) { tokens.consume(); // depends on control dependency: [if], data = [none] return gte(versionFor(0, 0, 0)); // depends on control dependency: [if], data = [none] }...
public class class_name { public DecreaseReplicaCountRequest withReplicasToRemove(String... replicasToRemove) { if (this.replicasToRemove == null) { setReplicasToRemove(new com.amazonaws.internal.SdkInternalList<String>(replicasToRemove.length)); } for (String ele : replicasToRemove...
public class class_name { public DecreaseReplicaCountRequest withReplicasToRemove(String... replicasToRemove) { if (this.replicasToRemove == null) { setReplicasToRemove(new com.amazonaws.internal.SdkInternalList<String>(replicasToRemove.length)); // depends on control dependency: [if], data = [none...
public class class_name { public java.util.List<String> getSnapshotArns() { if (snapshotArns == null) { snapshotArns = new com.amazonaws.internal.SdkInternalList<String>(); } return snapshotArns; } }
public class class_name { public java.util.List<String> getSnapshotArns() { if (snapshotArns == null) { snapshotArns = new com.amazonaws.internal.SdkInternalList<String>(); // depends on control dependency: [if], data = [none] } return snapshotArns; } }
public class class_name { @Override public int create(String path, @mode_t long mode, FuseFileInfo fi) { final AlluxioURI uri = mPathResolverCache.getUnchecked(path); final int flags = fi.flags.get(); LOG.trace("create({}, {}) [Alluxio: {}]", path, Integer.toHexString(flags), uri); try { if (m...
public class class_name { @Override public int create(String path, @mode_t long mode, FuseFileInfo fi) { final AlluxioURI uri = mPathResolverCache.getUnchecked(path); final int flags = fi.flags.get(); LOG.trace("create({}, {}) [Alluxio: {}]", path, Integer.toHexString(flags), uri); try { if (m...
public class class_name { public void setShadowRadius(float shadowRadius) { this.shadowRadius = dpToPx(shadowRadius); if (isShadowResponsiveEffectEnabled()) { ((ShadowResponsiveDrawer) shadowResponsiveDrawer).setCurrentShadowRadius(getShadowRadius()); } requestLayout(); LOGGER.trace("Action Button shadow ...
public class class_name { public void setShadowRadius(float shadowRadius) { this.shadowRadius = dpToPx(shadowRadius); if (isShadowResponsiveEffectEnabled()) { ((ShadowResponsiveDrawer) shadowResponsiveDrawer).setCurrentShadowRadius(getShadowRadius()); // depends on control dependency: [if], data = [none] } ...