code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { private void reconstituteNetwork(final File file) { BinaryProtoNetworkDescriptor inputProtoNetworkDesc = new BinaryProtoNetworkDescriptor(file); ProtoNetworkExternalizer pne = new BinaryProtoNetworkExternalizer(); ProtoNetwork global = null; t...
public class class_name { private void reconstituteNetwork(final File file) { BinaryProtoNetworkDescriptor inputProtoNetworkDesc = new BinaryProtoNetworkDescriptor(file); ProtoNetworkExternalizer pne = new BinaryProtoNetworkExternalizer(); ProtoNetwork global = null; t...
public class class_name { protected double[] makeLevelValues() { List<String> levels = getLevels(); if (levels == null) { return null; } if (levels.size() != getSize()) { // do someting } // Time is always LINEAR int inc = 0; ...
public class class_name { protected double[] makeLevelValues() { List<String> levels = getLevels(); if (levels == null) { return null; // depends on control dependency: [if], data = [none] } if (levels.size() != getSize()) { // do someting } // Ti...
public class class_name { public static Date toDate(String s) { // Build a date formatter using the format specified by dateFormat DateFormat dateFormatter = new SimpleDateFormat(dateFormat); try { return dateFormatter.parse(s); } catch (ParseException e...
public class class_name { public static Date toDate(String s) { // Build a date formatter using the format specified by dateFormat DateFormat dateFormatter = new SimpleDateFormat(dateFormat); try { return dateFormatter.parse(s); // depends on control dependency: [try], ...
public class class_name { @Override @SuppressWarnings("ConstantConditions") @Nonnull public <T> Set<ConstraintViolation<T>> validate(@Nonnull BeanIntrospection<T> introspection, @Nonnull T object, @Nullable Class<?>... groups) { if (introspection == null) { throw new ValidationException...
public class class_name { @Override @SuppressWarnings("ConstantConditions") @Nonnull public <T> Set<ConstraintViolation<T>> validate(@Nonnull BeanIntrospection<T> introspection, @Nonnull T object, @Nullable Class<?>... groups) { if (introspection == null) { throw new ValidationException...
public class class_name { @Override public void resetPMICounters() { // TODO needs to change if cache provider supports PMI counters. final String methodName = "resetPMICounters()"; if (tc.isDebugEnabled()) { Tr.debug(tc, methodName + " cacheName=" + cacheName); } } ...
public class class_name { @Override public void resetPMICounters() { // TODO needs to change if cache provider supports PMI counters. final String methodName = "resetPMICounters()"; if (tc.isDebugEnabled()) { Tr.debug(tc, methodName + " cacheName=" + cacheName); // depends on co...
public class class_name { public static String toPDB(Chain chain){ StringBuffer w = new StringBuffer(); int nrGroups = chain.getAtomLength(); for ( int h=0; h<nrGroups;h++){ Group g= chain.getAtomGroup(h); toPDB(g,w); } return w.toString(); } }
public class class_name { public static String toPDB(Chain chain){ StringBuffer w = new StringBuffer(); int nrGroups = chain.getAtomLength(); for ( int h=0; h<nrGroups;h++){ Group g= chain.getAtomGroup(h); toPDB(g,w); // depends on control dependency: [for], data = [none] } return w.toString(); ...
public class class_name { public static ClassLoader getDefaultClassLoader() { ClassLoader loader = Thread.currentThread().getContextClassLoader(); if (loader == null) { loader = ClassUtils.class.getClassLoader(); if (loader == null) { loader = ClassLoader.getSyst...
public class class_name { public static ClassLoader getDefaultClassLoader() { ClassLoader loader = Thread.currentThread().getContextClassLoader(); if (loader == null) { loader = ClassUtils.class.getClassLoader(); // depends on control dependency: [if], data = [none] if (loader =...
public class class_name { private void initializeFont(Font baseFont, int size, boolean bold, boolean italic) { Map attributes = baseFont.getAttributes(); attributes.put(TextAttribute.SIZE, new Float(size)); attributes.put(TextAttribute.WEIGHT, bold ? TextAttribute.WEIGHT_BOLD : TextAttribute.WEIGHT_REGULAR); ...
public class class_name { private void initializeFont(Font baseFont, int size, boolean bold, boolean italic) { Map attributes = baseFont.getAttributes(); attributes.put(TextAttribute.SIZE, new Float(size)); attributes.put(TextAttribute.WEIGHT, bold ? TextAttribute.WEIGHT_BOLD : TextAttribute.WEIGHT_REGULAR); ...
public class class_name { public static void writeFile(String filename, String code){ try { FileOutputStream fidout = new FileOutputStream(filename); fidout.write(code.getBytes()); fidout.close(); } catch (Exception e) { System.err.println(e); } ...
public class class_name { public static void writeFile(String filename, String code){ try { FileOutputStream fidout = new FileOutputStream(filename); fidout.write(code.getBytes()); // depends on control dependency: [try], data = [none] fidout.close(); // depends on control d...
public class class_name { public String getFirstPageUrl(String domain, String region) { if (firstPageUrl != null) { return firstPageUrl; } return urlFromUri(domain, region, firstPageUri); } }
public class class_name { public String getFirstPageUrl(String domain, String region) { if (firstPageUrl != null) { return firstPageUrl; // depends on control dependency: [if], data = [none] } return urlFromUri(domain, region, firstPageUri); } }
public class class_name { @Override public void write(TextWriterStream out, String label, Object object) { String res = (label != null) ? label + "=" : ""; if(object != null) { if(label != null) { res += object.toString().replace(" ", ""); } else { res += object.toString(); ...
public class class_name { @Override public void write(TextWriterStream out, String label, Object object) { String res = (label != null) ? label + "=" : ""; if(object != null) { if(label != null) { res += object.toString().replace(" ", ""); // depends on control dependency: [if], data = [none] ...
public class class_name { public WorkgroupQueue getQueue(String queueName) { Resourcepart queueNameResourcepart; try { queueNameResourcepart = Resourcepart.from(queueName); } catch (XmppStringprepException e) { throw new IllegalArgumentException(e); } ...
public class class_name { public WorkgroupQueue getQueue(String queueName) { Resourcepart queueNameResourcepart; try { queueNameResourcepart = Resourcepart.from(queueName); // depends on control dependency: [try], data = [none] } catch (XmppStringprepException e) { ...
public class class_name { public static final boolean isInstance(SoyType type, SoyValue value, SourceLocation location) { switch (type.getKind()) { case ANY: case UNKNOWN: return true; case ATTRIBUTES: return isSanitizedofKind(value, ContentKind.ATTRIBUTES); case CSS: ...
public class class_name { public static final boolean isInstance(SoyType type, SoyValue value, SourceLocation location) { switch (type.getKind()) { case ANY: case UNKNOWN: return true; case ATTRIBUTES: return isSanitizedofKind(value, ContentKind.ATTRIBUTES); case CSS: ...
public class class_name { public void marshall(KinesisStreamsInputUpdate kinesisStreamsInputUpdate, ProtocolMarshaller protocolMarshaller) { if (kinesisStreamsInputUpdate == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { proto...
public class class_name { public void marshall(KinesisStreamsInputUpdate kinesisStreamsInputUpdate, ProtocolMarshaller protocolMarshaller) { if (kinesisStreamsInputUpdate == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { proto...
public class class_name { private void cleanTable() { lock.lock(); try { Reference<? extends TransactionConfidence> ref; while ((ref = referenceQueue.poll()) != null) { // Find which transaction got deleted by the GC. WeakConfidenceReference txRef...
public class class_name { private void cleanTable() { lock.lock(); try { Reference<? extends TransactionConfidence> ref; // depends on control dependency: [try], data = [none] while ((ref = referenceQueue.poll()) != null) { // Find which transaction got deleted b...
public class class_name { @SuppressWarnings("unchecked") private T getService(boolean throwException) { T svc = null; ReferenceTuple<T> current = null; ReferenceTuple<T> newTuple = null; do { // Get the current tuple current = tuple.get(); // We...
public class class_name { @SuppressWarnings("unchecked") private T getService(boolean throwException) { T svc = null; ReferenceTuple<T> current = null; ReferenceTuple<T> newTuple = null; do { // Get the current tuple current = tuple.get(); // We...
public class class_name { @Override public Enumeration<String> getHeaderNames() { List<String> names = this.request.getHeaderNames(); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "getHeaderNames: " + names.size()); } return Collections....
public class class_name { @Override public Enumeration<String> getHeaderNames() { List<String> names = this.request.getHeaderNames(); if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "getHeaderNames: " + names.size()); // depends on control dependency: [if...
public class class_name { private void maybeIndexResource(String relPath, URL delegate) { if (!index.containsKey(relPath)) { index.put(relPath, delegate); if (relPath.endsWith(File.separator)) { maybeIndexResource(relPath.substring(0, relPath.length() - File.separator.l...
public class class_name { private void maybeIndexResource(String relPath, URL delegate) { if (!index.containsKey(relPath)) { index.put(relPath, delegate); // depends on control dependency: [if], data = [none] if (relPath.endsWith(File.separator)) { maybeIndexResource(re...
public class class_name { public void setResourceUrl(URL resourceUrl) { Assert.isNotNull(resourceUrl); endRequest(); URL oldOriginServerUrl = null; URL newOriginServerUrl = null; try { oldOriginServerUrl = new URL(this.resourceUrl.getProtocol(), this.resourceUrl.getH...
public class class_name { public void setResourceUrl(URL resourceUrl) { Assert.isNotNull(resourceUrl); endRequest(); URL oldOriginServerUrl = null; URL newOriginServerUrl = null; try { oldOriginServerUrl = new URL(this.resourceUrl.getProtocol(), this.resourceUrl.getH...
public class class_name { public EConvResult convert(byte[] in, Ptr inPtr, int inStop, byte[] out, Ptr outPtr, int outStop, int flags) { started = true; if (in == null || inPtr == null) { in = NULL_STRING; inPtr = Ptr.NULL; inStop = 0; } if...
public class class_name { public EConvResult convert(byte[] in, Ptr inPtr, int inStop, byte[] out, Ptr outPtr, int outStop, int flags) { started = true; if (in == null || inPtr == null) { in = NULL_STRING; // depends on control dependency: [if], data = [none] inPtr = Ptr.N...
public class class_name { @Override public void run() { boolean isValid = false; try { _socket.getChannel().configureBlocking(true); /* EndpointReaderWebSocket wsEndpointReader = _client.getEndpointReader(); do { if (! wsEndpointReader.onRead()) { ret...
public class class_name { @Override public void run() { boolean isValid = false; try { _socket.getChannel().configureBlocking(true); // depends on control dependency: [try], data = [none] /* EndpointReaderWebSocket wsEndpointReader = _client.getEndpointReader(); do { ...
public class class_name { public void setPatchFilters(java.util.Collection<PatchFilter> patchFilters) { if (patchFilters == null) { this.patchFilters = null; return; } this.patchFilters = new com.amazonaws.internal.SdkInternalList<PatchFilter>(patchFilters); } }
public class class_name { public void setPatchFilters(java.util.Collection<PatchFilter> patchFilters) { if (patchFilters == null) { this.patchFilters = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] } ...
public class class_name { @Override public Boolean getRequestValue(final Request request) { if (isPresent(request)) { String aText = request.getParameter(getId()); return "true".equals(aText); } else { return getValue(); } } }
public class class_name { @Override public Boolean getRequestValue(final Request request) { if (isPresent(request)) { String aText = request.getParameter(getId()); return "true".equals(aText); // depends on control dependency: [if], data = [none] } else { return getValue(); // depends on control dependen...
public class class_name { public static <T> List<T> getUnique(Collection<T> collection) { HashSet<T> set = new HashSet<>(); List<T> out = new ArrayList<>(); for (T t : collection) { if (!set.contains(t)) { out.add(t); set.add(t); } ...
public class class_name { public static <T> List<T> getUnique(Collection<T> collection) { HashSet<T> set = new HashSet<>(); List<T> out = new ArrayList<>(); for (T t : collection) { if (!set.contains(t)) { out.add(t); // depends on control dependency: [if], data = [n...
public class class_name { public Object execute(final Object value, final CsvContext context) { validateInputNotNull(value, context); if( !(value instanceof Date) ) { throw new SuperCsvCellProcessorException(Date.class, value, context, this); } final SimpleDateFormat formatter; try { formatter = ...
public class class_name { public Object execute(final Object value, final CsvContext context) { validateInputNotNull(value, context); if( !(value instanceof Date) ) { throw new SuperCsvCellProcessorException(Date.class, value, context, this); } final SimpleDateFormat formatter; try { formatter = ...
public class class_name { public LocalDate getLocalDate(final int index) { if (_values[index] == null || _values[index].isEmpty()) { return null; } else { return LocalDate.parse(_values[index], DATE_FORMATTER); } } }
public class class_name { public LocalDate getLocalDate(final int index) { if (_values[index] == null || _values[index].isEmpty()) { return null; // depends on control dependency: [if], data = [none] } else { return LocalDate.parse(_values[index], DATE_FORMATTER); // depends on control dependency: ...
public class class_name { public void onConnected(int serverSessionTimeout, String sessionId, byte[] sessionPassword, int serverId) { if (serverSessionTimeout <= 0) { closeSession(); LOGGER.error("Unable to reconnect to Directory Server, session 0x" + sessionId + " has expired"); ...
public class class_name { public void onConnected(int serverSessionTimeout, String sessionId, byte[] sessionPassword, int serverId) { if (serverSessionTimeout <= 0) { closeSession(); // depends on control dependency: [if], data = [none] LOGGER.error("Unable to reconnect to Directory Se...
public class class_name { @Override public int indexOf(Object o) { if (getClass().isAssignableFrom(o.getClass())) { T str = $.cast(o); return indexOf(str); } else if (o instanceof CharSequence) { CharSequence str = (CharSequence) o; return indexOf(str...
public class class_name { @Override public int indexOf(Object o) { if (getClass().isAssignableFrom(o.getClass())) { T str = $.cast(o); return indexOf(str); // depends on control dependency: [if], data = [none] } else if (o instanceof CharSequence) { CharSequence ...
public class class_name { public void deselectByValue(String value) { getDispatcher().beforeDeselect(this, value); new Select(getElement()).deselectByValue(value); if (Config.getBoolConfigProperty(ConfigProperty.ENABLE_GUI_LOGGING)) { logUIActions(UIActions.CLEARED, value);...
public class class_name { public void deselectByValue(String value) { getDispatcher().beforeDeselect(this, value); new Select(getElement()).deselectByValue(value); if (Config.getBoolConfigProperty(ConfigProperty.ENABLE_GUI_LOGGING)) { logUIActions(UIActions.CLEARED, value);...
public class class_name { public synchronized void resume() { if (!paused) { Util.w(TAG, "require resume this queue(remain " + taskList.size() + "), but it is" + " still running"); return; } paused = false; if (!taskList.isEmpty() && !looping...
public class class_name { public synchronized void resume() { if (!paused) { Util.w(TAG, "require resume this queue(remain " + taskList.size() + "), but it is" + " still running"); // depends on control dependency: [if], data = [none] return; // depends on control de...
public class class_name { public void addMetadataProvider(MetadataProvider provider) { if (provider instanceof MetadataCache) { throw new IllegalArgumentException("Do not register MetadataCache instances using addMetadataProvider(), use attachMetadataCache() or addAutoAttachCacheFile() instead."); ...
public class class_name { public void addMetadataProvider(MetadataProvider provider) { if (provider instanceof MetadataCache) { throw new IllegalArgumentException("Do not register MetadataCache instances using addMetadataProvider(), use attachMetadataCache() or addAutoAttachCacheFile() instead."); ...
public class class_name { private void releaseReferences() { for (SSTableReader sstable : sstables) { sstable.selfRef().release(); assert sstable.selfRef().globalCount() == 0; } } }
public class class_name { private void releaseReferences() { for (SSTableReader sstable : sstables) { sstable.selfRef().release(); // depends on control dependency: [for], data = [sstable] assert sstable.selfRef().globalCount() == 0; } } }
public class class_name { public void info(String message, Object... args) { if (isInfoEnabled()) { info(String.format(message, args), getThrowable(args)); } } }
public class class_name { public void info(String message, Object... args) { if (isInfoEnabled()) { info(String.format(message, args), getThrowable(args)); // depends on control dependency: [if], data = [none] } } }
public class class_name { public void addRegion(Region region) { if (!regions.contains(region)) { if (serviceConnected) { try { beaconManager.startMonitoringBeaconsInRegion(region); } catch (RemoteException e) { LogManager.e(e,...
public class class_name { public void addRegion(Region region) { if (!regions.contains(region)) { if (serviceConnected) { try { beaconManager.startMonitoringBeaconsInRegion(region); // depends on control dependency: [try], data = [none] } catch (R...
public class class_name { void give(NGSession session) { synchronized (lock) { if (done) { // session is already signalled shutdown and removed from all collections return; } workingPool.remove(session); if (idlePool.size() < maxIdleSessions) { idlePool.add(session)...
public class class_name { void give(NGSession session) { synchronized (lock) { if (done) { // session is already signalled shutdown and removed from all collections return; // depends on control dependency: [if], data = [none] } workingPool.remove(session); if (idlePool.siz...
public class class_name { public static Client getInstance() { if(instance == null) { instance = new Client(); } instance.API_PORT = PortSingleton.getInstance().getPort(); return instance; } }
public class class_name { public static Client getInstance() { if(instance == null) { instance = new Client(); // depends on control dependency: [if], data = [none] } instance.API_PORT = PortSingleton.getInstance().getPort(); return instance; } }
public class class_name { private List<ResourceRequirement> getSortedInstances(Set<String> componentNames) { List<ResourceRequirement> resourceRequirements = new ArrayList<>(); for (String componentName : componentNames) { Resource requiredResource = this.componentResourceMap.getOrDefault(componentName, ...
public class class_name { private List<ResourceRequirement> getSortedInstances(Set<String> componentNames) { List<ResourceRequirement> resourceRequirements = new ArrayList<>(); for (String componentName : componentNames) { Resource requiredResource = this.componentResourceMap.getOrDefault(componentName, ...
public class class_name { public float remainingHeight() { float result = 0f; for (Iterator i = images.iterator(); i.hasNext();) { Image image = (Image) i.next(); result += image.getScaledHeight(); } return remainingLinesHeight() + cellspacing + 2 * cellpadding +...
public class class_name { public float remainingHeight() { float result = 0f; for (Iterator i = images.iterator(); i.hasNext();) { Image image = (Image) i.next(); result += image.getScaledHeight(); // depends on control dependency: [for], data = [none] } return r...
public class class_name { void logContainerStateChangesAndReset() { ContainerStateChangeReport changeReport = createContainerStateChangeReport(true); if (changeReport != null) { final String msg = createChangeReportLogMessage(changeReport, false); ROOT_LOGGER.info(msg); ...
public class class_name { void logContainerStateChangesAndReset() { ContainerStateChangeReport changeReport = createContainerStateChangeReport(true); if (changeReport != null) { final String msg = createChangeReportLogMessage(changeReport, false); ROOT_LOGGER.info(msg); // depe...
public class class_name { @Override protected String postcss(HttpServletRequest request, String css, IResource resource) throws IOException { final String sourceMethod = "postcss"; //$NON-NLS-1$ final boolean isTraceLogging = log.isLoggable(Level.FINER); if (isTraceLogging) { log.entering(sourceClass, s...
public class class_name { @Override protected String postcss(HttpServletRequest request, String css, IResource resource) throws IOException { final String sourceMethod = "postcss"; //$NON-NLS-1$ final boolean isTraceLogging = log.isLoggable(Level.FINER); if (isTraceLogging) { log.entering(sourceClass, s...
public class class_name { private void append2slow( ) { final int CHUNK_SZ = 1 << H2O.LOG_CHK; if( _sparseLen > CHUNK_SZ ) throw new ArrayIndexOutOfBoundsException(_sparseLen); assert _ds==null; if(_ls != null && _ls.length > 0){ if(_id == null){ // check for sparseness int nzs = 0;...
public class class_name { private void append2slow( ) { final int CHUNK_SZ = 1 << H2O.LOG_CHK; if( _sparseLen > CHUNK_SZ ) throw new ArrayIndexOutOfBoundsException(_sparseLen); assert _ds==null; if(_ls != null && _ls.length > 0){ if(_id == null){ // check for sparseness int nzs = 0;...
public class class_name { protected StringBuilder constructAdditionalAuthParameters(Map<String, String> additionalParameters) { StringBuilder result = new StringBuilder(); if (additionalParameters != null && !additionalParameters.isEmpty()) { for (Map.Entry<String, String> ...
public class class_name { protected StringBuilder constructAdditionalAuthParameters(Map<String, String> additionalParameters) { StringBuilder result = new StringBuilder(); if (additionalParameters != null && !additionalParameters.isEmpty()) { for (Map.Entry<String, String> ...
public class class_name { public boolean containsValue(final int value) { boolean found = false; if (value != initialValue) { final int[] entries = this.entries; @DoNotSub final int length = entries.length; for (@DoNotSub int i = 1; i < length; i += 2) ...
public class class_name { public boolean containsValue(final int value) { boolean found = false; if (value != initialValue) { final int[] entries = this.entries; @DoNotSub final int length = entries.length; for (@DoNotSub int i = 1; i < length; i += 2) ...
public class class_name { protected void addChildren(CmsTreeItem parent, List<CmsGalleryTreeEntry> children, List<String> selectedGalleries) { if (children != null) { for (CmsGalleryTreeEntry child : children) { // set the category tree item and add to parent tree item ...
public class class_name { protected void addChildren(CmsTreeItem parent, List<CmsGalleryTreeEntry> children, List<String> selectedGalleries) { if (children != null) { for (CmsGalleryTreeEntry child : children) { // set the category tree item and add to parent tree item ...
public class class_name { static String pullFontPathFromView(Context context, AttributeSet attrs, int[] attributeId) { if (attributeId == null || attrs == null) return null; final String attributeName; try { attributeName = context.getResources().getResourceEntryName(at...
public class class_name { static String pullFontPathFromView(Context context, AttributeSet attrs, int[] attributeId) { if (attributeId == null || attrs == null) return null; final String attributeName; try { attributeName = context.getResources().getResourceEntryName(at...
public class class_name { public void setSelected(final boolean selected) { if (selected) { if (isDisabled()) { throw new IllegalStateException("Cannot select a disabled radio button"); } getGroup().setSelectedValue(getValue()); } else if (isSelected()) { // Clear selection getGroup().setData(nu...
public class class_name { public void setSelected(final boolean selected) { if (selected) { if (isDisabled()) { throw new IllegalStateException("Cannot select a disabled radio button"); } getGroup().setSelectedValue(getValue()); // depends on control dependency: [if], data = [none] } else if (isSelect...
public class class_name { public static boolean hasCycle(Graph<?> graph) { int numEdges = graph.edges().size(); if (numEdges == 0) { return false; // An edge-free graph is acyclic by definition. } if (!graph.isDirected() && numEdges >= graph.nodes().size()) { return true; // Optimization fo...
public class class_name { public static boolean hasCycle(Graph<?> graph) { int numEdges = graph.edges().size(); if (numEdges == 0) { return false; // An edge-free graph is acyclic by definition. // depends on control dependency: [if], data = [none] } if (!graph.isDirected() && numEdges >= graph.n...
public class class_name { public static String status(final long status) { if (INITIALIZING == status) { return "INITIALIZING"; } if (ERRORED == status) { return "ERRORED"; } if (ACTIVE == status) { return "ACTIVE...
public class class_name { public static String status(final long status) { if (INITIALIZING == status) { return "INITIALIZING"; // depends on control dependency: [if], data = [none] } if (ERRORED == status) { return "ERRORED"; // depends on control d...
public class class_name { @Nonnull public static String[] mapToEnv(@Nonnull Map<String,String> m) { String[] r = new String[m.size()]; int idx=0; for (final Map.Entry<String,String> e : m.entrySet()) { r[idx++] = e.getKey() + '=' + e.getValue(); } return r; ...
public class class_name { @Nonnull public static String[] mapToEnv(@Nonnull Map<String,String> m) { String[] r = new String[m.size()]; int idx=0; for (final Map.Entry<String,String> e : m.entrySet()) { r[idx++] = e.getKey() + '=' + e.getValue(); // depends on control dependency...
public class class_name { protected ResourceBundleHandler initResourceBundleHandler() { ResourceBundleHandler rsHandler = null; if (jawrConfig.getUseBundleMapping() && StringUtils.isNotEmpty(jawrConfig.getJawrWorkingDirectory())) { rsHandler = new ServletContextResourceBundleHandler(servletContext, jawrConfig.g...
public class class_name { protected ResourceBundleHandler initResourceBundleHandler() { ResourceBundleHandler rsHandler = null; if (jawrConfig.getUseBundleMapping() && StringUtils.isNotEmpty(jawrConfig.getJawrWorkingDirectory())) { rsHandler = new ServletContextResourceBundleHandler(servletContext, jawrConfig.g...
public class class_name { @SuppressWarnings({"unchecked", "SpellCheckingInspection"}) List<Meeting> findBoringMeetings() { Query query = new Query(Meeting.class, new QueryCriteria("notes", QueryCriteriaOperator.CONTAINS, "Boring")); List<Meeting> boringMeetings = null; try { ...
public class class_name { @SuppressWarnings({"unchecked", "SpellCheckingInspection"}) List<Meeting> findBoringMeetings() { Query query = new Query(Meeting.class, new QueryCriteria("notes", QueryCriteriaOperator.CONTAINS, "Boring")); List<Meeting> boringMeetings = null; try { ...
public class class_name { private void updateFromStack(Stack stack) { long startTime = System.currentTimeMillis(); // Update LocalPeer Peer sLocalPeer = stack.getMetaData().getLocalPeer(); localPeer.setUri(sLocalPeer.getUri().toString()); for (InetAddress ipAddress : sLocalPeer.getIPAddres...
public class class_name { private void updateFromStack(Stack stack) { long startTime = System.currentTimeMillis(); // Update LocalPeer Peer sLocalPeer = stack.getMetaData().getLocalPeer(); localPeer.setUri(sLocalPeer.getUri().toString()); for (InetAddress ipAddress : sLocalPeer.getIPAddres...
public class class_name { public void marshall(GetGcmChannelRequest getGcmChannelRequest, ProtocolMarshaller protocolMarshaller) { if (getGcmChannelRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.m...
public class class_name { public void marshall(GetGcmChannelRequest getGcmChannelRequest, ProtocolMarshaller protocolMarshaller) { if (getGcmChannelRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.m...
public class class_name { private boolean isGuvnorResource(Object element) { if (element instanceof IResource) { return GuvnorMetadataUtils.findGuvnorMetadata((IResource)element) != null; } else { return false; } } }
public class class_name { private boolean isGuvnorResource(Object element) { if (element instanceof IResource) { return GuvnorMetadataUtils.findGuvnorMetadata((IResource)element) != null; // depends on control dependency: [if], data = [none] } else { return false; // depends on ...
public class class_name { @Deprecated public CmsResourceFilter addRequireType(int type) { if (type != -1) { CmsResourceFilter extendedFilter = (CmsResourceFilter)clone(); extendedFilter.m_type = type; extendedFilter.m_filterType = REQUIRED; extendedFilter.u...
public class class_name { @Deprecated public CmsResourceFilter addRequireType(int type) { if (type != -1) { CmsResourceFilter extendedFilter = (CmsResourceFilter)clone(); extendedFilter.m_type = type; // depends on control dependency: [if], data = [none] extendedFilter...
public class class_name { public boolean flushAllForDelete() throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "flushAllForDelete"); synchronized (this) { // Flush may have completed, if so then return // without starting ...
public class class_name { public boolean flushAllForDelete() throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "flushAllForDelete"); synchronized (this) { // Flush may have completed, if so then return // without starting ...
public class class_name { private void broadcastError(final Exception exception) { Logger.info(LOG_TAG, "Broadcasting error for upload with ID: " + params.id + ". " + exception.getMessage()); final UploadInfo uploadInfo = new UploadInfo(params.id, startTime, uploadedBytes, ...
public class class_name { private void broadcastError(final Exception exception) { Logger.info(LOG_TAG, "Broadcasting error for upload with ID: " + params.id + ". " + exception.getMessage()); final UploadInfo uploadInfo = new UploadInfo(params.id, startTime, uploadedBytes, ...
public class class_name { public ResponseInfo syncPut(File file, String key, String token, UploadOptions options) { final UpToken decodedToken = UpToken.parse(token); ResponseInfo info = areInvalidArg(key, null, file, token, decodedToken); if (info != null) { return info; } ...
public class class_name { public ResponseInfo syncPut(File file, String key, String token, UploadOptions options) { final UpToken decodedToken = UpToken.parse(token); ResponseInfo info = areInvalidArg(key, null, file, token, decodedToken); if (info != null) { return info; // depends...
public class class_name { private List<GempakParameter> makeParams(DMPart part) { List<GempakParameter> gemparms = new ArrayList<>(part.kparms); for (DMParam param : part.params) { String name = param.kprmnm; GempakParameter parm = GempakParameters.getParameter(name); if (parm == null) { ...
public class class_name { private List<GempakParameter> makeParams(DMPart part) { List<GempakParameter> gemparms = new ArrayList<>(part.kparms); for (DMParam param : part.params) { String name = param.kprmnm; GempakParameter parm = GempakParameters.getParameter(name); if (parm == null) { ...
public class class_name { public void mapRole(PdfName used, PdfName standard) { PdfDictionary rm = (PdfDictionary)get(PdfName.ROLEMAP); if (rm == null) { rm = new PdfDictionary(); put(PdfName.ROLEMAP, rm); } rm.put(used, standard); } }
public class class_name { public void mapRole(PdfName used, PdfName standard) { PdfDictionary rm = (PdfDictionary)get(PdfName.ROLEMAP); if (rm == null) { rm = new PdfDictionary(); // depends on control dependency: [if], data = [none] put(PdfName.ROLEMAP, rm); // depends on contr...
public class class_name { public static double min(double[][] matrix) { double m = Double.POSITIVE_INFINITY; for (double[] x : matrix) { for (double y : x) { if (m > y) { m = y; } } } return m; } }
public class class_name { public static double min(double[][] matrix) { double m = Double.POSITIVE_INFINITY; for (double[] x : matrix) { for (double y : x) { if (m > y) { m = y; // depends on control dependency: [if], data = [none] } ...
public class class_name { public void post(String jsonBody, Integer expectedResponseCode) throws IOException { HttpURLConnection conn = getUrlConnection(); try { // send post request with json body for the topology if (!NetworkUtils.sendHttpPostRequest(conn, NetworkUtils.JSON_TYPE, jsonBody.getByt...
public class class_name { public void post(String jsonBody, Integer expectedResponseCode) throws IOException { HttpURLConnection conn = getUrlConnection(); try { // send post request with json body for the topology if (!NetworkUtils.sendHttpPostRequest(conn, NetworkUtils.JSON_TYPE, jsonBody.getByt...
public class class_name { public boolean hasTransitionTo(CharRange condition, NFAState<T> state) { Set<Transition<NFAState<T>>> set = transitions.get(condition); if (set != null) { for (Transition<NFAState<T>> tr : set) { if (state.equals(tr.ge...
public class class_name { public boolean hasTransitionTo(CharRange condition, NFAState<T> state) { Set<Transition<NFAState<T>>> set = transitions.get(condition); if (set != null) { for (Transition<NFAState<T>> tr : set) { if (state.equals(tr.ge...
public class class_name { protected String getBashVersionInfo() { String versionInfo = ""; try { String result[] = ExecUtil.execute("bash --version"); for(String line : result) { if(!line.isEmpty()) { versionInfo = line; // return only first o...
public class class_name { protected String getBashVersionInfo() { String versionInfo = ""; try { String result[] = ExecUtil.execute("bash --version"); for(String line : result) { if(!line.isEmpty()) { versionInfo = line; // return only first o...
public class class_name { private void readHours(ProjectCalendar calendar, Day day, Integer hours) { int value = hours.intValue(); int startHour = 0; ProjectCalendarHours calendarHours = null; Calendar cal = DateHelper.popCalendar(); cal.set(Calendar.HOUR_OF_DAY, 0); cal.set(Cal...
public class class_name { private void readHours(ProjectCalendar calendar, Day day, Integer hours) { int value = hours.intValue(); int startHour = 0; ProjectCalendarHours calendarHours = null; Calendar cal = DateHelper.popCalendar(); cal.set(Calendar.HOUR_OF_DAY, 0); cal.set(Cal...
public class class_name { public boolean isBMO(boolean cache) { assert orderWeights.size() == 0; boolean bmo = true; final SortedSet<Integer> partitionWeights = new TreeSet<>(); final SortedMap<Integer, Integer> nbPartitionWeights = new TreeMap<>(); for (int i = 0; i < nSoft(); i++) { final i...
public class class_name { public boolean isBMO(boolean cache) { assert orderWeights.size() == 0; boolean bmo = true; final SortedSet<Integer> partitionWeights = new TreeSet<>(); final SortedMap<Integer, Integer> nbPartitionWeights = new TreeMap<>(); for (int i = 0; i < nSoft(); i++) { final i...
public class class_name { public QuorumCall<AsyncLogger, GetJournalStateResponseProto> getJournalState() { Map<AsyncLogger, ListenableFuture<GetJournalStateResponseProto>> calls = Maps.newHashMap(); for (AsyncLogger logger : loggers) { calls.put(logger, logger.getJournalState()); } return...
public class class_name { public QuorumCall<AsyncLogger, GetJournalStateResponseProto> getJournalState() { Map<AsyncLogger, ListenableFuture<GetJournalStateResponseProto>> calls = Maps.newHashMap(); for (AsyncLogger logger : loggers) { calls.put(logger, logger.getJournalState()); // depends on co...
public class class_name { public Map<String, String> toMap() { Map<String, String> result = new LinkedHashMap<String, String>(); for (int i = 0, size = size(); i < size; i++) { String name = name(i); String values = result.get(name); if (values == null) { ...
public class class_name { public Map<String, String> toMap() { Map<String, String> result = new LinkedHashMap<String, String>(); for (int i = 0, size = size(); i < size; i++) { String name = name(i); String values = result.get(name); if (values == null) { ...
public class class_name { private boolean equalShapes(Shape a, Shape b) { a.checkPoints(); b.checkPoints(); for (int i=0;i<a.points.length;i++) { if (a.points[i] != b.points[i]) { return false; } } return true; } }
public class class_name { private boolean equalShapes(Shape a, Shape b) { a.checkPoints(); b.checkPoints(); for (int i=0;i<a.points.length;i++) { if (a.points[i] != b.points[i]) { return false; // depends on control dependency: [if], data = [none] } } return true; } }
public class class_name { @Override public void startPortletHeaderRender( IPortletWindowId portletWindowId, HttpServletRequest request, HttpServletResponse response) { if (doesPortletNeedHeaderWorker(portletWindowId, request)) { this.startPortletHeaderRenderI...
public class class_name { @Override public void startPortletHeaderRender( IPortletWindowId portletWindowId, HttpServletRequest request, HttpServletResponse response) { if (doesPortletNeedHeaderWorker(portletWindowId, request)) { this.startPortletHeaderRenderI...
public class class_name { public void marshall(DescribeImageBuildersRequest describeImageBuildersRequest, ProtocolMarshaller protocolMarshaller) { if (describeImageBuildersRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { public void marshall(DescribeImageBuildersRequest describeImageBuildersRequest, ProtocolMarshaller protocolMarshaller) { if (describeImageBuildersRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { protected String getFullFormattedXml(final Node node, ComparisonType type, boolean formatXml) { StringBuilder sb = new StringBuilder(); final Node nodeToConvert; if (type == ComparisonType.CHILD_NODELIST_SEQUENCE) { nodeToConvert = node.getParentNode(); ...
public class class_name { protected String getFullFormattedXml(final Node node, ComparisonType type, boolean formatXml) { StringBuilder sb = new StringBuilder(); final Node nodeToConvert; if (type == ComparisonType.CHILD_NODELIST_SEQUENCE) { nodeToConvert = node.getParentNode(); // ...
public class class_name { @Nonnull public static Map<String, Map.Entry<? extends ExecutableElement, ? extends AnnotationValue>> keyAnnotationAttributesByName( @Nonnull Map<? extends ExecutableElement, ? extends AnnotationValue> attributes) { Map<String, Map.Entry<? extends ExecutableElement, ? exte...
public class class_name { @Nonnull public static Map<String, Map.Entry<? extends ExecutableElement, ? extends AnnotationValue>> keyAnnotationAttributesByName( @Nonnull Map<? extends ExecutableElement, ? extends AnnotationValue> attributes) { Map<String, Map.Entry<? extends ExecutableElement, ? exte...
public class class_name { private static String multiPointCoordinatesFromWkt(String wkt) { wkt = removeBrackets(wkt,1); boolean isSecondVersionMultiPoint = wkt.contains("("); String coordinates = ""; if(isSecondVersionMultiPoint){ //(10 40), (40 30), (20 20)-> 10 40, 40 30, ...
public class class_name { private static String multiPointCoordinatesFromWkt(String wkt) { wkt = removeBrackets(wkt,1); boolean isSecondVersionMultiPoint = wkt.contains("("); String coordinates = ""; if(isSecondVersionMultiPoint){ //(10 40), (40 30), (20 20)-> 10 40, 40 30, ...
public class class_name { public void fullReset() { // Reset stream to SoftDevice if SD and BL firmware were given separately if (softDeviceBytes != null && bootloaderBytes != null && currentSource == bootloaderBytes) { currentSource = softDeviceBytes; } // Reset the bytes count to 0 bytesReadFromCurrentS...
public class class_name { public void fullReset() { // Reset stream to SoftDevice if SD and BL firmware were given separately if (softDeviceBytes != null && bootloaderBytes != null && currentSource == bootloaderBytes) { currentSource = softDeviceBytes; // depends on control dependency: [if], data = [none] } ...
public class class_name { public void setWeekOfYearVisible(boolean weekOfYearVisible) { if (weekOfYearVisible == this.weekOfYearVisible) { return; } else if (weekOfYearVisible) { add(weekPanel, BorderLayout.WEST); } else { remove(weekPanel); } this.weekOfYearVisible = weekOfYearVisible; validate(...
public class class_name { public void setWeekOfYearVisible(boolean weekOfYearVisible) { if (weekOfYearVisible == this.weekOfYearVisible) { return; // depends on control dependency: [if], data = [none] } else if (weekOfYearVisible) { add(weekPanel, BorderLayout.WEST); // depends on control dependency: [if], d...
public class class_name { private void expungeExpiredEntries() { emptyQueue(); if (lifetime == 0) { return; } int cnt = 0; long time = System.currentTimeMillis(); for (Iterator<CacheEntry<K,V>> t = cacheMap.values().iterator(); t.hasNext(); ) ...
public class class_name { private void expungeExpiredEntries() { emptyQueue(); if (lifetime == 0) { return; // depends on control dependency: [if], data = [none] } int cnt = 0; long time = System.currentTimeMillis(); for (Iterator<CacheEntry<K,V>> t = cacheMa...
public class class_name { public void marshall(TcpRoute tcpRoute, ProtocolMarshaller protocolMarshaller) { if (tcpRoute == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(tcpRoute.getAction(), ACTION...
public class class_name { public void marshall(TcpRoute tcpRoute, ProtocolMarshaller protocolMarshaller) { if (tcpRoute == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(tcpRoute.getAction(), ACTION...
public class class_name { private void replaceParentClassesForAtomics(ClassOrInterfaceDeclaration n) { for (ClassOrInterfaceType parent : n.getExtendedTypes()) { if ("ConcurrentCircularArrayQueue".equals(parent.getNameAsString())) { parent.setName("AtomicReferenceArrayQueue"); ...
public class class_name { private void replaceParentClassesForAtomics(ClassOrInterfaceDeclaration n) { for (ClassOrInterfaceType parent : n.getExtendedTypes()) { if ("ConcurrentCircularArrayQueue".equals(parent.getNameAsString())) { parent.setName("AtomicReferenceArrayQueue"); // de...
public class class_name { public final void init(final int WIDTH, final int HEIGHT) { if (WIDTH <= 1 || HEIGHT <= 1) { return; } if (bgImage != null) { bgImage.flush(); } if (lcdImage != null) { lcdImage.flush(); } if (glowI...
public class class_name { public final void init(final int WIDTH, final int HEIGHT) { if (WIDTH <= 1 || HEIGHT <= 1) { return; // depends on control dependency: [if], data = [none] } if (bgImage != null) { bgImage.flush(); // depends on control dependency: [if], data = ...
public class class_name { public void marshall(CloseStatusFilter closeStatusFilter, ProtocolMarshaller protocolMarshaller) { if (closeStatusFilter == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(c...
public class class_name { public void marshall(CloseStatusFilter closeStatusFilter, ProtocolMarshaller protocolMarshaller) { if (closeStatusFilter == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(c...
public class class_name { private ArrayList<Object> parseArray(JsonParser jp) throws IOException { JsonToken value = jp.nextToken(); ArrayList<Object> ret = new ArrayList<>(); while(value != JsonToken.END_ARRAY) { if (value == JsonToken.START_OBJECT) { Object object ...
public class class_name { private ArrayList<Object> parseArray(JsonParser jp) throws IOException { JsonToken value = jp.nextToken(); ArrayList<Object> ret = new ArrayList<>(); while(value != JsonToken.END_ARRAY) { if (value == JsonToken.START_OBJECT) { Object object ...
public class class_name { @PerformanceSensitive public Class<?> getCallerClass(final String fqcn, final String pkg) { boolean next = false; Class<?> clazz; for (int i = 2; null != (clazz = getCallerClass(i)); i++) { if (fqcn.equals(clazz.getName())) { next = true...
public class class_name { @PerformanceSensitive public Class<?> getCallerClass(final String fqcn, final String pkg) { boolean next = false; Class<?> clazz; for (int i = 2; null != (clazz = getCallerClass(i)); i++) { if (fqcn.equals(clazz.getName())) { next = true...
public class class_name { public void updateFeatures() { for (int i = 0; i < feaGen.features.size(); i++) { Feature f = (Feature)feaGen.features.get(i); f.wgt = lambda[f.idx]; } } }
public class class_name { public void updateFeatures() { for (int i = 0; i < feaGen.features.size(); i++) { Feature f = (Feature)feaGen.features.get(i); f.wgt = lambda[f.idx]; // depends on control dependency: [for], data = [none] } } }
public class class_name { @Override public void propagate(int evtmask) throws ContradictionException { int min = 0; int max = 0; for (int i = 0; i < n; i++) { ISet nei = g.getPotNeighOf(i); for (int j : nei) { if (i <= j) { max += distMatrix[i][j]; if (g.getMandNeighOf(i).contains(j)) { ...
public class class_name { @Override public void propagate(int evtmask) throws ContradictionException { int min = 0; int max = 0; for (int i = 0; i < n; i++) { ISet nei = g.getPotNeighOf(i); for (int j : nei) { if (i <= j) { max += distMatrix[i][j]; // depends on control dependency: [if], data = [...
public class class_name { void callAnnotated(Class<? extends Annotation> ann, boolean lazy) { for (ComponentAccess p : oMap.values()) { p.callAnnotatedMethod(ann, lazy); } } }
public class class_name { void callAnnotated(Class<? extends Annotation> ann, boolean lazy) { for (ComponentAccess p : oMap.values()) { p.callAnnotatedMethod(ann, lazy); // depends on control dependency: [for], data = [p] } } }
public class class_name { public static void outMark(IRubyObject emitter, IRubyObject node) { Emitter emitterPtr = (Emitter)emitter.dataGetStructChecked(); YEmitter.Extra bonus = (YEmitter.Extra)emitterPtr.bonus; ((RubyObject)node).fastSetInstanceVariable("@emitter", emitter); if(!bonus...
public class class_name { public static void outMark(IRubyObject emitter, IRubyObject node) { Emitter emitterPtr = (Emitter)emitter.dataGetStructChecked(); YEmitter.Extra bonus = (YEmitter.Extra)emitterPtr.bonus; ((RubyObject)node).fastSetInstanceVariable("@emitter", emitter); if(!bonus...
public class class_name { public static boolean checkFile(Configuration conf, FileSystem srcFs, FileSystem parityFs, Path srcPath, Path parityPath, Codec codec, Progressable reporter, boolean sourceOnly) throws IOException, InterruptedException { FileStatus stat = srcFs.getFileS...
public class class_name { public static boolean checkFile(Configuration conf, FileSystem srcFs, FileSystem parityFs, Path srcPath, Path parityPath, Codec codec, Progressable reporter, boolean sourceOnly) throws IOException, InterruptedException { FileStatus stat = srcFs.getFileS...
public class class_name { public String getExportPath(String vfsName) { if (vfsName != null) { Iterator<CmsStaticExportRfsRule> it = m_rfsRules.iterator(); while (it.hasNext()) { CmsStaticExportRfsRule rule = it.next(); if (rule.getSource().matcher(vfsNa...
public class class_name { public String getExportPath(String vfsName) { if (vfsName != null) { Iterator<CmsStaticExportRfsRule> it = m_rfsRules.iterator(); while (it.hasNext()) { CmsStaticExportRfsRule rule = it.next(); if (rule.getSource().matcher(vfsNa...
public class class_name { private <A extends Annotation, AS extends Annotation> void processClassAnnotations(int processorIndex, InjectionProcessorProvider<A, AS> provider, ...
public class class_name { private <A extends Annotation, AS extends Annotation> void processClassAnnotations(int processorIndex, InjectionProcessorProvider<A, AS> provider, ...
public class class_name { @FFDCIgnore(BatchCDIAmbiguousResolutionCheckedException.class) protected Bean<?> getUniqueBeanForBatchXMLEntry(BeanManager bm, String batchId) { ClassLoader loader = getContextClassLoader(); BatchXMLMapper batchXMLMapper = new BatchXMLMapper(loader); Class<?> clazz...
public class class_name { @FFDCIgnore(BatchCDIAmbiguousResolutionCheckedException.class) protected Bean<?> getUniqueBeanForBatchXMLEntry(BeanManager bm, String batchId) { ClassLoader loader = getContextClassLoader(); BatchXMLMapper batchXMLMapper = new BatchXMLMapper(loader); Class<?> clazz...
public class class_name { private void removeAllLocalesExcept(CmsXmlContainerPage page, Locale localeToKeep) throws CmsXmlException { List<Locale> locales = page.getLocales(); for (Locale locale : locales) { if (!locale.equals(localeToKeep)) { page.removeLocale(locale); ...
public class class_name { private void removeAllLocalesExcept(CmsXmlContainerPage page, Locale localeToKeep) throws CmsXmlException { List<Locale> locales = page.getLocales(); for (Locale locale : locales) { if (!locale.equals(localeToKeep)) { page.removeLocale(locale); // ...
public class class_name { @Override public final int prepare() throws XAException { if (tc.isEntryEnabled()) Tr.entry(tc, "prepare", new Object[] { _resource, _xid }); if (tcSummary.isDebugEnabled()) Tr.debug(tcSummary, "xa_prepare", this); int rc = -1; ...
public class class_name { @Override public final int prepare() throws XAException { if (tc.isEntryEnabled()) Tr.entry(tc, "prepare", new Object[] { _resource, _xid }); if (tcSummary.isDebugEnabled()) Tr.debug(tcSummary, "xa_prepare", this); int rc = -1; ...
public class class_name { @Override public List<Metric> transform(QueryContext queryContext, List<Metric> metrics, List<String> constants) { if (constants == null || constants.isEmpty()) { return transform(queryContext, metrics); } if (constants.size() == 1) { if (constants.get(0).toUpperCase().equals(FU...
public class class_name { @Override public List<Metric> transform(QueryContext queryContext, List<Metric> metrics, List<String> constants) { if (constants == null || constants.isEmpty()) { return transform(queryContext, metrics); // depends on control dependency: [if], data = [none] } if (constants.size() =...
public class class_name { public OutputHandler handleMessage(MessageItem msg) throws SIMPNotPossibleInCurrentConfigurationException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "handleMessage", msg); //Set the current arrival time for the msg msg.setCurrentM...
public class class_name { public OutputHandler handleMessage(MessageItem msg) throws SIMPNotPossibleInCurrentConfigurationException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "handleMessage", msg); //Set the current arrival time for the msg msg.setCurrentM...
public class class_name { public static void create( int dimensions, int numElements, Collection<? super MutableIntTuple> target) { for (int i=0; i<numElements; i++) { target.add(IntTuples.create(dimensions)); } } }
public class class_name { public static void create( int dimensions, int numElements, Collection<? super MutableIntTuple> target) { for (int i=0; i<numElements; i++) { target.add(IntTuples.create(dimensions)); // depends on control dependency: [for], data = [none...
public class class_name { public LocalXAResource createLocalXAResource(ConnectionManager cm, String productName, String productVersion, String jndiName, XAResourceStatistics x...
public class class_name { public LocalXAResource createLocalXAResource(ConnectionManager cm, String productName, String productVersion, String jndiName, XAResourceStatistics x...
public class class_name { @Override public int[] findXYindexFromCoordBounded(double x_coord, double y_coord, int[] result) { if (result == null) result = new int[2]; if ((horizXaxis instanceof CoordinateAxis1D) && (horizYaxis instanceof CoordinateAxis1D)) { result[0] = ((CoordinateAxis1D) ...
public class class_name { @Override public int[] findXYindexFromCoordBounded(double x_coord, double y_coord, int[] result) { if (result == null) result = new int[2]; if ((horizXaxis instanceof CoordinateAxis1D) && (horizYaxis instanceof CoordinateAxis1D)) { result[0] = ((CoordinateAxis1D) ...
public class class_name { public void start(int depth) throws Exception { LOG.info(this.toString()); // register conf to all plugins // except [fetcher, generatorFilter] ConfigurationUtils.setTo(this, dbManager, executor, nextFilter); registerOtherConfigurations(); i...
public class class_name { public void start(int depth) throws Exception { LOG.info(this.toString()); // register conf to all plugins // except [fetcher, generatorFilter] ConfigurationUtils.setTo(this, dbManager, executor, nextFilter); registerOtherConfigurations(); i...
public class class_name { protected void resize(int new_length) { if(keys == null) { keys=new byte[Math.min(new_length, 0xff)][]; values=new byte[Math.min(new_length, 0xff)][]; return; } if(new_length > 0xff) { if(keys.length < 0xff) ...
public class class_name { protected void resize(int new_length) { if(keys == null) { keys=new byte[Math.min(new_length, 0xff)][]; // depends on control dependency: [if], data = [none] values=new byte[Math.min(new_length, 0xff)][]; // depends on control dependency: [if], data = [none] ...