code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { public static double d(int[] x1, int[] x2) { int n1 = x1.length; int n2 = x2.length; double[][] table = new double[2][n2 + 1]; table[0][0] = 0; for (int i = 1; i <= n2; i++) { table[0][i] = Double.POSITIVE_INFINITY; } for ...
public class class_name { public static double d(int[] x1, int[] x2) { int n1 = x1.length; int n2 = x2.length; double[][] table = new double[2][n2 + 1]; table[0][0] = 0; for (int i = 1; i <= n2; i++) { table[0][i] = Double.POSITIVE_INFINITY; // depends on control d...
public class class_name { void checkThrown() throws SSLException { synchronized (thrownLock) { if (thrown != null) { String msg = thrown.getMessage(); if (msg == null) { msg = "Delegated task threw Exception/Error"; } ...
public class class_name { void checkThrown() throws SSLException { synchronized (thrownLock) { if (thrown != null) { String msg = thrown.getMessage(); if (msg == null) { msg = "Delegated task threw Exception/Error"; // depends on control depende...
public class class_name { public void resetNodesLastHeartbeatTime() { long now = ClusterManager.clock.getTime(); for (ClusterNode node : nameToNode.values()) { node.lastHeartbeatTime = now; } } }
public class class_name { public void resetNodesLastHeartbeatTime() { long now = ClusterManager.clock.getTime(); for (ClusterNode node : nameToNode.values()) { node.lastHeartbeatTime = now; // depends on control dependency: [for], data = [node] } } }
public class class_name { public void marshall(CreateNamedQueryRequest createNamedQueryRequest, ProtocolMarshaller protocolMarshaller) { if (createNamedQueryRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMar...
public class class_name { public void marshall(CreateNamedQueryRequest createNamedQueryRequest, ProtocolMarshaller protocolMarshaller) { if (createNamedQueryRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMar...
public class class_name { private void updateButtonBars() { List<I_CmsEditableGroupRow> rows = getRows(); int i = 0; for (I_CmsEditableGroupRow row : rows) { boolean first = i == 0; boolean last = i == (rows.size() - 1); row.getButtonBar().setFirstLast(first...
public class class_name { private void updateButtonBars() { List<I_CmsEditableGroupRow> rows = getRows(); int i = 0; for (I_CmsEditableGroupRow row : rows) { boolean first = i == 0; boolean last = i == (rows.size() - 1); row.getButtonBar().setFirstLast(first...
public class class_name { @FFDCIgnore(ELException.class) @Trivial protected String processString(String name, String expression, boolean immediateOnly, boolean mask) { final String methodName = "processString"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.e...
public class class_name { @FFDCIgnore(ELException.class) @Trivial protected String processString(String name, String expression, boolean immediateOnly, boolean mask) { final String methodName = "processString"; if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.e...
public class class_name { protected org.cp.elements.util.sort.annotation.Sortable configureComparator(final org.cp.elements.util.sort.annotation.Sortable sortableMetaData) { try { if (isCustomComparatorAllowed()) { Class<? extends Comparator> comparatorClass = sortableMetaData.orderBy(); if ...
public class class_name { protected org.cp.elements.util.sort.annotation.Sortable configureComparator(final org.cp.elements.util.sort.annotation.Sortable sortableMetaData) { try { if (isCustomComparatorAllowed()) { Class<? extends Comparator> comparatorClass = sortableMetaData.orderBy(); if ...
public class class_name { @Override public EClass getIfcCableCarrierSegment() { if (ifcCableCarrierSegmentEClass == null) { ifcCableCarrierSegmentEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc4Package.eNS_URI) .getEClassifiers().get(71); } return ifcCableCarrierSegmentEClass; } }
public class class_name { @Override public EClass getIfcCableCarrierSegment() { if (ifcCableCarrierSegmentEClass == null) { ifcCableCarrierSegmentEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc4Package.eNS_URI) .getEClassifiers().get(71); // depends on control dependency: [if], data = [non...
public class class_name { public NotificationResponse cloneIfNotCloned() { try { return isCloned() ? this : (NotificationResponse) this.clone(); } catch (CloneNotSupportedException e) { log.error("Failed to clone() the sourceResponse", e); } return this; } }
public class class_name { public NotificationResponse cloneIfNotCloned() { try { return isCloned() ? this : (NotificationResponse) this.clone(); // depends on control dependency: [try], data = [none] } catch (CloneNotSupportedException e) { log.error("Failed to clone() the sourc...
public class class_name { @Override public void clear() { if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { Tr.event(tc, "Clearing this response: " + this); } super.clear(); this.myStatusCode = StatusCodes.OK; this.myReason = null; this.m...
public class class_name { @Override public void clear() { if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { Tr.event(tc, "Clearing this response: " + this); // depends on control dependency: [if], data = [none] } super.clear(); this.myStatusCode = Status...
public class class_name { private boolean lexicalClimb(PageCompilingContext pc, Node node) { if (node.attr(ANNOTATION).length()>1) { // Setup a new lexical scope (symbol table changes on each scope encountered). if (REPEAT_WIDGET.equalsIgnoreCase(node.attr(ANNOTATION_KEY)) ...
public class class_name { private boolean lexicalClimb(PageCompilingContext pc, Node node) { if (node.attr(ANNOTATION).length()>1) { // Setup a new lexical scope (symbol table changes on each scope encountered). if (REPEAT_WIDGET.equalsIgnoreCase(node.attr(ANNOTATION_KEY)) ...
public class class_name { public E poll() { E result = buffer.poll(); if (producer != null) { producer.wakeUp(); } return result; } }
public class class_name { public E poll() { E result = buffer.poll(); if (producer != null) { producer.wakeUp(); // depends on control dependency: [if], data = [none] } return result; } }
public class class_name { private static boolean isIdentityToString(Object pObject) { try { Method toString = pObject.getClass().getMethod("toString"); if (toString.getDeclaringClass() == Object.class) { return true; } } catch (Exceptio...
public class class_name { private static boolean isIdentityToString(Object pObject) { try { Method toString = pObject.getClass().getMethod("toString"); if (toString.getDeclaringClass() == Object.class) { return true; // depends on control dependency: [if], data = [n...
public class class_name { private ArrayDouble.D3 addStagger(ArrayDouble.D3 array, int dimIndex) { //ADD: assert 0<=dimIndex<=2 int[] shape = array.getShape(); int[] newShape = new int[3]; System.arraycopy(shape, 0, newShape, 0, 3); newShape[dimIndex]++; int ni = newShape[0]; in...
public class class_name { private ArrayDouble.D3 addStagger(ArrayDouble.D3 array, int dimIndex) { //ADD: assert 0<=dimIndex<=2 int[] shape = array.getShape(); int[] newShape = new int[3]; System.arraycopy(shape, 0, newShape, 0, 3); newShape[dimIndex]++; int ni = newShape[0]; in...
public class class_name { public double calcError(final Frame ftest, final Vec vactual, final Frame fpreds, final Frame hitratio_fpreds, final String label, final boolean printMe, final int max_conf_mat_size, final water.api.ConfusionMatrix ...
public class class_name { public double calcError(final Frame ftest, final Vec vactual, final Frame fpreds, final Frame hitratio_fpreds, final String label, final boolean printMe, final int max_conf_mat_size, final water.api.ConfusionMatrix ...
public class class_name { @Deprecated public static ResultSet query(String sql, Object... args) { ResultSet result = null; Connection con = getconnnection(); PreparedStatement ps = null; try { ps = con.prepareStatement(sql); if (args != null) { for (int i = 0; i < args.length; i++) { ps.setObje...
public class class_name { @Deprecated public static ResultSet query(String sql, Object... args) { ResultSet result = null; Connection con = getconnnection(); PreparedStatement ps = null; try { ps = con.prepareStatement(sql); // depends on control dependency: [try], data = [none] if (args != null) { ...
public class class_name { public InputStream[] getInputStreams(String name) { List parts = (List)_partMap.getValues(name); if (parts==null) return null; InputStream[] streams = new InputStream[parts.size()]; for (int i=0; i<streams.length; i++) { streams[i] ...
public class class_name { public InputStream[] getInputStreams(String name) { List parts = (List)_partMap.getValues(name); if (parts==null) return null; InputStream[] streams = new InputStream[parts.size()]; for (int i=0; i<streams.length; i++) { streams[i] ...
public class class_name { @SuppressWarnings({ "rawtypes" }) protected ISFSArray parseArrayObjectCollection(GetterMethodCover method, Collection collection) { ISFSArray result = new SFSArray(); for(Object obj : collection) { result.addSFSArray(parseObjectArray( ...
public class class_name { @SuppressWarnings({ "rawtypes" }) protected ISFSArray parseArrayObjectCollection(GetterMethodCover method, Collection collection) { ISFSArray result = new SFSArray(); for(Object obj : collection) { result.addSFSArray(parseObjectArray( ...
public class class_name { public TaskResponse run(Task k, TaskRequest req, TaskResponse res) { // Assertions. if (k == null) { String msg = "Argument 'k [Task]' cannot be null."; throw new IllegalArgumentException(msg); } if (req == null) { String ms...
public class class_name { public TaskResponse run(Task k, TaskRequest req, TaskResponse res) { // Assertions. if (k == null) { String msg = "Argument 'k [Task]' cannot be null."; throw new IllegalArgumentException(msg); } if (req == null) { String ms...
public class class_name { public int compareTo(ReadablePartial partial) { // override to perform faster if (this == partial) { return 0; } if (partial instanceof LocalDateTime) { LocalDateTime other = (LocalDateTime) partial; if (iChronology.equals(ot...
public class class_name { public int compareTo(ReadablePartial partial) { // override to perform faster if (this == partial) { return 0; // depends on control dependency: [if], data = [none] } if (partial instanceof LocalDateTime) { LocalDateTime other = (LocalDa...
public class class_name { public static void deleteQueue(String queueURL) { if (!StringUtils.isBlank(queueURL)) { try { getClient().deleteQueue(new DeleteQueueRequest(queueURL)); } catch (AmazonServiceException ase) { logException(ase); } catch (AmazonClientException ace) { logger.error("Could n...
public class class_name { public static void deleteQueue(String queueURL) { if (!StringUtils.isBlank(queueURL)) { try { getClient().deleteQueue(new DeleteQueueRequest(queueURL)); // depends on control dependency: [try], data = [none] } catch (AmazonServiceException ase) { logException(ase); } catch ...
public class class_name { public static final void registerNodeDataInstance( Class<? extends NodeData> clazz) { try { @SuppressWarnings("unused") NodeData test = clazz.newInstance(); ndImpl = clazz; } catch (InstantiationException e) { throw new RuntimeException("NodeData implemenation (" + cla...
public class class_name { public static final void registerNodeDataInstance( Class<? extends NodeData> clazz) { try { @SuppressWarnings("unused") NodeData test = clazz.newInstance(); ndImpl = clazz; // depends on control dependency: [try], data = [none] } catch (InstantiationException e) { throw new...
public class class_name { @Override public EClass getIfcSurfaceReinforcementArea() { if (ifcSurfaceReinforcementAreaEClass == null) { ifcSurfaceReinforcementAreaEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc4Package.eNS_URI) .getEClassifiers().get(677); } return ifcSurfaceReinforceme...
public class class_name { @Override public EClass getIfcSurfaceReinforcementArea() { if (ifcSurfaceReinforcementAreaEClass == null) { ifcSurfaceReinforcementAreaEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc4Package.eNS_URI) .getEClassifiers().get(677); // depends on control dependency: [...
public class class_name { public List<?> convert(CamelContext camelContext, List<?> values, Class[] targetTypes) { LOG.debug("About to convert those arguments: {}", values); List<Object> convertedArguments = new ArrayList<>(values.size()); for (int i = 0; i < values.size(); i++) { t...
public class class_name { public List<?> convert(CamelContext camelContext, List<?> values, Class[] targetTypes) { LOG.debug("About to convert those arguments: {}", values); List<Object> convertedArguments = new ArrayList<>(values.size()); for (int i = 0; i < values.size(); i++) { t...
public class class_name { @Deprecated public char next() { if (nextChar == Normalizer.DONE) { findNextChar(); } curChar = nextChar; nextChar = Normalizer.DONE; return (char) curChar; } }
public class class_name { @Deprecated public char next() { if (nextChar == Normalizer.DONE) { findNextChar(); // depends on control dependency: [if], data = [none] } curChar = nextChar; nextChar = Normalizer.DONE; return (char) curChar; } }
public class class_name { public static Boolean exists( EvaluationContext ctx, Object tests, Object target) { if (!(tests instanceof List)) { if (tests == null) { ctx.notifyEvt(() -> new ASTEventBase(FEELEvent.Severity.ERROR, Msg.createMessage(Ms...
public class class_name { public static Boolean exists( EvaluationContext ctx, Object tests, Object target) { if (!(tests instanceof List)) { if (tests == null) { ctx.notifyEvt(() -> new ASTEventBase(FEELEvent.Severity.ERROR, Msg.createMessage(Ms...
public class class_name { @Override protected UserPrincipal loadUserInfo(String userName) { UserIdentity id = _userStore.getUserIdentity(userName); if (id != null) { return (UserPrincipal)id.getUserPrincipal(); } return null; } }
public class class_name { @Override protected UserPrincipal loadUserInfo(String userName) { UserIdentity id = _userStore.getUserIdentity(userName); if (id != null) { return (UserPrincipal)id.getUserPrincipal(); // depends on control dependency: [if], data = [none] } return null; } }
public class class_name { public boolean expireAttribute(final String identifier, final String attribute, final long expirationTime) { if (identifier == null) { log.error("Unable to expire an attribute with a null Identifier value."); return false; } if (attribute == null) { log.error("Unable to exp...
public class class_name { public boolean expireAttribute(final String identifier, final String attribute, final long expirationTime) { if (identifier == null) { log.error("Unable to expire an attribute with a null Identifier value."); // depends on control dependency: [if], data = [none] return false; // de...
public class class_name { public int getAllCookies(List<HttpCookie> list) { int added = 0; if (0 < this.parsedList.size()) { for (HttpCookie cookie : this.parsedList) { list.add(cookie.clone()); added++; } } return added; } }
public class class_name { public int getAllCookies(List<HttpCookie> list) { int added = 0; if (0 < this.parsedList.size()) { for (HttpCookie cookie : this.parsedList) { list.add(cookie.clone()); // depends on control dependency: [for], data = [cookie] added++...
public class class_name { @Override public void initialize() throws XMPPException { LOGGER.fine("Initialized"); if (!isResolving() && !isResolved()) { // Get the best STUN server available if (currentServer.isNull()) { loadSTUNServers(); } ...
public class class_name { @Override public void initialize() throws XMPPException { LOGGER.fine("Initialized"); if (!isResolving() && !isResolved()) { // Get the best STUN server available if (currentServer.isNull()) { loadSTUNServers(); // depends on control...
public class class_name { public static boolean isPredecessor(KeyValue kv) { if (Bytes.equals(kv.getFamily(), PRED_COLUMN_FAMILY)) { return true; } return false; } }
public class class_name { public static boolean isPredecessor(KeyValue kv) { if (Bytes.equals(kv.getFamily(), PRED_COLUMN_FAMILY)) { return true; // depends on control dependency: [if], data = [none] } return false; } }
public class class_name { public void build(Set<Bean<?>> beans) { if (isBuilt()) { throw new IllegalStateException("BeanIdentifier index is already built!"); } if (beans.isEmpty()) { index = new BeanIdentifier[0]; reverseIndex = Collections.emptyMap(); ...
public class class_name { public void build(Set<Bean<?>> beans) { if (isBuilt()) { throw new IllegalStateException("BeanIdentifier index is already built!"); } if (beans.isEmpty()) { index = new BeanIdentifier[0]; reverseIndex = Collections.emptyMap(); ...
public class class_name { public T peek() { if (peekedItem == null) { try { peekedItem = SerializableValue.of(getMarshaller(), super.next()); } catch (NoSuchElementException e) { // ignore. } catch (IOException e) { throw new RuntimeException("Failed to read next input", e...
public class class_name { public T peek() { if (peekedItem == null) { try { peekedItem = SerializableValue.of(getMarshaller(), super.next()); // depends on control dependency: [try], data = [none] } catch (NoSuchElementException e) { // ignore. } catch (IOException e) { // depends...
public class class_name { @Override public int predict(double[] x) { double minDist = Double.MAX_VALUE; int bestCluster = 0; int i = 0; for (Node neuron : nodes) { double dist = Math.squaredDistance(x, neuron.w); if (dist < minDist) { minDist...
public class class_name { @Override public int predict(double[] x) { double minDist = Double.MAX_VALUE; int bestCluster = 0; int i = 0; for (Node neuron : nodes) { double dist = Math.squaredDistance(x, neuron.w); if (dist < minDist) { minDist...
public class class_name { public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { if (AbstractDataSource.this.options.databaseLifecycleHandler != null) { AbstractDataSource.this.options.databaseLifecycleHandler.onUpdate(db, oldVersion, newVersion, false); versionChanged = true; } } }
public class class_name { public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) { if (AbstractDataSource.this.options.databaseLifecycleHandler != null) { AbstractDataSource.this.options.databaseLifecycleHandler.onUpdate(db, oldVersion, newVersion, false); // depends on control dependency: [if...
public class class_name { public void createdModule( String name, String niceName, String group, String actionClass, String importScript, String importSite, String site, String exportModeName, String description, String version, St...
public class class_name { public void createdModule( String name, String niceName, String group, String actionClass, String importScript, String importSite, String site, String exportModeName, String description, String version, St...
public class class_name { private void transferLogFilesToS3() { if (_fileTransfersEnabled) { // Find all closed log files in the staging directory and move them to S3 for (final File logFile : _stagingDir.listFiles((dir, name) -> name.startsWith(_logFilePrefix) && name.endsWith(COMPRESS...
public class class_name { private void transferLogFilesToS3() { if (_fileTransfersEnabled) { // Find all closed log files in the staging directory and move them to S3 for (final File logFile : _stagingDir.listFiles((dir, name) -> name.startsWith(_logFilePrefix) && name.endsWith(COMPRESS...
public class class_name { @Override public byte[] generateTrailerValue(String hdr, HttpTrailers message) { HeaderKeys key = HttpHeaderKeys.find(hdr); if (key != null && hdr.equals(_key)) { if (tc.isDebugEnabled()) { Tr.debug(tc, "generateTrailerValue(String,HttpTrailer...
public class class_name { @Override public byte[] generateTrailerValue(String hdr, HttpTrailers message) { HeaderKeys key = HttpHeaderKeys.find(hdr); if (key != null && hdr.equals(_key)) { if (tc.isDebugEnabled()) { Tr.debug(tc, "generateTrailerValue(String,HttpTrailer...
public class class_name { protected void initializeBuildPath(IJavaProject javaProject, IProgressMonitor monitor) throws CoreException { IProgressMonitor theMonitor = monitor; if (theMonitor == null) { theMonitor = new NullProgressMonitor(); } theMonitor.beginTask(NewWizardMessages.NewJavaProjectWizardPageTw...
public class class_name { protected void initializeBuildPath(IJavaProject javaProject, IProgressMonitor monitor) throws CoreException { IProgressMonitor theMonitor = monitor; if (theMonitor == null) { theMonitor = new NullProgressMonitor(); } theMonitor.beginTask(NewWizardMessages.NewJavaProjectWizardPageTw...
public class class_name { private boolean isBucketProcessed(int bucketId) { synchronized (actualProcessingBuckets) { for (Bucket<Data> oneBucket : this.actualProcessingBuckets) { if (oneBucket.getBucketId() == bucketId) { return true; } ...
public class class_name { private boolean isBucketProcessed(int bucketId) { synchronized (actualProcessingBuckets) { for (Bucket<Data> oneBucket : this.actualProcessingBuckets) { if (oneBucket.getBucketId() == bucketId) { return true; // depends on control depend...
public class class_name { public void setMapping(java.util.Collection<MappingEntry> mapping) { if (mapping == null) { this.mapping = null; return; } this.mapping = new java.util.ArrayList<MappingEntry>(mapping); } }
public class class_name { public void setMapping(java.util.Collection<MappingEntry> mapping) { if (mapping == null) { this.mapping = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] } this.mapping ...
public class class_name { public String getName() { String name = super.getName(); if (name != null) { if (name.equals(getParameterDescriptor().getDisplayName()) || name.length() == 0) { name = null; } } return name; }...
public class class_name { public String getName() { String name = super.getName(); if (name != null) { if (name.equals(getParameterDescriptor().getDisplayName()) || name.length() == 0) { name = null; // depends on control dependency: [if], data = [none] ...
public class class_name { public static void creatFontDialog(DatabaseManagerSwing owner) { if (isRunning) { frame.setVisible(true); } else { CommonSwing.setSwingLAF(frame, CommonSwing.Native); fOwner = owner; frame.setIconImage(CommonSwing.getIcon("Fra...
public class class_name { public static void creatFontDialog(DatabaseManagerSwing owner) { if (isRunning) { frame.setVisible(true); // depends on control dependency: [if], data = [none] } else { CommonSwing.setSwingLAF(frame, CommonSwing.Native); // depends on control dependenc...
public class class_name { private void addGlobalServices(CatalogBuilder cat) { // look for datasets that want to use global services Set<String> allServiceNames = new HashSet<>(); findServices(cat.getDatasets(), allServiceNames); // all services used if (!allServiceNames.isEmpty()) { List<Servi...
public class class_name { private void addGlobalServices(CatalogBuilder cat) { // look for datasets that want to use global services Set<String> allServiceNames = new HashSet<>(); findServices(cat.getDatasets(), allServiceNames); // all services used if (!allServiceNames.isEmpty()) { List<Servi...
public class class_name { public @Nullable ChangeEvent<BsonDocument> getUnprocessedEventForDocumentId( final BsonValue documentId ) { final ChangeEvent<BsonDocument> event; nsLock.readLock().lock(); try { event = this.events.get(documentId); } finally { nsLock.readLock().unlock(); ...
public class class_name { public @Nullable ChangeEvent<BsonDocument> getUnprocessedEventForDocumentId( final BsonValue documentId ) { final ChangeEvent<BsonDocument> event; nsLock.readLock().lock(); try { event = this.events.get(documentId); // depends on control dependency: [try], data = [no...
public class class_name { @Override public BatchStatus getBatchStatus(long jobExecutionId) { BatchStatus retVal = null; BatchWorkUnit bwu = executingJobs.get(jobExecutionId); if (bwu != null) { retVal = bwu.getRuntimeWorkUnitExecution().getBatchStatus(); logger.finer...
public class class_name { @Override public BatchStatus getBatchStatus(long jobExecutionId) { BatchStatus retVal = null; BatchWorkUnit bwu = executingJobs.get(jobExecutionId); if (bwu != null) { retVal = bwu.getRuntimeWorkUnitExecution().getBatchStatus(); // depends on control de...
public class class_name { public final hqlParser.selectedPropertiesList_return selectedPropertiesList() throws RecognitionException { hqlParser.selectedPropertiesList_return retval = new hqlParser.selectedPropertiesList_return(); retval.start = input.LT(1); CommonTree root_0 = null; Token COMMA148=null; Pa...
public class class_name { public final hqlParser.selectedPropertiesList_return selectedPropertiesList() throws RecognitionException { hqlParser.selectedPropertiesList_return retval = new hqlParser.selectedPropertiesList_return(); retval.start = input.LT(1); CommonTree root_0 = null; Token COMMA148=null; Pa...
public class class_name { public void register(final Field field) { Requires requires = field.getAnnotation(Requires.class); if (requires != null) { final String[] requirements = requires.value(); for (String requirement: requirements) { this.dependantToRequireme...
public class class_name { public void register(final Field field) { Requires requires = field.getAnnotation(Requires.class); if (requires != null) { final String[] requirements = requires.value(); for (String requirement: requirements) { this.dependantToRequireme...
public class class_name { public static ARCHType calculateArch() { String osArch = System.getProperty("os.arch"); osArch = osArch.toLowerCase(Locale.ENGLISH); if (osArch.equals("i386") || osArch.equals("x86") || osArch.equals("i686")) { return ARCHType.X86; } if (osA...
public class class_name { public static ARCHType calculateArch() { String osArch = System.getProperty("os.arch"); osArch = osArch.toLowerCase(Locale.ENGLISH); if (osArch.equals("i386") || osArch.equals("x86") || osArch.equals("i686")) { return ARCHType.X86; // depends on control dep...
public class class_name { public void waitForReplayCompletion() { if (tc.isEntryEnabled()) Tr.entry(tc, "waitForReplayCompletion"); if (!_replayCompleted) { try { if (tc.isEventEnabled()) Tr.event(tc, "starting to wait for replay completion")...
public class class_name { public void waitForReplayCompletion() { if (tc.isEntryEnabled()) Tr.entry(tc, "waitForReplayCompletion"); if (!_replayCompleted) { try { if (tc.isEventEnabled()) Tr.event(tc, "starting to wait for replay completion")...
public class class_name { private void trainStep(DataSet dataSet, boolean parallel) { boolean autoLearners = isAutoFeatureSample();//We will need to set it back after, so remember if we need to if(autoLearners) baseLearner.setRandomFeatureCount(Math.max((int)Math.sqrt(dataSet.getNumFeat...
public class class_name { private void trainStep(DataSet dataSet, boolean parallel) { boolean autoLearners = isAutoFeatureSample();//We will need to set it back after, so remember if we need to if(autoLearners) baseLearner.setRandomFeatureCount(Math.max((int)Math.sqrt(dataSet.getNumFeat...
public class class_name { @Nullable public JobID getOwningJob(AllocationID allocationId) { final TaskSlot taskSlot = getTaskSlot(allocationId); if (taskSlot != null) { return taskSlot.getJobId(); } else { return null; } } }
public class class_name { @Nullable public JobID getOwningJob(AllocationID allocationId) { final TaskSlot taskSlot = getTaskSlot(allocationId); if (taskSlot != null) { return taskSlot.getJobId(); // depends on control dependency: [if], data = [none] } else { return null; // depends on control dependency:...
public class class_name { public String getMessage(MyfacesLogKey key) { try { String name = key.name(); return _log.getResourceBundle().getString(name); } catch (MissingResourceException mre) { return key.name(); } } }
public class class_name { public String getMessage(MyfacesLogKey key) { try { String name = key.name(); return _log.getResourceBundle().getString(name); // depends on control dependency: [try], data = [none] } catch (MissingResourceException mre) { ...
public class class_name { public void setAverageVisible(final boolean VISIBLE) { if (null == averageVisible) { _averageVisible = VISIBLE; fireUpdateEvent(VISIBILITY_EVENT); } else { averageVisible.set(VISIBLE); } } }
public class class_name { public void setAverageVisible(final boolean VISIBLE) { if (null == averageVisible) { _averageVisible = VISIBLE; // depends on control dependency: [if], data = [none] fireUpdateEvent(VISIBILITY_EVENT); // depends on control dependency: [if], data = [none] ...
public class class_name { public static void accept(SARLQuickfixProvider provider, Issue issue, IssueResolutionAcceptor acceptor, RemovalType type) { final String[] data = issue.getData(); RemovalType removalType = type; String redundantName = null; if (data != null && data.length >= 1) { redundantName = da...
public class class_name { public static void accept(SARLQuickfixProvider provider, Issue issue, IssueResolutionAcceptor acceptor, RemovalType type) { final String[] data = issue.getData(); RemovalType removalType = type; String redundantName = null; if (data != null && data.length >= 1) { redundantName = da...
public class class_name { private void prepareBuffers(List<DBBPool.BBContainer> buffers) { Preconditions.checkArgument(buffers.size() == m_tableTasks.size()); UnmodifiableIterator<SnapshotTableTask> iterator = m_tableTasks.iterator(); for (DBBPool.BBContainer container : buffers) { ...
public class class_name { private void prepareBuffers(List<DBBPool.BBContainer> buffers) { Preconditions.checkArgument(buffers.size() == m_tableTasks.size()); UnmodifiableIterator<SnapshotTableTask> iterator = m_tableTasks.iterator(); for (DBBPool.BBContainer container : buffers) { ...
public class class_name { private static String joinAndGetValueForSelect(List<Field> fields, String sep, String fieldPrefix) { fieldPrefix = fieldPrefix == null ? "" : fieldPrefix.trim(); StringBuilder sb = new StringBuilder(); for(Field field : fields) { Column column = field.getAnnotation(Co...
public class class_name { private static String joinAndGetValueForSelect(List<Field> fields, String sep, String fieldPrefix) { fieldPrefix = fieldPrefix == null ? "" : fieldPrefix.trim(); StringBuilder sb = new StringBuilder(); for(Field field : fields) { Column column = field.getAnnotation(Co...
public class class_name { public void marshall(ResponseCard responseCard, ProtocolMarshaller protocolMarshaller) { if (responseCard == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(responseCard.get...
public class class_name { public void marshall(ResponseCard responseCard, ProtocolMarshaller protocolMarshaller) { if (responseCard == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(responseCard.get...
public class class_name { public static Optional<Playlist> getPlaylist(EventModel eventModel) { if (eventModel.getListResourceContainer().containsResourcesFromSource(ID)) { return eventModel .getListResourceContainer() .provideResource(ID) ...
public class class_name { public static Optional<Playlist> getPlaylist(EventModel eventModel) { if (eventModel.getListResourceContainer().containsResourcesFromSource(ID)) { return eventModel .getListResourceContainer() .provideResource(ID) ...
public class class_name { public void setChapCredentials(java.util.Collection<ChapInfo> chapCredentials) { if (chapCredentials == null) { this.chapCredentials = null; return; } this.chapCredentials = new com.amazonaws.internal.SdkInternalList<ChapInfo>(chapCredentials);...
public class class_name { public void setChapCredentials(java.util.Collection<ChapInfo> chapCredentials) { if (chapCredentials == null) { this.chapCredentials = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] ...
public class class_name { protected void initZipOutputStream(ZipOutputStream zOut) throws IOException, BuildException { if (manifestFiles.size() != 0) { // // Create a default (empty) manifest // Manifest mergeManifest = Manifest.getDefaultManifest()...
public class class_name { protected void initZipOutputStream(ZipOutputStream zOut) throws IOException, BuildException { if (manifestFiles.size() != 0) { // // Create a default (empty) manifest // Manifest mergeManifest = Manifest.getDefaultManifest()...
public class class_name { private static String getHostPort(SocketAddress address) { if (address instanceof ResourceAddress) { ResourceAddress lowest = getLowestTransportLayer((ResourceAddress)address); return format(HOST_PORT_FORMAT, lowest.getResource().getHost(), lowest.getResource()...
public class class_name { private static String getHostPort(SocketAddress address) { if (address instanceof ResourceAddress) { ResourceAddress lowest = getLowestTransportLayer((ResourceAddress)address); return format(HOST_PORT_FORMAT, lowest.getResource().getHost(), lowest.getResource()...
public class class_name { public java.util.List<String> getApplicationArns() { if (applicationArns == null) { applicationArns = new com.amazonaws.internal.SdkInternalList<String>(); } return applicationArns; } }
public class class_name { public java.util.List<String> getApplicationArns() { if (applicationArns == null) { applicationArns = new com.amazonaws.internal.SdkInternalList<String>(); // depends on control dependency: [if], data = [none] } return applicationArns; } }
public class class_name { public static VectorTile.Tile.GeomType toGeomType(Geometry geometry) { VectorTile.Tile.GeomType result = VectorTile.Tile.GeomType.UNKNOWN; if(geometry instanceof Point || geometry instanceof MultiPoint) { result = VectorTile.Tile.GeomType.POINT; ...
public class class_name { public static VectorTile.Tile.GeomType toGeomType(Geometry geometry) { VectorTile.Tile.GeomType result = VectorTile.Tile.GeomType.UNKNOWN; if(geometry instanceof Point || geometry instanceof MultiPoint) { result = VectorTile.Tile.GeomType.POINT; //...
public class class_name { private void init() { if (x == null) { x = new double[z[0].length]; for (int i = 0; i < x.length; i++) { x[i] = i + 0.5; } } if (y == null) { y = new double[z.length]; for (int i = 0; i < y.le...
public class class_name { private void init() { if (x == null) { x = new double[z[0].length]; // depends on control dependency: [if], data = [none] for (int i = 0; i < x.length; i++) { x[i] = i + 0.5; // depends on control dependency: [for], data = [i] } ...
public class class_name { @Override public Set<String> getSwappableAttributes(ExternalContext externalContext) { final PortletRequest portletRequest = (PortletRequest) externalContext.getNativeRequest(); final PortletPreferences preferences = portletRequest.getPreferences(); final Set<Stri...
public class class_name { @Override public Set<String> getSwappableAttributes(ExternalContext externalContext) { final PortletRequest portletRequest = (PortletRequest) externalContext.getNativeRequest(); final PortletPreferences preferences = portletRequest.getPreferences(); final Set<Stri...
public class class_name { public void setCollections(java.util.Collection<HistoricalMetricData> collections) { if (collections == null) { this.collections = null; return; } this.collections = new java.util.ArrayList<HistoricalMetricData>(collections); } }
public class class_name { public void setCollections(java.util.Collection<HistoricalMetricData> collections) { if (collections == null) { this.collections = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] ...
public class class_name { public static MutableRoaringBitmap horizontal_or(ImmutableRoaringBitmap... bitmaps) { MutableRoaringBitmap answer = new MutableRoaringBitmap(); if (bitmaps.length == 0) { return answer; } PriorityQueue<MappeableContainerPointer> pq = new PriorityQueue<>(bitmaps.length); ...
public class class_name { public static MutableRoaringBitmap horizontal_or(ImmutableRoaringBitmap... bitmaps) { MutableRoaringBitmap answer = new MutableRoaringBitmap(); if (bitmaps.length == 0) { return answer; // depends on control dependency: [if], data = [none] } PriorityQueue<MappeableContai...
public class class_name { public T get(final int key) { final int hash = hashOf(key); int index = hash & mask; if (containsKey(key, index)) { return (T)values[index]; } if (states[index] == FREE) { return missingEntries; } int j = inde...
public class class_name { public T get(final int key) { final int hash = hashOf(key); int index = hash & mask; if (containsKey(key, index)) { return (T)values[index]; // depends on control dependency: [if], data = [none] } if (states[index] == FREE) { ...
public class class_name { public static Instance getInstance(String type, Class<?> clazz, String algorithm) throws NoSuchAlgorithmException { // in the almost all cases, the first service will work // avoid taking long path if so ProviderList list = Providers.getProviderList(); ...
public class class_name { public static Instance getInstance(String type, Class<?> clazz, String algorithm) throws NoSuchAlgorithmException { // in the almost all cases, the first service will work // avoid taking long path if so ProviderList list = Providers.getProviderList(); ...
public class class_name { public static Method findMethod(Class<?> type, String name, Class<?>... parameterTypes) { while (type != null) { try { return type.getDeclaredMethod(name, parameterTypes); } catch (Exception e) { } type = type.getSuperclass(); } return null; } }
public class class_name { public static Method findMethod(Class<?> type, String name, Class<?>... parameterTypes) { while (type != null) { try { return type.getDeclaredMethod(name, parameterTypes); // depends on control dependency: [try], data = [none] } catch (Exception e) { } // depends on control ...
public class class_name { public static Enumeration getRequestLocales(HttpServletRequest request) { Enumeration values = request.getHeaders("accept-language"); if (values == null) { // No header for "accept-language". Simply return // a new empty enumeration. // Syst...
public class class_name { public static Enumeration getRequestLocales(HttpServletRequest request) { Enumeration values = request.getHeaders("accept-language"); if (values == null) { // No header for "accept-language". Simply return // a new empty enumeration. // Syst...
public class class_name { @Override public String encodeURL(String url) { SessionInfo info = this.request.getSessionInfo(); if (null == info || !info.getSessionConfig().isURLRewriting()) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "e...
public class class_name { @Override public String encodeURL(String url) { SessionInfo info = this.request.getSessionInfo(); if (null == info || !info.getSessionConfig().isURLRewriting()) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "e...
public class class_name { public static Locale getLocale(final String anEncoding) { Locale aLocale = null; String country = null; String language = null; String variant; //Tokenize the string using "-" as the token string as per IETF RFC4646 (superceeds RFC3066). final...
public class class_name { public static Locale getLocale(final String anEncoding) { Locale aLocale = null; String country = null; String language = null; String variant; //Tokenize the string using "-" as the token string as per IETF RFC4646 (superceeds RFC3066). final...
public class class_name { public static List<BoxTermsOfServiceUserStatus.Info> getInfo(final BoxAPIConnection api, String termsOfServiceID, String userID) { QueryStringBuilder builder = new QueryStringBuilder(); builder.appendParam("tos_id", termsOfServiceID); ...
public class class_name { public static List<BoxTermsOfServiceUserStatus.Info> getInfo(final BoxAPIConnection api, String termsOfServiceID, String userID) { QueryStringBuilder builder = new QueryStringBuilder(); builder.appendParam("tos_id", termsOfServiceID); ...
public class class_name { public static FileBatch readFromZip(InputStream is) throws IOException { String originalUris = null; Map<Integer, byte[]> bytesMap = new HashMap<>(); try (ZipInputStream zis = new ZipInputStream(new BufferedInputStream(is))) { ZipEntry ze; while...
public class class_name { public static FileBatch readFromZip(InputStream is) throws IOException { String originalUris = null; Map<Integer, byte[]> bytesMap = new HashMap<>(); try (ZipInputStream zis = new ZipInputStream(new BufferedInputStream(is))) { ZipEntry ze; while...
public class class_name { protected Map<String, List<String>> decodeParameters(String queryString) { Map<String, List<String>> parms = new HashMap<String, List<String>>(); if (queryString != null) { StringTokenizer st = new StringTokenizer(queryString, "&"); while (st.hasMoreTok...
public class class_name { protected Map<String, List<String>> decodeParameters(String queryString) { Map<String, List<String>> parms = new HashMap<String, List<String>>(); if (queryString != null) { StringTokenizer st = new StringTokenizer(queryString, "&"); while (st.hasMoreTok...
public class class_name { public static Locale convertLanguageToLocale(final String planguage) { final Locale locale; if (planguage == null) { locale = null; } else { final String localeStringUp = planguage.toUpperCase().replace('-', '_'); if (LocaleUtil.DEFAULT_MAP.containsKey(localeStri...
public class class_name { public static Locale convertLanguageToLocale(final String planguage) { final Locale locale; if (planguage == null) { locale = null; // depends on control dependency: [if], data = [none] } else { final String localeStringUp = planguage.toUpperCase().replace('-', '_'); ...
public class class_name { public void marshall(CreateDirectConnectGatewayAssociationRequest createDirectConnectGatewayAssociationRequest, ProtocolMarshaller protocolMarshaller) { if (createDirectConnectGatewayAssociationRequest == null) { throw new SdkClientException("Invalid argument passed to ma...
public class class_name { public void marshall(CreateDirectConnectGatewayAssociationRequest createDirectConnectGatewayAssociationRequest, ProtocolMarshaller protocolMarshaller) { if (createDirectConnectGatewayAssociationRequest == null) { throw new SdkClientException("Invalid argument passed to ma...
public class class_name { private static int[] make_crc_table() { int[] crc_table = new int[256]; for (int n = 0; n < 256; n++) { int c = n; for (int k = 8; --k >= 0; ) { if ((c & 1) != 0) c = 0xedb88320 ^ (c >>> 1); else ...
public class class_name { private static int[] make_crc_table() { int[] crc_table = new int[256]; for (int n = 0; n < 256; n++) { int c = n; for (int k = 8; --k >= 0; ) { if ((c & 1) != 0) c = 0xedb88320 ^ (c >>> 1); else ...
public class class_name { @Override public NodeInfo getParent() { try { NodeInfo parent = null; final INodeReadTrx rtx = createRtxAndMove(); if (rtx.getNode().hasParent()) { // Parent transaction. parent = new NodeWrapper(mDocWrapper, rtx....
public class class_name { @Override public NodeInfo getParent() { try { NodeInfo parent = null; final INodeReadTrx rtx = createRtxAndMove(); if (rtx.getNode().hasParent()) { // Parent transaction. parent = new NodeWrapper(mDocWrapper, rtx....
public class class_name { private Node<ColumnName> advance(int goalRow) { ColumnHeader<ColumnName> col = findBestColumn(); if (col.size > 0) { coverColumn(col); Node<ColumnName> row = col.down; int id = 0; while (row != col) { if (id == goalRow) { Node<ColumnName> node...
public class class_name { private Node<ColumnName> advance(int goalRow) { ColumnHeader<ColumnName> col = findBestColumn(); if (col.size > 0) { coverColumn(col); // depends on control dependency: [if], data = [none] Node<ColumnName> row = col.down; int id = 0; while (row != col) { ...
public class class_name { private static void printEnvVariables() { System.out.println("Environment Variables: "); Map<String,String> map = System.getenv(); Set<Entry<String, String>> entrySet = map.entrySet(); for(Entry<String, String> entry : entrySet) { System.out.println(entry.getKey() + " = ...
public class class_name { private static void printEnvVariables() { System.out.println("Environment Variables: "); Map<String,String> map = System.getenv(); Set<Entry<String, String>> entrySet = map.entrySet(); for(Entry<String, String> entry : entrySet) { System.out.println(entry.getKey() + " = ...
public class class_name { @Override public List<IScan> getScansByRtUpper(double rt) { Map.Entry<Double, List<IScan>> ceilingEntry = getMapRt2scan().ceilingEntry(rt); if (ceilingEntry == null) { return null; } List<IScan> scans = ceilingEntry.getValue(); if (scans != null) { return sca...
public class class_name { @Override public List<IScan> getScansByRtUpper(double rt) { Map.Entry<Double, List<IScan>> ceilingEntry = getMapRt2scan().ceilingEntry(rt); if (ceilingEntry == null) { return null; // depends on control dependency: [if], data = [none] } List<IScan> scans = ceilingEntry...
public class class_name { public DescribeTagsRequest withFilters(TagFilter... filters) { if (this.filters == null) { setFilters(new java.util.ArrayList<TagFilter>(filters.length)); } for (TagFilter ele : filters) { this.filters.add(ele); } return this; ...
public class class_name { public DescribeTagsRequest withFilters(TagFilter... filters) { if (this.filters == null) { setFilters(new java.util.ArrayList<TagFilter>(filters.length)); // depends on control dependency: [if], data = [none] } for (TagFilter ele : filters) { th...
public class class_name { private void synchronizedRecordResult(CircuitBreakerResult result) { synchronized (this) { switch (state.get()) { case CLOSED: rollingWindow.record(result); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnable...
public class class_name { private void synchronizedRecordResult(CircuitBreakerResult result) { synchronized (this) { switch (state.get()) { case CLOSED: rollingWindow.record(result); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnable...
public class class_name { @Override public IPromise<T> thenAnd(Supplier<IPromise<T>> callable) { Promise res = new Promise<>(); then( new Callback<T>() { @Override public void complete(T result, Object error) { if ( Actor.isError(error) ) { ...
public class class_name { @Override public IPromise<T> thenAnd(Supplier<IPromise<T>> callable) { Promise res = new Promise<>(); then( new Callback<T>() { @Override public void complete(T result, Object error) { if ( Actor.isError(error) ) { ...
public class class_name { protected LaJobScheduler findAppScheduler() { final List<LaJobScheduler> schedulerList = new ArrayList<LaJobScheduler>(); // to check not found final List<String> derivedNameList = new ArrayList<String>(); // for exception message final NamingConvention convention = ge...
public class class_name { protected LaJobScheduler findAppScheduler() { final List<LaJobScheduler> schedulerList = new ArrayList<LaJobScheduler>(); // to check not found final List<String> derivedNameList = new ArrayList<String>(); // for exception message final NamingConvention convention = ge...
public class class_name { private static void lazyInit() { if (components==null) { components = new HashSet<Component>(); nonTerminalComps = new HashMap<Set<String>, Component>(); nTerminalAminoAcids = new HashMap<Set<String>, Component>(); cTerminalAminoAcids = new HashMap<Set<String>, Component>(); }...
public class class_name { private static void lazyInit() { if (components==null) { components = new HashSet<Component>(); // depends on control dependency: [if], data = [none] nonTerminalComps = new HashMap<Set<String>, Component>(); // depends on control dependency: [if], data = [none] nTerminalAminoAcids ...
public class class_name { public boolean hasErrors() { if ((m_validatedNewEntry != null) && m_validatedNewEntry.hasErrors()) { return true; } for (CmsAliasTableRow row : m_changedRows) { if (row.hasErrors()) { return true; } ...
public class class_name { public boolean hasErrors() { if ((m_validatedNewEntry != null) && m_validatedNewEntry.hasErrors()) { return true; // depends on control dependency: [if], data = [none] } for (CmsAliasTableRow row : m_changedRows) { if (row.hasErrors()) { ...
public class class_name { private Entity processInteraction(Interaction interaction, Set<String> avail, Provenance pro, boolean isComplex) { Entity bpInteraction = null; //interaction or complex boolean isGeneticInteraction = false; // get interaction name/short name String name = null; String shor...
public class class_name { private Entity processInteraction(Interaction interaction, Set<String> avail, Provenance pro, boolean isComplex) { Entity bpInteraction = null; //interaction or complex boolean isGeneticInteraction = false; // get interaction name/short name String name = null; String shor...
public class class_name { public SipTransaction sendStatefulNotify(Request req, boolean viaProxy) { setErrorMessage(""); SipTransaction transaction; synchronized (dialogLock) { transaction = phone.sendRequestWithTransaction(req, viaProxy, dialog); if (transaction == null) { setErrorMes...
public class class_name { public SipTransaction sendStatefulNotify(Request req, boolean viaProxy) { setErrorMessage(""); SipTransaction transaction; synchronized (dialogLock) { transaction = phone.sendRequestWithTransaction(req, viaProxy, dialog); if (transaction == null) { setErrorMes...
public class class_name { @Override public Object getIdentifierValue(Identifier id, boolean ignoreType, Object contextValue, boolean returnList) throws BadMessageFormatMatchingExceptio...
public class class_name { @Override public Object getIdentifierValue(Identifier id, boolean ignoreType, Object contextValue, boolean returnList) throws BadMessageFormatMatchingExceptio...
public class class_name { private void matchItemIds(@NonNull ArrayMap<View, TransitionValues> unmatchedStart, @NonNull ArrayMap<View, TransitionValues> unmatchedEnd, @NonNull LongSparseArray<View> startItemIds, @NonNull LongSpars...
public class class_name { private void matchItemIds(@NonNull ArrayMap<View, TransitionValues> unmatchedStart, @NonNull ArrayMap<View, TransitionValues> unmatchedEnd, @NonNull LongSparseArray<View> startItemIds, @NonNull LongSpars...
public class class_name { @SuppressWarnings("rawtypes") private Map<EntitySpec, SQLGenResultProcessorFactory> allEntitySpecToResultProcessor() { /* * The order of the entity specs matters for multiple with the same * name. Thus, we use a LinkedHashMap. */ Map<EntitySpec, ...
public class class_name { @SuppressWarnings("rawtypes") private Map<EntitySpec, SQLGenResultProcessorFactory> allEntitySpecToResultProcessor() { /* * The order of the entity specs matters for multiple with the same * name. Thus, we use a LinkedHashMap. */ Map<EntitySpec, ...
public class class_name { protected void parseElse() { Node parent = peek(); if (!(parent instanceof IfNode)) { return; } IfNode ifNode = (IfNode) pop(); ElseNode elseNode = new ElseNode(); ifNode.setElseNode(elseNode); push(elseNode); ...
public class class_name { protected void parseElse() { Node parent = peek(); if (!(parent instanceof IfNode)) { return; // depends on control dependency: [if], data = [none] } IfNode ifNode = (IfNode) pop(); ElseNode elseNode = new ElseNode(); ifNode.s...
public class class_name { public void selectFields(String[] fieldNames) { checkNotNull(fieldNames, "fieldNames"); this.fieldNames = fieldNames; RowTypeInfo rowTypeInfo = (RowTypeInfo) ParquetSchemaConverter.fromParquetType(expectedFileSchema); TypeInformation[] selectFieldTypes = new TypeInformation[fieldNames...
public class class_name { public void selectFields(String[] fieldNames) { checkNotNull(fieldNames, "fieldNames"); this.fieldNames = fieldNames; RowTypeInfo rowTypeInfo = (RowTypeInfo) ParquetSchemaConverter.fromParquetType(expectedFileSchema); TypeInformation[] selectFieldTypes = new TypeInformation[fieldNames...
public class class_name { public FilterableSet<K> keySetByValue() { if (setOfKeysByValue == null) { setOfKeysByValue = new AbstractFilterableSet<K>() { @Override public Iterator<K> iterator() { return new TransactionalBidiTreeMapIterato...
public class class_name { public FilterableSet<K> keySetByValue() { if (setOfKeysByValue == null) { setOfKeysByValue = new AbstractFilterableSet<K>() { @Override public Iterator<K> iterator() { return new TransactionalBidiTreeMapIterato...
public class class_name { public SetLoadBalancerPoliciesOfListenerRequest withPolicyNames(String... policyNames) { if (this.policyNames == null) { setPolicyNames(new com.amazonaws.internal.SdkInternalList<String>(policyNames.length)); } for (String ele : policyNames) { t...
public class class_name { public SetLoadBalancerPoliciesOfListenerRequest withPolicyNames(String... policyNames) { if (this.policyNames == null) { setPolicyNames(new com.amazonaws.internal.SdkInternalList<String>(policyNames.length)); // depends on control dependency: [if], data = [none] } ...
public class class_name { protected Pair<Integer, InputStream> executeCommand(String command) { int resultVal = 1; InputStream inputStream = null; try { logger.debug("Executing command: {}", command); Process process = Runtime.getRuntime().exec(command); re...
public class class_name { protected Pair<Integer, InputStream> executeCommand(String command) { int resultVal = 1; InputStream inputStream = null; try { logger.debug("Executing command: {}", command); // depends on control dependency: [try], data = [none] Process process...