code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { Map<String, Map<String, Integer>> getRuntimeDependencies() { final Map<String, Set<CounterRequest>> methodsCalledByCallerBeans = getMethodsCalledByCallerBeans(); final Map<String, Map<String, Integer>> result = new HashMap<String, Map<String, Integer>>(); for (final Map.Entry<Strin...
public class class_name { Map<String, Map<String, Integer>> getRuntimeDependencies() { final Map<String, Set<CounterRequest>> methodsCalledByCallerBeans = getMethodsCalledByCallerBeans(); final Map<String, Map<String, Integer>> result = new HashMap<String, Map<String, Integer>>(); for (final Map.Entry<Strin...
public class class_name { protected void commit() { ComboException ce = new ComboException(); for (ConnInfo cInfo : list) { try { // 提交事务 cInfo.conn.commit(); // 恢复旧的事务级别 if (cInfo.conn.getTransactionIsolation() != cInfo.oldLev...
public class class_name { protected void commit() { ComboException ce = new ComboException(); for (ConnInfo cInfo : list) { try { // 提交事务 cInfo.conn.commit(); // depends on control dependency: [try], data = [none] // 恢复旧的事务级别 i...
public class class_name { void toJSONString(final Map<ReferenceEqualityKey<JSONReference>, CharSequence> jsonReferenceToId, final boolean includeNullValuedFields, final int depth, final int indentWidth, final StringBuilder buf) { final boolean prettyPrint = indentWidth > 0; fina...
public class class_name { void toJSONString(final Map<ReferenceEqualityKey<JSONReference>, CharSequence> jsonReferenceToId, final boolean includeNullValuedFields, final int depth, final int indentWidth, final StringBuilder buf) { final boolean prettyPrint = indentWidth > 0; fina...
public class class_name { public static void assertJsonNodePresent(Object actual, String path) { if (nodeAbsent(actual, path, configuration)) { doFail("Node \"" + path + "\" is missing."); } } }
public class class_name { public static void assertJsonNodePresent(Object actual, String path) { if (nodeAbsent(actual, path, configuration)) { doFail("Node \"" + path + "\" is missing."); // depends on control dependency: [if], data = [none] } } }
public class class_name { public T getValue () { // if the value is still around and it's expired, clear it if (_value != null && System.currentTimeMillis() >= _expires) { _value = null; } // then return the value (which may be cleared to null by now) return _val...
public class class_name { public T getValue () { // if the value is still around and it's expired, clear it if (_value != null && System.currentTimeMillis() >= _expires) { _value = null; // depends on control dependency: [if], data = [none] } // then return the value (wh...
public class class_name { public void addBoth(BindingElement element) { if (element != null) { this.rtBindingElements.add(element); this.uiBindingElements.add(element); } } }
public class class_name { public void addBoth(BindingElement element) { if (element != null) { this.rtBindingElements.add(element); // depends on control dependency: [if], data = [(element] this.uiBindingElements.add(element); // depends on control dependency: [if], data = [(element] } } }
public class class_name { private void processRemarks(GanttDesignerRemark remark) { for (GanttDesignerRemark.Task remarkTask : remark.getTask()) { Integer id = remarkTask.getRow(); Task task = m_projectFile.getTaskByID(id); String notes = task.getNotes(); if (notes.is...
public class class_name { private void processRemarks(GanttDesignerRemark remark) { for (GanttDesignerRemark.Task remarkTask : remark.getTask()) { Integer id = remarkTask.getRow(); Task task = m_projectFile.getTaskByID(id); String notes = task.getNotes(); if (notes.is...
public class class_name { protected final void printCommandLine(@Nonnull String[] cmd, @CheckForNull FilePath workDir) { StringBuilder buf = new StringBuilder(); if (workDir != null) { buf.append('['); if(showFullPath) buf.append(workDir.getRemote()); ...
public class class_name { protected final void printCommandLine(@Nonnull String[] cmd, @CheckForNull FilePath workDir) { StringBuilder buf = new StringBuilder(); if (workDir != null) { buf.append('['); // depends on control dependency: [if], data = [none] if(showFullPath) ...
public class class_name { @Override public URL getPersistenceUnitRootUrl() { // Make one that is OSGi based, it relies on the 'location' property String loc = location; int n = loc.lastIndexOf('/'); if (n > 0) { loc = loc.substring(0, n); } if (loc.isEmpt...
public class class_name { @Override public URL getPersistenceUnitRootUrl() { // Make one that is OSGi based, it relies on the 'location' property String loc = location; int n = loc.lastIndexOf('/'); if (n > 0) { loc = loc.substring(0, n); // depends on control dependency...
public class class_name { void leaveSafeMode(boolean checkForUpgrades) throws SafeModeException { writeLock(); try { if (!isInSafeMode()) { NameNode.stateChangeLog.info("STATE* Safe mode is already OFF."); return; } if (getDistributedUpgradeState()) { throw new SafeMod...
public class class_name { void leaveSafeMode(boolean checkForUpgrades) throws SafeModeException { writeLock(); try { if (!isInSafeMode()) { NameNode.stateChangeLog.info("STATE* Safe mode is already OFF."); // depends on control dependency: [if], data = [none] return; // depends on control...
public class class_name { public char[] getRawURIReference() { if (_fragment == null) { return _uri; } if (_uri == null) { return _fragment; } // if _uri != null && _fragment != null String uriReference = new String(_uri) + "#" + new String(_fr...
public class class_name { public char[] getRawURIReference() { if (_fragment == null) { return _uri; // depends on control dependency: [if], data = [none] } if (_uri == null) { return _fragment; // depends on control dependency: [if], data = [none] } //...
public class class_name { public List<SecondaryTable<Entity<T>>> getAllSecondaryTable() { List<SecondaryTable<Entity<T>>> list = new ArrayList<SecondaryTable<Entity<T>>>(); List<Node> nodeList = childNode.get("secondary-table"); for(Node node: nodeList) { SecondaryTable<Entity<T>> ...
public class class_name { public List<SecondaryTable<Entity<T>>> getAllSecondaryTable() { List<SecondaryTable<Entity<T>>> list = new ArrayList<SecondaryTable<Entity<T>>>(); List<Node> nodeList = childNode.get("secondary-table"); for(Node node: nodeList) { SecondaryTable<Entity<T>> ...
public class class_name { public Links addBySelector(Element ele, String cssSelector, boolean parseSrc) { Elements as = ele.select(cssSelector); for (Element a : as) { if (a.hasAttr("href")) { String href = a.attr("abs:href"); this.add(href); } ...
public class class_name { public Links addBySelector(Element ele, String cssSelector, boolean parseSrc) { Elements as = ele.select(cssSelector); for (Element a : as) { if (a.hasAttr("href")) { String href = a.attr("abs:href"); this.add(href); // depends on co...
public class class_name { protected List<NodeInterface> getNodesAt(final NodeInterface locationNode) { final List<NodeInterface> nodes = new LinkedList<>(); for(RelationshipInterface rel : locationNode.getIncomingRelationships(NodeHasLocation.class)) { NodeInterface startNode = rel.getSourceNode(); nodes...
public class class_name { protected List<NodeInterface> getNodesAt(final NodeInterface locationNode) { final List<NodeInterface> nodes = new LinkedList<>(); for(RelationshipInterface rel : locationNode.getIncomingRelationships(NodeHasLocation.class)) { NodeInterface startNode = rel.getSourceNode(); nodes...
public class class_name { public static boolean hasJspBody(Element element) { boolean hasJspBody = false; boolean jspBodyFound = false; NodeList children = element.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = children.item(i); ...
public class class_name { public static boolean hasJspBody(Element element) { boolean hasJspBody = false; boolean jspBodyFound = false; NodeList children = element.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = children.item(i); ...
public class class_name { @Override public T drain() { T event = delayed.drain(); if (event != null) { return event; } return source.drain(); } }
public class class_name { @Override public T drain() { T event = delayed.drain(); if (event != null) { return event; // depends on control dependency: [if], data = [none] } return source.drain(); } }
public class class_name { @Override public void run() { System.out.println("Event monitor starting..."); while(!shouldShutDown) { try { synchronized (eventQueue) { if (eventQueue.isEmpty()) { eventQueue.wait(delay); // Support wake-up via eventQueue.notify() } } } ...
public class class_name { @Override public void run() { System.out.println("Event monitor starting..."); while(!shouldShutDown) { try { synchronized (eventQueue) // depends on control dependency: [try], data = [none] { if (eventQueue.isEmpty()) { eventQueue.wait(delay); // Suppo...
public class class_name { public void removeAllChildren() { boolean listenerInvoked = false; final Lock lock = sharedObject.getLock(ACCESS_OBJECT).writeLock(); try { lock.lock(); final AbstractHtml[] removedAbstractHtmls = children .toArray(new Ab...
public class class_name { public void removeAllChildren() { boolean listenerInvoked = false; final Lock lock = sharedObject.getLock(ACCESS_OBJECT).writeLock(); try { lock.lock(); // depends on control dependency: [try], data = [none] final AbstractHtml[] removedAbstr...
public class class_name { @Override public void visit(NodeVisitor v) { if (v.visit(this)) { for (AstNode label : labels) { label.visit(v); } statement.visit(v); } } }
public class class_name { @Override public void visit(NodeVisitor v) { if (v.visit(this)) { for (AstNode label : labels) { label.visit(v); // depends on control dependency: [for], data = [label] } statement.visit(v); // depends on control dependency: [if]...
public class class_name { private static PrivateKey getPrivateKey(String filename, String password, String key) { if(logger.isDebugEnabled()) logger.debug("filename = " + filename + " key = " + key); PrivateKey privateKey = null; try { KeyStore keystore = KeyStore.getInstance("JKS"...
public class class_name { private static PrivateKey getPrivateKey(String filename, String password, String key) { if(logger.isDebugEnabled()) logger.debug("filename = " + filename + " key = " + key); PrivateKey privateKey = null; try { KeyStore keystore = KeyStore.getInstance("JKS"...
public class class_name { public void updateStateOnResponse(MobicentsSipServletResponse response, boolean receive) { final String method = response.getMethod(); if(sipSessionSecurity != null && response.getStatus() >= 200 && response.getStatus() < 300) { // Issue 2173 http://code.google.com/p/mobicents/issues/...
public class class_name { public void updateStateOnResponse(MobicentsSipServletResponse response, boolean receive) { final String method = response.getMethod(); if(sipSessionSecurity != null && response.getStatus() >= 200 && response.getStatus() < 300) { // Issue 2173 http://code.google.com/p/mobicents/issues/...
public class class_name { private int[] makeUVCoordDeltas(AttributeData map, SortableVertex[] sortVertices) { // UV coordinate scaling factor float scale = 1.0f / map.precision; int vc = sortVertices.length; int prevU = 0, prevV = 0; int[] intUVCoords = new int[vc * CTM_UV_ELEME...
public class class_name { private int[] makeUVCoordDeltas(AttributeData map, SortableVertex[] sortVertices) { // UV coordinate scaling factor float scale = 1.0f / map.precision; int vc = sortVertices.length; int prevU = 0, prevV = 0; int[] intUVCoords = new int[vc * CTM_UV_ELEME...
public class class_name { public void process(List<ChessboardCorner> corners ) { this.corners = corners; // reset internal data structures vertexes.reset(); edges.reset(); clusters.reset(); // Create a vertex for each corner for (int idx = 0; idx < corners.size(); idx++) { Vertex v = vertexes.grow()...
public class class_name { public void process(List<ChessboardCorner> corners ) { this.corners = corners; // reset internal data structures vertexes.reset(); edges.reset(); clusters.reset(); // Create a vertex for each corner for (int idx = 0; idx < corners.size(); idx++) { Vertex v = vertexes.grow()...
public class class_name { public Object evaluateUntilLast(Context ctx){ if (attributes.length == 0) { //不可能发生,除非beetl写错了,先放在着 throw new RuntimeException(); } Result ret = this.getValue(ctx); Object value = ret.value; if (value == null) { BeetlException ex = new BeetlException(BeetlException.N...
public class class_name { public Object evaluateUntilLast(Context ctx){ if (attributes.length == 0) { //不可能发生,除非beetl写错了,先放在着 throw new RuntimeException(); } Result ret = this.getValue(ctx); Object value = ret.value; if (value == null) { BeetlException ex = new BeetlException(BeetlException.N...
public class class_name { public Set<String> setCapitalize(final Set<?> target) { if (target == null) { return null; } final Set<String> result = new LinkedHashSet<String>(target.size() + 2); for (final Object element : target) { result.add(capitalize(element)); ...
public class class_name { public Set<String> setCapitalize(final Set<?> target) { if (target == null) { return null; // depends on control dependency: [if], data = [none] } final Set<String> result = new LinkedHashSet<String>(target.size() + 2); for (final Object element : t...
public class class_name { static void throwExceptionWhenMultipleConstructorMatchesFound(Constructor<?>[] constructors) { if (constructors == null || constructors.length < 2) { throw new IllegalArgumentException( "Internal error: throwExceptionWh...
public class class_name { static void throwExceptionWhenMultipleConstructorMatchesFound(Constructor<?>[] constructors) { if (constructors == null || constructors.length < 2) { throw new IllegalArgumentException( "Internal error: throwExceptionWh...
public class class_name { @SuppressWarnings("rawtypes") public List hvals(Object key) { Jedis jedis = getJedis(); try { List<byte[]> data = jedis.hvals(keyToBytes(key)); return valueListFromBytesList(data); } finally {close(jedis);} } }
public class class_name { @SuppressWarnings("rawtypes") public List hvals(Object key) { Jedis jedis = getJedis(); try { List<byte[]> data = jedis.hvals(keyToBytes(key)); return valueListFromBytesList(data); // depends on control dependency: [try], data = [none] } finally {close(jedis);} } }
public class class_name { public void monitor(Monitor target) { log.info("starting monitor: {}", target); try { target.getMonitorDriver(props, configService).run(); } catch (Exception e) { ByteArrayOutputStream out = new ByteArrayOutputStream(); PrintStream...
public class class_name { public void monitor(Monitor target) { log.info("starting monitor: {}", target); try { target.getMonitorDriver(props, configService).run(); // depends on control dependency: [try], data = [none] } catch (Exception e) { ByteArrayOutputStream out...
public class class_name { private void sealObject(ScriptableObject obj) { obj.sealObject(); Object[] ids = obj.getIds(); for (Object id : ids) { Object child = obj.get(id); if (child instanceof ScriptableObject) { sealObject((ScriptableObject)child); } } } }
public class class_name { private void sealObject(ScriptableObject obj) { obj.sealObject(); Object[] ids = obj.getIds(); for (Object id : ids) { Object child = obj.get(id); if (child instanceof ScriptableObject) { sealObject((ScriptableObject)child); // depends on control dependency: [if], data ...
public class class_name { protected InputStream findClassContent(String className) throws IOException { String primaryArtifactEntryName = "WEB-INF/classes/" + className.replace('.', '/') + ".class"; String dependencyEntryName = className.replace('.', '/') + ".class"; ZipEntry entry = this.plugi...
public class class_name { protected InputStream findClassContent(String className) throws IOException { String primaryArtifactEntryName = "WEB-INF/classes/" + className.replace('.', '/') + ".class"; String dependencyEntryName = className.replace('.', '/') + ".class"; ZipEntry entry = this.plugi...
public class class_name { private <T> T invokeURL(String toBeInvoked, Class<T> returnType) throws SameAsServiceException { URL url; try { url = new URL(toBeInvoked); } catch (MalformedURLException e) { throw new SameAsServiceException("An error occurred while building th...
public class class_name { private <T> T invokeURL(String toBeInvoked, Class<T> returnType) throws SameAsServiceException { URL url; try { url = new URL(toBeInvoked); } catch (MalformedURLException e) { throw new SameAsServiceException("An error occurred while building th...
public class class_name { public ApiResponse authorizeAppUser(String email, String password) { validateNonEmptyParam(email, "email"); validateNonEmptyParam(password,"password"); assertValidApplicationId(); loggedInUser = null; accessToken = null; currentOrganization = nu...
public class class_name { public ApiResponse authorizeAppUser(String email, String password) { validateNonEmptyParam(email, "email"); validateNonEmptyParam(password,"password"); assertValidApplicationId(); loggedInUser = null; accessToken = null; currentOrganization = nu...
public class class_name { public void connectSource(int inputNumber, IntermediateResult source, JobEdge edge, int consumerNumber) { final DistributionPattern pattern = edge.getDistributionPattern(); final IntermediateResultPartition[] sourcePartitions = source.getPartitions(); ExecutionEdge[] edges; switch ...
public class class_name { public void connectSource(int inputNumber, IntermediateResult source, JobEdge edge, int consumerNumber) { final DistributionPattern pattern = edge.getDistributionPattern(); final IntermediateResultPartition[] sourcePartitions = source.getPartitions(); ExecutionEdge[] edges; switch ...
public class class_name { private Media create(String prefix, int prefixLength, File file) { final String currentPath = file.getPath(); final String[] systemPath = SLASH.split(currentPath.substring(currentPath.indexOf(prefix) + prefixLength) ...
public class class_name { private Media create(String prefix, int prefixLength, File file) { final String currentPath = file.getPath(); final String[] systemPath = SLASH.split(currentPath.substring(currentPath.indexOf(prefix) + prefixLength) ...
public class class_name { @Override public CompletableFuture<Void> createAllLeasesIfNotExists(List<String> partitionIds) { CompletableFuture<Void> future = null; // Optimization: list the blobs currently existing in the directory. If there are the // expected number of blobs, then we can s...
public class class_name { @Override public CompletableFuture<Void> createAllLeasesIfNotExists(List<String> partitionIds) { CompletableFuture<Void> future = null; // Optimization: list the blobs currently existing in the directory. If there are the // expected number of blobs, then we can s...
public class class_name { @Override public Long get(int partitionId) { LeaderCallBackInfo info = m_publicCache.get(partitionId); if (info == null) { return null; } return info.m_HSId; } }
public class class_name { @Override public Long get(int partitionId) { LeaderCallBackInfo info = m_publicCache.get(partitionId); if (info == null) { return null; // depends on control dependency: [if], data = [none] } return info.m_HSId; } }
public class class_name { public void marshall(SkillsStoreSkill skillsStoreSkill, ProtocolMarshaller protocolMarshaller) { if (skillsStoreSkill == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(skil...
public class class_name { public void marshall(SkillsStoreSkill skillsStoreSkill, ProtocolMarshaller protocolMarshaller) { if (skillsStoreSkill == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(skil...
public class class_name { public static Feature fromJson(@NonNull String json) { GsonBuilder gson = new GsonBuilder(); gson.registerTypeAdapterFactory(GeoJsonAdapterFactory.create()); gson.registerTypeAdapterFactory(GeometryAdapterFactory.create()); Feature feature = gson.create().fromJson(json, Feat...
public class class_name { public static Feature fromJson(@NonNull String json) { GsonBuilder gson = new GsonBuilder(); gson.registerTypeAdapterFactory(GeoJsonAdapterFactory.create()); gson.registerTypeAdapterFactory(GeometryAdapterFactory.create()); Feature feature = gson.create().fromJson(json, Feat...
public class class_name { @Override ConfigConcatenation relativized(Path prefix) { List<AbstractConfigValue> newPieces = new ArrayList<AbstractConfigValue>(); for (AbstractConfigValue p : pieces) { newPieces.add(p.relativized(prefix)); } return new ConfigConcatenation(or...
public class class_name { @Override ConfigConcatenation relativized(Path prefix) { List<AbstractConfigValue> newPieces = new ArrayList<AbstractConfigValue>(); for (AbstractConfigValue p : pieces) { newPieces.add(p.relativized(prefix)); // depends on control dependency: [for], data = [p]...
public class class_name { public void setStorage(java.util.Collection<ValidStorageOptions> storage) { if (storage == null) { this.storage = null; return; } this.storage = new java.util.ArrayList<ValidStorageOptions>(storage); } }
public class class_name { public void setStorage(java.util.Collection<ValidStorageOptions> storage) { if (storage == null) { this.storage = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] } this.s...
public class class_name { public void cleanup() { managers.clear(); for (BeanManagerImpl beanManager : beanDeploymentArchives.values()) { beanManager.cleanup(); } beanDeploymentArchives.clear(); deploymentServices.cleanup(); deploymentManager.cleanup(); ...
public class class_name { public void cleanup() { managers.clear(); for (BeanManagerImpl beanManager : beanDeploymentArchives.values()) { beanManager.cleanup(); // depends on control dependency: [for], data = [beanManager] } beanDeploymentArchives.clear(); deployment...
public class class_name { private boolean validBatchGetRequest(Map<Class<?>, List<KeyPair>> itemsToGet) { if (itemsToGet == null || itemsToGet.size() == 0) { return false; } for (Class<?> clazz : itemsToGet.keySet()) { if (itemsToGet.get(clazz) != null && itemsToGet.get...
public class class_name { private boolean validBatchGetRequest(Map<Class<?>, List<KeyPair>> itemsToGet) { if (itemsToGet == null || itemsToGet.size() == 0) { return false; // depends on control dependency: [if], data = [none] } for (Class<?> clazz : itemsToGet.keySet()) { ...
public class class_name { private final void getFormFields(Node parent, Map<String, String> formfields) { String method = "getFormFields(Node parent, Map formfields)"; if (logger.isDebugEnabled()) { logger.debug(enter(method)); } NodeList children = parent.getChildNodes(); ...
public class class_name { private final void getFormFields(Node parent, Map<String, String> formfields) { String method = "getFormFields(Node parent, Map formfields)"; if (logger.isDebugEnabled()) { logger.debug(enter(method)); // depends on control dependency: [if], data = [none] }...
public class class_name { public static void streamCopy(final URL url, final FileChannel out, final ProgressBar progressBar) throws IOException { NullArgumentException.validateNotNull(url, "URL"); InputStream is = null; try { is = url.openStream(); streamCopy(is,...
public class class_name { public static void streamCopy(final URL url, final FileChannel out, final ProgressBar progressBar) throws IOException { NullArgumentException.validateNotNull(url, "URL"); InputStream is = null; try { is = url.openStream(); streamCopy(is,...
public class class_name { private void requestPermissionsToSystem(Collection<String> permissions) { if (!isShowingNativeDialog.get()) { androidPermissionService.requestPermissions(activity, permissions.toArray(new String[permissions.size()]), PERMISSIONS_REQUEST_CODE); } isShowingNativeDial...
public class class_name { private void requestPermissionsToSystem(Collection<String> permissions) { if (!isShowingNativeDialog.get()) { androidPermissionService.requestPermissions(activity, permissions.toArray(new String[permissions.size()]), PERMISSIONS_REQUEST_CODE); // depends on control depende...
public class class_name { public void removeDictionary(boolean isRemoveSegDict) { if(cws != null && isRemoveSegDict) cws.removeDictionary(); if(oldfeaturePipe != null){ featurePipe = oldfeaturePipe; } LinearViterbi dv = new LinearViterbi( (LinearViterbi) getClassifier().getInferencer()); ...
public class class_name { public void removeDictionary(boolean isRemoveSegDict) { if(cws != null && isRemoveSegDict) cws.removeDictionary(); if(oldfeaturePipe != null){ featurePipe = oldfeaturePipe; // depends on control dependency: [if], data = [none] } LinearViterbi dv = new LinearViterbi( ...
public class class_name { public Properties generateProperties() { Properties result = new Properties(); if (proto == null) { throw new RuntimeException("no protocol selected"); } String protocol = proto.toLowerCase(); setProperty(result, "mail.store.protocol", protocol); setProperty(result, "mail." ...
public class class_name { public Properties generateProperties() { Properties result = new Properties(); if (proto == null) { throw new RuntimeException("no protocol selected"); } String protocol = proto.toLowerCase(); setProperty(result, "mail.store.protocol", protocol); setProperty(result, "mail." ...
public class class_name { @Override public synchronized void start(StartContext context) throws StartException { if (createQueue) { try { final ActiveMQServer server = this.activeMQServerSupplier.get(); MessagingLogger.ROOT_LOGGER.debugf("Deploying queue on serve...
public class class_name { @Override public synchronized void start(StartContext context) throws StartException { if (createQueue) { try { final ActiveMQServer server = this.activeMQServerSupplier.get(); MessagingLogger.ROOT_LOGGER.debugf("Deploying queue on serve...
public class class_name { public Class<?> getBody(String message) { final Set<IdentifierLine> identifierLines = this.definitions.keySet(); final IdentifierLine messageId = new IdentifierLine(); for(IdentifierLine id : identifierLines){ final Map<Integer, String> mapIds = id.getMapIds(); final Set<Integer>...
public class class_name { public Class<?> getBody(String message) { final Set<IdentifierLine> identifierLines = this.definitions.keySet(); final IdentifierLine messageId = new IdentifierLine(); for(IdentifierLine id : identifierLines){ final Map<Integer, String> mapIds = id.getMapIds(); final Set<Integer>...
public class class_name { private void storeFilters() { final Map<String, TableFilter> sessFilter = new HashMap<>(); for (final Entry<String, TableFilter> entry : this.filters.entrySet()) { sessFilter.put(entry.getKey(), entry.getValue()); } try { Context.get...
public class class_name { private void storeFilters() { final Map<String, TableFilter> sessFilter = new HashMap<>(); for (final Entry<String, TableFilter> entry : this.filters.entrySet()) { sessFilter.put(entry.getKey(), entry.getValue()); // depends on control dependency: [for], data =...
public class class_name { public JoinDomainRequest withDomainControllers(String... domainControllers) { if (this.domainControllers == null) { setDomainControllers(new com.amazonaws.internal.SdkInternalList<String>(domainControllers.length)); } for (String ele : domainControllers) { ...
public class class_name { public JoinDomainRequest withDomainControllers(String... domainControllers) { if (this.domainControllers == null) { setDomainControllers(new com.amazonaws.internal.SdkInternalList<String>(domainControllers.length)); // depends on control dependency: [if], data = [none] ...
public class class_name { private View inflateButtonBar() { if (getRootView() != null) { if (buttonBarContainer == null) { LayoutInflater layoutInflater = LayoutInflater.from(getContext()); buttonBarContainer = (ViewGroup) layoutInflater .infl...
public class class_name { private View inflateButtonBar() { if (getRootView() != null) { if (buttonBarContainer == null) { LayoutInflater layoutInflater = LayoutInflater.from(getContext()); buttonBarContainer = (ViewGroup) layoutInflater .infl...
public class class_name { public CertificateRestoreParameters withCertificateBundleBackup(byte[] certificateBundleBackup) { if (certificateBundleBackup == null) { this.certificateBundleBackup = null; } else { this.certificateBundleBackup = Base64Url.encode(certificateBundleBacku...
public class class_name { public CertificateRestoreParameters withCertificateBundleBackup(byte[] certificateBundleBackup) { if (certificateBundleBackup == null) { this.certificateBundleBackup = null; // depends on control dependency: [if], data = [none] } else { this.certificate...
public class class_name { public static Type extractTypeFromLambda( Class<?> baseClass, LambdaExecutable exec, int[] lambdaTypeArgumentIndices, int paramLen, int baseParametersLen) { Type output = exec.getParameterTypes()[paramLen - baseParametersLen + lambdaTypeArgumentIndices[0]]; for (int i = 1; i < l...
public class class_name { public static Type extractTypeFromLambda( Class<?> baseClass, LambdaExecutable exec, int[] lambdaTypeArgumentIndices, int paramLen, int baseParametersLen) { Type output = exec.getParameterTypes()[paramLen - baseParametersLen + lambdaTypeArgumentIndices[0]]; for (int i = 1; i < l...
public class class_name { public Iterable<Result<DeleteError>> removeObjects(final String bucketName, final Iterable<String> objectNames) { return new Iterable<Result<DeleteError>>() { @Override public Iterator<Result<DeleteError>> iterator() { return new Iterator<Result<DeleteError>>() { ...
public class class_name { public Iterable<Result<DeleteError>> removeObjects(final String bucketName, final Iterable<String> objectNames) { return new Iterable<Result<DeleteError>>() { @Override public Iterator<Result<DeleteError>> iterator() { return new Iterator<Result<DeleteError>>() { ...
public class class_name { public static <T extends ImageBase<T>> void plus(T input, double value, T output) { if( input instanceof ImageGray) { if (GrayU8.class == input.getClass()) { PixelMath.plus((GrayU8) input, (int) value, (GrayU8) output); } else if (GrayS8.class == input.getClass()) { PixelMath....
public class class_name { public static <T extends ImageBase<T>> void plus(T input, double value, T output) { if( input instanceof ImageGray) { if (GrayU8.class == input.getClass()) { PixelMath.plus((GrayU8) input, (int) value, (GrayU8) output); // depends on control dependency: [if], data = [none] } else ...
public class class_name { public void normalizeCifar(File fileName) { DataSet result = new DataSet(); result.load(fileName); if (!meanStdStored && train) { uMean = Math.abs(uMean / numExamples); uStd = Math.sqrt(uStd); vMean = Math.abs(vMean / numExamples); ...
public class class_name { public void normalizeCifar(File fileName) { DataSet result = new DataSet(); result.load(fileName); if (!meanStdStored && train) { uMean = Math.abs(uMean / numExamples); // depends on control dependency: [if], data = [none] uStd = Math.sqrt(uStd)...
public class class_name { public void startAdvertising() { if (mBeacon == null) { throw new NullPointerException("Beacon cannot be null. Set beacon before starting advertising"); } int manufacturerCode = mBeacon.getManufacturer(); int serviceUuid = -1; if (mBeaconPa...
public class class_name { public void startAdvertising() { if (mBeacon == null) { throw new NullPointerException("Beacon cannot be null. Set beacon before starting advertising"); } int manufacturerCode = mBeacon.getManufacturer(); int serviceUuid = -1; if (mBeaconPa...
public class class_name { public java.util.List<Change> getChanges() { if (changes == null) { changes = new com.amazonaws.internal.SdkInternalList<Change>(); } return changes; } }
public class class_name { public java.util.List<Change> getChanges() { if (changes == null) { changes = new com.amazonaws.internal.SdkInternalList<Change>(); // depends on control dependency: [if], data = [none] } return changes; } }
public class class_name { public boolean writeSilence(SIMPMessage m) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "writeSilence", new Object[] { m }); JsMessage jsMsg = m.getMessage(); // Ther...
public class class_name { public boolean writeSilence(SIMPMessage m) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "writeSilence", new Object[] { m }); JsMessage jsMsg = m.getMessage(); // Ther...
public class class_name { private String readInput(PrintStream out, boolean echo) throws InterruptedException { StringBuilder sb = new StringBuilder(); Key inputKey; do { CommandOperation input = commandInvocation.getInput(); inputKey = input.getInputKey(); if (inp...
public class class_name { private String readInput(PrintStream out, boolean echo) throws InterruptedException { StringBuilder sb = new StringBuilder(); Key inputKey; do { CommandOperation input = commandInvocation.getInput(); inputKey = input.getInputKey(); if (inp...
public class class_name { private static Method[] getDeclaredMethods(Class<?> clazz) { Method[] result = declaredMethodsCache.get(clazz); if (result == null) { result = clazz.getDeclaredMethods(); declaredMethodsCache.put(clazz, result); } return result; } }
public class class_name { private static Method[] getDeclaredMethods(Class<?> clazz) { Method[] result = declaredMethodsCache.get(clazz); if (result == null) { result = clazz.getDeclaredMethods(); // depends on control dependency: [if], data = [none] declaredMethodsCache.put(clazz, result); // depends on con...
public class class_name { protected void stopping() { if (mementos != null) { for (int i = 0; i < mementos.length; i++) { mementos[i].restore(); } } } }
public class class_name { protected void stopping() { if (mementos != null) { for (int i = 0; i < mementos.length; i++) { mementos[i].restore(); // depends on control dependency: [for], data = [i] } } } }
public class class_name { @Override public Reader getResource(JoinableResourceBundle bundle, String resourceName, boolean processingBundle) { Reader rd = null; if (processingBundle) { String path = getCssPath(resourceName); rd = ((TextResourceReader) resourceReader).getResource(bundle, path, processingBund...
public class class_name { @Override public Reader getResource(JoinableResourceBundle bundle, String resourceName, boolean processingBundle) { Reader rd = null; if (processingBundle) { String path = getCssPath(resourceName); rd = ((TextResourceReader) resourceReader).getResource(bundle, path, processingBund...
public class class_name { public static void onPushPromiseRead(Http2PushPromise http2PushPromise, Http2ClientChannel http2ClientChannel, OutboundMsgHolder outboundMsgHolder) { int streamId = http2PushPromise.getStreamId(); int promisedStreamId = http2PushPromise...
public class class_name { public static void onPushPromiseRead(Http2PushPromise http2PushPromise, Http2ClientChannel http2ClientChannel, OutboundMsgHolder outboundMsgHolder) { int streamId = http2PushPromise.getStreamId(); int promisedStreamId = http2PushPromise...
public class class_name { public static XMLBuilder2 create( String name, String namespaceURI, boolean enableExternalEntities, boolean isNamespaceAware) { try { return new XMLBuilder2( createDocumentImpl( name, namespaceURI, enableExternalEntit...
public class class_name { public static XMLBuilder2 create( String name, String namespaceURI, boolean enableExternalEntities, boolean isNamespaceAware) { try { return new XMLBuilder2( createDocumentImpl( name, namespaceURI, enableExternalEntit...
public class class_name { static BritishCutoverDate ofYearDay(int prolepticYear, int dayOfYear) { if (prolepticYear < CUTOVER_YEAR || (prolepticYear == CUTOVER_YEAR && dayOfYear <= 246)) { JulianDate julian = JulianDate.ofYearDay(prolepticYear, dayOfYear); return new BritishCutoverDate(...
public class class_name { static BritishCutoverDate ofYearDay(int prolepticYear, int dayOfYear) { if (prolepticYear < CUTOVER_YEAR || (prolepticYear == CUTOVER_YEAR && dayOfYear <= 246)) { JulianDate julian = JulianDate.ofYearDay(prolepticYear, dayOfYear); return new BritishCutoverDate(...
public class class_name { @Override public final void makeOtherEntries(final Map<String, Object> pAddParam, final SalesReturn pEntity, final IRequestData pRequestData, final boolean pIsNew) throws Exception { String actionAdd = pRequestData.getParameter("actionAdd"); if ("makeAccEntries".equals(act...
public class class_name { @Override public final void makeOtherEntries(final Map<String, Object> pAddParam, final SalesReturn pEntity, final IRequestData pRequestData, final boolean pIsNew) throws Exception { String actionAdd = pRequestData.getParameter("actionAdd"); if ("makeAccEntries".equals(act...
public class class_name { public boolean init(String modelDir){ try { classifier = new Classification(modelDir); feaGen = new FeatureGenerator(); classifier.init(); return true; } catch(Exception e){ System.out.println("Error while initilizing classifier: " + e.get...
public class class_name { public boolean init(String modelDir){ try { classifier = new Classification(modelDir); // depends on control dependency: [try], data = [none] feaGen = new FeatureGenerator(); // depends on control dependency: [try], data = [none] classifier.init(); // depends on c...
public class class_name { private String readString() throws IOException { final int size = in.readByte(); if (size > 0) { final byte[] name = new byte[size]; if (in.read(name) != -1) { return new String(name, NetworkMessage.CHARSET); ...
public class class_name { private String readString() throws IOException { final int size = in.readByte(); if (size > 0) { final byte[] name = new byte[size]; if (in.read(name) != -1) { return new String(name, NetworkMessage.CHARSET); // d...
public class class_name { public EClass getUniversalDateAndTimeStamp() { if (universalDateAndTimeStampEClass == null) { universalDateAndTimeStampEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(AfplibPackage.eNS_URI).getEClassifiers().get(358); } return universalDateAndTimeStampEClass; } }
public class class_name { public EClass getUniversalDateAndTimeStamp() { if (universalDateAndTimeStampEClass == null) { universalDateAndTimeStampEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(AfplibPackage.eNS_URI).getEClassifiers().get(358); // depends on control dependency: [if], data = [none] } re...
public class class_name { private static void appendAuthParam(StringBuilder sb, String key, String value) { if (sb.length() > 0) { sb.append(","); } sb.append(key); sb.append("=\""); sb.append(value); sb.append("\""); } }
public class class_name { private static void appendAuthParam(StringBuilder sb, String key, String value) { if (sb.length() > 0) { sb.append(","); // depends on control dependency: [if], data = [none] } sb.append(key); sb.append("=\""); sb.append(value); sb.append("\""); } }
public class class_name { public Rec setDataIndex(int iNodeIndex, Rec record) { if (record != null) { if (RESET_INDEX == iNodeIndex) { m_recTargetFieldList = record; if ((this.getNodeType() == MessageRecordDesc.NON_UNIQUE_NODE) ...
public class class_name { public Rec setDataIndex(int iNodeIndex, Rec record) { if (record != null) { if (RESET_INDEX == iNodeIndex) { m_recTargetFieldList = record; // depends on control dependency: [if], data = [none] if ((this.getNodeType()...
public class class_name { static File preferencesFile() { final File userDir = new File(System.getProperty("user.home")); final File prefDir = (userDir.canWrite()) ? new File(userDir, ".acolyte") : null; if (prefDir != null && !prefDir.exists()) { prefDir.mkdir(); ...
public class class_name { static File preferencesFile() { final File userDir = new File(System.getProperty("user.home")); final File prefDir = (userDir.canWrite()) ? new File(userDir, ".acolyte") : null; if (prefDir != null && !prefDir.exists()) { prefDir.mkdir(); // de...
public class class_name { public int get(int key) { int addr = addr(hash(key)); while (true) { int tableKey = buffer.getInt(addr); if (key == tableKey) { return buffer.getInt(addr + 4); } if (tableKey == 0) ...
public class class_name { public int get(int key) { int addr = addr(hash(key)); while (true) { int tableKey = buffer.getInt(addr); if (key == tableKey) { return buffer.getInt(addr + 4); // depends on control dependency: [if], data = [non...
public class class_name { protected String createSessionId(HttpResponse response) { StringBuilder sessionIdBuilder = new StringBuilder(); byte[] bytes = new byte[16]; secureRandom.nextBytes(bytes); for (byte b : bytes) { sessionIdBuilder.append(Integer.toHexString(b & 0xff))...
public class class_name { protected String createSessionId(HttpResponse response) { StringBuilder sessionIdBuilder = new StringBuilder(); byte[] bytes = new byte[16]; secureRandom.nextBytes(bytes); for (byte b : bytes) { sessionIdBuilder.append(Integer.toHexString(b & 0xff))...
public class class_name { public FwAssistDirection assistAssistDirection() { if (assistDirection != null) { return assistDirection; } synchronized (this) { if (assistDirection != null) { return assistDirection; } final FwAssistDire...
public class class_name { public FwAssistDirection assistAssistDirection() { if (assistDirection != null) { return assistDirection; // depends on control dependency: [if], data = [none] } synchronized (this) { if (assistDirection != null) { return assistD...
public class class_name { public void restart() { if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15 logger.logp(Level.FINE, CLASS_NAME,"restart", "Start re-read of data"); } // Don't update length or limit because they were set by setContentLe...
public class class_name { public void restart() { if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15 logger.logp(Level.FINE, CLASS_NAME,"restart", "Start re-read of data"); // depends on control dependency: [if], data = [none] } // Don't update...
public class class_name { public java.util.List<PrincipalIdFormat> getPrincipals() { if (principals == null) { principals = new com.amazonaws.internal.SdkInternalList<PrincipalIdFormat>(); } return principals; } }
public class class_name { public java.util.List<PrincipalIdFormat> getPrincipals() { if (principals == null) { principals = new com.amazonaws.internal.SdkInternalList<PrincipalIdFormat>(); // depends on control dependency: [if], data = [none] } return principals; } }
public class class_name { public void setUp(int fragmentId, DrawerLayout drawerLayout) { mFragmentContainerView = getActivity().findViewById(fragmentId); mDrawerLayout = drawerLayout; mActionBarToolbar = (Toolbar) getActivity().findViewById(R.id.toolbar); // set a custom shadow that ov...
public class class_name { public void setUp(int fragmentId, DrawerLayout drawerLayout) { mFragmentContainerView = getActivity().findViewById(fragmentId); mDrawerLayout = drawerLayout; mActionBarToolbar = (Toolbar) getActivity().findViewById(R.id.toolbar); // set a custom shadow that ov...
public class class_name { @Override public Object getParam(String name) { String sname = "get" + name.substring(0, 1).toUpperCase() + name.substring(1); try { Method m = getClass().getMethod(sname); return m.invoke(this); } catch (NoSuchMethodException e)...
public class class_name { @Override public Object getParam(String name) { String sname = "get" + name.substring(0, 1).toUpperCase() + name.substring(1); try { Method m = getClass().getMethod(sname); return m.invoke(this); // depends on control dependency: [try], ...
public class class_name { final public void Or() throws ParseException { And(); label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case OR0: case OR1: ; break; default: jj_la1[10] = jj_gen; break label_7; } switch ((jj_ntk==-1...
public class class_name { final public void Or() throws ParseException { And(); label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case OR0: case OR1: ; break; default: jj_la1[10] = jj_gen; break label_7; } switch ((jj_ntk==-1...
public class class_name { public String beginConsumption(HttpServletRequest req, String identityUrl, String returnToUrl, String realm) throws OpenIDConsumerException { List<DiscoveryInformation> discoveries; try { discoveries = consumerManager.discover(identityUrl); } catch (DiscoveryException e) { t...
public class class_name { public String beginConsumption(HttpServletRequest req, String identityUrl, String returnToUrl, String realm) throws OpenIDConsumerException { List<DiscoveryInformation> discoveries; try { discoveries = consumerManager.discover(identityUrl); } catch (DiscoveryException e) { t...
public class class_name { @Override public ListenableFuture<CheckAndMutateRowResponse> checkAndMutateRowAsync( CheckAndMutateRowRequest request) { if (shouldOverrideAppProfile(request.getAppProfileId())) { request = request.toBuilder().setAppProfileId(clientDefaultAppProfileId).build(); } re...
public class class_name { @Override public ListenableFuture<CheckAndMutateRowResponse> checkAndMutateRowAsync( CheckAndMutateRowRequest request) { if (shouldOverrideAppProfile(request.getAppProfileId())) { request = request.toBuilder().setAppProfileId(clientDefaultAppProfileId).build(); // depends on...
public class class_name { public void itemStateChanged(ItemEvent e) { ItemSelectable item = e.getItemSelectable(); if (item == lTable) { if (iSelectionStep == SELECT_SOURCE_TABLES) { String table = lTable.getSelectedItem(); int selected = ((Integer) e...
public class class_name { public void itemStateChanged(ItemEvent e) { ItemSelectable item = e.getItemSelectable(); if (item == lTable) { if (iSelectionStep == SELECT_SOURCE_TABLES) { String table = lTable.getSelectedItem(); int selected = ((Integer) e...
public class class_name { private String joinStrings(Collection<String> messages) { StringBuilder b = new StringBuilder(); for (String s : messages) { if (s == null || s.isEmpty()) { continue; } // Preserve new-lines in this event by replacing them ...
public class class_name { private String joinStrings(Collection<String> messages) { StringBuilder b = new StringBuilder(); for (String s : messages) { if (s == null || s.isEmpty()) { continue; } // Preserve new-lines in this event by replacing them ...
public class class_name { @Override public boolean isCallerInRole(String role) { Subject callerSubject = getCallerSubject(); AuthorizationService authService = SecurityContextHelper.getAuthorizationService(); if (authService != null) { String appName = getApplicationName(); ...
public class class_name { @Override public boolean isCallerInRole(String role) { Subject callerSubject = getCallerSubject(); AuthorizationService authService = SecurityContextHelper.getAuthorizationService(); if (authService != null) { String appName = getApplicationName(); ...
public class class_name { public void marshall(GetRoutesRequest getRoutesRequest, ProtocolMarshaller protocolMarshaller) { if (getRoutesRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(getR...
public class class_name { public void marshall(GetRoutesRequest getRoutesRequest, ProtocolMarshaller protocolMarshaller) { if (getRoutesRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(getR...
public class class_name { public static ByteBuf copiedBuffer( CharSequence string, int offset, int length, Charset charset) { if (string == null) { throw new NullPointerException("string"); } if (length == 0) { return EMPTY_BUFFER; } if (stri...
public class class_name { public static ByteBuf copiedBuffer( CharSequence string, int offset, int length, Charset charset) { if (string == null) { throw new NullPointerException("string"); } if (length == 0) { return EMPTY_BUFFER; // depends on control depen...
public class class_name { public void add(ManagedObject managedObject, boolean requiresCurrentCheckpoint) throws ObjectManagerException { final String methodName = "add"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(thi...
public class class_name { public void add(ManagedObject managedObject, boolean requiresCurrentCheckpoint) throws ObjectManagerException { final String methodName = "add"; if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled()) trace.entry(thi...
public class class_name { public static<T extends ImageGray<T>> void histogram(Planar<T> image , Histogram_F64 histogram ) { if (image.getNumBands() != histogram.getDimensions()) throw new IllegalArgumentException("Number of bands in the image and histogram must be the same"); if( image.getBandType() == GrayU...
public class class_name { public static<T extends ImageGray<T>> void histogram(Planar<T> image , Histogram_F64 histogram ) { if (image.getNumBands() != histogram.getDimensions()) throw new IllegalArgumentException("Number of bands in the image and histogram must be the same"); if( image.getBandType() == GrayU...
public class class_name { private static void generateDelegateMethods(EclipseNode typeNode, List<BindingTuple> methods, DelegateReceiver delegateReceiver) { CompilationUnitDeclaration top = (CompilationUnitDeclaration) typeNode.top().get(); for (BindingTuple pair : methods) { EclipseNode annNode = typeNode.getA...
public class class_name { private static void generateDelegateMethods(EclipseNode typeNode, List<BindingTuple> methods, DelegateReceiver delegateReceiver) { CompilationUnitDeclaration top = (CompilationUnitDeclaration) typeNode.top().get(); for (BindingTuple pair : methods) { EclipseNode annNode = typeNode.getA...
public class class_name { @ConditionalOnClass({MacAddress.class, PcapIf.class, PcapAddr.class, SockAddr.class, DeviceNotFoundException.class, PlatformNotSupportedException.class}) //@ConditionalOnBean(PcapIf.class) @Bean(MAC_ADDRESS_BEAN_NAME) public MacAddress macAddress(@Qualifier(PCAP_IF_BEA...
public class class_name { @ConditionalOnClass({MacAddress.class, PcapIf.class, PcapAddr.class, SockAddr.class, DeviceNotFoundException.class, PlatformNotSupportedException.class}) //@ConditionalOnBean(PcapIf.class) @Bean(MAC_ADDRESS_BEAN_NAME) public MacAddress macAddress(@Qualifier(PCAP_IF_BEA...
public class class_name { void publish() { assert publishedFullRegistry != null : "Cannot write directly to main registry"; writeLock.lock(); try { if (!modified) { return; } publishedFullRegistry.writeLock.lock(); try { ...
public class class_name { void publish() { assert publishedFullRegistry != null : "Cannot write directly to main registry"; writeLock.lock(); try { if (!modified) { return; // depends on control dependency: [if], data = [none] } publishedFull...
public class class_name { public static AbstractExpression evaluateExpression(AbstractExpression expr) { if (expr == null) { return null; } // Evaluate children first expr.setLeft(evaluateExpression(expr.getLeft())); expr.setRight(evaluateExpression(expr.getRight())...
public class class_name { public static AbstractExpression evaluateExpression(AbstractExpression expr) { if (expr == null) { return null; // depends on control dependency: [if], data = [none] } // Evaluate children first expr.setLeft(evaluateExpression(expr.getLeft())); ...
public class class_name { private boolean updateTintColor(int[] state) { final int trackColor = mTrackStateList.getColorForState(state, mTrackColor); final int scrubberColor = mScrubberStateList.getColorForState(state, mScrubberColor); final int thumbColor = mThumbStateList.getColorForState(sta...
public class class_name { private boolean updateTintColor(int[] state) { final int trackColor = mTrackStateList.getColorForState(state, mTrackColor); final int scrubberColor = mScrubberStateList.getColorForState(state, mScrubberColor); final int thumbColor = mThumbStateList.getColorForState(sta...
public class class_name { private void processLeaf(Leaf leaf, List<String> sentence, List<Span> names) { if (leaf != null && leftContractionPart == null) { int startOfNamedEntity = -1; String leafTag = leaf.getSecondaryTag(); if (leafTag != null) { if (leafTag.contains("<sam->")) { ...
public class class_name { private void processLeaf(Leaf leaf, List<String> sentence, List<Span> names) { if (leaf != null && leftContractionPart == null) { int startOfNamedEntity = -1; String leafTag = leaf.getSecondaryTag(); if (leafTag != null) { if (leafTag.contains("<sam->")) { ...
public class class_name { @Override public void contextRootAdded(String contextRoot, VirtualHost virtualHost) { if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { Tr.event(tc, "Added contextRoot {0} to virtual host {1}", contextRoot, virtualHost.getName()); } //...
public class class_name { @Override public void contextRootAdded(String contextRoot, VirtualHost virtualHost) { if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { Tr.event(tc, "Added contextRoot {0} to virtual host {1}", contextRoot, virtualHost.getName()); // depends on control...
public class class_name { public synchronized String getConfigProperty(Config.ConfigProperty configProperty) { SeLionLogger.getLogger().entering(configProperty); checkArgument(configProperty != null, "Config property cannot be null"); // Search locally then query SeLionConfig if not found ...
public class class_name { public synchronized String getConfigProperty(Config.ConfigProperty configProperty) { SeLionLogger.getLogger().entering(configProperty); checkArgument(configProperty != null, "Config property cannot be null"); // Search locally then query SeLionConfig if not found ...
public class class_name { public AccountListNodeAgentSkusOptions withOcpDate(DateTime ocpDate) { if (ocpDate == null) { this.ocpDate = null; } else { this.ocpDate = new DateTimeRfc1123(ocpDate); } return this; } }
public class class_name { public AccountListNodeAgentSkusOptions withOcpDate(DateTime ocpDate) { if (ocpDate == null) { this.ocpDate = null; // depends on control dependency: [if], data = [none] } else { this.ocpDate = new DateTimeRfc1123(ocpDate); // depends on control dependen...