code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { private static BaseTypeConverter lookupTypeConverter(Class type) { BaseTypeConverter converter = (BaseTypeConverter)TYPE_CONVERTERS.get(type); if(converter == null) { String msg = "Could not find a TypeConverter for converting a String to an object of type \"" + ...
public class class_name { private static BaseTypeConverter lookupTypeConverter(Class type) { BaseTypeConverter converter = (BaseTypeConverter)TYPE_CONVERTERS.get(type); if(converter == null) { String msg = "Could not find a TypeConverter for converting a String to an object of type \"" + ...
public class class_name { public void putEvents(List<Event> events) { Exception lastException; List<EventType> eventTypes = new ArrayList<EventType>(); for (Event event : events) { EventType eventType = EventMapper.map(event); eventTypes.add(eventType); } ...
public class class_name { public void putEvents(List<Event> events) { Exception lastException; List<EventType> eventTypes = new ArrayList<EventType>(); for (Event event : events) { EventType eventType = EventMapper.map(event); eventTypes.add(eventType); // depends on con...
public class class_name { @Override ChronoInterval<T> newInterval( Boundary<T> start, Boundary<T> end ) { SimpleInterval.Factory<T> factory = SimpleInterval.on(this.timeLine); if (start.isInfinite()) { T e = end.getTemporal(); if (e != null) { ...
public class class_name { @Override ChronoInterval<T> newInterval( Boundary<T> start, Boundary<T> end ) { SimpleInterval.Factory<T> factory = SimpleInterval.on(this.timeLine); if (start.isInfinite()) { T e = end.getTemporal(); if (e != null) { ...
public class class_name { public int []getSwitchTargets() { switch (getOpcode()) { case TABLESWITCH: { int arg = _offset + 1; arg += (4 - arg % 4) % 4; int low = getInt(arg + 4); int high = getInt(arg + 8); int []targets = new int[high - low + 2]; targe...
public class class_name { public int []getSwitchTargets() { switch (getOpcode()) { case TABLESWITCH: { int arg = _offset + 1; arg += (4 - arg % 4) % 4; int low = getInt(arg + 4); int high = getInt(arg + 8); int []targets = new int[high - low + 2]; targe...
public class class_name { private void probe() { // First get a sorted list of discovery service nodes that are not present in the SWIM members. // This is necessary to ensure we attempt to probe all nodes that are provided by the discovery provider. List<SwimMember> probeMembers = Lists.newArrayList(disco...
public class class_name { private void probe() { // First get a sorted list of discovery service nodes that are not present in the SWIM members. // This is necessary to ensure we attempt to probe all nodes that are provided by the discovery provider. List<SwimMember> probeMembers = Lists.newArrayList(disco...
public class class_name { public void close() throws IOException { byte[] buffer; while ( (buffer = buf) != null) { if (compareAndSetBuf(buffer, null)) { InputStream input = in; in = null; if (input != null) input.close(); ...
public class class_name { public void close() throws IOException { byte[] buffer; while ( (buffer = buf) != null) { if (compareAndSetBuf(buffer, null)) { InputStream input = in; in = null; // depends on control dependency: [if], data = [none] ...
public class class_name { public void marshall(DomainDescriptionType domainDescriptionType, ProtocolMarshaller protocolMarshaller) { if (domainDescriptionType == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshalle...
public class class_name { public void marshall(DomainDescriptionType domainDescriptionType, ProtocolMarshaller protocolMarshaller) { if (domainDescriptionType == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshalle...
public class class_name { private String getStringValue(Object o) { if (o instanceof String) { return (String) o; } else if (o instanceof XmlNodeArray) { XmlNodeArray array = (XmlNodeArray) o; switch (array.size()) { case 0: return...
public class class_name { private String getStringValue(Object o) { if (o instanceof String) { return (String) o; // depends on control dependency: [if], data = [none] } else if (o instanceof XmlNodeArray) { XmlNodeArray array = (XmlNodeArray) o; switch (array.size()...
public class class_name { public final void stop() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "stop"); synchronized (alarmLock) { if (enabled) { loaderStopTime = timeNow(); enabled = false...
public class class_name { public final void stop() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "stop"); synchronized (alarmLock) { if (enabled) { loaderStopTime = timeNow(); // depends on control dependenc...
public class class_name { private void cancelAppendTimer() { if (appendTimer != null) { LOGGER.trace("{} - Cancelling append timer", context.getCluster().member().address()); appendTimer.cancel(); } } }
public class class_name { private void cancelAppendTimer() { if (appendTimer != null) { LOGGER.trace("{} - Cancelling append timer", context.getCluster().member().address()); // depends on control dependency: [if], data = [none] appendTimer.cancel(); // depends on control dependency: [if], data = [none...
public class class_name { void read(ucar.unidata.io.RandomAccessFile raf, ucar.nc2.NetcdfFile ncfile ) throws IOException { int hedsiz; /* NEXRAD header size */ int rc; /* function return status */ int hoff = 0; ...
public class class_name { void read(ucar.unidata.io.RandomAccessFile raf, ucar.nc2.NetcdfFile ncfile ) throws IOException { int hedsiz; /* NEXRAD header size */ int rc; /* function return status */ int hoff = 0; ...
public class class_name { public Metadata setMetadata(String templateName, String scope, Metadata metadata) { Metadata metadataValue = null; try { metadataValue = this.createMetadata(templateName, scope, metadata); } catch (BoxAPIException e) { if (e.getResponseCode() =...
public class class_name { public Metadata setMetadata(String templateName, String scope, Metadata metadata) { Metadata metadataValue = null; try { metadataValue = this.createMetadata(templateName, scope, metadata); // depends on control dependency: [try], data = [none] } catch (Box...
public class class_name { public String next() throws java.io.IOException { int zzInput; int zzAction; // cached fields: int zzCurrentPosL; int zzMarkedPosL; int zzEndReadL = zzEndRead; char [] zzBufferL = zzBuffer; char [] zzCMapL = ZZ_CMAP; int [] zzTransL = ZZ_TRANS;...
public class class_name { public String next() throws java.io.IOException { int zzInput; int zzAction; // cached fields: int zzCurrentPosL; int zzMarkedPosL; int zzEndReadL = zzEndRead; char [] zzBufferL = zzBuffer; char [] zzCMapL = ZZ_CMAP; int [] zzTransL = ZZ_TRANS;...
public class class_name { public boolean recordAbstract() { if (!hasAnySingletonTypeTags() && !currentInfo.isInterface() && !currentInfo.isAbstract() && !currentInfo.isFinal() && currentInfo.getVisibility() != Visibility.PRIVATE) { currentInfo.setAbstract(); populated = ...
public class class_name { public boolean recordAbstract() { if (!hasAnySingletonTypeTags() && !currentInfo.isInterface() && !currentInfo.isAbstract() && !currentInfo.isFinal() && currentInfo.getVisibility() != Visibility.PRIVATE) { currentInfo.setAbstract(); // depends on cont...
public class class_name { public static <K, V> Map<K, V> toMap(Mappable<K, V>[] aMappables) { if (aMappables == null) throw new IllegalArgumentException( "aMappables required in Organizer"); Map<K, V> map = new HashMap<K, V>(aMappables.length); Mappable<K, V> mappable = null; for (int i = 0; i ...
public class class_name { public static <K, V> Map<K, V> toMap(Mappable<K, V>[] aMappables) { if (aMappables == null) throw new IllegalArgumentException( "aMappables required in Organizer"); Map<K, V> map = new HashMap<K, V>(aMappables.length); Mappable<K, V> mappable = null; for (int i = 0; i ...
public class class_name { public final CommonEvent asCommonEvent(final JAXBContext ctx) { final Object m; if (getMeta() == null) { m = null; } else { m = getMeta().unmarshalContent(ctx); } final Object d = getData().unmarshalContent(ctx); ...
public class class_name { public final CommonEvent asCommonEvent(final JAXBContext ctx) { final Object m; if (getMeta() == null) { m = null; // depends on control dependency: [if], data = [none] } else { m = getMeta().unmarshalContent(ctx); // depends on control de...
public class class_name { public final void mEOL() throws RecognitionException { try { // src/main/resources/org/drools/compiler/lang/DRL5Lexer.g:80:6: ( ( ( '\\r\\n' )=> '\\r\\n' | '\\r' | '\\n' ) ) // src/main/resources/org/drools/compiler/lang/DRL5Lexer.g:81:12: ( ( '\\r\\n' )=> '\\r\\n' | '\\r' | '\\n' ) ...
public class class_name { public final void mEOL() throws RecognitionException { try { // src/main/resources/org/drools/compiler/lang/DRL5Lexer.g:80:6: ( ( ( '\\r\\n' )=> '\\r\\n' | '\\r' | '\\n' ) ) // src/main/resources/org/drools/compiler/lang/DRL5Lexer.g:81:12: ( ( '\\r\\n' )=> '\\r\\n' | '\\r' | '\\n' ) ...
public class class_name { public synchronized void addShutdownListener(ShutdownListener listener) { if (state == CLOSED) { listener.handleCompleted(); } else { listeners.add(listener); } } }
public class class_name { public synchronized void addShutdownListener(ShutdownListener listener) { if (state == CLOSED) { listener.handleCompleted(); // depends on control dependency: [if], data = [none] } else { listeners.add(listener); // depends on control dependency: [if], ...
public class class_name { public static void generateSubjectNext(SQLiteEntity entity, MethodSpec.Builder methodBuilder, SubjectType subjectType, String value) { String subInsertType = ""; if (subjectType == SubjectType.INSERT) { if (entity.getPrimaryKey().isType(String.class)) { subInsertType = "WithUid"...
public class class_name { public static void generateSubjectNext(SQLiteEntity entity, MethodSpec.Builder methodBuilder, SubjectType subjectType, String value) { String subInsertType = ""; if (subjectType == SubjectType.INSERT) { if (entity.getPrimaryKey().isType(String.class)) { subInsertType = "WithUid"...
public class class_name { @Override public EClass getLongType() { if (longTypeEClass == null) { longTypeEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(StorePackage.eNS_URI).getEClassifiers().get(75); } return longTypeEClass; } }
public class class_name { @Override public EClass getLongType() { if (longTypeEClass == null) { longTypeEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(StorePackage.eNS_URI).getEClassifiers().get(75); // depends on control dependency: [if], data = [none] } return longTypeEClass; } }
public class class_name { private Integer investigateVersionAndCheckForConflict(JPAObject newObject) throws EDBException { JPAEntry entry = newObject.getEntry(EDBConstants.MODEL_VERSION); String oid = newObject.getOID(); Integer modelVersion = 0; if (entry != null) { modelV...
public class class_name { private Integer investigateVersionAndCheckForConflict(JPAObject newObject) throws EDBException { JPAEntry entry = newObject.getEntry(EDBConstants.MODEL_VERSION); String oid = newObject.getOID(); Integer modelVersion = 0; if (entry != null) { modelV...
public class class_name { @Override public Object readValue(final Attribute _attribute, final List<Object> _objectList) { final List<Object[]> ret = new ArrayList<>(); for (final Object object : _objectList) { final Object[] temp = (Object[]) object; ...
public class class_name { @Override public Object readValue(final Attribute _attribute, final List<Object> _objectList) { final List<Object[]> ret = new ArrayList<>(); for (final Object object : _objectList) { final Object[] temp = (Object[]) object; ...
public class class_name { public ListAlgorithmsResult withAlgorithmSummaryList(AlgorithmSummary... algorithmSummaryList) { if (this.algorithmSummaryList == null) { setAlgorithmSummaryList(new java.util.ArrayList<AlgorithmSummary>(algorithmSummaryList.length)); } for (AlgorithmSummar...
public class class_name { public ListAlgorithmsResult withAlgorithmSummaryList(AlgorithmSummary... algorithmSummaryList) { if (this.algorithmSummaryList == null) { setAlgorithmSummaryList(new java.util.ArrayList<AlgorithmSummary>(algorithmSummaryList.length)); // depends on control dependency: [if]...
public class class_name { public void marshall(H264Settings h264Settings, ProtocolMarshaller protocolMarshaller) { if (h264Settings == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(h264Settings.get...
public class class_name { public void marshall(H264Settings h264Settings, ProtocolMarshaller protocolMarshaller) { if (h264Settings == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(h264Settings.get...
public class class_name { public long getFixedDate(int year, int month, int dayOfMonth, BaseCalendar.Date cache) { boolean isJan1 = month == JANUARY && dayOfMonth == 1; // Look up the one year cache if (cache != null && cache.hit(year)) { if (isJan1) { return cache....
public class class_name { public long getFixedDate(int year, int month, int dayOfMonth, BaseCalendar.Date cache) { boolean isJan1 = month == JANUARY && dayOfMonth == 1; // Look up the one year cache if (cache != null && cache.hit(year)) { if (isJan1) { return cache....
public class class_name { public void removeAttribute(String arg0) { // 321485 if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15 logger.logp(Level.FINE, CLASS_NAME,"removeAttribute", "this->"+this+": "+" name --> " + arg0); } if (WCCust...
public class class_name { public void removeAttribute(String arg0) { // 321485 if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15 logger.logp(Level.FINE, CLASS_NAME,"removeAttribute", "this->"+this+": "+" name --> " + arg0); // depends on control depend...
public class class_name { private static void setBucketCountsAndExemplars( List<Bucket> buckets, Distribution.Builder builder) { // The first bucket (underflow bucket) should always be 0 count because the Metrics first bucket // is [0, first_bound) but StackDriver distribution consists of an underflow bu...
public class class_name { private static void setBucketCountsAndExemplars( List<Bucket> buckets, Distribution.Builder builder) { // The first bucket (underflow bucket) should always be 0 count because the Metrics first bucket // is [0, first_bound) but StackDriver distribution consists of an underflow bu...
public class class_name { public static String getBeginActionURI( String requestURI ) { // Translate this to a request for the begin action ("begin.do") for this PageFlowController. InternalStringBuilder retVal = new InternalStringBuilder(); int lastSlash = requestURI.lastIndexOf( '/' ); ...
public class class_name { public static String getBeginActionURI( String requestURI ) { // Translate this to a request for the begin action ("begin.do") for this PageFlowController. InternalStringBuilder retVal = new InternalStringBuilder(); int lastSlash = requestURI.lastIndexOf( '/' ); ...
public class class_name { public final boolean addDeliveryDelayable(DeliveryDelayable deliveryDelayable) throws SevereMessageStoreException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "addDeliveryDelayable", "objId=" ...
public class class_name { public final boolean addDeliveryDelayable(DeliveryDelayable deliveryDelayable) throws SevereMessageStoreException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "addDeliveryDelayable", "objId=" ...
public class class_name { public boolean findTopicId(final File absolutePathToFile, final String id) { if (!absolutePathToFile.exists()) { return false; } try { //load the file final DocumentBuilder builder = XMLUtils.getDocumentBuilder(); builde...
public class class_name { public boolean findTopicId(final File absolutePathToFile, final String id) { if (!absolutePathToFile.exists()) { return false; // depends on control dependency: [if], data = [none] } try { //load the file final DocumentBuilder build...
public class class_name { public Pair<AccessControlList, DefaultAccessControlList> generateChildDirACL(Short umask) { AccessControlList acl = generateChildFileACL(umask); DefaultAccessControlList dAcl = new DefaultAccessControlList(acl); dAcl.setEmpty(false); dAcl.mOwningUser = mOwningUser; dAcl.mO...
public class class_name { public Pair<AccessControlList, DefaultAccessControlList> generateChildDirACL(Short umask) { AccessControlList acl = generateChildFileACL(umask); DefaultAccessControlList dAcl = new DefaultAccessControlList(acl); dAcl.setEmpty(false); dAcl.mOwningUser = mOwningUser; dAcl.mO...
public class class_name { protected static void summarizeAndEnhanceModel(ModelSummary summary, Model model, boolean find_compatible_frames, Map<String, Frame> all_frames, Map<String, Set<String>> all_frames_cols) { if (model instanceof GLMModel) { summarizeGLMModel(summary, (GLMModel) model); } else if (...
public class class_name { protected static void summarizeAndEnhanceModel(ModelSummary summary, Model model, boolean find_compatible_frames, Map<String, Frame> all_frames, Map<String, Set<String>> all_frames_cols) { if (model instanceof GLMModel) { summarizeGLMModel(summary, (GLMModel) model); // depends on c...
public class class_name { @Override protected void onRestoreInstanceState(Parcelable state) { if (state instanceof Bundle) { final Bundle savedState = (Bundle) state; if (savedState.getBoolean(SAVE_STATE_TAG, false)) { // Save our state for later since children will ...
public class class_name { @Override protected void onRestoreInstanceState(Parcelable state) { if (state instanceof Bundle) { final Bundle savedState = (Bundle) state; if (savedState.getBoolean(SAVE_STATE_TAG, false)) { // Save our state for later since children will ...
public class class_name { @Override public ResourceBundle getResourceBundle(Locale locale) { if (locale == null) { locale = Locale.getDefault(); } return ResourceBundle.getBundle(bundleBaseName, locale, bundleLoader.get()); } }
public class class_name { @Override public ResourceBundle getResourceBundle(Locale locale) { if (locale == null) { locale = Locale.getDefault(); // depends on control dependency: [if], data = [none] } return ResourceBundle.getBundle(bundleBaseName, locale, bundleLoader.get()); ...
public class class_name { @Override public void run() { synchronized (this) { started = true; } finished = false; final byte[] buf = new byte[bufferSize]; try { int length; while (true) { waitForInput(is); if (finish || Thread.interrupted()) { break;...
public class class_name { @Override public void run() { synchronized (this) { started = true; } finished = false; final byte[] buf = new byte[bufferSize]; try { int length; while (true) { waitForInput(is); // depends on control dependency: [while], data = [none] ...
public class class_name { @SuppressWarnings("unchecked") private void initialize(Document document, String editorUri) { m_parameters.clear(); // get the root element of the configuration Element rootElement = document.getRootElement(); // set the label of the editor setEd...
public class class_name { @SuppressWarnings("unchecked") private void initialize(Document document, String editorUri) { m_parameters.clear(); // get the root element of the configuration Element rootElement = document.getRootElement(); // set the label of the editor setEd...
public class class_name { protected void processFromBIOTokenArgumentAnnotation(JCas aJCas) throws AnalysisEngineProcessException { for (Sentence sentence : JCasUtil.select(aJCas, Sentence.class)) { // all argument components present in the sentence List<ArgumentComponen...
public class class_name { protected void processFromBIOTokenArgumentAnnotation(JCas aJCas) throws AnalysisEngineProcessException { for (Sentence sentence : JCasUtil.select(aJCas, Sentence.class)) { // all argument components present in the sentence List<ArgumentComponen...
public class class_name { protected void refreshDeviceCache(final BluetoothGatt gatt, final boolean force) { /* * If the device is bonded this is up to the Service Changed characteristic to notify Android that the services has changed. * There is no need for this trick in that case. * If not bonded, the And...
public class class_name { protected void refreshDeviceCache(final BluetoothGatt gatt, final boolean force) { /* * If the device is bonded this is up to the Service Changed characteristic to notify Android that the services has changed. * There is no need for this trick in that case. * If not bonded, the And...
public class class_name { public static boolean contains(final String value, final String needle, final boolean caseSensitive) { validate(value, NULL_STRING_PREDICATE, NULL_STRING_MSG_SUPPLIER); if (caseSensitive) { return value.contains(needle); } return value.toLowerCase()...
public class class_name { public static boolean contains(final String value, final String needle, final boolean caseSensitive) { validate(value, NULL_STRING_PREDICATE, NULL_STRING_MSG_SUPPLIER); if (caseSensitive) { return value.contains(needle); // depends on control dependency: [if], data...
public class class_name { @Override public String getAvailableVariant(String variant, VariantSet variantSet) { String availableVariant = null; if (variantSet.contains(variant)) { availableVariant = variant; } else { String subVar = variant; while (subVar.indexOf('_') != -1) { subVar = subVar.substr...
public class class_name { @Override public String getAvailableVariant(String variant, VariantSet variantSet) { String availableVariant = null; if (variantSet.contains(variant)) { availableVariant = variant; // depends on control dependency: [if], data = [none] } else { String subVar = variant; while (s...
public class class_name { private void selectFormExecutionType(final PortletExecutionReportForm report) { if (!report.getExecutionTypeNames().isEmpty()) { // Already execution types set, do nothing return; } report.getExecutionTypeNames().add(ExecutionType.RENDER.name()...
public class class_name { private void selectFormExecutionType(final PortletExecutionReportForm report) { if (!report.getExecutionTypeNames().isEmpty()) { // Already execution types set, do nothing return; // depends on control dependency: [if], data = [none] } report.g...
public class class_name { public Reflect create(Object... args) throws ReflectException { Class<?>[] types = types(args); // Try invoking the "canonical" constructor, i.e. the one with exact // matching argument types try { Constructor<?> constructor = type().getDeclaredCon...
public class class_name { public Reflect create(Object... args) throws ReflectException { Class<?>[] types = types(args); // Try invoking the "canonical" constructor, i.e. the one with exact // matching argument types try { Constructor<?> constructor = type().getDeclaredCon...
public class class_name { public static boolean isRetryableException(Exception exception) { if (exception == null) { throw new IllegalArgumentException("exception cannot be null"); } if (exception instanceof ServiceBusException) { return ((ServiceBusException) exception).getIsTransient(); } retu...
public class class_name { public static boolean isRetryableException(Exception exception) { if (exception == null) { throw new IllegalArgumentException("exception cannot be null"); } if (exception instanceof ServiceBusException) { return ((ServiceBusException) exception).getIsTransient(); // depends ...
public class class_name { public EpollSocketChannelConfig setTcpUserTimeout(int milliseconds) { try { ((EpollSocketChannel) channel).socket.setTcpUserTimeout(milliseconds); return this; } catch (IOException e) { throw new ChannelException(e); } } }
public class class_name { public EpollSocketChannelConfig setTcpUserTimeout(int milliseconds) { try { ((EpollSocketChannel) channel).socket.setTcpUserTimeout(milliseconds); // depends on control dependency: [try], data = [none] return this; // depends on control dependency: [try], data ...
public class class_name { public java.util.List<String> getLinks() { if (links == null) { links = new com.amazonaws.internal.SdkInternalList<String>(); } return links; } }
public class class_name { public java.util.List<String> getLinks() { if (links == null) { links = new com.amazonaws.internal.SdkInternalList<String>(); // depends on control dependency: [if], data = [none] } return links; } }
public class class_name { private static boolean disableNestedLoopIndexJoinForInComparison (AbstractPlanNode root, AbstractParsedStmt parsedStmt) { if (root.getPlanNodeType() == PlanNodeType.NESTLOOPINDEX) { assert(parsedStmt != null); return true; } return false; }...
public class class_name { private static boolean disableNestedLoopIndexJoinForInComparison (AbstractPlanNode root, AbstractParsedStmt parsedStmt) { if (root.getPlanNodeType() == PlanNodeType.NESTLOOPINDEX) { assert(parsedStmt != null); // depends on control dependency: [if], data = [none] ...
public class class_name { public final void addLifecycleListener(@NonNull LifecycleListener lifecycleListener) { if (!lifecycleListeners.contains(lifecycleListener)) { lifecycleListeners.add(lifecycleListener); } } }
public class class_name { public final void addLifecycleListener(@NonNull LifecycleListener lifecycleListener) { if (!lifecycleListeners.contains(lifecycleListener)) { lifecycleListeners.add(lifecycleListener); // depends on control dependency: [if], data = [none] } } }
public class class_name { private void centerBasedOnHighlightView(HighlightView hv) { Rect drawRect = hv.mDrawRect; float width = drawRect.width(); float height = drawRect.height(); float thisWidth = getWidth(); float thisHeight = getHeight(); float z1 = thisWidth / w...
public class class_name { private void centerBasedOnHighlightView(HighlightView hv) { Rect drawRect = hv.mDrawRect; float width = drawRect.width(); float height = drawRect.height(); float thisWidth = getWidth(); float thisHeight = getHeight(); float z1 = thisWidth / w...
public class class_name { public Observable<ServiceResponse<Page<StampCapacityInner>>> listCapacitiesNextWithServiceResponseAsync(final String nextPageLink) { return listCapacitiesNextSinglePageAsync(nextPageLink) .concatMap(new Func1<ServiceResponse<Page<StampCapacityInner>>, Observable<ServiceRes...
public class class_name { public Observable<ServiceResponse<Page<StampCapacityInner>>> listCapacitiesNextWithServiceResponseAsync(final String nextPageLink) { return listCapacitiesNextSinglePageAsync(nextPageLink) .concatMap(new Func1<ServiceResponse<Page<StampCapacityInner>>, Observable<ServiceRes...
public class class_name { public String getScreenURL() { String strURL = super.getScreenURL(); if (this.getClass().getName().equals(Screen.class.getName())) { strURL = this.addURLParam(strURL, DBParams.RECORD, this.getMainRecord().getClass().getName()); strURL = this...
public class class_name { public String getScreenURL() { String strURL = super.getScreenURL(); if (this.getClass().getName().equals(Screen.class.getName())) { strURL = this.addURLParam(strURL, DBParams.RECORD, this.getMainRecord().getClass().getName()); // depends on control dep...
public class class_name { public static void setDTypeForContext(DataBuffer.Type allocationModeForContext) { try { lock.writeLock().lock(); dtype = allocationModeForContext; setDTypeForContext(getDTypeForName(allocationModeForContext)); } finally { lock....
public class class_name { public static void setDTypeForContext(DataBuffer.Type allocationModeForContext) { try { lock.writeLock().lock(); // depends on control dependency: [try], data = [none] dtype = allocationModeForContext; // depends on control dependency: [try], data = [none] ...
public class class_name { public java.util.List<Range> getProvisionedIops() { if (provisionedIops == null) { provisionedIops = new com.amazonaws.internal.SdkInternalList<Range>(); } return provisionedIops; } }
public class class_name { public java.util.List<Range> getProvisionedIops() { if (provisionedIops == null) { provisionedIops = new com.amazonaws.internal.SdkInternalList<Range>(); // depends on control dependency: [if], data = [none] } return provisionedIops; } }
public class class_name { public static void transpose( DMatrixRMaj mat ) { if( mat.numCols == mat.numRows ){ TransposeAlgs_DDRM.square(mat); } else { DMatrixRMaj b = new DMatrixRMaj(mat.numCols,mat.numRows); transpose(mat,b); mat.set(b); } } ...
public class class_name { public static void transpose( DMatrixRMaj mat ) { if( mat.numCols == mat.numRows ){ TransposeAlgs_DDRM.square(mat); // depends on control dependency: [if], data = [none] } else { DMatrixRMaj b = new DMatrixRMaj(mat.numCols,mat.numRows); tran...
public class class_name { public void removeSelectionCriteria(SelectionCriteria selCriteria) throws SIResourceException { if (tc.isEntryEnabled()) SibTr.entry(tc, "removeSelectionCriteria", new Object[] { selCriteria }); // If the selection criteria was removed then this...
public class class_name { public void removeSelectionCriteria(SelectionCriteria selCriteria) throws SIResourceException { if (tc.isEntryEnabled()) SibTr.entry(tc, "removeSelectionCriteria", new Object[] { selCriteria }); // If the selection criteria was removed then this...
public class class_name { void expectActualObject(Node n, JSType type, String msg) { if (!type.isObject()) { mismatch(n, msg, type, OBJECT_TYPE); } } }
public class class_name { void expectActualObject(Node n, JSType type, String msg) { if (!type.isObject()) { mismatch(n, msg, type, OBJECT_TYPE); // depends on control dependency: [if], data = [none] } } }
public class class_name { public void setTerminationPolicyTypes(java.util.Collection<String> terminationPolicyTypes) { if (terminationPolicyTypes == null) { this.terminationPolicyTypes = null; return; } this.terminationPolicyTypes = new com.amazonaws.internal.SdkInterna...
public class class_name { public void setTerminationPolicyTypes(java.util.Collection<String> terminationPolicyTypes) { if (terminationPolicyTypes == null) { this.terminationPolicyTypes = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency...
public class class_name { public static String buildSqlSELECT(String tableName, String[][] columns, String[] whereColumns, Object[] whereValues) { final String SQL_TEMPLATE_WHERE = "SELECT {1} FROM {0} WHERE {2}"; final String SQL_TEMPLATE = "SELECT {1} FROM {0}"; final List<String...
public class class_name { public static String buildSqlSELECT(String tableName, String[][] columns, String[] whereColumns, Object[] whereValues) { final String SQL_TEMPLATE_WHERE = "SELECT {1} FROM {0} WHERE {2}"; final String SQL_TEMPLATE = "SELECT {1} FROM {0}"; final List<String...
public class class_name { public final String toFFDCString(Object obj) { if (obj instanceof Map) { return toFFDCString((Map) obj); } else if (obj instanceof Collection) { return toFFDCString((Collection) obj); } else if (obj instanceof Object[]) { ...
public class class_name { public final String toFFDCString(Object obj) { if (obj instanceof Map) { return toFFDCString((Map) obj); // depends on control dependency: [if], data = [none] } else if (obj instanceof Collection) { return toFFDCString((Collection) obj); // depe...
public class class_name { public void internalAssociateWithJtaTx() { isInTx = TransactionUtil.isInTx(transactionManager); // ensure that a different XPC (with same name) is not already present in the TX if (isInTx) { // 7.6.3.1 throw EJBException if a different persistence context...
public class class_name { public void internalAssociateWithJtaTx() { isInTx = TransactionUtil.isInTx(transactionManager); // ensure that a different XPC (with same name) is not already present in the TX if (isInTx) { // 7.6.3.1 throw EJBException if a different persistence context...
public class class_name { public String[][] getRequiredRuleNames(Param param) { if (isFiltered(param)) { return EMPTY_ARRAY; } AbstractElement elementToParse = param.elementToParse; String ruleName = param.ruleName; if (ruleName == null) { return getRequiredRuleNames(param, elementToParse); } retur...
public class class_name { public String[][] getRequiredRuleNames(Param param) { if (isFiltered(param)) { return EMPTY_ARRAY; // depends on control dependency: [if], data = [none] } AbstractElement elementToParse = param.elementToParse; String ruleName = param.ruleName; if (ruleName == null) { return ge...
public class class_name { public String getSiteRoot(String rootPath) { // add a trailing slash, because the path may be the path of a site root itself if (!rootPath.endsWith("/")) { rootPath = rootPath + "/"; } // most sites will be below the "/sites/" folder, CmsSi...
public class class_name { public String getSiteRoot(String rootPath) { // add a trailing slash, because the path may be the path of a site root itself if (!rootPath.endsWith("/")) { rootPath = rootPath + "/"; // depends on control dependency: [if], data = [none] } // most s...
public class class_name { public static <T> void writeListTo(LinkedBuffer buffer, List<T> messages, Schema<T> schema, boolean numeric) { if (buffer.start != buffer.offset) { throw new IllegalArgumentException("Buffer previously used and had not been reset."); } ...
public class class_name { public static <T> void writeListTo(LinkedBuffer buffer, List<T> messages, Schema<T> schema, boolean numeric) { if (buffer.start != buffer.offset) { throw new IllegalArgumentException("Buffer previously used and had not been reset."); } ...
public class class_name { public void setProperties(Properties props, boolean printProps) { this.props = props; StringBuilder sb = new StringBuilder(stringRep); for (Enumeration e = props.propertyNames(); e.hasMoreElements();) { String key = (String) e.nextElement(); String val = props.get...
public class class_name { public void setProperties(Properties props, boolean printProps) { this.props = props; StringBuilder sb = new StringBuilder(stringRep); for (Enumeration e = props.propertyNames(); e.hasMoreElements();) { String key = (String) e.nextElement(); String val = props.get...
public class class_name { public static void register(Monitor<?> monitor) { if (monitor instanceof SpectatorMonitor) { ((SpectatorMonitor) monitor).initializeSpectator(BasicTagList.EMPTY); } else if (!isEmptyComposite(monitor)) { ServoMeter m = new ServoMeter(monitor); PolledMeter.remove(regi...
public class class_name { public static void register(Monitor<?> monitor) { if (monitor instanceof SpectatorMonitor) { ((SpectatorMonitor) monitor).initializeSpectator(BasicTagList.EMPTY); // depends on control dependency: [if], data = [none] } else if (!isEmptyComposite(monitor)) { ServoMeter m = ...
public class class_name { public String getScopes() { final StringBuilder sb = new StringBuilder(); for (final Scope scope : Scope.values()) { sb.append(scope); sb.append(", "); } final String scopes = sb.toString().trim(); return scopes.substring(0, scop...
public class class_name { public String getScopes() { final StringBuilder sb = new StringBuilder(); for (final Scope scope : Scope.values()) { sb.append(scope); // depends on control dependency: [for], data = [scope] sb.append(", "); // depends on control dependency: [for], data...
public class class_name { public void clear() { if (clusterMarker != null) { Layers mapOverlays = clusterManager.getMapView().getLayerManager().getLayers(); if (mapOverlays.contains(clusterMarker)) { mapOverlays.remove(clusterMarker); } clusterMan...
public class class_name { public void clear() { if (clusterMarker != null) { Layers mapOverlays = clusterManager.getMapView().getLayerManager().getLayers(); if (mapOverlays.contains(clusterMarker)) { mapOverlays.remove(clusterMarker); // depends on control dependency: [i...
public class class_name { public CmsRelationFilter filterInternal() { CmsRelationFilter filter = (CmsRelationFilter)clone(); if (filter.m_types.isEmpty()) { filter.m_types.addAll(CmsRelationType.getAllInternal()); } else { filter.m_types = new HashSet<CmsRelationType>(C...
public class class_name { public CmsRelationFilter filterInternal() { CmsRelationFilter filter = (CmsRelationFilter)clone(); if (filter.m_types.isEmpty()) { filter.m_types.addAll(CmsRelationType.getAllInternal()); // depends on control dependency: [if], data = [none] } else { ...
public class class_name { private void addToRing(String host) { Cell newCell = new Cell(); newCell.m_hostName = host; if (m_cellRing == null) { newCell.next = newCell; } else { newCell.next = m_cellRing.next; m_cellRing.next = newCell; } m_cellRing = newCell; } }
public class class_name { private void addToRing(String host) { Cell newCell = new Cell(); newCell.m_hostName = host; if (m_cellRing == null) { newCell.next = newCell; // depends on control dependency: [if], data = [none] } else { newCell.next = m_cellRing.next; // depends on control dependency: [...
public class class_name { public Set<String> postProcessingFields() { Set<String> fields = new LinkedHashSet<>(); if (!StringUtils.isBlank(defaultField)) { fields.add(defaultField); } for (String term : query.split("[ ]")) { if (term.contains(":")) { ...
public class class_name { public Set<String> postProcessingFields() { Set<String> fields = new LinkedHashSet<>(); if (!StringUtils.isBlank(defaultField)) { fields.add(defaultField); // depends on control dependency: [if], data = [none] } for (String term : query.split("[ ]")...
public class class_name { static int parseInt(String key, @Nullable String value) { requireArgument((value != null) && !value.isEmpty(), "value of key %s was omitted", key); try { return Integer.parseInt(value); } catch (NumberFormatException e) { throw new IllegalArgumentException(String.forma...
public class class_name { static int parseInt(String key, @Nullable String value) { requireArgument((value != null) && !value.isEmpty(), "value of key %s was omitted", key); try { return Integer.parseInt(value); // depends on control dependency: [try], data = [none] } catch (NumberFormatException e) ...
public class class_name { private void add(String packages) { if (packages != null) { String[] split = packages.split(",|;| "); for (int i = 0; i < split.length; i++) { String pkg = split[i].trim(); if (!pkg.isEmpty()) { packageSet.add(pkg); } } } } }
public class class_name { private void add(String packages) { if (packages != null) { String[] split = packages.split(",|;| "); for (int i = 0; i < split.length; i++) { String pkg = split[i].trim(); if (!pkg.isEmpty()) { packageSet.add(pkg); // depends on control dependency: [...
public class class_name { private boolean netscapeDomainMatches(final String domain, final String host) { if (domain == null || host == null) { return false; } // if there's no embedded dot in domain and domain is not .local boolean isLocalDomain = ".local".equalsIgnoreCase...
public class class_name { private boolean netscapeDomainMatches(final String domain, final String host) { if (domain == null || host == null) { return false; // depends on control dependency: [if], data = [none] } // if there's no embedded dot in domain and domain is not .local ...
public class class_name { static void main(String[] argv) { Time time = null; TimeFormat in = null; TimeFormat out = null; if (argv.length >= 3) { System.out.println("Creating out TimeFormat: \"" + argv[2] + "\""); out = new TimeFormat(argv[2]); } if (argv.length >= 2) { System.out.pr...
public class class_name { static void main(String[] argv) { Time time = null; TimeFormat in = null; TimeFormat out = null; if (argv.length >= 3) { System.out.println("Creating out TimeFormat: \"" + argv[2] + "\""); // depends on control dependency: [if], data = [none] out = new TimeFormat(argv[2]...
public class class_name { public static boolean isUrl(CharSequence value) { try { new java.net.URL(StrUtil.str(value)); } catch (MalformedURLException e) { return false; } return true; } }
public class class_name { public static boolean isUrl(CharSequence value) { try { new java.net.URL(StrUtil.str(value)); // depends on control dependency: [try], data = [none] } catch (MalformedURLException e) { return false; } // depends on control dependency: [catch], data = [none] return true; ...
public class class_name { public String getOuterMostNullEmbeddableIfAny(String column) { String[] path = column.split( "\\." ); if ( !isEmbeddableColumn( path ) ) { return null; } // the cached value may be null hence the explicit key lookup if ( columnToOuterMostNullEmbeddableCache.containsKey( column ) ...
public class class_name { public String getOuterMostNullEmbeddableIfAny(String column) { String[] path = column.split( "\\." ); if ( !isEmbeddableColumn( path ) ) { return null; // depends on control dependency: [if], data = [none] } // the cached value may be null hence the explicit key lookup if ( colum...
public class class_name { private void check_Min_Value(long l, int cIdx, int rowNumber, ParseWriter dout) { if (l <= Long.MIN_VALUE) { String warning = "Orc Parser: Long.MIN_VALUE: " + l + " is found in column "+cIdx+" row "+rowNumber + " of stripe "+_cidx +". This value is used for sentinel and w...
public class class_name { private void check_Min_Value(long l, int cIdx, int rowNumber, ParseWriter dout) { if (l <= Long.MIN_VALUE) { String warning = "Orc Parser: Long.MIN_VALUE: " + l + " is found in column "+cIdx+" row "+rowNumber + " of stripe "+_cidx +". This value is used for sentinel and w...
public class class_name { public OperationStatus getStatus() { if (status == null) { try { get(); } catch (InterruptedException e) { status = new OperationStatus(false, "Interrupted", StatusCode.INTERRUPTED); } catch (ExecutionException e) { getLogger().warn("Error getting...
public class class_name { public OperationStatus getStatus() { if (status == null) { try { get(); // depends on control dependency: [try], data = [none] } catch (InterruptedException e) { status = new OperationStatus(false, "Interrupted", StatusCode.INTERRUPTED); } catch (Executio...
public class class_name { protected Url convertProviderToUrl(ClientTransportConfig transportConfig, ProviderInfo providerInfo) { // Url的第一个参数,如果不用事件的话,其实无所谓 Url boltUrl = new Url(providerInfo.toString(), providerInfo.getHost(), providerInfo.getPort()); boltUrl.setConnectTimeout(transportConfig...
public class class_name { protected Url convertProviderToUrl(ClientTransportConfig transportConfig, ProviderInfo providerInfo) { // Url的第一个参数,如果不用事件的话,其实无所谓 Url boltUrl = new Url(providerInfo.toString(), providerInfo.getHost(), providerInfo.getPort()); boltUrl.setConnectTimeout(transportConfig...
public class class_name { public static ConfigurationBuilderHolder loadConfiguration(ServiceRegistry registry, Properties properties) { String config = ConfigurationHelper.extractPropertyValue(INFINISPAN_CONFIG_RESOURCE_PROP, properties); ConfigurationBuilderHolder holder = loadConfiguration(registry, (con...
public class class_name { public static ConfigurationBuilderHolder loadConfiguration(ServiceRegistry registry, Properties properties) { String config = ConfigurationHelper.extractPropertyValue(INFINISPAN_CONFIG_RESOURCE_PROP, properties); ConfigurationBuilderHolder holder = loadConfiguration(registry, (con...
public class class_name { public void marshall(DeleteScalingPolicyRequest deleteScalingPolicyRequest, ProtocolMarshaller protocolMarshaller) { if (deleteScalingPolicyRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { pr...
public class class_name { public void marshall(DeleteScalingPolicyRequest deleteScalingPolicyRequest, ProtocolMarshaller protocolMarshaller) { if (deleteScalingPolicyRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { pr...
public class class_name { private void setLastApplied(long lastApplied) { // lastApplied should be either equal to or one greater than this.lastApplied. if (lastApplied > this.lastApplied) { Assert.arg(lastApplied == this.lastApplied + 1, "lastApplied must be sequential"); this.lastApplied = lastA...
public class class_name { private void setLastApplied(long lastApplied) { // lastApplied should be either equal to or one greater than this.lastApplied. if (lastApplied > this.lastApplied) { Assert.arg(lastApplied == this.lastApplied + 1, "lastApplied must be sequential"); // depends on control dependenc...
public class class_name { private Map<String, String> getMetricFilterParameters( MetricFilterOptions options ) { if( options == null ) { return null; } Map<String, String> parameters = new HashMap<String, String>(); AWSCloud.addValueIfNotNull(parameters, "MetricName", opti...
public class class_name { private Map<String, String> getMetricFilterParameters( MetricFilterOptions options ) { if( options == null ) { return null; // depends on control dependency: [if], data = [none] } Map<String, String> parameters = new HashMap<String, String>(); AWS...
public class class_name { public static DoubleVector multiply(DoubleVector left, DoubleVector right) { if (left.length() != right.length()) throw new IllegalArgumentException( "Vectors of different sizes cannot be multiplied"); if (left instanceof SparseVector && right ...
public class class_name { public static DoubleVector multiply(DoubleVector left, DoubleVector right) { if (left.length() != right.length()) throw new IllegalArgumentException( "Vectors of different sizes cannot be multiplied"); if (left instanceof SparseVector && right ...
public class class_name { @Override public synchronized int executeUpdate(String query) throws DatabaseEngineException { String[] split = query.split(Constants.UNIT_SEPARATOR_CHARACTER + ""); int i = -1; for (String s : split) { if (StringUtils.isNotBlank(s)) { i...
public class class_name { @Override public synchronized int executeUpdate(String query) throws DatabaseEngineException { String[] split = query.split(Constants.UNIT_SEPARATOR_CHARACTER + ""); int i = -1; for (String s : split) { if (StringUtils.isNotBlank(s)) { i...
public class class_name { private String fixValue( final int column, final String value ) { String _value = value; final FieldType fieldType = this.fieldTypes.get( column ); if ( fieldType == FieldType.NORMAL_FIELD || !isMultipleConstraints() || isForAll() ) { ...
public class class_name { private String fixValue( final int column, final String value ) { String _value = value; final FieldType fieldType = this.fieldTypes.get( column ); if ( fieldType == FieldType.NORMAL_FIELD || !isMultipleConstraints() || isForAll() ) { ...
public class class_name { private void onOK() { host = host_text.getText().trim(); user = user_text.getText(); password = password_text.getText(); if (host.length() == 0) { warn("Proxy host is not set!"); return; } if (socks_group.getSelectedCheckbox() == socks4radio) { if (user.length() == 0) { ...
public class class_name { private void onOK() { host = host_text.getText().trim(); user = user_text.getText(); password = password_text.getText(); if (host.length() == 0) { warn("Proxy host is not set!"); // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if...
public class class_name { public static void dumpFaces(AiMesh mesh) { if (!mesh.hasFaces()) { System.out.println("mesh has no faces"); return; } for (int face = 0; face < mesh.getNumFaces(); face++) { int faceNumIndices = mesh.getFaceNumIndices(face)...
public class class_name { public static void dumpFaces(AiMesh mesh) { if (!mesh.hasFaces()) { System.out.println("mesh has no faces"); // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] } for (int ...
public class class_name { protected String xlate (String bundle, String message) { if (bundle != null && _ctx.getMessageManager() != null) { MessageBundle msgb = _ctx.getMessageManager().getBundle(bundle); if (msgb == null) { log.warning("No message bundle available ...
public class class_name { protected String xlate (String bundle, String message) { if (bundle != null && _ctx.getMessageManager() != null) { MessageBundle msgb = _ctx.getMessageManager().getBundle(bundle); if (msgb == null) { log.warning("No message bundle available ...
public class class_name { public String getParameter(final String name) { List<String> values = parameters.get(name); if (values == null) { return null; } if (values.size() == 0) { return ""; } return values.get(0); } }
public class class_name { public String getParameter(final String name) { List<String> values = parameters.get(name); if (values == null) { return null; // depends on control dependency: [if], data = [none] } if (values.size() == 0) { return ""; // depends on c...
public class class_name { public void marshall(ListSubscribedRuleGroupsRequest listSubscribedRuleGroupsRequest, ProtocolMarshaller protocolMarshaller) { if (listSubscribedRuleGroupsRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try {...
public class class_name { public void marshall(ListSubscribedRuleGroupsRequest listSubscribedRuleGroupsRequest, ProtocolMarshaller protocolMarshaller) { if (listSubscribedRuleGroupsRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try {...
public class class_name { public synchronized void setDelegate(Future<V> delegate) { if (delegateHolder.isCancelled()) { delegate.cancel(mayInterruptWhenCancellingDelegate); } else { this.delegate = delegate; delegateHolder.complete(delegate); } } }
public class class_name { public synchronized void setDelegate(Future<V> delegate) { if (delegateHolder.isCancelled()) { delegate.cancel(mayInterruptWhenCancellingDelegate); // depends on control dependency: [if], data = [none] } else { this.delegate = delegate; // depends on co...
public class class_name { public int valueForYPosition(int yPos) { int value; int minValue = slider.getMinimum(); int maxValue = slider.getMaximum(); int trackTop = trackRect.y + thumbRect.height / 2 + trackBorder; int trackBottom = trackRect.y + trackRect.height - thumbRect.hei...
public class class_name { public int valueForYPosition(int yPos) { int value; int minValue = slider.getMinimum(); int maxValue = slider.getMaximum(); int trackTop = trackRect.y + thumbRect.height / 2 + trackBorder; int trackBottom = trackRect.y + trackRect.height - thumbRect.hei...
public class class_name { public void setControllerModel(GVRSceneObject controllerModel) { if (mControllerModel != null) { mControllerGroup.removeChildObject(mControllerModel); } mControllerModel = controllerModel; mControllerGroup.addChildObject(mControllerModel...
public class class_name { public void setControllerModel(GVRSceneObject controllerModel) { if (mControllerModel != null) { mControllerGroup.removeChildObject(mControllerModel); // depends on control dependency: [if], data = [(mControllerModel] } mControllerModel = contro...
public class class_name { public synchronized Slot slot(String name) { name = name == null ? "" : name.trim(); Slot slot = localMap.get(name); if (slot == null) { slot = new Slot(local++, name); localMap.put(name, slot); } return slot; } }
public class class_name { public synchronized Slot slot(String name) { name = name == null ? "" : name.trim(); Slot slot = localMap.get(name); if (slot == null) { slot = new Slot(local++, name); // depends on control dependency: [if], data = [none] localMap.put(name, slot); // depends on control dependenc...
public class class_name { private String removeEnclosedCurlyBraces( String str ) { final char curlyReplacement = 6; char[] chars = str.toCharArray(); int open = 0; for ( int i = 0; i < chars.length; i++ ) { if ( chars[i] == '{' ) { if ( open != 0 ) chars[i] ...
public class class_name { private String removeEnclosedCurlyBraces( String str ) { final char curlyReplacement = 6; char[] chars = str.toCharArray(); int open = 0; for ( int i = 0; i < chars.length; i++ ) { if ( chars[i] == '{' ) { if ( open != 0 ) chars[i] ...
public class class_name { public DescribeVolumesResult withVolumes(Volume... volumes) { if (this.volumes == null) { setVolumes(new com.amazonaws.internal.SdkInternalList<Volume>(volumes.length)); } for (Volume ele : volumes) { this.volumes.add(ele); } ret...
public class class_name { public DescribeVolumesResult withVolumes(Volume... volumes) { if (this.volumes == null) { setVolumes(new com.amazonaws.internal.SdkInternalList<Volume>(volumes.length)); // depends on control dependency: [if], data = [none] } for (Volume ele : volumes) { ...
public class class_name { public static void fillBeanProperties(Object bean, Map<String, Object> props, Map<String, Class<?>> collectionsGenericTypes) { if (bean == null || props == null) { return; } if (collectionsGenericTypes == null) { collectionsGenericTypes =...
public class class_name { public static void fillBeanProperties(Object bean, Map<String, Object> props, Map<String, Class<?>> collectionsGenericTypes) { if (bean == null || props == null) { return; } if (collectionsGenericTypes == null) { collectionsGenericTypes =...
public class class_name { @NonNull @Override public PutResult performPut(@NonNull StorIOContentResolver storIOContentResolver, @NonNull T object) { final UpdateQuery updateQuery = mapToUpdateQuery(object); final Query query = Query.builder() .uri(updateQuery.uri()) ...
public class class_name { @NonNull @Override public PutResult performPut(@NonNull StorIOContentResolver storIOContentResolver, @NonNull T object) { final UpdateQuery updateQuery = mapToUpdateQuery(object); final Query query = Query.builder() .uri(updateQuery.uri()) ...
public class class_name { @Override public void validateDeps(boolean clean) { if (aggregator.getConfig() == null) { validate = true; return; } processDeps(true, clean, SequenceNumberProvider.incrementAndGetSequenceNumber()); } }
public class class_name { @Override public void validateDeps(boolean clean) { if (aggregator.getConfig() == null) { validate = true; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] } processDeps(true, clean, SequenceNumberProvider.i...
public class class_name { @Override public boolean isValid(final ValidationConstraintContext vcc, final Object value) { if (value == null) { return true; } vcc.validateWithin(targetValidationContext, value); return true; } }
public class class_name { @Override public boolean isValid(final ValidationConstraintContext vcc, final Object value) { if (value == null) { return true; // depends on control dependency: [if], data = [none] } vcc.validateWithin(targetValidationContext, value); return true; } }