code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { public static int lastIndexOfAny(final CharSequence str, final CharSequence... searchStrs) { if (str == null || searchStrs == null) { return INDEX_NOT_FOUND; } int ret = INDEX_NOT_FOUND; int tmp = 0; for (final CharSequence search : searchSt...
public class class_name { public static int lastIndexOfAny(final CharSequence str, final CharSequence... searchStrs) { if (str == null || searchStrs == null) { return INDEX_NOT_FOUND; // depends on control dependency: [if], data = [none] } int ret = INDEX_NOT_FOUND; int tmp ...
public class class_name { protected List<ExecutableScript> initEnvForLanguage(String language) { List<ExecutableScript> scripts = new ArrayList<ExecutableScript>(); for (ScriptEnvResolver resolver : envResolvers) { String[] resolvedScripts = resolver.resolve(language); if(resolvedScripts != null) ...
public class class_name { protected List<ExecutableScript> initEnvForLanguage(String language) { List<ExecutableScript> scripts = new ArrayList<ExecutableScript>(); for (ScriptEnvResolver resolver : envResolvers) { String[] resolvedScripts = resolver.resolve(language); if(resolvedScripts != null) ...
public class class_name { private boolean match(String keyword, int fromIndex) { int match = 0; // 查找非空白字符。 for (int index = fromIndex; index < length; index++) { char ch = pattern.charAt(index); if (!Character.isWhitespace(ch)) { match = index; ...
public class class_name { private boolean match(String keyword, int fromIndex) { int match = 0; // 查找非空白字符。 for (int index = fromIndex; index < length; index++) { char ch = pattern.charAt(index); if (!Character.isWhitespace(ch)) { match = index; // de...
public class class_name { static <E> ImmutableMap<E, Integer> indexMap(Collection<E> list) { ImmutableMap.Builder<E, Integer> builder = new ImmutableMap.Builder<>(list.size()); int i = 0; for (E e : list) { builder.put(e, i++); } return builder.build(); } }
public class class_name { static <E> ImmutableMap<E, Integer> indexMap(Collection<E> list) { ImmutableMap.Builder<E, Integer> builder = new ImmutableMap.Builder<>(list.size()); int i = 0; for (E e : list) { builder.put(e, i++); // depends on control dependency: [for], data = [e] } return buil...
public class class_name { WebSocketPacket decode(final Logger logger, final WebSocketRunner runner, final WebSocket webSocket, final int wsmaxbody, final AbstractMap.SimpleEntry<String, byte[]> halfBytes, final ByteBuffer buffer) { //开始 final boolean debug = false; //调试开关 if (debug)...
public class class_name { WebSocketPacket decode(final Logger logger, final WebSocketRunner runner, final WebSocket webSocket, final int wsmaxbody, final AbstractMap.SimpleEntry<String, byte[]> halfBytes, final ByteBuffer buffer) { //开始 final boolean debug = false; //调试开关 if (debug)...
public class class_name { public static <T> T selectValue(T defaultValue, T... overrides) { for (T override : overrides) { if (override != null) { return override; } } return defaultValue; } }
public class class_name { public static <T> T selectValue(T defaultValue, T... overrides) { for (T override : overrides) { if (override != null) { return override; // depends on control dependency: [if], data = [none] } } return defaultValue; } }
public class class_name { static String awaitComplete(CloudDNS api, Job job) { RetryableException retryableException = new RetryableException( format("Job %s did not complete. Check your logs.", job.id), null); Retryer retryer = new Retryer.Default(500, 1000, 30); while (true) { job = api.ge...
public class class_name { static String awaitComplete(CloudDNS api, Job job) { RetryableException retryableException = new RetryableException( format("Job %s did not complete. Check your logs.", job.id), null); Retryer retryer = new Retryer.Default(500, 1000, 30); while (true) { job = api.ge...
public class class_name { @Override public synchronized boolean shutdown() { if (!started) return false; try { log.info("Server shutting down ..."); // Undeploy bridges undeployBridges(); // Stop the tcp listener if (tcpLi...
public class class_name { @Override public synchronized boolean shutdown() { if (!started) return false; try { log.info("Server shutting down ..."); // depends on control dependency: [try], data = [none] // Undeploy bridges undeployBridges(); // depe...
public class class_name { private Constraint putToCache(final String id, final Constraint object) { Constraint c = this.map.put(id, object); if (c instanceof DummyConstraint) { ((DummyConstraint) c).constraint = object; return null; } return c; } }
public class class_name { private Constraint putToCache(final String id, final Constraint object) { Constraint c = this.map.put(id, object); if (c instanceof DummyConstraint) { ((DummyConstraint) c).constraint = object; // depends on control dependency: [if], data = [none] return null; // depends on con...
public class class_name { @SuppressWarnings("unchecked") public static <T> List<T> getAny(Collection<T> collection, int... indexes) { final int size = collection.size(); final ArrayList<T> result = new ArrayList<>(); if (collection instanceof List) { final List<T> list = ((List<T>) collection); for ...
public class class_name { @SuppressWarnings("unchecked") public static <T> List<T> getAny(Collection<T> collection, int... indexes) { final int size = collection.size(); final ArrayList<T> result = new ArrayList<>(); if (collection instanceof List) { final List<T> list = ((List<T>) collection); for ...
public class class_name { @Nonnull public Number toJavaLangNumber() { int flags = getFlags(); if ((flags & F_DOUBLE) != 0) return doubleValue(); else if ((flags & F_FLOAT) != 0) return floatValue(); else if ((flags & (F_LONG | F_LONGLONG)) != 0) r...
public class class_name { @Nonnull public Number toJavaLangNumber() { int flags = getFlags(); if ((flags & F_DOUBLE) != 0) return doubleValue(); else if ((flags & F_FLOAT) != 0) return floatValue(); else if ((flags & (F_LONG | F_LONGLONG)) != 0) r...
public class class_name { private String removeAsterisk(String str) { if (str.startsWith("*")) { str = str.substring(1); } if (str.endsWith("*")) { str = str.substring(0, str.length() - 1); } return str; } }
public class class_name { private String removeAsterisk(String str) { if (str.startsWith("*")) { str = str.substring(1); // depends on control dependency: [if], data = [none] } if (str.endsWith("*")) { str = str.substring(0, str.length() - 1); // depends on control d...
public class class_name { public final String complexOp() throws RecognitionException { String opr = null; Token t=null; Token e=null; try { // src/main/resources/org/drools/compiler/lang/DRL5Expressions.g:126:5: (t= TILDE e= EQUALS_ASSIGN ) // src/main/resources/org/drools/compiler/lang/DRL5Expressio...
public class class_name { public final String complexOp() throws RecognitionException { String opr = null; Token t=null; Token e=null; try { // src/main/resources/org/drools/compiler/lang/DRL5Expressions.g:126:5: (t= TILDE e= EQUALS_ASSIGN ) // src/main/resources/org/drools/compiler/lang/DRL5Expressio...
public class class_name { public static Throwable get(Throwable serThrowable, ClassLoader loader) { if (serThrowable instanceof SerializedThrowable) { return ((SerializedThrowable) serThrowable).deserializeError(loader); } else { return serThrowable; } } }
public class class_name { public static Throwable get(Throwable serThrowable, ClassLoader loader) { if (serThrowable instanceof SerializedThrowable) { return ((SerializedThrowable) serThrowable).deserializeError(loader); // depends on control dependency: [if], data = [none] } else { return serThrowable; // d...
public class class_name { public static String getLabel(ComponentJob job, boolean includeDescriptorName, boolean includeInputColumnNames, boolean includeRequirements) { final String jobName = job.getName(); final StringBuilder label = new StringBuilder(); if (Strings.isNullOrEmpty(j...
public class class_name { public static String getLabel(ComponentJob job, boolean includeDescriptorName, boolean includeInputColumnNames, boolean includeRequirements) { final String jobName = job.getName(); final StringBuilder label = new StringBuilder(); if (Strings.isNullOrEmpty(j...
public class class_name { public void marshall(InputSerialization inputSerialization, ProtocolMarshaller protocolMarshaller) { if (inputSerialization == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshal...
public class class_name { public void marshall(InputSerialization inputSerialization, ProtocolMarshaller protocolMarshaller) { if (inputSerialization == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshal...
public class class_name { public void marshall(CreateRealtimeEndpointRequest createRealtimeEndpointRequest, ProtocolMarshaller protocolMarshaller) { if (createRealtimeEndpointRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { public void marshall(CreateRealtimeEndpointRequest createRealtimeEndpointRequest, ProtocolMarshaller protocolMarshaller) { if (createRealtimeEndpointRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { public UserAccessToken generateAccessToken(User user, String device) { if (user == null) return null; Criteria criteria = this.dao.newCriteria(UserAccessToken.class) .add(Restrictions.eq("user", user)) .add(Restrictions.eqOrIsNull("device", device)) .add(Restrictions.gt("ex...
public class class_name { public UserAccessToken generateAccessToken(User user, String device) { if (user == null) return null; Criteria criteria = this.dao.newCriteria(UserAccessToken.class) .add(Restrictions.eq("user", user)) .add(Restrictions.eqOrIsNull("device", device)) .add(Restrictions.gt("ex...
public class class_name { public void run() { Record record = this.getMainRecord(); try { Writer out = new StringWriter(); MessageDetailTarget messageDetailTarget = (MessageDetailTarget)this.getMainRecord(); String strSite = messageDetailTarget.getProperty(TrxMes...
public class class_name { public void run() { Record record = this.getMainRecord(); try { Writer out = new StringWriter(); MessageDetailTarget messageDetailTarget = (MessageDetailTarget)this.getMainRecord(); String strSite = messageDetailTarget.getProperty(TrxMes...
public class class_name { private static void setExtendedParentPointers(final int[] array) { final int length = array.length; array[0] += array[1]; for (int headNode = 0, tailNode = 1, topNode = 2; tailNode < length - 1; tailNode++) { int temp; if (topNode >= length || ...
public class class_name { private static void setExtendedParentPointers(final int[] array) { final int length = array.length; array[0] += array[1]; for (int headNode = 0, tailNode = 1, topNode = 2; tailNode < length - 1; tailNode++) { int temp; if (topNode >= length || ...
public class class_name { private static String getEncodeFileName(String userAgent, String fileName) { String encodedFileName = fileName; try { if (userAgent.contains("MSIE") || userAgent.contains("Opera")) { encodedFileName = URLEncoder.encode(fileName, "UTF-8"); } else { encodedFi...
public class class_name { private static String getEncodeFileName(String userAgent, String fileName) { String encodedFileName = fileName; try { if (userAgent.contains("MSIE") || userAgent.contains("Opera")) { encodedFileName = URLEncoder.encode(fileName, "UTF-8"); // depends on control dependency...
public class class_name { private void initDurationPanel() { m_durationPrefixLabel.setText(Messages.get().key(Messages.GUI_SERIALDATE_DURATION_PREFIX_0)); m_durationAfterPostfixLabel.setText(Messages.get().key(Messages.GUI_SERIALDATE_DURATION_ENDTYPE_OCC_POSTFIX_0)); m_seriesEndDate.setDateOnl...
public class class_name { private void initDurationPanel() { m_durationPrefixLabel.setText(Messages.get().key(Messages.GUI_SERIALDATE_DURATION_PREFIX_0)); m_durationAfterPostfixLabel.setText(Messages.get().key(Messages.GUI_SERIALDATE_DURATION_ENDTYPE_OCC_POSTFIX_0)); m_seriesEndDate.setDateOnl...
public class class_name { public void appendln(String str) { BufferedReader rdr = new BufferedReader(new StringReader(str)); while (true) { String line = null; try { line = rdr.readLine(); } catch (IOException e) { // shouldn't ever happen since we're using a StringReader throw new Run...
public class class_name { public void appendln(String str) { BufferedReader rdr = new BufferedReader(new StringReader(str)); while (true) { String line = null; try { line = rdr.readLine(); // depends on control dependency: [try], data = [none] } catch (IOException e) { // shouldn't ever hap...
public class class_name { @Override public void addLinkOperationId(String operationId, String location) { if (linkOperationIds.containsKey(operationId)) { linkOperationIds.get(operationId).add(location); } else { Set<String> locations = new HashSet<String>(); loc...
public class class_name { @Override public void addLinkOperationId(String operationId, String location) { if (linkOperationIds.containsKey(operationId)) { linkOperationIds.get(operationId).add(location); // depends on control dependency: [if], data = [none] } else { Set<Stri...
public class class_name { public void setMaxValue(final double VALUE) { if (Status.RUNNING == timeline.getStatus()) { timeline.jumpTo(Duration.ONE); } if (null == maxValue) { if (VALUE < getMinValue()) { setMinValue(VALUE); } _maxValue = clamp(getMinValue(), Double.MAX_VALUE, VA...
public class class_name { public void setMaxValue(final double VALUE) { if (Status.RUNNING == timeline.getStatus()) { timeline.jumpTo(Duration.ONE); } // depends on control dependency: [if], data = [none] if (null == maxValue) { if (VALUE < getMinValue()) { setMinValue(VALUE); } // depends ...
public class class_name { public static String getPrefix(String s) { int dot = s.lastIndexOf("."); if (dot == -1) { return s; } else { return s.substring(0, dot); } } }
public class class_name { public static String getPrefix(String s) { int dot = s.lastIndexOf("."); if (dot == -1) { return s; // depends on control dependency: [if], data = [none] } else { return s.substring(0, dot); // depends on control dependency: [if], data = [none] ...
public class class_name { public String getJsonArray() { int[] var=getArray(); if(var==null) {return null;} return new com.google.gson.Gson().toJson(var); } }
public class class_name { public String getJsonArray() { int[] var=getArray(); if(var==null) {return null;} // depends on control dependency: [if], data = [none] return new com.google.gson.Gson().toJson(var); } }
public class class_name { protected void addTopicContentsToLevelDocument(final DocBookVersion docBookVersion, final Level level, final SpecTopic specTopic, final Element parentNode, final Document doc, final boolean includeInfo) { final Node section = doc.importNode(specTopic.getXMLDocument().getDo...
public class class_name { protected void addTopicContentsToLevelDocument(final DocBookVersion docBookVersion, final Level level, final SpecTopic specTopic, final Element parentNode, final Document doc, final boolean includeInfo) { final Node section = doc.importNode(specTopic.getXMLDocument().getDo...
public class class_name { public void add(Historizable historizable) { LOGGER.debug("+++ entering HistorizableList.add +++"); synchronized (historizables) { if (historizables.size() >= fMaxEntriesToKeep) { historizables.removeLast(); } historizables.addFirst(historizable); ...
public class class_name { public void add(Historizable historizable) { LOGGER.debug("+++ entering HistorizableList.add +++"); synchronized (historizables) { if (historizables.size() >= fMaxEntriesToKeep) { historizables.removeLast(); // depends on control dependency: [if], data = [none] ...
public class class_name { public void removeProtoTypeFiles(String classFileName) { Iterator<Compiler> iter = tempVector.iterator(); while (iter.hasNext()) { Compiler c = iter.next(); if (classFileName == null) { c.removeGeneratedClassFiles(); } else i...
public class class_name { public void removeProtoTypeFiles(String classFileName) { Iterator<Compiler> iter = tempVector.iterator(); while (iter.hasNext()) { Compiler c = iter.next(); if (classFileName == null) { c.removeGeneratedClassFiles(); // depends on contro...
public class class_name { public void extend(LatLonRect r) { Preconditions.checkNotNull(r); // lat is easy double latMin = r.getLatMin(); double latMax = r.getLatMax(); if (latMax > upperRight.getLatitude()) { upperRight.setLatitude(latMax); } if (latMin < lowerLeft.getLat...
public class class_name { public void extend(LatLonRect r) { Preconditions.checkNotNull(r); // lat is easy double latMin = r.getLatMin(); double latMax = r.getLatMax(); if (latMax > upperRight.getLatitude()) { upperRight.setLatitude(latMax); // depends on control dependency: [if], ...
public class class_name { public static boolean verify(final String name, final X509Certificate cert) { try { verifier.verify(name, cert); return true; } catch (final SSLException ex) { // this is only logged here because eventually a CertificateException will be throw in ...
public class class_name { public static boolean verify(final String name, final X509Certificate cert) { try { verifier.verify(name, cert); // depends on control dependency: [try], data = [none] return true; // depends on control dependency: [try], data = [none] } catch (final SSLEx...
public class class_name { @Override public void terminate() { // disable ability to request for restart restartRequested.set(false); restartDisabled.set(true); if (nodeLifecycle.tryToMoveTo(NodeLifecycle.State.STOPPING)) { LOG.info("Stopping SonarQube"); } stopAll(); if (stopperThr...
public class class_name { @Override public void terminate() { // disable ability to request for restart restartRequested.set(false); restartDisabled.set(true); if (nodeLifecycle.tryToMoveTo(NodeLifecycle.State.STOPPING)) { LOG.info("Stopping SonarQube"); // depends on control dependency: [if],...
public class class_name { @Override public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) throws Exception { if (obj instanceof Reference) { try { String jndiName = nameCtx == null ? "" : nameCtx.getNameInNamespace(); ...
public class class_name { @Override public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) throws Exception { if (obj instanceof Reference) { try { String jndiName = nameCtx == null ? "" : nameCtx.getNameInNamespace(); ...
public class class_name { public synchronized void setUseRedoThread(final boolean useRedoThread) { if (this.useRedoThread && !useRedoThread) { // Stop Redo Thread if (redoThread != null) { stopRedoThread(redoThread); } } this.useRedoThread = useRedoThread; } }
public class class_name { public synchronized void setUseRedoThread(final boolean useRedoThread) { if (this.useRedoThread && !useRedoThread) { // Stop Redo Thread if (redoThread != null) { stopRedoThread(redoThread); // depends on control dependency: [if], data = [(redoThread] } } this.useRedoThread = ...
public class class_name { public void checkValidatorCalled() { if (!execute.isSuppressValidatorCallCheck() && certainlyNotBeValidatorCalled()) { execute.getFormMeta().filter(meta -> isValidatorAnnotated(meta)).ifPresent(meta -> { throwLonelyValidatorAnnotationException(meta); // #ho...
public class class_name { public void checkValidatorCalled() { if (!execute.isSuppressValidatorCallCheck() && certainlyNotBeValidatorCalled()) { execute.getFormMeta().filter(meta -> isValidatorAnnotated(meta)).ifPresent(meta -> { throwLonelyValidatorAnnotationException(meta); // #ho...
public class class_name { private static String convertToValidJavaClassname(String inName) { if (inName == null) return "_"; if (inName.startsWith("scriptdef_")) inName = inName.substring(10); if (inName.equals("")) return "_"; StringBuilder output = new StringBuilder(inName.length());...
public class class_name { private static String convertToValidJavaClassname(String inName) { if (inName == null) return "_"; if (inName.startsWith("scriptdef_")) inName = inName.substring(10); if (inName.equals("")) return "_"; StringBuilder output = new StringBuilder(inName.length());...
public class class_name { private Map<SchemaTable, List<Multimap<BiPredicate, RecordId>>> groupIdsBySchemaTable() { Map<SchemaTable, List<Multimap<BiPredicate, RecordId>>> result = new HashMap<>(); for (HasContainer idHasContainer : this.idHasContainers) { Map<SchemaTable, Boolean> newHasC...
public class class_name { private Map<SchemaTable, List<Multimap<BiPredicate, RecordId>>> groupIdsBySchemaTable() { Map<SchemaTable, List<Multimap<BiPredicate, RecordId>>> result = new HashMap<>(); for (HasContainer idHasContainer : this.idHasContainers) { Map<SchemaTable, Boolean> newHasC...
public class class_name { public synchronized boolean createShareRequest(String filePath, Destination destination) { boolean isSuccessful = false; SQLiteDatabase db = null; try { db = getWritableDatabase(); // Create new record. ContentValues values = new C...
public class class_name { public synchronized boolean createShareRequest(String filePath, Destination destination) { boolean isSuccessful = false; SQLiteDatabase db = null; try { db = getWritableDatabase(); // depends on control dependency: [try], data = [none] // Crea...
public class class_name { public static void deleteQueueMapping(DbConn cnx, int id) { QueryResult qr = cnx.runUpdate("dp_delete_by_id", id); if (qr.nbUpdated != 1) { cnx.setRollbackOnly(); throw new JqmAdminApiUserException("no item with ID " + id); } } }
public class class_name { public static void deleteQueueMapping(DbConn cnx, int id) { QueryResult qr = cnx.runUpdate("dp_delete_by_id", id); if (qr.nbUpdated != 1) { cnx.setRollbackOnly(); // depends on control dependency: [if], data = [none] throw new JqmAdminApiUse...
public class class_name { @Override public void update(Result<Integer> result, int nodeIndex, String sql, Object[] args) { NodePodAmp node = _podKraken.getNode(nodeIndex); for (int i = 0; i < node.serverCount(); i++) { ServerBartend...
public class class_name { @Override public void update(Result<Integer> result, int nodeIndex, String sql, Object[] args) { NodePodAmp node = _podKraken.getNode(nodeIndex); for (int i = 0; i < node.serverCount(); i++) { ServerBartend...
public class class_name { public void writeFree() { Record recClassInfo = this.getMainRecord(); ClassFields recClassFields = new ClassFields(this); try { String strFieldName; String strFieldClass; // Now, zero out all the class fields ...
public class class_name { public void writeFree() { Record recClassInfo = this.getMainRecord(); ClassFields recClassFields = new ClassFields(this); try { String strFieldName; String strFieldClass; // Now, zero out all the class fields ...
public class class_name { private void setCdataSectionElements(String key, Properties props) { String s = props.getProperty(key); if (null != s) { // Vector of URI/LocalName pairs Vector v = new Vector(); int l = s.length(); boolean inCurly ...
public class class_name { private void setCdataSectionElements(String key, Properties props) { String s = props.getProperty(key); if (null != s) { // Vector of URI/LocalName pairs Vector v = new Vector(); int l = s.length(); boolean inCurly ...
public class class_name { public static String batchQueryGenerator(List<String> statements) { StringBuilder sb = new StringBuilder("BEGIN BATCH \n"); for (String statement : statements) { sb.append(statement).append("\n"); } sb.append(" APPLY BATCH;"); return sb.t...
public class class_name { public static String batchQueryGenerator(List<String> statements) { StringBuilder sb = new StringBuilder("BEGIN BATCH \n"); for (String statement : statements) { sb.append(statement).append("\n"); // depends on control dependency: [for], data = [statement] ...
public class class_name { public Instance withBlockDeviceMappings(InstanceBlockDeviceMapping... blockDeviceMappings) { if (this.blockDeviceMappings == null) { setBlockDeviceMappings(new com.amazonaws.internal.SdkInternalList<InstanceBlockDeviceMapping>(blockDeviceMappings.length)); } ...
public class class_name { public Instance withBlockDeviceMappings(InstanceBlockDeviceMapping... blockDeviceMappings) { if (this.blockDeviceMappings == null) { setBlockDeviceMappings(new com.amazonaws.internal.SdkInternalList<InstanceBlockDeviceMapping>(blockDeviceMappings.length)); // depends on co...
public class class_name { public void marshall(KinesisFirehoseOutput kinesisFirehoseOutput, ProtocolMarshaller protocolMarshaller) { if (kinesisFirehoseOutput == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshalle...
public class class_name { public void marshall(KinesisFirehoseOutput kinesisFirehoseOutput, ProtocolMarshaller protocolMarshaller) { if (kinesisFirehoseOutput == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshalle...
public class class_name { public static ServiceAccount getInstance() { ServiceAccount account = getInstanceByEnvVars(); if (account == null) { Map<String, String> env = System.getenv(); String serviceName = env.get(GP_SERVICE_NAME); String serviceInstanceName = env.g...
public class class_name { public static ServiceAccount getInstance() { ServiceAccount account = getInstanceByEnvVars(); if (account == null) { Map<String, String> env = System.getenv(); String serviceName = env.get(GP_SERVICE_NAME); String serviceInstanceName = env.g...
public class class_name { public void setDeploymentIds(java.util.Collection<String> deploymentIds) { if (deploymentIds == null) { this.deploymentIds = null; return; } this.deploymentIds = new com.amazonaws.internal.SdkInternalList<String>(deploymentIds); } }
public class class_name { public void setDeploymentIds(java.util.Collection<String> deploymentIds) { if (deploymentIds == null) { this.deploymentIds = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] } ...
public class class_name { public void setAsynchConsumer(AsynchConsumerCallback consumer, int maxActiveMessages, long messageLockExpiry, int maxBatchSize, OrderingContext orderContext, ...
public class class_name { public void setAsynchConsumer(AsynchConsumerCallback consumer, int maxActiveMessages, long messageLockExpiry, int maxBatchSize, OrderingContext orderContext, ...
public class class_name { public SerDe getSerDe() throws IOException { if (!this.serDe.isPresent()) { try { this.serDe = Optional.of(SerDe.class.cast(Class.forName(this.serDeClassName).newInstance())); } catch (Throwable t) { throw new IOException("Failed to instantiate SerDe " + this.s...
public class class_name { public SerDe getSerDe() throws IOException { if (!this.serDe.isPresent()) { try { this.serDe = Optional.of(SerDe.class.cast(Class.forName(this.serDeClassName).newInstance())); // depends on control dependency: [try], data = [none] } catch (Throwable t) { throw ...
public class class_name { public Observable<ServiceResponse<ImageTagCreateSummary>> createImageTagsWithServiceResponseAsync(UUID projectId, List<ImageTagCreateEntry> tags) { if (projectId == null) { throw new IllegalArgumentException("Parameter projectId is required and cannot be null."); }...
public class class_name { public Observable<ServiceResponse<ImageTagCreateSummary>> createImageTagsWithServiceResponseAsync(UUID projectId, List<ImageTagCreateEntry> tags) { if (projectId == null) { throw new IllegalArgumentException("Parameter projectId is required and cannot be null."); }...
public class class_name { @Nullable public static String encode (@Nullable final String sValue, @Nonnull final Charset aCharset, final ECodec eCodec) { if (sValue == null) return null; try { switch (eCodec) { case Q: return new RFC1522QCodec (aCharset).getEncoded (s...
public class class_name { @Nullable public static String encode (@Nullable final String sValue, @Nonnull final Charset aCharset, final ECodec eCodec) { if (sValue == null) return null; try { switch (eCodec) { case Q: return new RFC1522QCodec (aCharset).getEncoded (s...
public class class_name { boolean declareThrows(JSTypeExpression jsType) { lazyInitInfo(); if (info.thrownTypes == null) { info.thrownTypes = new ArrayList<>(); } info.thrownTypes.add(jsType); return true; } }
public class class_name { boolean declareThrows(JSTypeExpression jsType) { lazyInitInfo(); if (info.thrownTypes == null) { info.thrownTypes = new ArrayList<>(); // depends on control dependency: [if], data = [none] } info.thrownTypes.add(jsType); return true; } }
public class class_name { public static String toColorWithAlpha(String red, String green, String blue) { String defaultAlpha = "FF"; if (red != null && !red.isEmpty() && Character.isLowerCase(red.charAt(0))) { defaultAlpha = defaultAlpha.toLowerCase(); } return toColorWithAlpha(red, green, blue, default...
public class class_name { public static String toColorWithAlpha(String red, String green, String blue) { String defaultAlpha = "FF"; if (red != null && !red.isEmpty() && Character.isLowerCase(red.charAt(0))) { defaultAlpha = defaultAlpha.toLowerCase(); // depends on control dependency: [if], data = [none] ...
public class class_name { public FileAnnotation getLink(final long linkHashCode) { for (FileAnnotation link : links) { if (link.getKey() == linkHashCode) { return link; } } throw new NoSuchElementException("Linked annotation not found: key=" + linkHashCod...
public class class_name { public FileAnnotation getLink(final long linkHashCode) { for (FileAnnotation link : links) { if (link.getKey() == linkHashCode) { return link; // depends on control dependency: [if], data = [none] } } throw new NoSuchElementExcep...
public class class_name { void indexPool() { poolIdx = new int[nextChar()]; poolObj = new Object[poolIdx.length]; int i = 1; while (i < poolIdx.length) { poolIdx[i++] = bp; byte tag = buf[bp++]; switch (tag) { case CONSTANT_Utf8: case CONS...
public class class_name { void indexPool() { poolIdx = new int[nextChar()]; poolObj = new Object[poolIdx.length]; int i = 1; while (i < poolIdx.length) { poolIdx[i++] = bp; // depends on control dependency: [while], data = [none] byte tag = buf[bp++]; ...
public class class_name { protected ObjectName consObjectName(String domain, String type, String keysString) { String d = domain != null && !"".equals(domain) ? domain : getDefaultDomain(); String t = type != null && !"".equals(type) ? type : getDefaultType(); String k = keysString != null && !"".equ...
public class class_name { protected ObjectName consObjectName(String domain, String type, String keysString) { String d = domain != null && !"".equals(domain) ? domain : getDefaultDomain(); String t = type != null && !"".equals(type) ? type : getDefaultType(); String k = keysString != null && !"".equ...
public class class_name { private boolean isAuthorized(BasicToken token, List<UriTemplate> matchedTemplates, String method) { StringBuilder path = new StringBuilder(); // Merge all path templates and generate a path. for (UriTemplate template : matchedTemplates) { path.insert(0, tem...
public class class_name { private boolean isAuthorized(BasicToken token, List<UriTemplate> matchedTemplates, String method) { StringBuilder path = new StringBuilder(); // Merge all path templates and generate a path. for (UriTemplate template : matchedTemplates) { path.insert(0, tem...
public class class_name { public XFeatureCall createReferenceToSuper() { final XExpression expr = getXExpression(); XtendTypeDeclaration type = EcoreUtil2.getContainerOfType(expr, XtendTypeDeclaration.class); JvmType jvmObject = getAssociatedElement(JvmType.class, type, expr.eResource()); final XFeatureCall su...
public class class_name { public XFeatureCall createReferenceToSuper() { final XExpression expr = getXExpression(); XtendTypeDeclaration type = EcoreUtil2.getContainerOfType(expr, XtendTypeDeclaration.class); JvmType jvmObject = getAssociatedElement(JvmType.class, type, expr.eResource()); final XFeatureCall su...
public class class_name { public static LinkedHashMap<String, Type> resolveGenerics(final Type type, final Map<String, Type> generics) { Type actual = type; if (type instanceof ParameterizedType) { // if parameterized type is not...
public class class_name { public static LinkedHashMap<String, Type> resolveGenerics(final Type type, final Map<String, Type> generics) { Type actual = type; if (type instanceof ParameterizedType) { // if parameterized type is not...
public class class_name { public void buildFieldDeprecationInfo(XMLNode node, Content fieldsContentTree) { if (!utils.definesSerializableFields(currentTypeElement)) { fieldWriter.addMemberDeprecatedInfo((VariableElement)currentMember, fieldsContentTree); } } }
public class class_name { public void buildFieldDeprecationInfo(XMLNode node, Content fieldsContentTree) { if (!utils.definesSerializableFields(currentTypeElement)) { fieldWriter.addMemberDeprecatedInfo((VariableElement)currentMember, fieldsContentTree); // depends on control de...
public class class_name { public Map<String, Object> getMBeanResult(final String mbeanName) { final Map<String, Object> ret = new HashMap<>(); try { final ObjectName name = new ObjectName(mbeanName); final MBeanInfo info = getMBeanInfo(name); final MBeanAttributeInfo[] mbeanAttrs = info.getA...
public class class_name { public Map<String, Object> getMBeanResult(final String mbeanName) { final Map<String, Object> ret = new HashMap<>(); try { final ObjectName name = new ObjectName(mbeanName); final MBeanInfo info = getMBeanInfo(name); final MBeanAttributeInfo[] mbeanAttrs = info.getA...
public class class_name { private void createImageValidation(File imageFile) throws IOException { synchronized (imageValidatorLock) { InjectionHandler.processEvent(InjectionEvent.STANDBY_VALIDATE_CREATE); if (!running) { // fails the checkpoint InjectionHandler.processEvent(InjectionEve...
public class class_name { private void createImageValidation(File imageFile) throws IOException { synchronized (imageValidatorLock) { InjectionHandler.processEvent(InjectionEvent.STANDBY_VALIDATE_CREATE); if (!running) { // fails the checkpoint InjectionHandler.processEvent(InjectionEve...
public class class_name { protected void uploadFile(final FTPClient ftpClient, final String sourceFilePath, final String targetFilePath, final String logPrefix) throws IOException { log.info(String.format(UPLOAD_FILE, logPrefix, sourceFilePath, targetFilePath)); final File...
public class class_name { protected void uploadFile(final FTPClient ftpClient, final String sourceFilePath, final String targetFilePath, final String logPrefix) throws IOException { log.info(String.format(UPLOAD_FILE, logPrefix, sourceFilePath, targetFilePath)); final File...
public class class_name { private void storePatient(final Patient patient) { try { patients.put(patient.getIdentifierFirstRep().getValue(), patient); // if storing is successful the notify the listeners that listens on // any patient => patient/* final String bundleToString = currentPatientsAsJsonStrin...
public class class_name { private void storePatient(final Patient patient) { try { patients.put(patient.getIdentifierFirstRep().getValue(), patient); // depends on control dependency: [try], data = [none] // if storing is successful the notify the listeners that listens on // any patient => patient/* f...
public class class_name { public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder getReplaceWithInfoTypeConfigOrBuilder() { if (transformationCase_ == 7) { return (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_; } return com.google.privacy.dlp.v2.ReplaceWithInf...
public class class_name { public com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigOrBuilder getReplaceWithInfoTypeConfigOrBuilder() { if (transformationCase_ == 7) { return (com.google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) transformation_; // depends on control dependency: [if], data = [none] ...
public class class_name { private static Path toPath(FileSystem fileSystem, URI uri) { // We have to invoke this method by reflection because while the file system should be // an instance of JimfsFileSystem, it may be loaded by a different class loader and as // such appear to be a totally different class...
public class class_name { private static Path toPath(FileSystem fileSystem, URI uri) { // We have to invoke this method by reflection because while the file system should be // an instance of JimfsFileSystem, it may be loaded by a different class loader and as // such appear to be a totally different class...
public class class_name { @Override public boolean exists() { if (this.cachedResource != null) return true; try { InputStream is = get(); if (is != null) { is.close(); return true; } return false; }...
public class class_name { @Override public boolean exists() { if (this.cachedResource != null) return true; try { InputStream is = get(); if (is != null) { is.close(); // depends on control dependency: [if], data = [none] return t...
public class class_name { private static ObjectIdentifier algOID(String name) throws IOException { // See if algname is in printable OID ("dot-dot") notation if (name.indexOf('.') != -1) { if (name.startsWith("OID.")) { return new ObjectIdentifier(name.substring("OID.".lengt...
public class class_name { private static ObjectIdentifier algOID(String name) throws IOException { // See if algname is in printable OID ("dot-dot") notation if (name.indexOf('.') != -1) { if (name.startsWith("OID.")) { return new ObjectIdentifier(name.substring("OID.".lengt...
public class class_name { public int lookupIndex (long entry) { int ret = map.get(entry); if (ret <= 0 && !growthStopped) { numEntries++; ret = numEntries; map.put (entry, ret); } return ret - 1; // feature id should be 0-based } }
public class class_name { public int lookupIndex (long entry) { int ret = map.get(entry); if (ret <= 0 && !growthStopped) { numEntries++; // depends on control dependency: [if], data = [none] ret = numEntries; // depends on control dependency: [if], data = [none] ...
public class class_name { private SqlModality deduceModality(SqlNode query) { if (query instanceof SqlSelect) { SqlSelect select = (SqlSelect) query; return select.getModifierNode(SqlSelectKeyword.STREAM) != null ? SqlModality.STREAM : SqlModality.RELATION; } else if (query.getKind() == SqlKind.VALUE...
public class class_name { private SqlModality deduceModality(SqlNode query) { if (query instanceof SqlSelect) { SqlSelect select = (SqlSelect) query; return select.getModifierNode(SqlSelectKeyword.STREAM) != null ? SqlModality.STREAM : SqlModality.RELATION; // depends on control dependency: [if], data ...
public class class_name { public static void closeAllInfoWindowsOn(MapView mapView) { ArrayList<InfoWindow> opened = getOpenedInfoWindowsOn(mapView); for (InfoWindow infoWindow : opened) { infoWindow.close(); } } }
public class class_name { public static void closeAllInfoWindowsOn(MapView mapView) { ArrayList<InfoWindow> opened = getOpenedInfoWindowsOn(mapView); for (InfoWindow infoWindow : opened) { infoWindow.close(); // depends on control dependency: [for], data = [infoWindow] } } }
public class class_name { private ApplicationDefinition checkApplicationKey(ApplicationDefinition appDef) { Tenant tenant = Tenant.getTenant(appDef); ApplicationDefinition currAppDef = getApplication(tenant, appDef.getAppName()); if (currAppDef == null) { m_logger.info("Defining...
public class class_name { private ApplicationDefinition checkApplicationKey(ApplicationDefinition appDef) { Tenant tenant = Tenant.getTenant(appDef); ApplicationDefinition currAppDef = getApplication(tenant, appDef.getAppName()); if (currAppDef == null) { m_logger.info("Defining...
public class class_name { public java.util.List<DeliveryChannel> getDeliveryChannels() { if (deliveryChannels == null) { deliveryChannels = new com.amazonaws.internal.SdkInternalList<DeliveryChannel>(); } return deliveryChannels; } }
public class class_name { public java.util.List<DeliveryChannel> getDeliveryChannels() { if (deliveryChannels == null) { deliveryChannels = new com.amazonaws.internal.SdkInternalList<DeliveryChannel>(); // depends on control dependency: [if], data = [none] } return deliveryChannels;...
public class class_name { private static boolean canBeContinued(final String fileName, final List<Policy> policies) { boolean result = true; for (Policy policy : policies) { result &= policy.continueExistingFile(fileName); } return result; } }
public class class_name { private static boolean canBeContinued(final String fileName, final List<Policy> policies) { boolean result = true; for (Policy policy : policies) { result &= policy.continueExistingFile(fileName); // depends on control dependency: [for], data = [policy] } return result; } }
public class class_name { public static <T extends ImageGray<T>>T average(Planar<T> input , T output ) { Class type = input.getBandType(); if( type == GrayU8.class ) { return (T)ConvertImage.average((Planar<GrayU8>)input,(GrayU8)output); } else if( type == GrayS8.class ) { return (T)ConvertImage.average((P...
public class class_name { public static <T extends ImageGray<T>>T average(Planar<T> input , T output ) { Class type = input.getBandType(); if( type == GrayU8.class ) { return (T)ConvertImage.average((Planar<GrayU8>)input,(GrayU8)output); // depends on control dependency: [if], data = [none] } else if( type ==...
public class class_name { public <T extends BaseBugLinkStrategy<?>> T create(final BugLinkType type, final String serverUrl, final Object... additionalArgs) { // Check that the internals are registered if (!internalsRegistered) { registerInternals(); } if (map.c...
public class class_name { public <T extends BaseBugLinkStrategy<?>> T create(final BugLinkType type, final String serverUrl, final Object... additionalArgs) { // Check that the internals are registered if (!internalsRegistered) { registerInternals(); } if (map.c...
public class class_name { private Set<Permission> resolvePermissions(Account account) { if (accountPermissionResolver != null) { return accountPermissionResolver.resolvePermissions(account); } return Collections.emptySet(); } }
public class class_name { private Set<Permission> resolvePermissions(Account account) { if (accountPermissionResolver != null) { return accountPermissionResolver.resolvePermissions(account); // depends on control dependency: [if], data = [none] } return Collections.emptySet(); }...
public class class_name { @Deprecated public Collection<Double> getSamples(String keyword, SampleType sampleType) { if (!keywords.contains(keyword)) { return null; } Set<Double> result = new TreeSet<Double>(); if (rules.hasExplicitBoundingInfo) { FixedDecima...
public class class_name { @Deprecated public Collection<Double> getSamples(String keyword, SampleType sampleType) { if (!keywords.contains(keyword)) { return null; // depends on control dependency: [if], data = [none] } Set<Double> result = new TreeSet<Double>(); if (ru...
public class class_name { protected static <S extends IPAddressSegment> void normalizePrefixBoundary( int sectionPrefixBits, S segments[], int segmentBitCount, int segmentByteCount, BiFunction<S, Integer, S> segProducer) { //we've already verified segment prefixes in super constructor. We simply need...
public class class_name { protected static <S extends IPAddressSegment> void normalizePrefixBoundary( int sectionPrefixBits, S segments[], int segmentBitCount, int segmentByteCount, BiFunction<S, Integer, S> segProducer) { //we've already verified segment prefixes in super constructor. We simply need...
public class class_name { public V put(Integer key, V value) { if (keyTooLarge(key)) { expand(key); } int offset = offset(key); V oldValue = (V) data[offset]; data[offset] = value; // If the key is beyond the current end of the array, then move ...
public class class_name { public V put(Integer key, V value) { if (keyTooLarge(key)) { expand(key); // depends on control dependency: [if], data = [none] } int offset = offset(key); V oldValue = (V) data[offset]; data[offset] = value; // If the ...
public class class_name { public static Charset detect(@NonNull byte[] buffer, int offset, int length) { Preconditions.checkArgument(length > 0); Preconditions.checkArgument(offset >= 0); final com.ibm.icu.text.CharsetDetector detector = new com.ibm.icu.text.CharsetDetector(); try { d...
public class class_name { public static Charset detect(@NonNull byte[] buffer, int offset, int length) { Preconditions.checkArgument(length > 0); Preconditions.checkArgument(offset >= 0); final com.ibm.icu.text.CharsetDetector detector = new com.ibm.icu.text.CharsetDetector(); try { d...
public class class_name { public void processCalendars(List<Row> rows) { for (Row row : rows) { processCalendar(row); } if (m_defaultCalendarID != null) { ProjectCalendar defaultCalendar = m_calMap.get(m_defaultCalendarID); // Primavera XER files can sometim...
public class class_name { public void processCalendars(List<Row> rows) { for (Row row : rows) { processCalendar(row); // depends on control dependency: [for], data = [row] } if (m_defaultCalendarID != null) { ProjectCalendar defaultCalendar = m_calMap.get(m_defaultCa...
public class class_name { @Override public List<String> getPropertyNames(Object instance) { if (!CollectionUtils.isEmpty(propertyNames) && instance.getClass().equals(this.beanType)) { return this.propertyNames; } else { return PropertyProxyUtils.findPropertyNames(this.conve...
public class class_name { @Override public List<String> getPropertyNames(Object instance) { if (!CollectionUtils.isEmpty(propertyNames) && instance.getClass().equals(this.beanType)) { return this.propertyNames; // depends on control dependency: [if], data = [none] } else { ...
public class class_name { public boolean addAll(Object[] listenersToAdd) { if (listenersToAdd == null) { return false; } boolean changed = false; for (int i = 0; i < listenersToAdd.length; i++) { if (add(listenersToAdd[i])) { changed = true; } } return changed; } }
public class class_name { public boolean addAll(Object[] listenersToAdd) { if (listenersToAdd == null) { return false; // depends on control dependency: [if], data = [none] } boolean changed = false; for (int i = 0; i < listenersToAdd.length; i++) { if (add(listenersToAdd[i])) { changed = true; // de...
public class class_name { static long getTime() { if (RANDOM == null) initializeForType1(); long newTime = getUUIDTime(); if (newTime <= _lastMillis) { incrementSequence(); newTime = getUUIDTime(); } _lastMillis = newTime; return newTi...
public class class_name { static long getTime() { if (RANDOM == null) initializeForType1(); long newTime = getUUIDTime(); if (newTime <= _lastMillis) { incrementSequence(); // depends on control dependency: [if], data = [none] newTime = getUUIDTime(); // depe...
public class class_name { @SuppressWarnings("unchecked") private Set<Resource> lookupRelationshipField(Collection<Resource> sourceResources, ResourceField relationshipField, QueryAdapter queryAdapter, RepositoryMethodParameterProvider parameterProvider, Map<ResourceIdentifier, Resource> resourceMap, Map<ResourceId...
public class class_name { @SuppressWarnings("unchecked") private Set<Resource> lookupRelationshipField(Collection<Resource> sourceResources, ResourceField relationshipField, QueryAdapter queryAdapter, RepositoryMethodParameterProvider parameterProvider, Map<ResourceIdentifier, Resource> resourceMap, Map<ResourceId...
public class class_name { public static void runExample( AdWordsServicesInterface adWordsServices, AdWordsSession session) throws RemoteException { // Get the CampaignService. CampaignServiceInterface campaignService = adWordsServices.get(session, CampaignServiceInterface.class); int offset ...
public class class_name { public static void runExample( AdWordsServicesInterface adWordsServices, AdWordsSession session) throws RemoteException { // Get the CampaignService. CampaignServiceInterface campaignService = adWordsServices.get(session, CampaignServiceInterface.class); int offset ...
public class class_name { @Override public TimeZoneRule[] getTimeZoneRules() { initTransitionRules(); int size = useDaylight ? 3 : 1; TimeZoneRule[] rules = new TimeZoneRule[size]; rules[0] = initialRule; if (useDaylight) { rules[1] = stdRule; rules[...
public class class_name { @Override public TimeZoneRule[] getTimeZoneRules() { initTransitionRules(); int size = useDaylight ? 3 : 1; TimeZoneRule[] rules = new TimeZoneRule[size]; rules[0] = initialRule; if (useDaylight) { rules[1] = stdRule; // depends on cont...
public class class_name { private List<Resource> getConfigurations() { List<Resource> result = new ArrayList<Resource>(); for (String delimitedConfigurationUrl : configurationUrls) { String[] tokens = StringUtils.commaDelimitedListToStringArray(delimitedConfigurationUrl); tokens = StringUtils.trimArrayElemen...
public class class_name { private List<Resource> getConfigurations() { List<Resource> result = new ArrayList<Resource>(); for (String delimitedConfigurationUrl : configurationUrls) { String[] tokens = StringUtils.commaDelimitedListToStringArray(delimitedConfigurationUrl); tokens = StringUtils.trimArrayElemen...
public class class_name { public static int indexFor(Composite name, List<IndexInfo> indexList, CType comparator, boolean reversed, int lastIndex) { if (name.isEmpty()) return lastIndex >= 0 ? lastIndex : reversed ? indexList.size() - 1 : 0; if (lastIndex >= indexList.size()) ...
public class class_name { public static int indexFor(Composite name, List<IndexInfo> indexList, CType comparator, boolean reversed, int lastIndex) { if (name.isEmpty()) return lastIndex >= 0 ? lastIndex : reversed ? indexList.size() - 1 : 0; if (lastIndex >= indexList.size()) ...
public class class_name { public double[] findGridBoundaries() { IAtom[] atoms = AtomContainerManipulator.getAtomArray(protein); double[] minMax = new double[6]; minMax[0] = atoms[0].getPoint3d().x; minMax[1] = atoms[0].getPoint3d().x; minMax[2] = atoms[0].getPoint3d().y; ...
public class class_name { public double[] findGridBoundaries() { IAtom[] atoms = AtomContainerManipulator.getAtomArray(protein); double[] minMax = new double[6]; minMax[0] = atoms[0].getPoint3d().x; minMax[1] = atoms[0].getPoint3d().x; minMax[2] = atoms[0].getPoint3d().y; ...
public class class_name { public void unsubscribe(final String pattern) throws InvalidInputException { final String s = this.prefix + pattern; LinkedList<FunctionInterface9> callback_list = this.callbacks.get(s); if (callback_list == null) { throw new InvalidInpu...
public class class_name { public void unsubscribe(final String pattern) throws InvalidInputException { final String s = this.prefix + pattern; LinkedList<FunctionInterface9> callback_list = this.callbacks.get(s); if (callback_list == null) { throw new InvalidInpu...
public class class_name { private void runForBlockingDataTransfer(SiteProcedureConnection siteConnection) { boolean sourcesReady = false; RestoreWork restoreWork = m_dataSink.poll(m_snapshotBufferAllocator); if (restoreWork != null) { restoreBlock(restoreWork, siteConnection); ...
public class class_name { private void runForBlockingDataTransfer(SiteProcedureConnection siteConnection) { boolean sourcesReady = false; RestoreWork restoreWork = m_dataSink.poll(m_snapshotBufferAllocator); if (restoreWork != null) { restoreBlock(restoreWork, siteConnection); /...
public class class_name { public Cookie[] getCookies() { if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15 logger.logp(Level.FINE, CLASS_NAME,"getCookies","["+this+"]"); } return (_response.getCookies()); } }
public class class_name { public Cookie[] getCookies() { if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) { //306998.15 logger.logp(Level.FINE, CLASS_NAME,"getCookies","["+this+"]"); // depends on control dependency: [if], data = [none] } re...
public class class_name { private void configureSsl(SocketChannel ch) { SslContext sslCtx = SslContextBuilder.build(); ChannelPipeline pipeline = ch.pipeline(); pipeline.addLast(sslCtx.newHandler(ch.alloc())); // We must wait for the handshake to finish and the protocol to be negotiated...
public class class_name { private void configureSsl(SocketChannel ch) { SslContext sslCtx = SslContextBuilder.build(); ChannelPipeline pipeline = ch.pipeline(); pipeline.addLast(sslCtx.newHandler(ch.alloc())); // We must wait for the handshake to finish and the protocol to be negotiated...
public class class_name { public DescribeScheduledActionsRequest withScheduledActionNames(String... scheduledActionNames) { if (this.scheduledActionNames == null) { setScheduledActionNames(new java.util.ArrayList<String>(scheduledActionNames.length)); } for (String ele : scheduledAc...
public class class_name { public DescribeScheduledActionsRequest withScheduledActionNames(String... scheduledActionNames) { if (this.scheduledActionNames == null) { setScheduledActionNames(new java.util.ArrayList<String>(scheduledActionNames.length)); // depends on control dependency: [if], data = ...
public class class_name { public void marshall(ConnectionPasswordEncryption connectionPasswordEncryption, ProtocolMarshaller protocolMarshaller) { if (connectionPasswordEncryption == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { public void marshall(ConnectionPasswordEncryption connectionPasswordEncryption, ProtocolMarshaller protocolMarshaller) { if (connectionPasswordEncryption == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { @Nonnull public static ESuccess copyInputStreamToOutputStream (@WillClose @Nullable final InputStream aIS, @WillNotClose @Nullable final OutputStream aOS, @Nonnull @Nonempty final...
public class class_name { @Nonnull public static ESuccess copyInputStreamToOutputStream (@WillClose @Nullable final InputStream aIS, @WillNotClose @Nullable final OutputStream aOS, @Nonnull @Nonempty final...
public class class_name { private HashMap<DensityGrid, CharacteristicVector> adjustForDenseGrid(DensityGrid dg, CharacteristicVector cv, int dgClass) { //System.out.print("Density grid "+dg.toString()+" is adjusted as a dense grid at time "+this.getCurrTime()+". "); // Among all neighbours of dg, find the grid h...
public class class_name { private HashMap<DensityGrid, CharacteristicVector> adjustForDenseGrid(DensityGrid dg, CharacteristicVector cv, int dgClass) { //System.out.print("Density grid "+dg.toString()+" is adjusted as a dense grid at time "+this.getCurrTime()+". "); // Among all neighbours of dg, find the grid h...