code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { public static <E extends Exception> DataSet loadCSV(final Class<?> entityClass, final Reader csvReader, final Collection<String> selectColumnNames, long offset, long count, final Try.Predicate<String[], E> filter) throws UncheckedIOException, E { N.checkArgument(offset >...
public class class_name { public static <E extends Exception> DataSet loadCSV(final Class<?> entityClass, final Reader csvReader, final Collection<String> selectColumnNames, long offset, long count, final Try.Predicate<String[], E> filter) throws UncheckedIOException, E { N.checkArgument(offset >...
public class class_name { public boolean table() { boolean isTable = false; try { WebElement webElement = element.getWebElement(); if ("table".equalsIgnoreCase(webElement.getTagName())) { isTable = true; } } catch (NoSuchElementException e) { ...
public class class_name { public boolean table() { boolean isTable = false; try { WebElement webElement = element.getWebElement(); if ("table".equalsIgnoreCase(webElement.getTagName())) { isTable = true; // depends on control dependency: [if], data = [none] ...
public class class_name { public static float entropy(float[] c) { float e = 0.0f; for(int i=0;i<c.length;i++){ if(c[i]!=0.0&&c[i]!=1){ e -= c[i]*Math.log(c[i]); } } return e; } }
public class class_name { public static float entropy(float[] c) { float e = 0.0f; for(int i=0;i<c.length;i++){ if(c[i]!=0.0&&c[i]!=1){ e -= c[i]*Math.log(c[i]); // depends on control dependency: [if], data = [(c[i]] } } return e; } }
public class class_name { public Policy addBucketIamMember(String bucketName, Role role, Identity identity) { // [START add_bucket_iam_member] // Initialize a Cloud Storage client Storage storage = StorageOptions.getDefaultInstance().getService(); // Get IAM Policy for a bucket Policy policy = sto...
public class class_name { public Policy addBucketIamMember(String bucketName, Role role, Identity identity) { // [START add_bucket_iam_member] // Initialize a Cloud Storage client Storage storage = StorageOptions.getDefaultInstance().getService(); // Get IAM Policy for a bucket Policy policy = sto...
public class class_name { public List<CmsResource> getResults(CmsObject cms, String collectorName, String parameter) throws CmsException { synchronized (this) { if (LOG.isDebugEnabled()) { LOG.debug(Messages.get().getBundle().key(Messages.LOG_COLLECTOR_GET_RESULTS_START_0)); ...
public class class_name { public List<CmsResource> getResults(CmsObject cms, String collectorName, String parameter) throws CmsException { synchronized (this) { if (LOG.isDebugEnabled()) { LOG.debug(Messages.get().getBundle().key(Messages.LOG_COLLECTOR_GET_RESULTS_START_0)); // dep...
public class class_name { private void captureHierarchy(@Nullable View view, boolean start) { if (view == null) { return; } int id = view.getId(); if (mTargetIdExcludes != null && mTargetIdExcludes.contains(id)) { return; } if (mTargetExcludes != ...
public class class_name { private void captureHierarchy(@Nullable View view, boolean start) { if (view == null) { return; // depends on control dependency: [if], data = [none] } int id = view.getId(); if (mTargetIdExcludes != null && mTargetIdExcludes.contains(id)) { ...
public class class_name { @Override public Citation convert(BELCitation bc) { if (bc == null) { return null; } Citation c = CommonModelFactory.getInstance().createCitation( bc.getName()); if (bc.getPublicationDate() != null) { Calendar date ...
public class class_name { @Override public Citation convert(BELCitation bc) { if (bc == null) { return null; // depends on control dependency: [if], data = [none] } Citation c = CommonModelFactory.getInstance().createCitation( bc.getName()); if (bc.getP...
public class class_name { boolean cleanupLocalisations() throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "cleanupLocalisations"); // true if all localisations have been cleaned up successfully boolean allCleanedUp = ...
public class class_name { boolean cleanupLocalisations() throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "cleanupLocalisations"); // true if all localisations have been cleaned up successfully boolean allCleanedUp = ...
public class class_name { protected void updateSelection (int selidx) { // do nothing if this element is already selected if (selidx == _selectedIndex) { return; } // unhighlight the old component if (_selectedIndex != -1) { JLabel but = (JLabel)getC...
public class class_name { protected void updateSelection (int selidx) { // do nothing if this element is already selected if (selidx == _selectedIndex) { return; // depends on control dependency: [if], data = [none] } // unhighlight the old component if (_select...
public class class_name { @Override public final void setPriceCategory(final PriceCategory pPriceCategory) { this.priceCategory = pPriceCategory; if (this.itsId == null) { this.itsId = new SeGoodsPriceId(); } this.itsId.setPriceCategory(this.priceCategory); } }
public class class_name { @Override public final void setPriceCategory(final PriceCategory pPriceCategory) { this.priceCategory = pPriceCategory; if (this.itsId == null) { this.itsId = new SeGoodsPriceId(); // depends on control dependency: [if], data = [none] } this.itsId.setPriceCategory(this...
public class class_name { private static DateTime parseDate(String dateStr, DateTime defaultDate, boolean floor) { if ("now".equals(dateStr)) { //$NON-NLS-1$ return new DateTime(); } if (dateStr.length() == 10) { DateTime parsed = ISODateTimeFormat.date().withZone(DateTi...
public class class_name { private static DateTime parseDate(String dateStr, DateTime defaultDate, boolean floor) { if ("now".equals(dateStr)) { //$NON-NLS-1$ return new DateTime(); // depends on control dependency: [if], data = [none] } if (dateStr.length() == 10) { Date...
public class class_name { public static void checkStringListArgument(List<String> str, String variableName) { if (null == str) { throw new NullPointerException(ExceptionMessageMap.getMessage("000002") + " { variableName=[" + variableName + "] }"); } if (str.size() == 0) { throw new I...
public class class_name { public static void checkStringListArgument(List<String> str, String variableName) { if (null == str) { throw new NullPointerException(ExceptionMessageMap.getMessage("000002") + " { variableName=[" + variableName + "] }"); } if (str.size() == 0) { throw new I...
public class class_name { public void deleteInstance() { System.out.println("\nDeleting Instance"); // [START bigtable_delete_instance] try { adminClient.deleteInstance(instanceId); System.out.println("Instance deleted: " + instanceId); } catch (NotFoundException e) { System.err.print...
public class class_name { public void deleteInstance() { System.out.println("\nDeleting Instance"); // [START bigtable_delete_instance] try { adminClient.deleteInstance(instanceId); // depends on control dependency: [try], data = [none] System.out.println("Instance deleted: " + instanceId); // ...
public class class_name { @Override public boolean isAvailable(final Object key, final Class<?> clas) { this.logger.debug("@isAvailable :".concat(key.toString()).concat(" for class : ".concat(clas.toString()))); final Object Object = getCachableMap(clas).get(key); if (Object == null) { this.logger.debug...
public class class_name { @Override public boolean isAvailable(final Object key, final Class<?> clas) { this.logger.debug("@isAvailable :".concat(key.toString()).concat(" for class : ".concat(clas.toString()))); final Object Object = getCachableMap(clas).get(key); if (Object == null) { this.logger.debug...
public class class_name { public void serviceInstall(ServiceComponent serviceComponent) { // create object pools for (SbbID sbbID : serviceComponent.getSbbIDs(sleeContainer.getComponentRepository())) { // create the pool for the given SbbID sbbPoolManagement.createObjectPool(serviceComponent.getServiceID(), ...
public class class_name { public void serviceInstall(ServiceComponent serviceComponent) { // create object pools for (SbbID sbbID : serviceComponent.getSbbIDs(sleeContainer.getComponentRepository())) { // create the pool for the given SbbID sbbPoolManagement.createObjectPool(serviceComponent.getServiceID(), ...
public class class_name { public SecurityTokenServiceClient buildClientForRelyingPartyTokenResponses(final SecurityToken securityToken, final WSFederationRegisteredService service) { val cxfBus = BusFactory.getDefaultBus(); ...
public class class_name { public SecurityTokenServiceClient buildClientForRelyingPartyTokenResponses(final SecurityToken securityToken, final WSFederationRegisteredService service) { val cxfBus = BusFactory.getDefaultBus(); ...
public class class_name { public static void runExample( AdManagerServices adManagerServices, AdManagerSession session, int activityGroupId, long advertiserCompanyId) throws RemoteException { // Get the ActivityGroupService. ActivityGroupServiceInterface activityGroupService = ...
public class class_name { public static void runExample( AdManagerServices adManagerServices, AdManagerSession session, int activityGroupId, long advertiserCompanyId) throws RemoteException { // Get the ActivityGroupService. ActivityGroupServiceInterface activityGroupService = ...
public class class_name { protected void onAfterDeleteFromMemcached( @Nonnull final String sessionId ) { final long start = System.currentTimeMillis(); final String validityInfoKey = _sessionIdFormat.createValidityInfoKeyName( sessionId ); _storage.delete( validityInfoKey ); if (_stor...
public class class_name { protected void onAfterDeleteFromMemcached( @Nonnull final String sessionId ) { final long start = System.currentTimeMillis(); final String validityInfoKey = _sessionIdFormat.createValidityInfoKeyName( sessionId ); _storage.delete( validityInfoKey ); if (_stor...
public class class_name { public static Fraction getFraction(int numerator, int denominator) { if (denominator == 0) { throw new ArithmeticException("The denominator must not be zero"); } if (denominator < 0) { if (numerator == Integer.MIN_VALUE || denominator == Integer...
public class class_name { public static Fraction getFraction(int numerator, int denominator) { if (denominator == 0) { throw new ArithmeticException("The denominator must not be zero"); } if (denominator < 0) { if (numerator == Integer.MIN_VALUE || denominator == Integer...
public class class_name { public final Set<T> values() { Set<T> convertedValues = new HashSet<>(); for (BinaryValue baw : values) { convertedValues.add(convert(baw)); } return Collections.unmodifiableSet(convertedValues); } }
public class class_name { public final Set<T> values() { Set<T> convertedValues = new HashSet<>(); for (BinaryValue baw : values) { convertedValues.add(convert(baw)); // depends on control dependency: [for], data = [baw] } return Collections.unmodifiableSet(conve...
public class class_name { public CmsRelationFilter filterWeak() { CmsRelationFilter filter = (CmsRelationFilter)clone(); if (filter.m_types.isEmpty()) { filter.m_types.addAll(CmsRelationType.getAllWeak()); } else { filter.m_types = new HashSet<CmsRelationType>(CmsRelati...
public class class_name { public CmsRelationFilter filterWeak() { CmsRelationFilter filter = (CmsRelationFilter)clone(); if (filter.m_types.isEmpty()) { filter.m_types.addAll(CmsRelationType.getAllWeak()); // depends on control dependency: [if], data = [none] } else { f...
public class class_name { @Override public AbstractMessage nextElement() { if (endOfQueueReached) throw new NoSuchElementException(); try { checkNotClosed(); AbstractMessage msg = fetchNext(); if (msg != null) { nextMessage = null; // Consume fetched message // Make sure the message...
public class class_name { @Override public AbstractMessage nextElement() { if (endOfQueueReached) throw new NoSuchElementException(); try { checkNotClosed(); // depends on control dependency: [try], data = [none] AbstractMessage msg = fetchNext(); if (msg != null) { nextMessage = null; /...
public class class_name { @SuppressWarnings("unchecked") private static void checkTypeParameter(List<String> errorMessages, Class type) { // Only check classes and interfaces that extend Storable. if (type != null && Storable.class.isAssignableFrom(type)) { if (Storable.class == typ...
public class class_name { @SuppressWarnings("unchecked") private static void checkTypeParameter(List<String> errorMessages, Class type) { // Only check classes and interfaces that extend Storable. if (type != null && Storable.class.isAssignableFrom(type)) { if (Storable.class == typ...
public class class_name { protected int removeHeapNode(int i) { int val = heap[i]; int rightMost = --size; heap[i] = heap[rightMost]; heap[rightMost] = 0; if(fastValueRemove == Mode.HASH) { valueIndexMap.remove(val); if(size != 0) ...
public class class_name { protected int removeHeapNode(int i) { int val = heap[i]; int rightMost = --size; heap[i] = heap[rightMost]; heap[rightMost] = 0; if(fastValueRemove == Mode.HASH) { valueIndexMap.remove(val); // depends on control dependency: [if]...
public class class_name { public void setResourceAwsIamAccessKeyUserName(java.util.Collection<StringFilter> resourceAwsIamAccessKeyUserName) { if (resourceAwsIamAccessKeyUserName == null) { this.resourceAwsIamAccessKeyUserName = null; return; } this.resourceAwsIamAccess...
public class class_name { public void setResourceAwsIamAccessKeyUserName(java.util.Collection<StringFilter> resourceAwsIamAccessKeyUserName) { if (resourceAwsIamAccessKeyUserName == null) { this.resourceAwsIamAccessKeyUserName = null; // depends on control dependency: [if], data = [none] ...
public class class_name { Object[] readNext(List<String> columnNames) throws IOException { if (currentRowInFileIndex++ >= sasFileProperties.getRowCount() || eof) { return null; } int bitOffset = sasFileProperties.isU64() ? PAGE_BIT_OFFSET_X64 : PAGE_BIT_OFFSET_X86; switch (c...
public class class_name { Object[] readNext(List<String> columnNames) throws IOException { if (currentRowInFileIndex++ >= sasFileProperties.getRowCount() || eof) { return null; } int bitOffset = sasFileProperties.isU64() ? PAGE_BIT_OFFSET_X64 : PAGE_BIT_OFFSET_X86; switch (c...
public class class_name { private Map<String, Map<String, Set<String>>> getDependencies(Context context, Collection<JavaFileObject> explicitJFOs, boolean cp) { Map<String, Map<Str...
public class class_name { private Map<String, Map<String, Set<String>>> getDependencies(Context context, Collection<JavaFileObject> explicitJFOs, boolean cp) { Map<String, Map<Str...
public class class_name { public void updateChannelConfiguration(UpdateChannelConfiguration updateChannelConfiguration, Orderer orderer, byte[]... signers) throws TransactionException, InvalidArgumentException { checkChannelState(); checkOrderer(orderer); try { final long startLa...
public class class_name { public void updateChannelConfiguration(UpdateChannelConfiguration updateChannelConfiguration, Orderer orderer, byte[]... signers) throws TransactionException, InvalidArgumentException { checkChannelState(); checkOrderer(orderer); try { final long startLa...
public class class_name { private void setScanCriteria(Scan scan, String columnFamily, List<Map<String, Object>> columnsToOutput, Filter filter) { if (filter != null) { scan.setFilter(filter); } } }
public class class_name { private void setScanCriteria(Scan scan, String columnFamily, List<Map<String, Object>> columnsToOutput, Filter filter) { if (filter != null) { scan.setFilter(filter); // depends on control dependency: [if], data = [(filter] } } }
public class class_name { public static BidiGlobalDir decodeBidiGlobalDirFromPyOptions(String bidiIsRtlFn) { if (bidiIsRtlFn == null || bidiIsRtlFn.isEmpty()) { return null; } int dotIndex = bidiIsRtlFn.lastIndexOf('.'); Preconditions.checkArgument( dotIndex > 0 && dotIndex < bidiIsRtlFn....
public class class_name { public static BidiGlobalDir decodeBidiGlobalDirFromPyOptions(String bidiIsRtlFn) { if (bidiIsRtlFn == null || bidiIsRtlFn.isEmpty()) { return null; // depends on control dependency: [if], data = [none] } int dotIndex = bidiIsRtlFn.lastIndexOf('.'); Preconditions.checkArg...
public class class_name { @SuppressWarnings("unchecked") @Override protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken token) throws AuthenticationException { String id; if (AnonymousToken.isAnonymous(token)) { // Only continue if an anonymous ident...
public class class_name { @SuppressWarnings("unchecked") @Override protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken token) throws AuthenticationException { String id; if (AnonymousToken.isAnonymous(token)) { // Only continue if an anonymous ident...
public class class_name { public Observable<ServiceResponse<Page<String>>> listWebAppsByHybridConnectionSinglePageAsync(final String resourceGroupName, final String name, final String namespaceName, final String relayName) { if (resourceGroupName == null) { throw new IllegalArgumentException("Param...
public class class_name { public Observable<ServiceResponse<Page<String>>> listWebAppsByHybridConnectionSinglePageAsync(final String resourceGroupName, final String name, final String namespaceName, final String relayName) { if (resourceGroupName == null) { throw new IllegalArgumentException("Param...
public class class_name { @NonNull public List<List<LatLng>> getLatLngs() { Polygon polygon = (Polygon) geometry; List<List<LatLng>> latLngs = new ArrayList<>(); List<List<Point>> coordinates = polygon.coordinates(); if (coordinates != null) { for (List<Point> innerPoints : coordinates) { ...
public class class_name { @NonNull public List<List<LatLng>> getLatLngs() { Polygon polygon = (Polygon) geometry; List<List<LatLng>> latLngs = new ArrayList<>(); List<List<Point>> coordinates = polygon.coordinates(); if (coordinates != null) { for (List<Point> innerPoints : coordinates) { ...
public class class_name { public boolean isAnyCategorical(){ int cnt =0; for(int i=0;i<_cols.length;++i) { if( !_cols[i]._ignored && !_cols[i]._response && _cols[i]._isCategorical) { cnt = 1; break; } } if(cnt ==1) return true; else return false; } }
public class class_name { public boolean isAnyCategorical(){ int cnt =0; for(int i=0;i<_cols.length;++i) { if( !_cols[i]._ignored && !_cols[i]._response && _cols[i]._isCategorical) { cnt = 1; // depends on control dependency: [if], data = [none] break; } } if(cnt ==1) return...
public class class_name { private String getCacheKey(HttpServerExchange exchange) { String host = null; HeaderMap headerMap = exchange.getRequestHeaders(); if (headerMap != null) { HeaderValues headerValues = headerMap.get(Header.X_FORWARDED_FOR.toHttpString()); if (hea...
public class class_name { private String getCacheKey(HttpServerExchange exchange) { String host = null; HeaderMap headerMap = exchange.getRequestHeaders(); if (headerMap != null) { HeaderValues headerValues = headerMap.get(Header.X_FORWARDED_FOR.toHttpString()); if (hea...
public class class_name { private Block getBlock(QueryConditonDatakey qcdk) { Block clientBlock = new Block(qcdk.getStart(), qcdk.getCount()); if (clientBlock.getCount() > this.blockLength) clientBlock.setCount(this.blockLength); // create dataBlock get DataBase or cache; List list = getBlockKeys(qcd...
public class class_name { private Block getBlock(QueryConditonDatakey qcdk) { Block clientBlock = new Block(qcdk.getStart(), qcdk.getCount()); if (clientBlock.getCount() > this.blockLength) clientBlock.setCount(this.blockLength); // create dataBlock get DataBase or cache; List list = getBlockKeys(qcd...
public class class_name { @Deprecated public List<Index> listIndices() { InputStream response = null; try { URI uri = new DatabaseURIHelper(db.getDBUri()).path("_index").build(); response = client.couchDbClient.get(uri); return getResponseList(response, client.ge...
public class class_name { @Deprecated public List<Index> listIndices() { InputStream response = null; try { URI uri = new DatabaseURIHelper(db.getDBUri()).path("_index").build(); response = client.couchDbClient.get(uri); // depends on control dependency: [try], data = [none]...
public class class_name { private synchronized void maybeRun() { if (inprogress==null && pending!=null) { base.submit(new Callable<Void>() { @Override public Void call() throws Exception { synchronized (AtmostOneTaskExecutor.this) { ...
public class class_name { private synchronized void maybeRun() { if (inprogress==null && pending!=null) { base.submit(new Callable<Void>() { @Override public Void call() throws Exception { synchronized (AtmostOneTaskExecutor.this) { ...
public class class_name { public final I getInvocation(Object protocolKey) { I invocation = null; // XXX: see if can remove this LruCache<Object,I> invocationCache = _invocationCache; if (invocationCache != null) { invocation = invocationCache.get(protocolKey); } if (invocation == nu...
public class class_name { public final I getInvocation(Object protocolKey) { I invocation = null; // XXX: see if can remove this LruCache<Object,I> invocationCache = _invocationCache; if (invocationCache != null) { invocation = invocationCache.get(protocolKey); // depends on control dependenc...
public class class_name { @Override public Response deleteResource(OperationContext context) { context. checkOperationSupport(). checkPreconditions(); try { context.resource().delete(); return Response.noContent().build(); } catch (ApplicationExecutionException e) { throw diagnoseApplicationExecu...
public class class_name { @Override public Response deleteResource(OperationContext context) { context. checkOperationSupport(). checkPreconditions(); try { context.resource().delete(); // depends on control dependency: [try], data = [none] return Response.noContent().build(); // depends on control de...
public class class_name { private void submit(final ActiveContext context, final String command) { try { LOG.log(Level.INFO, "Send command {0} to context: {1}", new Object[]{command, context}); final JavaConfigurationBuilder cb = Tang.Factory.getTang().newConfigurationBuilder(); cb.addConfigurati...
public class class_name { private void submit(final ActiveContext context, final String command) { try { LOG.log(Level.INFO, "Send command {0} to context: {1}", new Object[]{command, context}); // depends on control dependency: [try], data = [none] final JavaConfigurationBuilder cb = Tang.Factory.getTa...
public class class_name { public ByteBuffer getAttributeBuffer(int index) { final VertexAttribute attribute = getAttribute(index); if (attribute == null) { return null; } return attribute.getData(); } }
public class class_name { public ByteBuffer getAttributeBuffer(int index) { final VertexAttribute attribute = getAttribute(index); if (attribute == null) { return null; // depends on control dependency: [if], data = [none] } return attribute.getData(); } }
public class class_name { @Override public HistogramIterationValue next() { // Move through the sub buckets and buckets until we hit the next reporting level: while (!exhaustedSubBuckets()) { countAtThisValue = histogram.getCountAtIndex(currentIndex); if (freshSubBucket) { /...
public class class_name { @Override public HistogramIterationValue next() { // Move through the sub buckets and buckets until we hit the next reporting level: while (!exhaustedSubBuckets()) { countAtThisValue = histogram.getCountAtIndex(currentIndex); // depends on control dependency: [...
public class class_name { public ElementType<AnnotationType<T>> getOrCreateElement() { List<Node> nodeList = childNode.get("element"); if (nodeList != null && nodeList.size() > 0) { return new ElementTypeImpl<AnnotationType<T>>(this, "element", childNode, nodeList.get(0)); } ...
public class class_name { public ElementType<AnnotationType<T>> getOrCreateElement() { List<Node> nodeList = childNode.get("element"); if (nodeList != null && nodeList.size() > 0) { return new ElementTypeImpl<AnnotationType<T>>(this, "element", childNode, nodeList.get(0)); // depends on ...
public class class_name { public java.util.List<String> getRetentionConfigurationNames() { if (retentionConfigurationNames == null) { retentionConfigurationNames = new com.amazonaws.internal.SdkInternalList<String>(); } return retentionConfigurationNames; } }
public class class_name { public java.util.List<String> getRetentionConfigurationNames() { if (retentionConfigurationNames == null) { retentionConfigurationNames = new com.amazonaws.internal.SdkInternalList<String>(); // depends on control dependency: [if], data = [none] } return re...
public class class_name { @SuppressWarnings("static-method") protected Visibility applyMinMaxVisibility(Visibility visibility, MutableFieldDeclaration it, TransformationContext context) { if (context.findTypeGlobally(Agent.class).isAssignableFrom(it.getDeclaringType())) { if (visibility.compareTo(Visibility.PROT...
public class class_name { @SuppressWarnings("static-method") protected Visibility applyMinMaxVisibility(Visibility visibility, MutableFieldDeclaration it, TransformationContext context) { if (context.findTypeGlobally(Agent.class).isAssignableFrom(it.getDeclaringType())) { if (visibility.compareTo(Visibility.PROT...
public class class_name { public boolean isDuplicateName(String name) { if (name == null || name.trim().isEmpty()) { return false; } List<AssignmentRow> as = view.getAssignmentRows(); if (as != null && !as.isEmpty()) { int nameCount = 0; for (Assignme...
public class class_name { public boolean isDuplicateName(String name) { if (name == null || name.trim().isEmpty()) { return false; // depends on control dependency: [if], data = [none] } List<AssignmentRow> as = view.getAssignmentRows(); if (as != null && !as.isEmpty()) { ...
public class class_name { public void loadModel(final GVRResourceVolume fileVolume, final GVRSceneObject model, final EnumSet<GVRImportSettings> settings, final boolean cacheEnabled, final IAssetEvents handler) ...
public class class_name { public void loadModel(final GVRResourceVolume fileVolume, final GVRSceneObject model, final EnumSet<GVRImportSettings> settings, final boolean cacheEnabled, final IAssetEvents handler) ...
public class class_name { public final DTMIterator getContextNodes() { try { DTMIterator cnl = getContextNodeList(); if (null != cnl) return cnl.cloneWithReset(); else return null; // for now... this might ought to be an empty iterator. } catch (CloneNotSupportedE...
public class class_name { public final DTMIterator getContextNodes() { try { DTMIterator cnl = getContextNodeList(); if (null != cnl) return cnl.cloneWithReset(); else return null; // for now... this might ought to be an empty iterator. } catch (CloneNotSupportedE...
public class class_name { public static <T> T createInternal(Config config, Class<T> clazz) { if (((SimpleConfig)config).root().resolveStatus() != ResolveStatus.RESOLVED) throw new ConfigException.NotResolved( "need to Config#resolve() a config before using it to initialize a be...
public class class_name { public static <T> T createInternal(Config config, Class<T> clazz) { if (((SimpleConfig)config).root().resolveStatus() != ResolveStatus.RESOLVED) throw new ConfigException.NotResolved( "need to Config#resolve() a config before using it to initialize a be...
public class class_name { @Override public void addProperty(final String key, final Object value) { if (containsKey(key)) { String newValue = get(key) + ',' + (value == null ? "" : value); addOrModifyProperty(key, newValue); } else { addOrModifyProperty(key, value == null ? null : value.toString()); } ...
public class class_name { @Override public void addProperty(final String key, final Object value) { if (containsKey(key)) { String newValue = get(key) + ',' + (value == null ? "" : value); addOrModifyProperty(key, newValue); // depends on control dependency: [if], data = [none] } else { addOrModifyProper...
public class class_name { @FFDCIgnore(NumberFormatException.class) private boolean isSuccessStatusCode(String s) { if (s == null) { return false; } if ("2XX".equals(s) || "default".equals(s)) { return true; } if (s.length() != 3) { return ...
public class class_name { @FFDCIgnore(NumberFormatException.class) private boolean isSuccessStatusCode(String s) { if (s == null) { return false; // depends on control dependency: [if], data = [none] } if ("2XX".equals(s) || "default".equals(s)) { return true; // dep...
public class class_name { public void setRelationalDatabaseSnapshots(java.util.Collection<RelationalDatabaseSnapshot> relationalDatabaseSnapshots) { if (relationalDatabaseSnapshots == null) { this.relationalDatabaseSnapshots = null; return; } this.relationalDatabaseSnap...
public class class_name { public void setRelationalDatabaseSnapshots(java.util.Collection<RelationalDatabaseSnapshot> relationalDatabaseSnapshots) { if (relationalDatabaseSnapshots == null) { this.relationalDatabaseSnapshots = null; // depends on control dependency: [if], data = [none] ...
public class class_name { public int read(char[] ch, int offset, int length) throws IOException { /* * The behavior of this method is _intended_ to be like this: * * 1. In case if we are working with UCS-2 data, `readUCS2` method * handles the stuff. * *...
public class class_name { public int read(char[] ch, int offset, int length) throws IOException { /* * The behavior of this method is _intended_ to be like this: * * 1. In case if we are working with UCS-2 data, `readUCS2` method * handles the stuff. * *...
public class class_name { void metaSave(PrintWriter out) { synchronized (pendingReplications) { out.println("Metasave: Blocks being replicated: " + pendingReplications.size()); Iterator iter = pendingReplications.entrySet().iterator(); while (iter.hasNext()) { Map.Entry ...
public class class_name { void metaSave(PrintWriter out) { synchronized (pendingReplications) { out.println("Metasave: Blocks being replicated: " + pendingReplications.size()); Iterator iter = pendingReplications.entrySet().iterator(); while (iter.hasNext()) { Map.Entry ...
public class class_name { public static int validate(URL url, String output, String[] classpath) { if (url == null || !(url.toExternalForm().endsWith(".rar") || url.toExternalForm().endsWith(".rar/"))) return FAIL; int exitCode = SUCCESS; File destination = null; URLClassLoader cl...
public class class_name { public static int validate(URL url, String output, String[] classpath) { if (url == null || !(url.toExternalForm().endsWith(".rar") || url.toExternalForm().endsWith(".rar/"))) return FAIL; int exitCode = SUCCESS; File destination = null; URLClassLoader cl...
public class class_name { private void jComboBoxLineWidthActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jComboBoxLineWidthActionPerformed float lineWidth; try { lineWidth = Float.parseFloat(jComboBoxLineWidth.getSelectedItem().toString()); } catch (NumberFormatEx...
public class class_name { private void jComboBoxLineWidthActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jComboBoxLineWidthActionPerformed float lineWidth; try { lineWidth = Float.parseFloat(jComboBoxLineWidth.getSelectedItem().toString()); // depends on control dependenc...
public class class_name { @Override public String convertType(String _typeDesc, boolean useClassModel, boolean isLocal) { if (_typeDesc.equals("Z") || _typeDesc.equals("boolean")) { return (cvtBooleanToChar); } else if (_typeDesc.equals("[Z") || _typeDesc.equals("boolean[]")) { return isL...
public class class_name { @Override public String convertType(String _typeDesc, boolean useClassModel, boolean isLocal) { if (_typeDesc.equals("Z") || _typeDesc.equals("boolean")) { return (cvtBooleanToChar); // depends on control dependency: [if], data = [none] } else if (_typeDesc.equals("[Z") |...
public class class_name { public synchronized void clear() { _layerCache.clear(); _moduleCache.clear(); _gzipCache.clear(); for (IGenericCache cache : _namedCaches.values()) { cache.clear(); } } }
public class class_name { public synchronized void clear() { _layerCache.clear(); _moduleCache.clear(); _gzipCache.clear(); for (IGenericCache cache : _namedCaches.values()) { cache.clear(); // depends on control dependency: [for], data = [cache] } } }
public class class_name { List<JCAnnotation> annotationsOpt(Tag kind) { if (token.kind != MONKEYS_AT) return List.nil(); // optimization ListBuffer<JCAnnotation> buf = new ListBuffer<JCAnnotation>(); int prevmode = mode; while (token.kind == MONKEYS_AT) { int pos = token.pos...
public class class_name { List<JCAnnotation> annotationsOpt(Tag kind) { if (token.kind != MONKEYS_AT) return List.nil(); // optimization ListBuffer<JCAnnotation> buf = new ListBuffer<JCAnnotation>(); int prevmode = mode; while (token.kind == MONKEYS_AT) { int pos = token.pos...
public class class_name { private static int getAppVersion(Context context) { try { PackageInfo packageInfo = context.getPackageManager() .getPackageInfo(context.getPackageName(), 0); return packageInfo.versionCode; } catch (NameNotFoundException e) { ...
public class class_name { private static int getAppVersion(Context context) { try { PackageInfo packageInfo = context.getPackageManager() .getPackageInfo(context.getPackageName(), 0); return packageInfo.versionCode; // depends on control dependency: [try], data = [no...
public class class_name { private boolean isOutOrBelow(Context current) { Context c = current.threadState.outctxt; while (c != null) { if (c == current) { return true; } c = c.outer; } return false; } }
public class class_name { private boolean isOutOrBelow(Context current) { Context c = current.threadState.outctxt; while (c != null) { if (c == current) { return true; // depends on control dependency: [if], data = [none] } c = c.outer; // depends on control dependency: [while], data = [none] ...
public class class_name { public static String[] intersect(String[] arr1, String[] arr2) { Map<String, Boolean> map = new HashMap<String, Boolean>(); LinkedList<String> list = new LinkedList<String>(); for (String str : arr1) { if (!map.containsKey(str)) { map.put(str, Boolean.FALSE); } } for (Stri...
public class class_name { public static String[] intersect(String[] arr1, String[] arr2) { Map<String, Boolean> map = new HashMap<String, Boolean>(); LinkedList<String> list = new LinkedList<String>(); for (String str : arr1) { if (!map.containsKey(str)) { map.put(str, Boolean.FALSE); // depends on contro...
public class class_name { public SortedSet<T> firstSubset(SortedSet<T> set) { if (this.rootNodes.isEmpty() || set == null || set.isEmpty()) { return null; } return firstSubset(set, this.rootNodes); } }
public class class_name { public SortedSet<T> firstSubset(SortedSet<T> set) { if (this.rootNodes.isEmpty() || set == null || set.isEmpty()) { return null; // depends on control dependency: [if], data = [none] } return firstSubset(set, this.rootNodes); } }
public class class_name { public TaskDeleteOptions withIfModifiedSince(DateTime ifModifiedSince) { if (ifModifiedSince == null) { this.ifModifiedSince = null; } else { this.ifModifiedSince = new DateTimeRfc1123(ifModifiedSince); } return this; } }
public class class_name { public TaskDeleteOptions withIfModifiedSince(DateTime ifModifiedSince) { if (ifModifiedSince == null) { this.ifModifiedSince = null; // depends on control dependency: [if], data = [none] } else { this.ifModifiedSince = new DateTimeRfc1123(ifModifiedSinc...
public class class_name { public void startFragment(Fragment fragment, String tag, boolean canAddToBackstack) { FragmentTransaction transaction = getSupportFragmentManager().beginTransaction().replace(R.id.fragmentContainer, fragment); if (canAddToBackstack) { transaction.addToBackStack(tag); } transaction....
public class class_name { public void startFragment(Fragment fragment, String tag, boolean canAddToBackstack) { FragmentTransaction transaction = getSupportFragmentManager().beginTransaction().replace(R.id.fragmentContainer, fragment); if (canAddToBackstack) { transaction.addToBackStack(tag); // depends on cont...
public class class_name { public void addObjectResult(ObjectResult objResult) { m_objResultList.add(objResult); // Elevate batch-level status to warning if needed. Status batchResult = getStatus(); if (batchResult == Status.OK && objResult.getStatus() != ObjectResult.Statu...
public class class_name { public void addObjectResult(ObjectResult objResult) { m_objResultList.add(objResult); // Elevate batch-level status to warning if needed. Status batchResult = getStatus(); if (batchResult == Status.OK && objResult.getStatus() != ObjectResult.Statu...
public class class_name { public List<INextGenEvent> getEvents(Long startTime) { ArrayList<INextGenEvent> eventList = null; //Key events where key is equal to or greater (null if nothing is found) Long eventKey = events.ceilingKey(startTime); if(eventKey != null) { eventList = events.get(eventK...
public class class_name { public List<INextGenEvent> getEvents(Long startTime) { ArrayList<INextGenEvent> eventList = null; //Key events where key is equal to or greater (null if nothing is found) Long eventKey = events.ceilingKey(startTime); if(eventKey != null) { eventList = events.get(eventK...
public class class_name { public ResponseBuilder getRepresentation(final ResponseBuilder builder) { // Add NonRDFSource-related "describe*" link headers, provided this isn't an ACL resource getResource().getBinaryMetadata().filter(ds -> !ACL.equals(getRequest().getExt())).ifPresent(ds -> { ...
public class class_name { public ResponseBuilder getRepresentation(final ResponseBuilder builder) { // Add NonRDFSource-related "describe*" link headers, provided this isn't an ACL resource getResource().getBinaryMetadata().filter(ds -> !ACL.equals(getRequest().getExt())).ifPresent(ds -> { ...
public class class_name { private void replaceUnsolvedReference(Map<String, List<NamedConcreteElement>> concreteElementsMap, UnsolvedReference unsolvedReference) { List<NamedConcreteElement> concreteElements = concreteElementsMap.get(unsolvedReference.getRef()); if (concreteElements != null){ ...
public class class_name { private void replaceUnsolvedReference(Map<String, List<NamedConcreteElement>> concreteElementsMap, UnsolvedReference unsolvedReference) { List<NamedConcreteElement> concreteElements = concreteElementsMap.get(unsolvedReference.getRef()); if (concreteElements != null){ ...
public class class_name { public void saveInheritContainer( final CmsInheritanceContainer inheritanceContainer, final CmsGroupContainerElementPanel groupContainerElement) { if (getGroupcontainer() != null) { CmsRpcAction<Map<String, CmsContainerElementData>> action = new CmsRpcActi...
public class class_name { public void saveInheritContainer( final CmsInheritanceContainer inheritanceContainer, final CmsGroupContainerElementPanel groupContainerElement) { if (getGroupcontainer() != null) { CmsRpcAction<Map<String, CmsContainerElementData>> action = new CmsRpcActi...
public class class_name { public void setAttribute(String attributeName, Object value) { synchronized (_iSession) { if (!_iSession.isValid()) throw new IllegalStateException(); if (null != value) { if (!(value instanceof HttpSessionBindingListener)) { ...
public class class_name { public void setAttribute(String attributeName, Object value) { synchronized (_iSession) { if (!_iSession.isValid()) throw new IllegalStateException(); if (null != value) { if (!(value instanceof HttpSessionBindingListener)) { ...
public class class_name { public Workbook writeToExcel(List<? extends Object> datas, boolean hasTitle, Workbook workbook, boolean transverse) { if (CollectionUtil.safeIsEmpty(datas)) { log.warn("给定数据集合为空"); return workbook; } datas = data...
public class class_name { public Workbook writeToExcel(List<? extends Object> datas, boolean hasTitle, Workbook workbook, boolean transverse) { if (CollectionUtil.safeIsEmpty(datas)) { log.warn("给定数据集合为空"); // depends on control dependency: [if], data = [none] ...
public class class_name { public void marshall(JobExecutionsRolloutConfig jobExecutionsRolloutConfig, ProtocolMarshaller protocolMarshaller) { if (jobExecutionsRolloutConfig == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { pr...
public class class_name { public void marshall(JobExecutionsRolloutConfig jobExecutionsRolloutConfig, ProtocolMarshaller protocolMarshaller) { if (jobExecutionsRolloutConfig == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { pr...
public class class_name { public void marshall(ExportJobsResponse exportJobsResponse, ProtocolMarshaller protocolMarshaller) { if (exportJobsResponse == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshal...
public class class_name { public void marshall(ExportJobsResponse exportJobsResponse, ProtocolMarshaller protocolMarshaller) { if (exportJobsResponse == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshal...
public class class_name { public void outputObjects(XMLStructuredOutput output, int limit, @Nullable String marker, @Nullable String prefix) { ListFileTreeVisitor visitor = new ListFileTreeVisitor(output, limit, marker, prefix); output.beginOutput("ListBucketResult", Attribute.set("xmlns", "http://s3....
public class class_name { public void outputObjects(XMLStructuredOutput output, int limit, @Nullable String marker, @Nullable String prefix) { ListFileTreeVisitor visitor = new ListFileTreeVisitor(output, limit, marker, prefix); output.beginOutput("ListBucketResult", Attribute.set("xmlns", "http://s3....
public class class_name { public static synchronized void init() { if (initialized) return; if (tc.isEntryEnabled()) { Tr.entry(tc, "init"); } initialized = true; //defaultLevel = StatConstants.STATISTIC_SET_EXTENDED; defaultLevel = StatConstants...
public class class_name { public static synchronized void init() { if (initialized) return; if (tc.isEntryEnabled()) { Tr.entry(tc, "init"); // depends on control dependency: [if], data = [none] } initialized = true; //defaultLevel = StatConstants.STATIS...
public class class_name { public String getJoinColumnName(final KunderaMetadata kunderaMetadata) { if(joinColumnName == null && isJoinedByPrimaryKey) { EntityMetadata joinClassMetadata = KunderaMetadataManager.getEntityMetadata(kunderaMetadata, targetEntity); ...
public class class_name { public String getJoinColumnName(final KunderaMetadata kunderaMetadata) { if(joinColumnName == null && isJoinedByPrimaryKey) { EntityMetadata joinClassMetadata = KunderaMetadataManager.getEntityMetadata(kunderaMetadata, targetEntity); ...
public class class_name { private AuthenticationResult handleRedirect(HttpServletRequest req, HttpServletResponse res, WebRequest webRequest) { AuthenticationResult authResult; String loginURL = getFormLogi...
public class class_name { private AuthenticationResult handleRedirect(HttpServletRequest req, HttpServletResponse res, WebRequest webRequest) { AuthenticationResult authResult; String loginURL = getFormLogi...
public class class_name { public int allocate( final int typeId, final DirectBuffer keyBuffer, final int keyOffset, final int keyLength, final DirectBuffer labelBuffer, final int labelOffset, final int labelLength) { final int counterId = nextCounterI...
public class class_name { public int allocate( final int typeId, final DirectBuffer keyBuffer, final int keyOffset, final int keyLength, final DirectBuffer labelBuffer, final int labelOffset, final int labelLength) { final int counterId = nextCounterI...
public class class_name { private void chooseSampleSqlAndConf(BufferedReader br) throws IOException { while (true) { printInstruction("Which sample SQL schema would you like to use?"); for (int i = 0; i < getSqlConfInfos().size(); i++) { System.out.println(" " + (i + 1) ...
public class class_name { private void chooseSampleSqlAndConf(BufferedReader br) throws IOException { while (true) { printInstruction("Which sample SQL schema would you like to use?"); for (int i = 0; i < getSqlConfInfos().size(); i++) { System.out.println(" " + (i + 1) ...
public class class_name { void addMethodInfo(final MethodInfoList methodInfoList, final Map<String, ClassInfo> classNameToClassInfo) { for (final MethodInfo mi : methodInfoList) { // Index method annotations addFieldOrMethodAnnotationInfo(mi.annotationInfo, /* isField = */ false, classN...
public class class_name { void addMethodInfo(final MethodInfoList methodInfoList, final Map<String, ClassInfo> classNameToClassInfo) { for (final MethodInfo mi : methodInfoList) { // Index method annotations addFieldOrMethodAnnotationInfo(mi.annotationInfo, /* isField = */ false, classN...
public class class_name { public RemoveInfo addElement(TreeElement elem) { // if the attributes are empty then there is nothing to add to lists ArrayList attrs = elem.getAttributeList(); if (attrs == null || attrs.size() == 0) return emptyRemoves; // We will track all o...
public class class_name { public RemoveInfo addElement(TreeElement elem) { // if the attributes are empty then there is nothing to add to lists ArrayList attrs = elem.getAttributeList(); if (attrs == null || attrs.size() == 0) return emptyRemoves; // We will track all o...
public class class_name { public CacheManagerBuilder<T> withDefaultEventListenersThreadPool(String threadPoolAlias) { CacheEventDispatcherFactoryConfiguration config = configBuilder.findServiceByClass(CacheEventDispatcherFactoryConfiguration.class); if (config == null) { return new CacheManagerBuilder<>(...
public class class_name { public CacheManagerBuilder<T> withDefaultEventListenersThreadPool(String threadPoolAlias) { CacheEventDispatcherFactoryConfiguration config = configBuilder.findServiceByClass(CacheEventDispatcherFactoryConfiguration.class); if (config == null) { return new CacheManagerBuilder<>(...
public class class_name { protected String parseElementAfterString(StringBuilder content, String separator) { String element = null; // Find the first non escaped separator (starting from the end of the content buffer). int index = content.lastIndexOf(separator); while (index != -1...
public class class_name { protected String parseElementAfterString(StringBuilder content, String separator) { String element = null; // Find the first non escaped separator (starting from the end of the content buffer). int index = content.lastIndexOf(separator); while (index != -1...
public class class_name { protected ObjectPool setupPool(JdbcConnectionDescriptor jcd) { log.info("Create new ObjectPool for DBCP connections:" + jcd); try { ClassHelper.newInstance(jcd.getDriver()); } catch (InstantiationException e) { ...
public class class_name { protected ObjectPool setupPool(JdbcConnectionDescriptor jcd) { log.info("Create new ObjectPool for DBCP connections:" + jcd); try { ClassHelper.newInstance(jcd.getDriver()); // depends on control dependency: [try], data = [none] } ...
public class class_name { public GetSdkTypesResult withItems(SdkType... items) { if (this.items == null) { setItems(new java.util.ArrayList<SdkType>(items.length)); } for (SdkType ele : items) { this.items.add(ele); } return this; } }
public class class_name { public GetSdkTypesResult withItems(SdkType... items) { if (this.items == null) { setItems(new java.util.ArrayList<SdkType>(items.length)); // depends on control dependency: [if], data = [none] } for (SdkType ele : items) { this.items.add(ele); /...
public class class_name { public void checkServerState(final AsyncCallback<Boolean> callback, final String standBy, final String success) { // :read-attribute(name=process-type) final ModelNode operation = new ModelNode(); operation.get(OP).set(READ_ATTRIBUTE_OPERATION); operation.get(...
public class class_name { public void checkServerState(final AsyncCallback<Boolean> callback, final String standBy, final String success) { // :read-attribute(name=process-type) final ModelNode operation = new ModelNode(); operation.get(OP).set(READ_ATTRIBUTE_OPERATION); operation.get(...
public class class_name { public java.util.List<ScheduledInstance> getScheduledInstanceSet() { if (scheduledInstanceSet == null) { scheduledInstanceSet = new com.amazonaws.internal.SdkInternalList<ScheduledInstance>(); } return scheduledInstanceSet; } }
public class class_name { public java.util.List<ScheduledInstance> getScheduledInstanceSet() { if (scheduledInstanceSet == null) { scheduledInstanceSet = new com.amazonaws.internal.SdkInternalList<ScheduledInstance>(); // depends on control dependency: [if], data = [none] } return s...
public class class_name { private void deleteApplication() { ApplicationDefinition appDef = m_client.getAppDef(m_config.app); if (appDef != null) { m_logger.info("Deleting existing application: {}", appDef.getAppName()); m_client.deleteApplication(appDef.getAppName(), appDef...
public class class_name { private void deleteApplication() { ApplicationDefinition appDef = m_client.getAppDef(m_config.app); if (appDef != null) { m_logger.info("Deleting existing application: {}", appDef.getAppName()); // depends on control dependency: [if], data = [none] ...
public class class_name { public static int lengthOfCodePointSafe(Slice utf8, int position) { int length = lengthOfCodePointFromStartByteSafe(utf8.getByte(position)); if (length < 0) { return -length; } if (length == 1 || position + 1 >= utf8.length() || !isContinuation...
public class class_name { public static int lengthOfCodePointSafe(Slice utf8, int position) { int length = lengthOfCodePointFromStartByteSafe(utf8.getByte(position)); if (length < 0) { return -length; // depends on control dependency: [if], data = [none] } if (length ==...
public class class_name { private void convertJdkPath(Launcher launcher, EnvVars extendedEnv) { String separator = launcher.isUnix() ? "/" : "\\"; String java_home = extendedEnv.get("JAVA_HOME"); if (StringUtils.isNotEmpty(java_home)) { if (!StringUtils.endsWith(java_home, separator...
public class class_name { private void convertJdkPath(Launcher launcher, EnvVars extendedEnv) { String separator = launcher.isUnix() ? "/" : "\\"; String java_home = extendedEnv.get("JAVA_HOME"); if (StringUtils.isNotEmpty(java_home)) { if (!StringUtils.endsWith(java_home, separator...
public class class_name { public static String print(Constructor constructor) { final StringBuilder builder = new StringBuilder(constructor.name); if (! constructor.args.isEmpty()) { builder.append("("); boolean first = true; for (Arg arg : constructor.args) { ...
public class class_name { public static String print(Constructor constructor) { final StringBuilder builder = new StringBuilder(constructor.name); if (! constructor.args.isEmpty()) { builder.append("("); // depends on control dependency: [if], data = [none] boolean first = true;...
public class class_name { protected void loadChildExecutionsFromCache(ExecutionEntity execution, List<ExecutionEntity> childExecutions) { List<ExecutionEntity> childrenOfThisExecution = execution.getExecutions(); if(childrenOfThisExecution != null) { childExecutions.addAll(childrenOfThisExecution); ...
public class class_name { protected void loadChildExecutionsFromCache(ExecutionEntity execution, List<ExecutionEntity> childExecutions) { List<ExecutionEntity> childrenOfThisExecution = execution.getExecutions(); if(childrenOfThisExecution != null) { childExecutions.addAll(childrenOfThisExecution); // de...
public class class_name { public void checkAndCreateTable(String tabName, String colFamName) throws IOException { HBaseAdmin hba; try { hba = new HBaseAdmin(this.getHbcfg()); if (hba.tableExists(tabName) == false) { logger.debug("creating table " + tabName); ...
public class class_name { public void checkAndCreateTable(String tabName, String colFamName) throws IOException { HBaseAdmin hba; try { hba = new HBaseAdmin(this.getHbcfg()); if (hba.tableExists(tabName) == false) { logger.debug("creating table " + tabName); // d...
public class class_name { @Override public synchronized void start() { if (running) { return; } checkState(raftAgent != null); checkState(initialized); raftAgent.start(); running = true; } }
public class class_name { @Override public synchronized void start() { if (running) { return; // depends on control dependency: [if], data = [none] } checkState(raftAgent != null); checkState(initialized); raftAgent.start(); running = true; } }
public class class_name { public DatabaseAccessConfiguration swap(final DataSource dataSource) { DataSourcePropertyProvider provider = DataSourcePropertyProviderLoader.getProvider(dataSource); try { String url = (String) findGetterMethod(dataSource, provider.getURLPropertyName()).invoke(dat...
public class class_name { public DatabaseAccessConfiguration swap(final DataSource dataSource) { DataSourcePropertyProvider provider = DataSourcePropertyProviderLoader.getProvider(dataSource); try { String url = (String) findGetterMethod(dataSource, provider.getURLPropertyName()).invoke(dat...
public class class_name { public static DML getUnoptimizedInstance(SourceRange sourceRange, Operation... operations) { // Build a duplicate list to "flatten" the DML block. List<Operation> list = new LinkedList<Operation>(); // Inline operations from referenced DML blocks. for (Operation op : operations) ...
public class class_name { public static DML getUnoptimizedInstance(SourceRange sourceRange, Operation... operations) { // Build a duplicate list to "flatten" the DML block. List<Operation> list = new LinkedList<Operation>(); // Inline operations from referenced DML blocks. for (Operation op : operations) ...
public class class_name { protected AstNode parseCreateProcedureStatement( DdlTokenStream tokens, AstNode parentNode ) throws ParsingException { assert tokens != null; assert parentNode != null; markStartOfStatement(tokens); /* -----...
public class class_name { protected AstNode parseCreateProcedureStatement( DdlTokenStream tokens, AstNode parentNode ) throws ParsingException { assert tokens != null; assert parentNode != null; markStartOfStatement(tokens); /* -----...
public class class_name { @Override public boolean isUserInRole(String role, IExtendedRequest req) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "isUserInRole role = " + role); } if (role == null) return false; Subject sub...
public class class_name { @Override public boolean isUserInRole(String role, IExtendedRequest req) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "isUserInRole role = " + role); // depends on control dependency: [if], data = [none] } if (role ...