code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { public void marshall(DescribeApplicationRequest describeApplicationRequest, ProtocolMarshaller protocolMarshaller) { if (describeApplicationRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { pr...
public class class_name { public void marshall(DescribeApplicationRequest describeApplicationRequest, ProtocolMarshaller protocolMarshaller) { if (describeApplicationRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { pr...
public class class_name { private Jid getPresenceMapKey(Jid user) { Jid key = user; if (!contains(user)) { key = user.asEntityBareJidIfPossible(); } return key; } }
public class class_name { private Jid getPresenceMapKey(Jid user) { Jid key = user; if (!contains(user)) { key = user.asEntityBareJidIfPossible(); // depends on control dependency: [if], data = [none] } return key; } }
public class class_name { private void showLookup(int n) { for (int i=0; i<n; i++) { System.out.println( result.get(i) ); } } }
public class class_name { private void showLookup(int n) { for (int i=0; i<n; i++) { System.out.println( result.get(i) ); // depends on control dependency: [for], data = [i] } } }
public class class_name { public void alias(final @NonNull String newId, final @Nullable Options options) { assertNotShutdown(); if (isNullOrEmpty(newId)) { throw new IllegalArgumentException("newId must not be null or empty."); } analyticsExecutor.submit( new Runnable() { @Ove...
public class class_name { public void alias(final @NonNull String newId, final @Nullable Options options) { assertNotShutdown(); if (isNullOrEmpty(newId)) { throw new IllegalArgumentException("newId must not be null or empty."); } analyticsExecutor.submit( new Runnable() { @Ove...
public class class_name { protected <T, C> T processExecuteGroup(String name, C criteria, T result, Connection conn) throws CpoException { CallableStatement cstmt = null; CpoClass criteriaClass; T returnObject = null; Logger localLogger = criteria == null ? logger : LoggerFactory.getLogger(criteria.get...
public class class_name { protected <T, C> T processExecuteGroup(String name, C criteria, T result, Connection conn) throws CpoException { CallableStatement cstmt = null; CpoClass criteriaClass; T returnObject = null; Logger localLogger = criteria == null ? logger : LoggerFactory.getLogger(criteria.get...
public class class_name { private void addPostParams(final Request request) { if (friendlyName != null) { request.addPostParam("FriendlyName", friendlyName); } if (eventCallbackUrl != null) { request.addPostParam("EventCallbackUrl", eventCallbackUrl.toString()); ...
public class class_name { private void addPostParams(final Request request) { if (friendlyName != null) { request.addPostParam("FriendlyName", friendlyName); // depends on control dependency: [if], data = [none] } if (eventCallbackUrl != null) { request.addPostParam("Ev...
public class class_name { public boolean[] setEnableListeners(boolean bEnable) { int iCount = 0; FieldListener fieldBehavior = this.getListener(); while (fieldBehavior != null) { fieldBehavior = (FieldListener)fieldBehavior.getNextListener(); iCount++; ...
public class class_name { public boolean[] setEnableListeners(boolean bEnable) { int iCount = 0; FieldListener fieldBehavior = this.getListener(); while (fieldBehavior != null) { fieldBehavior = (FieldListener)fieldBehavior.getNextListener(); // depends on control depend...
public class class_name { public Vector2f intersect(Line other, boolean limit) { Vector2f temp = new Vector2f(); if (!intersect(other, limit, temp)) { return null; } return temp; } }
public class class_name { public Vector2f intersect(Line other, boolean limit) { Vector2f temp = new Vector2f(); if (!intersect(other, limit, temp)) { return null; // depends on control dependency: [if], data = [none] } return temp; } }
public class class_name { public static IntegerVector addUnmodified(IntegerVector vector1, IntegerVector vector2) { if (vector2.length() != vector1.length()) throw new IllegalArgumentException( "Vectors of different sizes cannot be a...
public class class_name { public static IntegerVector addUnmodified(IntegerVector vector1, IntegerVector vector2) { if (vector2.length() != vector1.length()) throw new IllegalArgumentException( "Vectors of different sizes cannot be a...
public class class_name { public void addListener(MetricRegistryListener listener) { listeners.add(listener); for (Map.Entry<MetricName, Metric> entry : metrics.entrySet()) { notifyListenerOfAddedMetric(listener, entry.getValue(), entry.getKey()); } } }
public class class_name { public void addListener(MetricRegistryListener listener) { listeners.add(listener); for (Map.Entry<MetricName, Metric> entry : metrics.entrySet()) { notifyListenerOfAddedMetric(listener, entry.getValue(), entry.getKey()); // depends on control dependency: [for], d...
public class class_name { public synchronized void close() { if(closed) return; // recursive calls ok closed = true; // mark as closed to prevent recursive calls if(methodstream != null) { try { this.methodstream.close(); // May recursr ...
public class class_name { public synchronized void close() { if(closed) return; // recursive calls ok closed = true; // mark as closed to prevent recursive calls if(methodstream != null) { try { this.methodstream.close(); // May recursr // depends...
public class class_name { private String[] createLabels(final String id, final Object[] keys) { String[] messages = new String[keys.length]; for (int i = 0; i < messages.length; ++i) { messages[i] = getApplicationConfig().messageResolver().getMessage(id, keys[i] == null ? "null"...
public class class_name { private String[] createLabels(final String id, final Object[] keys) { String[] messages = new String[keys.length]; for (int i = 0; i < messages.length; ++i) { messages[i] = getApplicationConfig().messageResolver().getMessage(id, keys[i] == null ? "null"...
public class class_name { public void marshall(Update update, ProtocolMarshaller protocolMarshaller) { if (update == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(update.getKey(), KEY_BINDING); ...
public class class_name { public void marshall(Update update, ProtocolMarshaller protocolMarshaller) { if (update == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(update.getKey(), KEY_BINDING); // ...
public class class_name { public long getContentLength() { try { return getInternalResponse().body().contentLength(); } catch (NullPointerException e){ logger.error("Failed to get the response content length from " + getRequestURL() + ". Error: " + e.getMessage()); r...
public class class_name { public long getContentLength() { try { return getInternalResponse().body().contentLength(); // depends on control dependency: [try], data = [none] } catch (NullPointerException e){ logger.error("Failed to get the response content length from " + getRequ...
public class class_name { private void readWeekDay(ProjectCalendar mpxjCalendar, WeekDay day) { if (day.isIsDayWorking()) { ProjectCalendarHours hours = mpxjCalendar.addCalendarHours(day.getDay()); for (Document.Calendars.Calendar.WeekDays.WeekDay.TimePeriods.TimePeriod period : day.ge...
public class class_name { private void readWeekDay(ProjectCalendar mpxjCalendar, WeekDay day) { if (day.isIsDayWorking()) { ProjectCalendarHours hours = mpxjCalendar.addCalendarHours(day.getDay()); for (Document.Calendars.Calendar.WeekDays.WeekDay.TimePeriods.TimePeriod period : day.ge...
public class class_name { public void clear() { iMinPrintedDigits = 1; iPrintZeroSetting = PRINT_ZERO_RARELY_LAST; iMaxParsedDigits = 10; iRejectSignedValues = false; iPrefix = null; if (iElementPairs == null) { iElementPairs = new ArrayList<Object>(); ...
public class class_name { public void clear() { iMinPrintedDigits = 1; iPrintZeroSetting = PRINT_ZERO_RARELY_LAST; iMaxParsedDigits = 10; iRejectSignedValues = false; iPrefix = null; if (iElementPairs == null) { iElementPairs = new ArrayList<Object>(); // dep...
public class class_name { void updateHost() { try { _cachedLocalHostName.set(_wrappedHostResolver.getLocalHostName()); } catch (final UnknownHostException e) { LOGGER.warn("Unable to resolve host", e); } } }
public class class_name { void updateHost() { try { _cachedLocalHostName.set(_wrappedHostResolver.getLocalHostName()); // depends on control dependency: [try], data = [none] } catch (final UnknownHostException e) { LOGGER.warn("Unable to resolve host", e); } // depends o...
public class class_name { private void parseClass(byte[] bytes) { try { this.classbytes = bytes; this.ptr = 0; int magic = readInt(); // magic 0xCAFEBABE if (magic != 0xCAFEBABE) { throw new IllegalStateException("not bytecode, magic was 0x" + Integer.toString(magic, 16)); } ptr += 4; // skip m...
public class class_name { private void parseClass(byte[] bytes) { try { this.classbytes = bytes; // depends on control dependency: [try], data = [none] this.ptr = 0; // depends on control dependency: [try], data = [none] int magic = readInt(); // magic 0xCAFEBABE if (magic != 0xCAFEBABE) { throw new ...
public class class_name { public static String normalizeEntityName(String possibleEntityString) { if (possibleEntityString == null) { return null; } if ("/".equals(possibleEntityString)) { return "/"; } final StringBuilder result = new StringBuilder(); if (possibleEntityString.contains("/")) ...
public class class_name { public static String normalizeEntityName(String possibleEntityString) { if (possibleEntityString == null) { return null; // depends on control dependency: [if], data = [none] } if ("/".equals(possibleEntityString)) { return "/"; // depends on control dependency: [if], data = ...
public class class_name { private int checkLink(final StringBuilder out, final String in, final int start, final MarkToken token) { boolean isAbbrev = false; int pos = start + (token == MarkToken.LINK ? 1 : 2); final StringBuilder temp = new StringBuilder(); temp.setLength(0); ...
public class class_name { private int checkLink(final StringBuilder out, final String in, final int start, final MarkToken token) { boolean isAbbrev = false; int pos = start + (token == MarkToken.LINK ? 1 : 2); final StringBuilder temp = new StringBuilder(); temp.setLength(0); ...
public class class_name { public List<Widget> getAll() { List<Widget> all = new ArrayList<Widget>(); Iterator<Widget> it = m_buttonPanelLeft.iterator(); while (it.hasNext()) { all.add(it.next()); } it = m_buttonPanelRight.iterator(); while (it.hasNext()) { ...
public class class_name { public List<Widget> getAll() { List<Widget> all = new ArrayList<Widget>(); Iterator<Widget> it = m_buttonPanelLeft.iterator(); while (it.hasNext()) { all.add(it.next()); // depends on control dependency: [while], data = [none] } it = m_butt...
public class class_name { public static byte[] encodeToByte(String s) { try { return encodeToByte(s.getBytes(ENCODING), false); } catch (UnsupportedEncodingException ignore) { return null; } } }
public class class_name { public static byte[] encodeToByte(String s) { try { return encodeToByte(s.getBytes(ENCODING), false); // depends on control dependency: [try], data = [none] } catch (UnsupportedEncodingException ignore) { return null; } // depends on control dep...
public class class_name { public Packet putLong(long l, ByteOrder order) { var buffer = HEAP_BUFFER_POOL.take(Long.BYTES); var array = buffer.putLong(order == ByteOrder.LITTLE_ENDIAN ? Long.reverseBytes(l) : l).array(); try { return enqueue(Arrays.copyOfRange(array, 0, Long...
public class class_name { public Packet putLong(long l, ByteOrder order) { var buffer = HEAP_BUFFER_POOL.take(Long.BYTES); var array = buffer.putLong(order == ByteOrder.LITTLE_ENDIAN ? Long.reverseBytes(l) : l).array(); try { return enqueue(Arrays.copyOfRange(array, 0, Long...
public class class_name { public static void writeResults(final String name, final Object output) { Writer writer = null; try { writer = new BufferedWriter( new OutputStreamWriter( new FileOutputStream(name + ".json"), "utf-8")); writer.write(output.toString()); } catch (IOException ignored) { ...
public class class_name { public static void writeResults(final String name, final Object output) { Writer writer = null; try { writer = new BufferedWriter( new OutputStreamWriter( new FileOutputStream(name + ".json"), "utf-8")); // depends on control dependency: [try], data = [none] writer.write...
public class class_name { public boolean add(T item) { ListNode<T> node = new ListNode<>(item); synchronized (this.lock) { if (this.tail == null) { // List is currently empty. this.head = node; } else { if (item.getSequenceNumber()...
public class class_name { public boolean add(T item) { ListNode<T> node = new ListNode<>(item); synchronized (this.lock) { if (this.tail == null) { // List is currently empty. this.head = node; // depends on control dependency: [if], data = [none] ...
public class class_name { public static Uri notifyChange(Uri uri, long id, boolean notify) { Builder builder = uri.buildUpon(); if (id > 0) { ContentUris.appendId(builder, id); } return builder.appendQueryParameter(NOTIFY_CHANGE, notify ? "1" : "0").build(); } }
public class class_name { public static Uri notifyChange(Uri uri, long id, boolean notify) { Builder builder = uri.buildUpon(); if (id > 0) { ContentUris.appendId(builder, id); // depends on control dependency: [if], data = [none] } return builder.appendQueryParameter(NOTIFY...
public class class_name { @Override public boolean existSql(final String sqlPath) { if (!cache) { return sqlLoader.existSql(sqlPath); } else { return sqlMap.get(sqlPath.replace(".", "/")) != null; } } }
public class class_name { @Override public boolean existSql(final String sqlPath) { if (!cache) { return sqlLoader.existSql(sqlPath); // depends on control dependency: [if], data = [none] } else { return sqlMap.get(sqlPath.replace(".", "/")) != null; // depends on control dependency: [if], data = [none] }...
public class class_name { protected String replaceDisits(final String value) { if(value.equals("0")) { return numMap[0]; } // 4桁ごとに、分割する。 final int length = value.length(); final List<String> split4 = new ArrayList<>(); for(int i=0; i < length; i=i...
public class class_name { protected String replaceDisits(final String value) { if(value.equals("0")) { return numMap[0]; // depends on control dependency: [if], data = [none] } // 4桁ごとに、分割する。 final int length = value.length(); final List<String> split4 = ne...
public class class_name { public BioCLocation getTotalLocation() { checkArgument(getLocationCount() > 0, "No location added"); RangeSet<Integer> rangeSet = TreeRangeSet.create(); for (BioCLocation location : getLocations()) { rangeSet.add( Range.closedOpen(location.getOffset(), locatio...
public class class_name { public BioCLocation getTotalLocation() { checkArgument(getLocationCount() > 0, "No location added"); RangeSet<Integer> rangeSet = TreeRangeSet.create(); for (BioCLocation location : getLocations()) { rangeSet.add( Range.closedOpen(location.getOffset(), locatio...
public class class_name { private static Object unwrap(Object object) { if (object instanceof Reflector) { return ((Reflector) object).get(); } return object; } }
public class class_name { private static Object unwrap(Object object) { if (object instanceof Reflector) { return ((Reflector) object).get(); // depends on control dependency: [if], data = [none] } return object; } }
public class class_name { public static void main(String[] argvs) { List<String[]> sentences = new ArrayList<>(); List<PennTreebankPOS[]> labels = new ArrayList<>(); load("D:\\sourceforge\\corpora\\PennTreebank\\PennTreebank2\\TAGGED\\POS\\WSJ", sentences, labels); load...
public class class_name { public static void main(String[] argvs) { List<String[]> sentences = new ArrayList<>(); List<PennTreebankPOS[]> labels = new ArrayList<>(); load("D:\\sourceforge\\corpora\\PennTreebank\\PennTreebank2\\TAGGED\\POS\\WSJ", sentences, labels); load...
public class class_name { public static String[] stringValues2Array(final List<StringValue> _values) { final String[] ret; if (_values != null) { ret = new String[_values.size()]; int i = 0; for (final StringValue value : _values) { ret[i] = value...
public class class_name { public static String[] stringValues2Array(final List<StringValue> _values) { final String[] ret; if (_values != null) { ret = new String[_values.size()]; // depends on control dependency: [if], data = [none] int i = 0; for (final StringV...
public class class_name { public EEnum getUSCBYPSIDEN() { if (uscbypsidenEEnum == null) { uscbypsidenEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(AfplibPackage.eNS_URI).getEClassifiers().get(76); } return uscbypsidenEEnum; } }
public class class_name { public EEnum getUSCBYPSIDEN() { if (uscbypsidenEEnum == null) { uscbypsidenEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(AfplibPackage.eNS_URI).getEClassifiers().get(76); // depends on control dependency: [if], data = [none] } return uscbypsidenEEnum; } }
public class class_name { protected static void mergeLists(List<Address> dest, List<Address> src) { for (Address node : src) { if (!dest.contains(node)) { dest.add(node); } } } }
public class class_name { protected static void mergeLists(List<Address> dest, List<Address> src) { for (Address node : src) { if (!dest.contains(node)) { dest.add(node); // depends on control dependency: [if], data = [none] } } } }
public class class_name { public EClass getIfcMaterialSelect() { if (ifcMaterialSelectEClass == null) { ifcMaterialSelectEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc2x3tc1Package.eNS_URI) .getEClassifiers().get(961); } return ifcMaterialSelectEClass; } }
public class class_name { public EClass getIfcMaterialSelect() { if (ifcMaterialSelectEClass == null) { ifcMaterialSelectEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc2x3tc1Package.eNS_URI) .getEClassifiers().get(961); // depends on control dependency: [if], data = [none] } return ifcM...
public class class_name { public void sendMessage(String message, boolean push, boolean persist, final Respoke.TaskCompletionListener completionListener) { if (isJoined()) { if ((null != groupID) && (groupID.length() > 0)) { RespokeClient client = clientR...
public class class_name { public void sendMessage(String message, boolean push, boolean persist, final Respoke.TaskCompletionListener completionListener) { if (isJoined()) { if ((null != groupID) && (groupID.length() > 0)) { RespokeClient client = clientR...
public class class_name { private void stage1(ProtoNetwork gpn) { beginStage(PHASE4_STAGE1_HDR, "1", numPhases); final StringBuilder bldr = new StringBuilder(); final String kamURL = sysconfig.getKamURL(); final String kamUser = sysconfig.getKamUser(); final String kamPass = sy...
public class class_name { private void stage1(ProtoNetwork gpn) { beginStage(PHASE4_STAGE1_HDR, "1", numPhases); final StringBuilder bldr = new StringBuilder(); final String kamURL = sysconfig.getKamURL(); final String kamUser = sysconfig.getKamUser(); final String kamPass = sy...
public class class_name { public synchronized void readAsynch(InvCatalogFactory factory, CatalogSetCallback caller) { if (init) { caller.setCatalog((InvCatalogImpl) getParentCatalog()); return; } // may be reletive String hrefResolved; try { java.net.URI uri = getParentCatalog()....
public class class_name { public synchronized void readAsynch(InvCatalogFactory factory, CatalogSetCallback caller) { if (init) { caller.setCatalog((InvCatalogImpl) getParentCatalog()); // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] ...
public class class_name { @Override public void onMetadataChange(JobExecutionState state, String key, Object oldValue, Object newValue) { if (_log.isPresent()) { _log.get().info("JobExection metadata change for " + state.getJobSpec().toShortString() + key + ": '" + oldValue + "' --> '" ...
public class class_name { @Override public void onMetadataChange(JobExecutionState state, String key, Object oldValue, Object newValue) { if (_log.isPresent()) { _log.get().info("JobExection metadata change for " + state.getJobSpec().toShortString() + key + ": '" + oldValue + "' --> '" ...
public class class_name { public static TaskSystemFactoryMaker newInstance() { TaskSystemFactoryMaker ret = new TaskSystemFactoryMaker(); { for (TaskSystemFactory factory : ServiceLoader.load(TaskSystemFactory.class)) { factory.setCreatedWithSPI(); ret.addFactory(factory); } } return ret; } }
public class class_name { public static TaskSystemFactoryMaker newInstance() { TaskSystemFactoryMaker ret = new TaskSystemFactoryMaker(); { for (TaskSystemFactory factory : ServiceLoader.load(TaskSystemFactory.class)) { factory.setCreatedWithSPI(); // depends on control dependency: [for], data = [factory] ...
public class class_name { public Material addVideo(InputStream inputStream, String fileName, String title, String description) { String url = WxEndpoint.get("url.material.binary.upload"); String desc = "{\"title\":\"%s\",\"introduction\":\"%s\"}"; Map<String, String> form = new HashMap<>(); ...
public class class_name { public Material addVideo(InputStream inputStream, String fileName, String title, String description) { String url = WxEndpoint.get("url.material.binary.upload"); String desc = "{\"title\":\"%s\",\"introduction\":\"%s\"}"; Map<String, String> form = new HashMap<>(); ...
public class class_name { public String printDSSP() { StringBuffer buf = new StringBuffer(); String nl = System.getProperty("line.separator"); //Header Line buf.append("==== Secondary Structure Definition by BioJava" + " DSSP implementation, Version October 2015 ===="+nl); //First line with column def...
public class class_name { public String printDSSP() { StringBuffer buf = new StringBuffer(); String nl = System.getProperty("line.separator"); //Header Line buf.append("==== Secondary Structure Definition by BioJava" + " DSSP implementation, Version October 2015 ===="+nl); //First line with column def...
public class class_name { public boolean updateSessionDetails(final SessionData session) { synchronized (sharedLock) { if (session != null) { SharedPreferences.Editor editor = getSharedPreferences().edit(); editor.putString(KEY_PROFILE_ID, session.getProfileId()); ...
public class class_name { public boolean updateSessionDetails(final SessionData session) { synchronized (sharedLock) { if (session != null) { SharedPreferences.Editor editor = getSharedPreferences().edit(); editor.putString(KEY_PROFILE_ID, session.getProfileId()); /...
public class class_name { private void adjustBounds(BoundingBox boundingBox, int zoom) { // Google Tile Format if (googleTiles) { adjustGoogleBounds(); } else if (projection.isUnit(Units.DEGREES)) { adjustGeoPackageBoundsWGS84(boundingBox, z...
public class class_name { private void adjustBounds(BoundingBox boundingBox, int zoom) { // Google Tile Format if (googleTiles) { adjustGoogleBounds(); // depends on control dependency: [if], data = [none] } else if (projection.isUnit(Units.DEGREES)) { ...
public class class_name { public boolean sendNotify(String subscriptionState, String termReason, String body, int timeLeft, EventHeader eventHdr, SubscriptionStateHeader ssHdr, AcceptHeader accHdr, ContentTypeHeader ctHdr, boolean viaProxy) { setErrorMessage(""); synchronized (dialogLock) { ...
public class class_name { public boolean sendNotify(String subscriptionState, String termReason, String body, int timeLeft, EventHeader eventHdr, SubscriptionStateHeader ssHdr, AcceptHeader accHdr, ContentTypeHeader ctHdr, boolean viaProxy) { setErrorMessage(""); synchronized (dialogLock) { ...
public class class_name { private final int findMapIndex(String nsURI, String localName) { // Primary hit? int hash = localName.hashCode(); if (nsURI == null) { nsURI = ""; // just to simplify comparisons -- array contains nulls } else if (nsURI.length() > 0) { ...
public class class_name { private final int findMapIndex(String nsURI, String localName) { // Primary hit? int hash = localName.hashCode(); if (nsURI == null) { nsURI = ""; // just to simplify comparisons -- array contains nulls // depends on control dependency: [if], data = [no...
public class class_name { @Override public DataSource lookupDataSource(String dataSourceName) { try { final Context context = contextInstance.get(); if (context == null) { throw new ContextNotAvailableException("No Naming Context available."); } ...
public class class_name { @Override public DataSource lookupDataSource(String dataSourceName) { try { final Context context = contextInstance.get(); if (context == null) { throw new ContextNotAvailableException("No Naming Context available."); } ...
public class class_name { public void setConfigurationItems(java.util.Collection<ConfigurationItem> configurationItems) { if (configurationItems == null) { this.configurationItems = null; return; } this.configurationItems = new com.amazonaws.internal.SdkInternalList<Con...
public class class_name { public void setConfigurationItems(java.util.Collection<ConfigurationItem> configurationItems) { if (configurationItems == null) { this.configurationItems = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if...
public class class_name { @FFDCIgnore(PrivilegedActionException.class) public static SSLSocketFactory getSSLSocketFactoryBySSLRef(String sslRef, Map<String, Object> props, boolean fallbackOnDefault) { if (!SSLSupportService.isSSLSupportServiceReady()) { if (TraceComponent.isAnyTracingEnabled()...
public class class_name { @FFDCIgnore(PrivilegedActionException.class) public static SSLSocketFactory getSSLSocketFactoryBySSLRef(String sslRef, Map<String, Object> props, boolean fallbackOnDefault) { if (!SSLSupportService.isSSLSupportServiceReady()) { if (TraceComponent.isAnyTracingEnabled()...
public class class_name { public NullnessStore uprootAccessPaths( Map<LocalVariableNode, LocalVariableNode> localVarTranslations) { NullnessStore.Builder nullnessBuilder = NullnessStore.empty().toBuilder(); for (AccessPath ap : contents.keySet()) { if (ap.getRoot().isReceiver()) { continue;...
public class class_name { public NullnessStore uprootAccessPaths( Map<LocalVariableNode, LocalVariableNode> localVarTranslations) { NullnessStore.Builder nullnessBuilder = NullnessStore.empty().toBuilder(); for (AccessPath ap : contents.keySet()) { if (ap.getRoot().isReceiver()) { continue;...
public class class_name { private void configureSessionWithTimeout(final Session session, final int sessionTimeout) { if (transportStrategy != null) { // socket timeouts handling final Properties sessionProperties = session.getProperties(); sessionProperties.put(transportStrategy.propertyNameConnectionTimeo...
public class class_name { private void configureSessionWithTimeout(final Session session, final int sessionTimeout) { if (transportStrategy != null) { // socket timeouts handling final Properties sessionProperties = session.getProperties(); sessionProperties.put(transportStrategy.propertyNameConnectionTimeo...
public class class_name { public boolean evaluate(Object context){ switch (operatorType){ case OPERATOR_AND: for (BooleanExpression e: children){ if (e.evaluate(context) == false){ return false; } } return true; case OPERATOR_OR: for (BooleanExpression e: children){ if (e....
public class class_name { public boolean evaluate(Object context){ switch (operatorType){ case OPERATOR_AND: for (BooleanExpression e: children){ if (e.evaluate(context) == false){ return false; // depends on control dependency: [if], data = [none] } } return true; case OPERATOR_OR...
public class class_name { @Override public Temporal addTo(Temporal temporal) { if (seconds != 0) { temporal = temporal.plus(seconds, SECONDS); } return temporal; } }
public class class_name { @Override public Temporal addTo(Temporal temporal) { if (seconds != 0) { temporal = temporal.plus(seconds, SECONDS); // depends on control dependency: [if], data = [(seconds] } return temporal; } }
public class class_name { public static SPSSODescriptor getSPSsoDescriptor(final EntityDescriptor entityDescriptor) { LOGGER.trace("Locating SP SSO descriptor for SAML2 protocol..."); var spssoDescriptor = entityDescriptor.getSPSSODescriptor(SAMLConstants.SAML20P_NS); if (spssoDescriptor == nul...
public class class_name { public static SPSSODescriptor getSPSsoDescriptor(final EntityDescriptor entityDescriptor) { LOGGER.trace("Locating SP SSO descriptor for SAML2 protocol..."); var spssoDescriptor = entityDescriptor.getSPSSODescriptor(SAMLConstants.SAML20P_NS); if (spssoDescriptor == nul...
public class class_name { public static void f(String tag, String msg, Object... args) { if (sLevel > LEVEL_FATAL) { return; } if (args.length > 0) { msg = String.format(msg, args); } Log.wtf(tag, msg); } }
public class class_name { public static void f(String tag, String msg, Object... args) { if (sLevel > LEVEL_FATAL) { return; // depends on control dependency: [if], data = [none] } if (args.length > 0) { msg = String.format(msg, args); // depends on control dependency: [...
public class class_name { public static void reset() { if (DebugUtil.isDebugFeaturesEnabled()) { UIContext context = getCurrent(); ALL_ACTIVE_CONTEXTS.remove(context); } CONTEXT_STACK.remove(); } }
public class class_name { public static void reset() { if (DebugUtil.isDebugFeaturesEnabled()) { UIContext context = getCurrent(); ALL_ACTIVE_CONTEXTS.remove(context); // depends on control dependency: [if], data = [none] } CONTEXT_STACK.remove(); } }
public class class_name { private static boolean polygonTouchesMultiPoint_(Polygon polygon_a, MultiPoint multipoint_b, double tolerance, ProgressTracker progress_tracker) { // Quick rasterize test to see whether the the geometries are disjoint, // or if one is contained in the other. int relation = tryRast...
public class class_name { private static boolean polygonTouchesMultiPoint_(Polygon polygon_a, MultiPoint multipoint_b, double tolerance, ProgressTracker progress_tracker) { // Quick rasterize test to see whether the the geometries are disjoint, // or if one is contained in the other. int relation = tryRast...
public class class_name { private void closeConnectionAndLogExceptionsLocked(SQLiteConnection connection) { try { connection.close(); // might throw } catch (RuntimeException ex) { DLog.e(TAG, "Failed to close connection, its fate is now in the hands " + "of ...
public class class_name { private void closeConnectionAndLogExceptionsLocked(SQLiteConnection connection) { try { connection.close(); // might throw // depends on control dependency: [try], data = [none] } catch (RuntimeException ex) { DLog.e(TAG, "Failed to close connection, it...
public class class_name { private void attemptToExecuteTask(ApplicationDefinition appDef, Task task, TaskRecord taskRecord) { Tenant tenant = Tenant.getTenant(appDef); String taskID = taskRecord.getTaskID(); String claimID = "_claim/" + taskID; long claimStamp = System.currentTimeMillis...
public class class_name { private void attemptToExecuteTask(ApplicationDefinition appDef, Task task, TaskRecord taskRecord) { Tenant tenant = Tenant.getTenant(appDef); String taskID = taskRecord.getTaskID(); String claimID = "_claim/" + taskID; long claimStamp = System.currentTimeMillis...
public class class_name { @Nullable public PointSymbolizer createPointSymbolizer(final PJsonObject styleJson) { if (this.allowNullSymbolizer && !( styleJson.has(JSON_EXTERNAL_GRAPHIC) || styleJson.has(JSON_GRAPHIC_NAME) || styleJson.has(JSON_POINT_RADIUS))) { ...
public class class_name { @Nullable public PointSymbolizer createPointSymbolizer(final PJsonObject styleJson) { if (this.allowNullSymbolizer && !( styleJson.has(JSON_EXTERNAL_GRAPHIC) || styleJson.has(JSON_GRAPHIC_NAME) || styleJson.has(JSON_POINT_RADIUS))) { ...
public class class_name { public Duration getDuration(Date startDate, Date endDate) { Calendar cal = DateHelper.popCalendar(startDate); int days = getDaysInRange(startDate, endDate); int duration = 0; Day day = Day.getInstance(cal.get(Calendar.DAY_OF_WEEK)); while (days > 0) { ...
public class class_name { public Duration getDuration(Date startDate, Date endDate) { Calendar cal = DateHelper.popCalendar(startDate); int days = getDaysInRange(startDate, endDate); int duration = 0; Day day = Day.getInstance(cal.get(Calendar.DAY_OF_WEEK)); while (days > 0) { ...
public class class_name { private void setCenterInMap() { final Coordinate actCenter = getCenter(); if (getInitialized() && null != actCenter) { if (logger.isTraceEnabled()) { logger.trace("setting center in OpenLayers map: {}, animation: {}", actCenter, animationDuration.ge...
public class class_name { private void setCenterInMap() { final Coordinate actCenter = getCenter(); if (getInitialized() && null != actCenter) { if (logger.isTraceEnabled()) { logger.trace("setting center in OpenLayers map: {}, animation: {}", actCenter, animationDuration.ge...
public class class_name { static ManagerCommunicationException mapSendActionException(String actionName, Exception exception) { if (exception instanceof IllegalStateException) { return new ManagerCommunicationException("Not connected to Asterisk Server", exception); } el...
public class class_name { static ManagerCommunicationException mapSendActionException(String actionName, Exception exception) { if (exception instanceof IllegalStateException) { return new ManagerCommunicationException("Not connected to Asterisk Server", exception); // depends on contro...
public class class_name { public void clearUpToLowMark(L secondaryKey) { CircularArrayMap<E> field = fieldMap.get(secondaryKey); if (field != null) { field.clearUpToLowMark(); } } }
public class class_name { public void clearUpToLowMark(L secondaryKey) { CircularArrayMap<E> field = fieldMap.get(secondaryKey); if (field != null) { field.clearUpToLowMark(); // depends on control dependency: [if], data = [none] } } }
public class class_name { public View getFullScreenView() { if (mFullScreenView != null) { return mFullScreenView; } final DisplayMetrics metrics = new DisplayMetrics(); mActivity.getWindowManager().getDefaultDisplay().getMetrics(metrics); final int screenWidthPixel...
public class class_name { public View getFullScreenView() { if (mFullScreenView != null) { return mFullScreenView; // depends on control dependency: [if], data = [none] } final DisplayMetrics metrics = new DisplayMetrics(); mActivity.getWindowManager().getDefaultDisplay().g...
public class class_name { void readObject() { for(int i = 0; i < sers.length; ++i) { try { data[i] = sers[i].fromByteBuffer(buffer); } catch(UnsupportedOperationException e) { throw new AbortException("Deserialization failed.", e); } catch(IOException e) { thro...
public class class_name { void readObject() { for(int i = 0; i < sers.length; ++i) { try { data[i] = sers[i].fromByteBuffer(buffer); // depends on control dependency: [try], data = [none] } catch(UnsupportedOperationException e) { throw new AbortException("Deserialization failed."...
public class class_name { public void setEntries(java.util.Collection<DatasetEntry> entries) { if (entries == null) { this.entries = null; return; } this.entries = new java.util.ArrayList<DatasetEntry>(entries); } }
public class class_name { public void setEntries(java.util.Collection<DatasetEntry> entries) { if (entries == null) { this.entries = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] } this.entries ...
public class class_name { public static String encode(final String input) { if (input == null || input.length() == 0) { return input; } return ENCODE.translate(input); } }
public class class_name { public static String encode(final String input) { if (input == null || input.length() == 0) { return input; // depends on control dependency: [if], data = [none] } return ENCODE.translate(input); } }
public class class_name { public static List<Pair<Double,Integer>> sortCandidates(INDArray x,INDArray X, List<Integer> candidates, String similarityFunction) { int prevIdx = -1; List<...
public class class_name { public static List<Pair<Double,Integer>> sortCandidates(INDArray x,INDArray X, List<Integer> candidates, String similarityFunction) { int prevIdx = -1; List<...
public class class_name { public static void themeDrawerItem(Context ctx, View view, int selected_color, boolean animate) { boolean legacyStyle = getBooleanStyleable(ctx, R.styleable.MaterialDrawer_material_drawer_legacy_style, false); Drawable selected; Drawable unselected; if (legac...
public class class_name { public static void themeDrawerItem(Context ctx, View view, int selected_color, boolean animate) { boolean legacyStyle = getBooleanStyleable(ctx, R.styleable.MaterialDrawer_material_drawer_legacy_style, false); Drawable selected; Drawable unselected; if (legac...
public class class_name { private void fillPrimaryKeysBySequence(Object entity){ if(!dialect.supportsGenerationType(GenerationType.SEQUENCE)){ return; } BeanDesc beanDesc = beanDescFactory.getBeanDesc(entity.getClass()); int size = beanDesc.getPropertyDescSize(); ...
public class class_name { private void fillPrimaryKeysBySequence(Object entity){ if(!dialect.supportsGenerationType(GenerationType.SEQUENCE)){ return; // depends on control dependency: [if], data = [none] } BeanDesc beanDesc = beanDescFactory.getBeanDesc(entity.getClass()); ...
public class class_name { @Override public void write(byte []buf, int offset, int length, boolean isEnd) throws IOException { OutputStream stream = getStream(); if (stream == null) { return; } synchronized (stream) { stream.write(buf, offset, length); if (isEnd) { ...
public class class_name { @Override public void write(byte []buf, int offset, int length, boolean isEnd) throws IOException { OutputStream stream = getStream(); if (stream == null) { return; } synchronized (stream) { stream.write(buf, offset, length); if (isEnd) { ...
public class class_name { public SourceFile retrievePanSource(String name, List<String> loadpath) { String cacheKey = name + ((String) " ") + String.join(":", loadpath); SourceFile cachedResult = retrievePanCacheLoadpath.get(cacheKey); if (cachedResult == null) { File file = looku...
public class class_name { public SourceFile retrievePanSource(String name, List<String> loadpath) { String cacheKey = name + ((String) " ") + String.join(":", loadpath); SourceFile cachedResult = retrievePanCacheLoadpath.get(cacheKey); if (cachedResult == null) { File file = looku...
public class class_name { private static final int bestPivot(int rank, int m1, int m2, int m3, int m4, int m5) { if(rank < m1) { return m1; } if(rank > m5) { return m5; } if(rank < m2) { return m2; } if(rank > m4) { return m4; } return m3; } }
public class class_name { private static final int bestPivot(int rank, int m1, int m2, int m3, int m4, int m5) { if(rank < m1) { return m1; // depends on control dependency: [if], data = [none] } if(rank > m5) { return m5; // depends on control dependency: [if], data = [none] } if(rank ...
public class class_name { public void marshall(AdminListDevicesRequest adminListDevicesRequest, ProtocolMarshaller protocolMarshaller) { if (adminListDevicesRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMar...
public class class_name { public void marshall(AdminListDevicesRequest adminListDevicesRequest, ProtocolMarshaller protocolMarshaller) { if (adminListDevicesRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMar...
public class class_name { protected void createFirstChainDelegate_Continue(final TargetMethodData tmd) { methodVisitor.visitCode(); if (tmd.msign.isStatic) { loadStaticMethodArguments(methodVisitor, tmd.msign); methodVisitor.visitMethodInsn( INVOKESTATIC, wd.thisReference, tmd.firstMethodName(),...
public class class_name { protected void createFirstChainDelegate_Continue(final TargetMethodData tmd) { methodVisitor.visitCode(); if (tmd.msign.isStatic) { loadStaticMethodArguments(methodVisitor, tmd.msign); // depends on control dependency: [if], data = [none] methodVisitor.visitMethodInsn( INVOKEST...
public class class_name { void swap(int element1, int element2) { int ar1[] = m_buffer[element1 >> m_blockPower]; int ar2[] = m_buffer[element2 >> m_blockPower]; int ind1 = element1 & m_blockMask; int ind2 = element2 & m_blockMask; for (int i = 0; i < m_stride; i++) { int tmp = ar1[ind1 + i]; ar1[ind1 ...
public class class_name { void swap(int element1, int element2) { int ar1[] = m_buffer[element1 >> m_blockPower]; int ar2[] = m_buffer[element2 >> m_blockPower]; int ind1 = element1 & m_blockMask; int ind2 = element2 & m_blockMask; for (int i = 0; i < m_stride; i++) { int tmp = ar1[ind1 + i]; ar1[ind1 ...
public class class_name { private int compareMagnitude(BigDecimal val) { // Match scales, avoid unnecessary inflation long ys = val.intCompact; long xs = this.intCompact; if (xs == 0) return (ys == 0) ? 0 : -1; if (ys == 0) return 1; long sdiff =...
public class class_name { private int compareMagnitude(BigDecimal val) { // Match scales, avoid unnecessary inflation long ys = val.intCompact; long xs = this.intCompact; if (xs == 0) return (ys == 0) ? 0 : -1; if (ys == 0) return 1; long sdiff =...
public class class_name { public static ZMatrixRMaj identity(int width , int height) { ZMatrixRMaj A = new ZMatrixRMaj(width,height); int m = Math.min(width,height); for (int i = 0; i < m; i++) { A.set(i,i,1,0); } return A; } }
public class class_name { public static ZMatrixRMaj identity(int width , int height) { ZMatrixRMaj A = new ZMatrixRMaj(width,height); int m = Math.min(width,height); for (int i = 0; i < m; i++) { A.set(i,i,1,0); // depends on control dependency: [for], data = [i] } ...
public class class_name { public static double ulp(double d) { int exp = getExponent(d); switch(exp) { case DoubleConsts.MAX_EXPONENT+1: // NaN or infinity return Math.abs(d); case DoubleConsts.MIN_EXPONENT-1: // zero or subnormal return Double.MIN_...
public class class_name { public static double ulp(double d) { int exp = getExponent(d); switch(exp) { case DoubleConsts.MAX_EXPONENT+1: // NaN or infinity return Math.abs(d); case DoubleConsts.MIN_EXPONENT-1: // zero or subnormal return Double.MIN_...
public class class_name { public static int fromHSV(float h, float s, float v, int a) { float r = v; float g = v; float b = v; int i; float f, p, q, t; if (s == 0) { // achromatic (grey) int ri = (int) (r * 0xff); int gi = (int) (g *...
public class class_name { public static int fromHSV(float h, float s, float v, int a) { float r = v; float g = v; float b = v; int i; float f, p, q, t; if (s == 0) { // achromatic (grey) int ri = (int) (r * 0xff); int gi = (int) (g *...
public class class_name { public final DSLMapParser.meta_section_return meta_section() throws RecognitionException { DSLMapParser.meta_section_return retval = new DSLMapParser.meta_section_return(); retval.start = input.LT(1); Object root_0 = null; Token LEFT_SQUARE13=null; Token LITERAL14=null; Token RI...
public class class_name { public final DSLMapParser.meta_section_return meta_section() throws RecognitionException { DSLMapParser.meta_section_return retval = new DSLMapParser.meta_section_return(); retval.start = input.LT(1); Object root_0 = null; Token LEFT_SQUARE13=null; Token LITERAL14=null; Token RI...
public class class_name { public boolean computeHomography( CalibrationObservation observedPoints ) { if( observedPoints.size() < 4) throw new IllegalArgumentException("At least 4 points needed in each set of observations. " + " Filter these first please"); List<AssociatedPair> pairs = new ArrayList<>();...
public class class_name { public boolean computeHomography( CalibrationObservation observedPoints ) { if( observedPoints.size() < 4) throw new IllegalArgumentException("At least 4 points needed in each set of observations. " + " Filter these first please"); List<AssociatedPair> pairs = new ArrayList<>();...
public class class_name { public void marshall(HlsManifestCreateOrUpdateParameters hlsManifestCreateOrUpdateParameters, ProtocolMarshaller protocolMarshaller) { if (hlsManifestCreateOrUpdateParameters == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } ...
public class class_name { public void marshall(HlsManifestCreateOrUpdateParameters hlsManifestCreateOrUpdateParameters, ProtocolMarshaller protocolMarshaller) { if (hlsManifestCreateOrUpdateParameters == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } ...
public class class_name { @SuppressWarnings({"unchecked"}) public synchronized ClassReflectionIndex getClassIndex(Class clazz) { try { ClassReflectionIndex index = classes.get(clazz); if (index == null) { final SecurityManager sm = System.getSecurityManager(); ...
public class class_name { @SuppressWarnings({"unchecked"}) public synchronized ClassReflectionIndex getClassIndex(Class clazz) { try { ClassReflectionIndex index = classes.get(clazz); if (index == null) { final SecurityManager sm = System.getSecurityManager(); ...
public class class_name { public synchronized void reset() throws IOException { checkClosed(); try { if (mpos <= Integer.MAX_VALUE) { lo.seek((int)mpos); } else { lo.seek64(mpos, LargeObject.SEEK_SET); } buffer = null; apos = mpos; } catch (SQLException se) { ...
public class class_name { public synchronized void reset() throws IOException { checkClosed(); try { if (mpos <= Integer.MAX_VALUE) { lo.seek((int)mpos); // depends on control dependency: [if], data = [none] } else { lo.seek64(mpos, LargeObject.SEEK_SET); // depends on control depen...
public class class_name { protected static String createContextMenu(JavaScriptObject jso) { JsArray<?> jsItemArray = jso.<JsArray<?>> cast(); List<String> jsItemList = new ArrayList<String>(); for (int i = 0; i < jsItemArray.length(); i++) { jsItemList.add(jsItemArray.get(i).toStri...
public class class_name { protected static String createContextMenu(JavaScriptObject jso) { JsArray<?> jsItemArray = jso.<JsArray<?>> cast(); List<String> jsItemList = new ArrayList<String>(); for (int i = 0; i < jsItemArray.length(); i++) { jsItemList.add(jsItemArray.get(i).toStri...
public class class_name { public JsonElement serialize(Enum<?> src, Type typeOfSrc, JsonSerializationContext context) { // Ignore this serializer for enums of class PaymentType. if (src.getDeclaringClass().equals(PaymentType.class)) { return context.serialize(src.name()); } return context.serialize(src...
public class class_name { public JsonElement serialize(Enum<?> src, Type typeOfSrc, JsonSerializationContext context) { // Ignore this serializer for enums of class PaymentType. if (src.getDeclaringClass().equals(PaymentType.class)) { return context.serialize(src.name()); // depends on control dependency: [...
public class class_name { @Override public ScheduledFuture<?> scheduleWithFixedDelay(Runnable task, long delay) { try { return this.scheduledExecutor.scheduleWithFixedDelay(decorateTask(task, true), 0, delay, TimeUnit.MILLISECONDS); } catch (RejectedExecutionExceptio...
public class class_name { @Override public ScheduledFuture<?> scheduleWithFixedDelay(Runnable task, long delay) { try { return this.scheduledExecutor.scheduleWithFixedDelay(decorateTask(task, true), 0, delay, TimeUnit.MILLISECONDS); // depends on control dependency: [try], d...
public class class_name { private Set<String> getJarMemberSet(String absolutePathToJar) { /* * Note: * Our implementation returns a HashSet. initialCapacity and loadFactor are carefully tweaked for speed and RAM optimization purposes. * * Benchmark: * The HashSet implementation is about 10% slower to...
public class class_name { private Set<String> getJarMemberSet(String absolutePathToJar) { /* * Note: * Our implementation returns a HashSet. initialCapacity and loadFactor are carefully tweaked for speed and RAM optimization purposes. * * Benchmark: * The HashSet implementation is about 10% slower to...
public class class_name { public void processResources(List<Row> permanentRows, List<Row> consumableRows) { // // Process permanent resources // for (Row row : permanentRows) { Resource resource = m_project.addResource(); resource.setType(ResourceType.WORK); ...
public class class_name { public void processResources(List<Row> permanentRows, List<Row> consumableRows) { // // Process permanent resources // for (Row row : permanentRows) { Resource resource = m_project.addResource(); resource.setType(ResourceType.WORK); // depend...
public class class_name { private static String readLine(InputStream is) throws IOException { StringBuilder builder = new StringBuilder(); while (true) { int ch = is.read(); if (ch == '\r') { ch = is.read(); if (ch == '\n') { b...
public class class_name { private static String readLine(InputStream is) throws IOException { StringBuilder builder = new StringBuilder(); while (true) { int ch = is.read(); if (ch == '\r') { ch = is.read(); // depends on control dependency: [if], data = [none] ...
public class class_name { public boolean isViewMapped(String viewId) { if (viewId != null) { viewId = viewId.trim(); for (UrlMapping mapping : mappings) { if (viewId.equals(mapping.getViewId()) || (viewId.startsWith("/") && viewId.substring(1)....
public class class_name { public boolean isViewMapped(String viewId) { if (viewId != null) { viewId = viewId.trim(); // depends on control dependency: [if], data = [none] for (UrlMapping mapping : mappings) { if (viewId.equals(mapping.getViewId()) ...
public class class_name { public String mapFontNr(String fontNr) { if(this.importFontMapping.containsKey(fontNr)) { return (String) this.importFontMapping.get(fontNr); } else { return "0"; } } }
public class class_name { public String mapFontNr(String fontNr) { if(this.importFontMapping.containsKey(fontNr)) { return (String) this.importFontMapping.get(fontNr); // depends on control dependency: [if], data = [none] } else { return "0"; // depends on control dependency: [i...
public class class_name { public void marshall(VPCDerivedInfoStatus vPCDerivedInfoStatus, ProtocolMarshaller protocolMarshaller) { if (vPCDerivedInfoStatus == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.m...
public class class_name { public void marshall(VPCDerivedInfoStatus vPCDerivedInfoStatus, ProtocolMarshaller protocolMarshaller) { if (vPCDerivedInfoStatus == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.m...
public class class_name { public void setFrequency(BigDecimal targetFrequency, BigDecimal frequencyCorrectionFactor) { validateFrequency(targetFrequency); frequency = targetFrequency; periodDurationMicros = calculatePeriodDuration(); int prescale = calculatePrescale(frequencyCorrectionF...
public class class_name { public void setFrequency(BigDecimal targetFrequency, BigDecimal frequencyCorrectionFactor) { validateFrequency(targetFrequency); frequency = targetFrequency; periodDurationMicros = calculatePeriodDuration(); int prescale = calculatePrescale(frequencyCorrectionF...
public class class_name { public void revertLabels(@NonNull INDArray[] labels, INDArray[] maskArrays, int output) { NormalizerStrategy strategy = getStrategy(globalOutputStrategy, perOutputStrategies, output); if (strategy != null) { INDArray mask = (maskArrays == null ? null : maskArrays[o...
public class class_name { public void revertLabels(@NonNull INDArray[] labels, INDArray[] maskArrays, int output) { NormalizerStrategy strategy = getStrategy(globalOutputStrategy, perOutputStrategies, output); if (strategy != null) { INDArray mask = (maskArrays == null ? null : maskArrays[o...
public class class_name { @Override public Object[] findIdsByColumn(String schemaName, String tableName, String pKeyName, String columnName, Object columnValue, Class entityClazz) { EntityMetadata m = KunderaMetadataManager.getEntityMetadata(kunderaMetadata, entityClazz); byte[] va...
public class class_name { @Override public Object[] findIdsByColumn(String schemaName, String tableName, String pKeyName, String columnName, Object columnValue, Class entityClazz) { EntityMetadata m = KunderaMetadataManager.getEntityMetadata(kunderaMetadata, entityClazz); byte[] va...
public class class_name { public static String join(final String sep, final Iterable<String> strs) { final StringBuilder buf = new StringBuilder(); String prefix = ""; for (final String str : strs) { buf.append(prefix).append(str); prefix = sep; } return ...
public class class_name { public static String join(final String sep, final Iterable<String> strs) { final StringBuilder buf = new StringBuilder(); String prefix = ""; for (final String str : strs) { buf.append(prefix).append(str); // depends on control dependency: [for], data = [st...
public class class_name { @Override public E next() { if (!checkOnFetchSize() || scrollComplete) { throw new NoSuchElementException("Nothing to scroll further for:" + entityMetadata.getEntityClazz()); } E result = (E) handler.next(entityMetadata, columns); if...
public class class_name { @Override public E next() { if (!checkOnFetchSize() || scrollComplete) { throw new NoSuchElementException("Nothing to scroll further for:" + entityMetadata.getEntityClazz()); } E result = (E) handler.next(entityMetadata, columns); if...