code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { public String getRealmName() { if (realmName == null || realmName.trim().equals("")) { realmName = getDefaultRealmName(); } return realmName; } }
public class class_name { public String getRealmName() { if (realmName == null || realmName.trim().equals("")) { realmName = getDefaultRealmName(); // depends on control dependency: [if], data = [none] } return realmName; } }
public class class_name { public void append(final char[] data) { if (data == null) { return; } provideCapacity(length + data.length); System.arraycopy(data, 0, c, length, data.length); length += data.length; } }
public class class_name { public void append(final char[] data) { if (data == null) { return; // depends on control dependency: [if], data = [none] } provideCapacity(length + data.length); System.arraycopy(data, 0, c, length, data.length); length += data.length; ...
public class class_name { public static byte[] str2bin(final String values, final JBBPBitOrder bitOrder) { if (values == null) { return new byte[0]; } int buff = 0; int cnt = 0; final ByteArrayOutputStream buffer = new ByteArrayOutputStream((values.length() + 7) >> 3); final boolean ms...
public class class_name { public static byte[] str2bin(final String values, final JBBPBitOrder bitOrder) { if (values == null) { return new byte[0]; // depends on control dependency: [if], data = [none] } int buff = 0; int cnt = 0; final ByteArrayOutputStream buffer = new ByteArrayOutputStr...
public class class_name { public final UnicodeSet remove(CharSequence s) { int cp = getSingleCP(s); if (cp < 0) { strings.remove(s.toString()); pat = null; } else { remove(cp, cp); } return this; } }
public class class_name { public final UnicodeSet remove(CharSequence s) { int cp = getSingleCP(s); if (cp < 0) { strings.remove(s.toString()); // depends on control dependency: [if], data = [none] pat = null; // depends on control dependency: [if], data = [none] } else ...
public class class_name { public static int[] unbox (Integer[] list) { if (list == null) { return null; } int[] unboxed = new int[list.length]; for (int ii = 0; ii < list.length; ii++) { unboxed[ii] = list[ii]; } return unboxed; } }
public class class_name { public static int[] unbox (Integer[] list) { if (list == null) { return null; // depends on control dependency: [if], data = [none] } int[] unboxed = new int[list.length]; for (int ii = 0; ii < list.length; ii++) { unboxed[ii] = list...
public class class_name { protected Map<String, CmsResource> getResourcesByRelativePath(List<CmsResource> resources, String basePath) { Map<String, CmsResource> result = new HashMap<String, CmsResource>(); for (CmsResource resource : resources) { String relativeSubPath = CmsStringUtil.getR...
public class class_name { protected Map<String, CmsResource> getResourcesByRelativePath(List<CmsResource> resources, String basePath) { Map<String, CmsResource> result = new HashMap<String, CmsResource>(); for (CmsResource resource : resources) { String relativeSubPath = CmsStringUtil.getR...
public class class_name { public static List<NativeQuery> parseJdbcSql(String query, boolean standardConformingStrings, boolean withParameters, boolean splitStatements, boolean isBatchedReWriteConfigured, String... returningColumnNames) throws SQLException { if (!withParameters && !splitStatement...
public class class_name { public static List<NativeQuery> parseJdbcSql(String query, boolean standardConformingStrings, boolean withParameters, boolean splitStatements, boolean isBatchedReWriteConfigured, String... returningColumnNames) throws SQLException { if (!withParameters && !splitStatement...
public class class_name { public static TaskQueueStatistics fromJson(final String json, final ObjectMapper objectMapper) { // Convert all checked exceptions to Runtime try { return objectMapper.readValue(json, TaskQueueStatistics.class); } catch (final JsonMappingException | JsonPar...
public class class_name { public static TaskQueueStatistics fromJson(final String json, final ObjectMapper objectMapper) { // Convert all checked exceptions to Runtime try { return objectMapper.readValue(json, TaskQueueStatistics.class); // depends on control dependency: [try], data = [none...
public class class_name { private InputStream getStream(List<FileItem> items) throws IOException { for (FileItem i : items) { if (!i.isFormField() && i.getFieldName().equals(CONTENT_PARAMETER)) { return i.getInputStream(); } } return null; } }
public class class_name { private InputStream getStream(List<FileItem> items) throws IOException { for (FileItem i : items) { if (!i.isFormField() && i.getFieldName().equals(CONTENT_PARAMETER)) { return i.getInputStream(); // depends on control dependency: [if], data = [none] ...
public class class_name { private int toInt(InetAddress inetAddress) { byte[] address = inetAddress.getAddress(); int result = 0; for (int i = 0; i < address.length; i++) { result <<= 8; result |= address[i] & BYTE_MASK; } return result; } }
public class class_name { private int toInt(InetAddress inetAddress) { byte[] address = inetAddress.getAddress(); int result = 0; for (int i = 0; i < address.length; i++) { result <<= 8; // depends on control dependency: [for], data = [none] result |= address[i] & BYTE_M...
public class class_name { public void sendMessageToAllNeighbors(Message m) { if (edgesUsed) { throw new IllegalStateException("Can use either 'getEdges()' or 'sendMessageToAllNeighbors()'" + "exactly once."); } edgesUsed = true; outValue.f1 = m; while (edges.hasNext()) { Tuple next = (Tuple) edg...
public class class_name { public void sendMessageToAllNeighbors(Message m) { if (edgesUsed) { throw new IllegalStateException("Can use either 'getEdges()' or 'sendMessageToAllNeighbors()'" + "exactly once."); } edgesUsed = true; outValue.f1 = m; while (edges.hasNext()) { Tuple next = (Tuple) edg...
public class class_name { public static List<DockerImage> getDockerImagesFromAgents(final int buildInfoId, TaskListener listener) throws IOException, InterruptedException { List<DockerImage> dockerImages = new ArrayList<DockerImage>(); // Collect images from the master: dockerImages.addAll(get...
public class class_name { public static List<DockerImage> getDockerImagesFromAgents(final int buildInfoId, TaskListener listener) throws IOException, InterruptedException { List<DockerImage> dockerImages = new ArrayList<DockerImage>(); // Collect images from the master: dockerImages.addAll(get...
public class class_name { public static String canonicalize(String str) { if (str == null) return null; int length = str.length(); char ch; StringBuffer buf = new StringBuffer(length); for (int i=0;i<length;i++) { ch = str.charAt(i); if (ch == '_') continue; buf.append( Character.toLowerCase(ch) );...
public class class_name { public static String canonicalize(String str) { if (str == null) return null; int length = str.length(); char ch; StringBuffer buf = new StringBuffer(length); for (int i=0;i<length;i++) { ch = str.charAt(i); // depends on control dependency: [for], data = [i] if (ch == '_') con...
public class class_name { public java.util.List<ElasticGpuSpecification> getElasticGpuSpecification() { if (elasticGpuSpecification == null) { elasticGpuSpecification = new com.amazonaws.internal.SdkInternalList<ElasticGpuSpecification>(); } return elasticGpuSpecification; } }
public class class_name { public java.util.List<ElasticGpuSpecification> getElasticGpuSpecification() { if (elasticGpuSpecification == null) { elasticGpuSpecification = new com.amazonaws.internal.SdkInternalList<ElasticGpuSpecification>(); // depends on control dependency: [if], data = [none] ...
public class class_name { public boolean doCommand(String strCommand, ScreenField sourceSField, int iCommandOptions) { boolean bFlag = false; if (strCommand.equalsIgnoreCase(ThinMenuConstants.UNDO)) { // Special - handle undo if (m_sfTarget != null) if (m_sfTar...
public class class_name { public boolean doCommand(String strCommand, ScreenField sourceSField, int iCommandOptions) { boolean bFlag = false; if (strCommand.equalsIgnoreCase(ThinMenuConstants.UNDO)) { // Special - handle undo if (m_sfTarget != null) if (m_sfTar...
public class class_name { private static byte[] decodeHexStringToBytes(int index, int len, ByteBuf buff) { len = len >> 1; byte[] bytes = new byte[len]; for (int i = 0;i < len;i++) { byte b0 = decodeHexChar(buff.getByte(index++)); byte b1 = decodeHexChar(buff.getByte(index++)); bytes[i] =...
public class class_name { private static byte[] decodeHexStringToBytes(int index, int len, ByteBuf buff) { len = len >> 1; byte[] bytes = new byte[len]; for (int i = 0;i < len;i++) { byte b0 = decodeHexChar(buff.getByte(index++)); byte b1 = decodeHexChar(buff.getByte(index++)); bytes[i] =...
public class class_name { private static SoyMsgSelectPart buildMsgPartForSelect( MsgSelectNode msgSelectNode, MsgNode msgNode) { // This is the list of the cases. ImmutableList.Builder<SoyMsgPart.Case<String>> selectCases = ImmutableList.builder(); for (CaseOrDefaultNode child : msgSelectNode.getCh...
public class class_name { private static SoyMsgSelectPart buildMsgPartForSelect( MsgSelectNode msgSelectNode, MsgNode msgNode) { // This is the list of the cases. ImmutableList.Builder<SoyMsgPart.Case<String>> selectCases = ImmutableList.builder(); for (CaseOrDefaultNode child : msgSelectNode.getCh...
public class class_name { public InternalTenantContext createInternalTenantContext(final Long tenantRecordId, @Nullable final Long accountRecordId) { populateMDCContext(null, accountRecordId, tenantRecordId); if (accountRecordId == null) { return new InternalTenantContext(tenantRecordId); ...
public class class_name { public InternalTenantContext createInternalTenantContext(final Long tenantRecordId, @Nullable final Long accountRecordId) { populateMDCContext(null, accountRecordId, tenantRecordId); if (accountRecordId == null) { return new InternalTenantContext(tenantRecordId); ...
public class class_name { public void setRGBA(int x, int y, int r, int g, int b, int a) { if ((x < 0) || (x >= width) || (y < 0) || (y >= height)) { throw new RuntimeException("Specified location: "+x+","+y+" outside of image"); } int ofs = ((x + (y * texWidth)) * 4); if (ByteOrder.nativeOrder(...
public class class_name { public void setRGBA(int x, int y, int r, int g, int b, int a) { if ((x < 0) || (x >= width) || (y < 0) || (y >= height)) { throw new RuntimeException("Specified location: "+x+","+y+" outside of image"); } int ofs = ((x + (y * texWidth)) * 4); if (ByteOrder.nativeOrder(...
public class class_name { @Override public R get(final I key) { final P params = getParam(key); final String paramsKey = params.getKey(); // Retrieve the resource weak reference from the map final SoftReference<R> resourceSoftRef = this.resourceMap.get(paramsKey); // War...
public class class_name { @Override public R get(final I key) { final P params = getParam(key); final String paramsKey = params.getKey(); // Retrieve the resource weak reference from the map final SoftReference<R> resourceSoftRef = this.resourceMap.get(paramsKey); // War...
public class class_name { static void applyRules(Configuration configuration, DisplayMetrics displayMetrics, int apiLevel) { Locale locale = getLocale(configuration, apiLevel); String language = locale == null ? "" : locale.getLanguage(); if (language.isEmpty()) { language = "en"; String coun...
public class class_name { static void applyRules(Configuration configuration, DisplayMetrics displayMetrics, int apiLevel) { Locale locale = getLocale(configuration, apiLevel); String language = locale == null ? "" : locale.getLanguage(); if (language.isEmpty()) { language = "en"; // depends on cont...
public class class_name { public BodyTypeAwareRenderer getBodyTypeAwareRenderer() { if (bodyTypeAwareRenderer != null) { return bodyTypeAwareRenderer; } bodyTypeAwareRenderer = new BodyTypeAwareRenderer(getViewRenderer(), getWikiStyleRenderer()); return bodyTypeA...
public class class_name { public BodyTypeAwareRenderer getBodyTypeAwareRenderer() { if (bodyTypeAwareRenderer != null) { return bodyTypeAwareRenderer; // depends on control dependency: [if], data = [none] } bodyTypeAwareRenderer = new BodyTypeAwareRenderer(getViewRendere...
public class class_name { public EClass getFontDescriptorSpecification() { if (fontDescriptorSpecificationEClass == null) { fontDescriptorSpecificationEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(AfplibPackage.eNS_URI).getEClassifiers().get(378); } return fontDescriptorSpecificationEClass; } }
public class class_name { public EClass getFontDescriptorSpecification() { if (fontDescriptorSpecificationEClass == null) { fontDescriptorSpecificationEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(AfplibPackage.eNS_URI).getEClassifiers().get(378); // depends on control dependency: [if], data = [none] ...
public class class_name { int get(int rowSize) { if (lookup.size() == 0) { return -1; } int index = lookup.findFirstGreaterEqualKeyIndex(rowSize); if (index == -1) { return -1; } // statistics for successful requests only - to be used later fo...
public class class_name { int get(int rowSize) { if (lookup.size() == 0) { return -1; // depends on control dependency: [if], data = [none] } int index = lookup.findFirstGreaterEqualKeyIndex(rowSize); if (index == -1) { return -1; // depends on control depende...
public class class_name { public void put(String key, T token) { purge(); if (map.containsKey(key)) { map.remove(key); } final long time = System.currentTimeMillis(); map.put(key, new Value(token, time + expireMillis)); latestWriteTime = time; } }
public class class_name { public void put(String key, T token) { purge(); if (map.containsKey(key)) { map.remove(key); // depends on control dependency: [if], data = [none] } final long time = System.currentTimeMillis(); map.put(key, new Value(token, time + expireMil...
public class class_name { public void send(String uri, String data) { Objects.requireNonNull(uri, Required.URI.toString()); final Set<ServerSentEventConnection> uriConnections = getConnections(uri); if (uriConnections != null) { uriConnections.stream() .filter(Serve...
public class class_name { public void send(String uri, String data) { Objects.requireNonNull(uri, Required.URI.toString()); final Set<ServerSentEventConnection> uriConnections = getConnections(uri); if (uriConnections != null) { uriConnections.stream() .filter(Serve...
public class class_name { public void marshall(MFAOptionType mFAOptionType, ProtocolMarshaller protocolMarshaller) { if (mFAOptionType == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(mFAOptionType...
public class class_name { public void marshall(MFAOptionType mFAOptionType, ProtocolMarshaller protocolMarshaller) { if (mFAOptionType == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(mFAOptionType...
public class class_name { private Artifact<?> emitLandingPageCacheManifest(LinkerContext context, TreeLogger logger, ArtifactSet artifacts, String[] staticFiles) throws UnableToCompleteException { // Create a string of cacheable resources StringBuilder publicSourcesSb = new StringBuilder(); StringBui...
public class class_name { private Artifact<?> emitLandingPageCacheManifest(LinkerContext context, TreeLogger logger, ArtifactSet artifacts, String[] staticFiles) throws UnableToCompleteException { // Create a string of cacheable resources StringBuilder publicSourcesSb = new StringBuilder(); StringBui...
public class class_name { public static NeuralNetConfiguration fromJson(String json) { ObjectMapper mapper = mapper(); try { NeuralNetConfiguration ret = mapper.readValue(json, NeuralNetConfiguration.class); return ret; } catch (IOException e) { throw new Run...
public class class_name { public static NeuralNetConfiguration fromJson(String json) { ObjectMapper mapper = mapper(); try { NeuralNetConfiguration ret = mapper.readValue(json, NeuralNetConfiguration.class); return ret; // depends on control dependency: [try], data = [none] ...
public class class_name { public static ZonedDateTime toZonedDateTime(final Calendar self) { if (self instanceof GregorianCalendar) { // would this branch ever be true? return ((GregorianCalendar) self).toZonedDateTime(); } else { return ZonedDateTime.of(toLocalDateTime(self), g...
public class class_name { public static ZonedDateTime toZonedDateTime(final Calendar self) { if (self instanceof GregorianCalendar) { // would this branch ever be true? return ((GregorianCalendar) self).toZonedDateTime(); // depends on control dependency: [if], data = [none] } else { ...
public class class_name { private boolean initEventSource() { boolean success = false; try { eventSource = ServerCache.cacheUnit.createEventSource(cacheConfig.useListenerContext, cacheName); } catch (Exception ex) { com.ibm.ws.ffdc.FFDCFilter.processException(ex, "com.ib...
public class class_name { private boolean initEventSource() { boolean success = false; try { eventSource = ServerCache.cacheUnit.createEventSource(cacheConfig.useListenerContext, cacheName); // depends on control dependency: [try], data = [none] } catch (Exception ex) { ...
public class class_name { private void reopen(final ConnectionPoolConnection conn) { if(isActive) { if(conn.reopenAttempts == 0) { conn.reopenAttempts++; reopenService.execute(new Reopener(conn)); } else { long delayMillis = 100L * conn.reopenAttempts; ...
public class class_name { private void reopen(final ConnectionPoolConnection conn) { if(isActive) { if(conn.reopenAttempts == 0) { conn.reopenAttempts++; // depends on control dependency: [if], data = [none] reopenService.execute(new Reopener(conn)); // depends on control depend...
public class class_name { private static void addGroupByExpressionsToProjections(QueryPlanningInfo info) { if (info.groupBy == null || info.groupBy.getItems() == null || info.groupBy.getItems().size() == 0) { return; } OGroupBy newGroupBy = new OGroupBy(-1); int i = 0; for (OExpression exp : ...
public class class_name { private static void addGroupByExpressionsToProjections(QueryPlanningInfo info) { if (info.groupBy == null || info.groupBy.getItems() == null || info.groupBy.getItems().size() == 0) { return; // depends on control dependency: [if], data = [none] } OGroupBy newGroupBy = new OG...
public class class_name { private static int searchForChunkContainingPos(final long[] arr, final long pos, final int l, final int r) { // the following three asserts can probably go away eventually, since it is fairly clear // that if these invariants hold at the beginning of the search, they will be maintaine...
public class class_name { private static int searchForChunkContainingPos(final long[] arr, final long pos, final int l, final int r) { // the following three asserts can probably go away eventually, since it is fairly clear // that if these invariants hold at the beginning of the search, they will be maintaine...
public class class_name { public QueryStringBuilder getQueryParameters() { QueryStringBuilder builder = new QueryStringBuilder(); if (this.isNullOrEmpty(this.query) && this.metadataFilter == null) { throw new BoxAPIException( "BoxSearchParameters requires either a search qu...
public class class_name { public QueryStringBuilder getQueryParameters() { QueryStringBuilder builder = new QueryStringBuilder(); if (this.isNullOrEmpty(this.query) && this.metadataFilter == null) { throw new BoxAPIException( "BoxSearchParameters requires either a search qu...
public class class_name { public EEnum getFNCPatTech() { if (fncPatTechEEnum == null) { fncPatTechEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(AfplibPackage.eNS_URI).getEClassifiers().get(18); } return fncPatTechEEnum; } }
public class class_name { public EEnum getFNCPatTech() { if (fncPatTechEEnum == null) { fncPatTechEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(AfplibPackage.eNS_URI).getEClassifiers().get(18); // depends on control dependency: [if], data = [none] } return fncPatTechEEnum; } }
public class class_name { @Override public synchronized void run() { try { // do the rename operation m_mergePages.actionMerge(getReport()); } catch (Exception e) { getReport().println(e); if (LOG.isErrorEnabled()) { LOG.error(e.getLo...
public class class_name { @Override public synchronized void run() { try { // do the rename operation m_mergePages.actionMerge(getReport()); // depends on control dependency: [try], data = [none] } catch (Exception e) { getReport().println(e); if (LO...
public class class_name { private MethodDescriptor[] mergeMethods(MethodDescriptor[] superDescs) { HashMap<String, MethodDescriptor> subMap = internalAsMap(methods); for (MethodDescriptor superMethod : superDescs) { String methodName = getQualifiedName(superMethod.getMethod()); ...
public class class_name { private MethodDescriptor[] mergeMethods(MethodDescriptor[] superDescs) { HashMap<String, MethodDescriptor> subMap = internalAsMap(methods); for (MethodDescriptor superMethod : superDescs) { String methodName = getQualifiedName(superMethod.getMethod()); ...
public class class_name { public Map<String, Object> buildNewNestedMap(String[] mapKeys, Object propertyValue) { Map<String, Object> rootMap = new HashMap<String, Object>(); Map<String, Object> higherNestedMap = new HashMap<String, Object>(); Map<String, Object> deeperNestedMap = new HashMap<String, Object>()...
public class class_name { public Map<String, Object> buildNewNestedMap(String[] mapKeys, Object propertyValue) { Map<String, Object> rootMap = new HashMap<String, Object>(); Map<String, Object> higherNestedMap = new HashMap<String, Object>(); Map<String, Object> deeperNestedMap = new HashMap<String, Object>()...
public class class_name { public EClass getIfcTextFontSelect() { if (ifcTextFontSelectEClass == null) { ifcTextFontSelectEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc2x3tc1Package.eNS_URI) .getEClassifiers().get(976); } return ifcTextFontSelectEClass; } }
public class class_name { public EClass getIfcTextFontSelect() { if (ifcTextFontSelectEClass == null) { ifcTextFontSelectEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc2x3tc1Package.eNS_URI) .getEClassifiers().get(976); // depends on control dependency: [if], data = [none] } return ifcT...
public class class_name { protected void removeKey (Comparable<?> key) { int index = _keys.indexOf(key); if (index != -1) { _keys.remove(index); _table.removeDatum(index); } } }
public class class_name { protected void removeKey (Comparable<?> key) { int index = _keys.indexOf(key); if (index != -1) { _keys.remove(index); // depends on control dependency: [if], data = [(index] _table.removeDatum(index); // depends on control dependency: [if], data = ...
public class class_name { @Override public void flush() throws IOException { if (_os == null || ! _needsFlush) return; _needsFlush = false; try { _os.flush(); } catch (IOException e) { try { close(); } catch (IOException e1) { } throw ClientDiscon...
public class class_name { @Override public void flush() throws IOException { if (_os == null || ! _needsFlush) return; _needsFlush = false; try { _os.flush(); } catch (IOException e) { try { close(); // depends on control dependency: [try], data = [none] } catch (IO...
public class class_name { public RestClientOptions putGlobalHeaders(MultiMap headers) { for (Map.Entry<String, String> header : headers) { globalHeaders.add(header.getKey(), header.getValue()); } return this; } }
public class class_name { public RestClientOptions putGlobalHeaders(MultiMap headers) { for (Map.Entry<String, String> header : headers) { globalHeaders.add(header.getKey(), header.getValue()); // depends on control dependency: [for], data = [header] } return this; } }
public class class_name { public static void closeQuietly(final Connection connection) { if (connection != null && connection.isOpen()) { try { connection.close(); } catch (IOException ioe) { LOG.warnDebug(ioe, "While closing connection");...
public class class_name { public static void closeQuietly(final Connection connection) { if (connection != null && connection.isOpen()) { try { connection.close(); // depends on control dependency: [try], data = [none] } catch (IOException ioe) { ...
public class class_name { private static String buildDescription(final List<String> missingFields) { final StringBuilder description = new StringBuilder("Message missing required fields: "); boolean first = true; for (final String field : missingFields) { if (first) { first = false; ...
public class class_name { private static String buildDescription(final List<String> missingFields) { final StringBuilder description = new StringBuilder("Message missing required fields: "); boolean first = true; for (final String field : missingFields) { if (first) { first = false; // ...
public class class_name { public IStatus validate(ISREInstall sre) { final IStatus status; if (this.enableSystemWideSelector && this.systemSREButton.getSelection()) { if (SARLRuntime.getDefaultSREInstall() == null) { status = SARLEclipsePlugin.getDefault().createStatus(IStatus.ERROR, Messages.SREConfigurati...
public class class_name { public IStatus validate(ISREInstall sre) { final IStatus status; if (this.enableSystemWideSelector && this.systemSREButton.getSelection()) { if (SARLRuntime.getDefaultSREInstall() == null) { status = SARLEclipsePlugin.getDefault().createStatus(IStatus.ERROR, Messages.SREConfigurati...
public class class_name { @Override public String getTimeZoneDisplayName(String tzID, NameType type) { if (tzID == null || tzID.length() == 0) { return null; } return loadTimeZoneNames(tzID).getName(type); } }
public class class_name { @Override public String getTimeZoneDisplayName(String tzID, NameType type) { if (tzID == null || tzID.length() == 0) { return null; // depends on control dependency: [if], data = [none] } return loadTimeZoneNames(tzID).getName(type); } }
public class class_name { @Override public Set<URI> listOperations(URI serviceUri) { if (serviceUri == null || !serviceUri.isAbsolute()) { log.warn("The Service URI is either absent or relative. Provide an absolute URI"); return ImmutableSet.of(); } URI graphUri; ...
public class class_name { @Override public Set<URI> listOperations(URI serviceUri) { if (serviceUri == null || !serviceUri.isAbsolute()) { log.warn("The Service URI is either absent or relative. Provide an absolute URI"); // depends on control dependency: [if], data = [none] return...
public class class_name { private static String encode(String s) { int n = INITIAL_N; int delta = 0; int bias = INITIAL_BIAS; StringBuffer output = new StringBuffer(); // Copy all basic code points to the output. int b = 0; for (int i = 0; i < s.length(); i++) { char c = s.charAt(i);...
public class class_name { private static String encode(String s) { int n = INITIAL_N; int delta = 0; int bias = INITIAL_BIAS; StringBuffer output = new StringBuffer(); // Copy all basic code points to the output. int b = 0; for (int i = 0; i < s.length(); i++) { char c = s.charAt(i);...
public class class_name { List<List<BlockInfo>> chooseUnderReplicatedBlocks(int blocksToProcess) { // initialize data structure for the return value List<List<BlockInfo>> blocksToReplicate = new ArrayList<List<BlockInfo>>(UnderReplicatedBlocks.LEVEL); for (int i = 0; i < UnderReplicatedBlocks.LEVEL; ...
public class class_name { List<List<BlockInfo>> chooseUnderReplicatedBlocks(int blocksToProcess) { // initialize data structure for the return value List<List<BlockInfo>> blocksToReplicate = new ArrayList<List<BlockInfo>>(UnderReplicatedBlocks.LEVEL); for (int i = 0; i < UnderReplicatedBlocks.LEVEL; ...
public class class_name { public DescribeScalableTargetsRequest withResourceIds(String... resourceIds) { if (this.resourceIds == null) { setResourceIds(new java.util.ArrayList<String>(resourceIds.length)); } for (String ele : resourceIds) { this.resourceIds.add(ele); ...
public class class_name { public DescribeScalableTargetsRequest withResourceIds(String... resourceIds) { if (this.resourceIds == null) { setResourceIds(new java.util.ArrayList<String>(resourceIds.length)); // depends on control dependency: [if], data = [none] } for (String ele : res...
public class class_name { public void setFeatureStyle(String featureTable, long featureId, GeometryType geometryType, FeatureStyle featureStyle) { if (featureStyle != null) { setStyle(featureTable, featureId, geometryType, featureStyle.getStyle())...
public class class_name { public void setFeatureStyle(String featureTable, long featureId, GeometryType geometryType, FeatureStyle featureStyle) { if (featureStyle != null) { setStyle(featureTable, featureId, geometryType, featureStyle.getStyle())...
public class class_name { public static Schema superSetOf(String newName, Schema schema, Field... newFields) { List<Field> newSchema = new ArrayList<Field>(); newSchema.addAll(schema.getFields()); for(Field newField: newFields) { newSchema.add(newField); } return new Schema(newName, newSchema); } }
public class class_name { public static Schema superSetOf(String newName, Schema schema, Field... newFields) { List<Field> newSchema = new ArrayList<Field>(); newSchema.addAll(schema.getFields()); for(Field newField: newFields) { newSchema.add(newField); // depends on control dependency: [for], data = [newFie...
public class class_name { public void drawGroup(Object parent, Object object) { if (isAttached()) { helper.createOrUpdateGroup(parent, object, null, null); } } }
public class class_name { public void drawGroup(Object parent, Object object) { if (isAttached()) { helper.createOrUpdateGroup(parent, object, null, null); // depends on control dependency: [if], data = [none] } } }
public class class_name { public boolean diff(Node right, Buffer rightBuffer) throws IOException { Buffer leftBuffer; int leftChunk; int rightChunk; boolean result; leftBuffer = getWorld().getBuffer(); try (InputStream leftSrc = newInputStream(); InputStrea...
public class class_name { public boolean diff(Node right, Buffer rightBuffer) throws IOException { Buffer leftBuffer; int leftChunk; int rightChunk; boolean result; leftBuffer = getWorld().getBuffer(); try (InputStream leftSrc = newInputStream(); InputStrea...
public class class_name { @Override protected List<ChecksumFile> getFilesToProcess() { List<ChecksumFile> files = new LinkedList<ChecksumFile>(); // Add project main artifact. if ( hasValidFile( project.getArtifact() ) ) { files.add( new ChecksumFile( "", project.ge...
public class class_name { @Override protected List<ChecksumFile> getFilesToProcess() { List<ChecksumFile> files = new LinkedList<ChecksumFile>(); // Add project main artifact. if ( hasValidFile( project.getArtifact() ) ) { files.add( new ChecksumFile( "", project.ge...
public class class_name { @Override public void notifyTransformed(Transformable transformable) { final Collidable collidable = transformable.getFeature(Collidable.class); final double oldX = transformable.getOldX(); final double oldY = transformable.getOldY(); final int oldMin...
public class class_name { @Override public void notifyTransformed(Transformable transformable) { final Collidable collidable = transformable.getFeature(Collidable.class); final double oldX = transformable.getOldX(); final double oldY = transformable.getOldY(); final int oldMin...
public class class_name { protected void initBundles() { if (commonBundle == null) { Locale locale = configuration.getLocale(); this.commonBundle = ResourceBundle.getBundle(commonBundleName, locale); this.docletBundle = ResourceBundle.getBundle(docletBundleName, locale); ...
public class class_name { protected void initBundles() { if (commonBundle == null) { Locale locale = configuration.getLocale(); this.commonBundle = ResourceBundle.getBundle(commonBundleName, locale); // depends on control dependency: [if], data = [(commonBundle] this.docletB...
public class class_name { void backupFile() { writeLock.lock(); try { if (incBackup) { if (fa.isStreamElement(backupFileName)) { fa.removeElement(backupFileName); } return; } if (fa.isStreamEleme...
public class class_name { void backupFile() { writeLock.lock(); try { if (incBackup) { if (fa.isStreamElement(backupFileName)) { fa.removeElement(backupFileName); // depends on control dependency: [if], data = [none] } r...
public class class_name { public long getAverageEventRoutingTime() { long time = 0L; long events = 0L; for (EventTypeID eventTypeID : eventRouter.getSleeContainer().getComponentManagement().getComponentRepository().getEventComponentIDs()) { for (int i = 0; i < getExecutors().length; i++) { final EventRout...
public class class_name { public long getAverageEventRoutingTime() { long time = 0L; long events = 0L; for (EventTypeID eventTypeID : eventRouter.getSleeContainer().getComponentManagement().getComponentRepository().getEventComponentIDs()) { for (int i = 0; i < getExecutors().length; i++) { final EventRout...
public class class_name { public static void usage(PrintStream errStream, Object target) { Class<?> clazz; if (target instanceof Class) { clazz = (Class) target; } else { clazz = target.getClass(); } errStream.println("Usage: " + clazz.getName()); ...
public class class_name { public static void usage(PrintStream errStream, Object target) { Class<?> clazz; if (target instanceof Class) { clazz = (Class) target; // depends on control dependency: [if], data = [none] } else { clazz = target.getClass(); // depends on contr...
public class class_name { public int getField(int index, int defaultValue) { if (index >= 0 && index < this.version.length) { return version[index]; } else { return defaultValue; } } }
public class class_name { public int getField(int index, int defaultValue) { if (index >= 0 && index < this.version.length) { return version[index]; // depends on control dependency: [if], data = [none] } else { return defaultValue; // depends on control dependency: [if], data = [none] } } }
public class class_name { public static DirContextOperations searchForSingleEntryInternal(DirContext ctx, SearchControls searchControls, String base, String filter, Object[] params) throws NamingException { final DistinguishedName ctxBaseDn = new DistinguishedName( ctx.getNameInNamespace()); final Distin...
public class class_name { public static DirContextOperations searchForSingleEntryInternal(DirContext ctx, SearchControls searchControls, String base, String filter, Object[] params) throws NamingException { final DistinguishedName ctxBaseDn = new DistinguishedName( ctx.getNameInNamespace()); final Distin...
public class class_name { public static void makeGrid(Container parent, int rows, int cols, int initialX, int initialY, int xPad, int yPad) { SpringLayout layout; try { layout = (SpringLayout)par...
public class class_name { public static void makeGrid(Container parent, int rows, int cols, int initialX, int initialY, int xPad, int yPad) { SpringLayout layout; try { layout = (SpringLayout)par...
public class class_name { public boolean matches(MonitorConfig config) { String name = config.getName(); TagList tags = config.getTags(); String value; if (tagKey == null) { value = name; } else { Tag t = tags.getTag(tagKey); value = (t == null) ? null : t.getValue(); } b...
public class class_name { public boolean matches(MonitorConfig config) { String name = config.getName(); TagList tags = config.getTags(); String value; if (tagKey == null) { value = name; // depends on control dependency: [if], data = [none] } else { Tag t = tags.getTag(tagKey); v...
public class class_name { public static String[] extractToStringArray(final DeviceData deviceDataArgout) throws DevFailed { final Object[] values = CommandHelper.extractArray(deviceDataArgout); if (values == null) { Except.throw_exception("TANGO_WRONG_DATA_ERROR", "output is empty ", "CommandHelper.extrac...
public class class_name { public static String[] extractToStringArray(final DeviceData deviceDataArgout) throws DevFailed { final Object[] values = CommandHelper.extractArray(deviceDataArgout); if (values == null) { Except.throw_exception("TANGO_WRONG_DATA_ERROR", "output is empty ", "CommandHelper.extrac...
public class class_name { public static void realToComplex(GrayF32 real , InterleavedF32 complex ) { checkImageArguments(real,complex); for( int y = 0; y < complex.height; y++ ) { int indexReal = real.startIndex + y*real.stride; int indexComplex = complex.startIndex + y*complex.stride; for( int x = 0; x...
public class class_name { public static void realToComplex(GrayF32 real , InterleavedF32 complex ) { checkImageArguments(real,complex); for( int y = 0; y < complex.height; y++ ) { int indexReal = real.startIndex + y*real.stride; int indexComplex = complex.startIndex + y*complex.stride; for( int x = 0; x...
public class class_name { public List<String[]> readAll() throws IOException { List<String[]> allElements = new ArrayList<>(); while (hasNext) { String[] nextLineAsTokens = readNext(); if (nextLineAsTokens != null) { allElements.add(nextLineAsTokens); ...
public class class_name { public List<String[]> readAll() throws IOException { List<String[]> allElements = new ArrayList<>(); while (hasNext) { String[] nextLineAsTokens = readNext(); if (nextLineAsTokens != null) { allElements.add(nextLineAsTokens); // depends...
public class class_name { synchronized void registerService(Promotable service) { m_services.add(service); if (m_isLeader) { try { service.acceptPromotion(); } catch (Exception e) { VoltDB.crashLocalVoltDB("Unable to promote global...
public class class_name { synchronized void registerService(Promotable service) { m_services.add(service); if (m_isLeader) { try { service.acceptPromotion(); // depends on control dependency: [try], data = [none] } catch (Exception e) { ...
public class class_name { public HitResult intersect(Shape shape, Line line) { float distance = Float.MAX_VALUE; HitResult hit = null; for (int i=0;i<shape.getPointCount();i++) { int next = rationalPoint(shape, i+1); Line local = getLine(shape, i, next); Vector2f pt = line.intersect(local,...
public class class_name { public HitResult intersect(Shape shape, Line line) { float distance = Float.MAX_VALUE; HitResult hit = null; for (int i=0;i<shape.getPointCount();i++) { int next = rationalPoint(shape, i+1); Line local = getLine(shape, i, next); Vector2f pt = line.intersect(local,...
public class class_name { public double[][] latLonToProj(double[][] from, double[][] to, int latIndex, int lonIndex) { int cnt = from[0].length; double[] fromLatA = from[latIndex]; double[] fromLonA = from[lonIndex]; double[] resultXA = to[INDEX_X]; double[] resultYA = to[INDEX_Y]; double...
public class class_name { public double[][] latLonToProj(double[][] from, double[][] to, int latIndex, int lonIndex) { int cnt = from[0].length; double[] fromLatA = from[latIndex]; double[] fromLonA = from[lonIndex]; double[] resultXA = to[INDEX_X]; double[] resultYA = to[INDEX_Y]; double...
public class class_name { @Override public void setup(JavaStreamingContext jssc, CommandLine cli) throws Exception { String filtersArg = cli.getOptionValue("tweetFilters"); String[] filters = (filtersArg != null) ? filtersArg.split(",") : new String[0]; // start receiving a stream of tweets ... Java...
public class class_name { @Override public void setup(JavaStreamingContext jssc, CommandLine cli) throws Exception { String filtersArg = cli.getOptionValue("tweetFilters"); String[] filters = (filtersArg != null) ? filtersArg.split(",") : new String[0]; // start receiving a stream of tweets ... Java...
public class class_name { public void tagFile(String input,String output,String sep){ String s = tagFile(input,"\n"); try { OutputStreamWriter writer = new OutputStreamWriter(new FileOutputStream( output), "utf-8"); BufferedWriter bw = new BufferedWriter(writer); bw.write(s); bw.close(); ...
public class class_name { public void tagFile(String input,String output,String sep){ String s = tagFile(input,"\n"); try { OutputStreamWriter writer = new OutputStreamWriter(new FileOutputStream( output), "utf-8"); BufferedWriter bw = new BufferedWriter(writer); bw.write(s); // depends on con...
public class class_name { public <R> R getHeader(String name, R defaultValue) { if (headers().contains(name)) { return getHeader(name); } else { return defaultValue; } } }
public class class_name { public <R> R getHeader(String name, R defaultValue) { if (headers().contains(name)) { return getHeader(name); // depends on control dependency: [if], data = [none] } else { return defaultValue; // depends on control dependency: [if], data = [none] ...
public class class_name { public OperationFuture<List<Group>> defineInfrastructure(InfrastructureConfig... configs) { checkNotNull(configs, "array of InfrastructureConfig must be not null"); Arrays.asList(configs).stream() .map(InfrastructureConfig::getAlertPolicies) .flatMap(L...
public class class_name { public OperationFuture<List<Group>> defineInfrastructure(InfrastructureConfig... configs) { checkNotNull(configs, "array of InfrastructureConfig must be not null"); Arrays.asList(configs).stream() .map(InfrastructureConfig::getAlertPolicies) .flatMap(L...
public class class_name { static void push(Span span, boolean autoClose) { if (isCurrent(span)) { return; } setSpanContextInternal(new SpanContext(span, autoClose)); } }
public class class_name { static void push(Span span, boolean autoClose) { if (isCurrent(span)) { return; // depends on control dependency: [if], data = [none] } setSpanContextInternal(new SpanContext(span, autoClose)); } }
public class class_name { public static LinkedList<Word> tokenize(Analyzer morphoAnalyzer, String chunk, boolean bruteSplit) { if(bruteSplit) { LinkedList<Word> tokens = new LinkedList<Word>(); if (chunk == null) return tokens; String[] parts_of_string = chunk.trim().split(" "); for(String part :...
public class class_name { public static LinkedList<Word> tokenize(Analyzer morphoAnalyzer, String chunk, boolean bruteSplit) { if(bruteSplit) { LinkedList<Word> tokens = new LinkedList<Word>(); if (chunk == null) return tokens; String[] parts_of_string = chunk.trim().split(" "); for(String part :...
public class class_name { void scheduleOnPostNotificationExecutor(@NonNull Runnable runnable, /* Milliseconds */ long delay) { try { postExecutor.schedule(runnable, delay, TimeUnit.MILLISECONDS); } catch (RejectedExecutionException ignore) { } } }
public class class_name { void scheduleOnPostNotificationExecutor(@NonNull Runnable runnable, /* Milliseconds */ long delay) { try { postExecutor.schedule(runnable, delay, TimeUnit.MILLISECONDS); } // depends on control dependency: [try], data = [none] catch (RejectedExecutionException ignore) { } // d...
public class class_name { public boolean attachTimer(TimerID timerID) { final Node node = getAttachedTimersNode(true); if (!node.hasChild(timerID)) { node.addChild(Fqn.fromElements(timerID)); return true; } else { return false; } } }
public class class_name { public boolean attachTimer(TimerID timerID) { final Node node = getAttachedTimersNode(true); if (!node.hasChild(timerID)) { node.addChild(Fqn.fromElements(timerID)); // depends on control dependency: [if], data = [none] return true; // depends on control dependency: [if], data = [no...
public class class_name { public void trackDelayedAggregatedMetricsTenant(String tenantId, long collectionTimeMs, long delayTimeMs, List<String> delayedMetricNames) { if (isTrackingDelayedMetrics) { String logMessage = String.format("[TRACKER][DELAYED METRIC] Tenant sending delayed metrics %s", ten...
public class class_name { public void trackDelayedAggregatedMetricsTenant(String tenantId, long collectionTimeMs, long delayTimeMs, List<String> delayedMetricNames) { if (isTrackingDelayedMetrics) { String logMessage = String.format("[TRACKER][DELAYED METRIC] Tenant sending delayed metrics %s", ten...
public class class_name { public synchronized void shutdown() { // mark this as no longer running active = false; // close the socket try { if (socketNode != null) { socketNode.close(); socketNode = null; } } catch (Exception e) { getLogger().info("Excpetion closi...
public class class_name { public synchronized void shutdown() { // mark this as no longer running active = false; // close the socket try { if (socketNode != null) { socketNode.close(); // depends on control dependency: [if], data = [none] socketNode = null; // depends on control...
public class class_name { private void clearFacesEvents(FacesContext context) { if (context.getRenderResponse() || context.getResponseComplete()) { if (events != null) { for (List<FacesEvent> eventList : events) { if (eventList != null) { ...
public class class_name { private void clearFacesEvents(FacesContext context) { if (context.getRenderResponse() || context.getResponseComplete()) { if (events != null) { for (List<FacesEvent> eventList : events) { if (eventList != null) { ...
public class class_name { public EEnum getResourceObjectIncludeObjType() { if (resourceObjectIncludeObjTypeEEnum == null) { resourceObjectIncludeObjTypeEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(AfplibPackage.eNS_URI).getEClassifiers().get(189); } return resourceObjectIncludeObjTypeEEnum; } }
public class class_name { public EEnum getResourceObjectIncludeObjType() { if (resourceObjectIncludeObjTypeEEnum == null) { resourceObjectIncludeObjTypeEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(AfplibPackage.eNS_URI).getEClassifiers().get(189); // depends on control dependency: [if], data = [none] }...
public class class_name { public static void reset() throws StartupException { try { final InitialContext initCtx = new InitialContext(); final javax.naming.Context envCtx = (javax.naming.Context) initCtx.lookup("java:comp/env"); Context.DBTYPE = (AbstractDatabas...
public class class_name { public static void reset() throws StartupException { try { final InitialContext initCtx = new InitialContext(); final javax.naming.Context envCtx = (javax.naming.Context) initCtx.lookup("java:comp/env"); Context.DBTYPE = (AbstractDatabas...
public class class_name { private void processParentPage(PageWrapper parentPage, PageModificationContext context) { if (context.getDeletedPageKey() != null) { // We have a deleted page. Remove its pointer from the parent. parentPage.getPage().update(Collections.singletonList(PageEntry.n...
public class class_name { private void processParentPage(PageWrapper parentPage, PageModificationContext context) { if (context.getDeletedPageKey() != null) { // We have a deleted page. Remove its pointer from the parent. parentPage.getPage().update(Collections.singletonList(PageEntry.n...
public class class_name { public Object readArrayRaw(byte type, int len, Object resultingArray) { Class componentType = resultingArray.getClass().getComponentType(); if ( componentType == byte.class ) { byte[] barr = (byte[]) resultingArray; for ( int i = 0; i < len; i++ ) { ...
public class class_name { public Object readArrayRaw(byte type, int len, Object resultingArray) { Class componentType = resultingArray.getClass().getComponentType(); if ( componentType == byte.class ) { byte[] barr = (byte[]) resultingArray; for ( int i = 0; i < len; i++ ) { ...
public class class_name { public static void main(String[] args) { try { Path graknHome = Paths.get(Objects.requireNonNull(SystemProperty.CURRENT_DIRECTORY.value())); Path graknProperties = Paths.get(Objects.requireNonNull(SystemProperty.CONFIGURATION_FILE.value())); assert...
public class class_name { public static void main(String[] args) { try { Path graknHome = Paths.get(Objects.requireNonNull(SystemProperty.CURRENT_DIRECTORY.value())); Path graknProperties = Paths.get(Objects.requireNonNull(SystemProperty.CONFIGURATION_FILE.value())); assert...
public class class_name { synchronized void activate(ComponentContext componentContext) throws Exception { this.componentContext = componentContext; this.classAvailableTransformer = new ClassAvailableTransformer(this, instrumentation, includeBootstrap); this.transformer = new ProbeClassFileTran...
public class class_name { synchronized void activate(ComponentContext componentContext) throws Exception { this.componentContext = componentContext; this.classAvailableTransformer = new ClassAvailableTransformer(this, instrumentation, includeBootstrap); this.transformer = new ProbeClassFileTran...
public class class_name { @Override public E doDeserialize( JsonReader reader, JsonDeserializationContext ctx, JsonDeserializerParameters params ) { try { return Enum.valueOf( enumClass, reader.nextString() ); } catch ( IllegalArgumentException ex ) { if ( ctx.isReadUnknownE...
public class class_name { @Override public E doDeserialize( JsonReader reader, JsonDeserializationContext ctx, JsonDeserializerParameters params ) { try { return Enum.valueOf( enumClass, reader.nextString() ); // depends on control dependency: [try], data = [none] } catch ( IllegalArgum...
public class class_name { public TrieBuilder<T> addAll(Map<String, T> map) { for (Entry<String, T> entry : map.entrySet()) { add(entry.getKey(), entry.getValue()); } return this; } }
public class class_name { public TrieBuilder<T> addAll(Map<String, T> map) { for (Entry<String, T> entry : map.entrySet()) { add(entry.getKey(), entry.getValue()); // depends on control dependency: [for], data = [entry] } return this; } }
public class class_name { public ElementDefinitionDt addCondition( String theId) { if (myCondition == null) { myCondition = new java.util.ArrayList<IdDt>(); } myCondition.add(new IdDt(theId)); return this; } }
public class class_name { public ElementDefinitionDt addCondition( String theId) { if (myCondition == null) { myCondition = new java.util.ArrayList<IdDt>(); // depends on control dependency: [if], data = [none] } myCondition.add(new IdDt(theId)); return this; } }
public class class_name { @Override public ProjectFile read(String accessDatabaseFileName) throws MPXJException { try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); String url = "jdbc:odbc:DRIVER=Microsoft Access Driver (*.mdb);DBQ=" + accessDatabaseFileName; m_connection = ...
public class class_name { @Override public ProjectFile read(String accessDatabaseFileName) throws MPXJException { try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); String url = "jdbc:odbc:DRIVER=Microsoft Access Driver (*.mdb);DBQ=" + accessDatabaseFileName; m_connection = ...
public class class_name { private void doWork() { boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "doWork: " + ivTimer); TimedObjectWrapper timedObject; try { ivBeanId = ivBeanId.getInitializedBeanId()...
public class class_name { private void doWork() { boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "doWork: " + ivTimer); TimedObjectWrapper timedObject; try { ivBeanId = ivBeanId.getInitializedBeanId()...
public class class_name { public List<StepCandidate> collectCandidates(List<CandidateSteps> candidateSteps) { List<StepCandidate> collected = new ArrayList<>(); for (CandidateSteps steps : candidateSteps) { collected.addAll(steps.listCandidates()); } return collected; } ...
public class class_name { public List<StepCandidate> collectCandidates(List<CandidateSteps> candidateSteps) { List<StepCandidate> collected = new ArrayList<>(); for (CandidateSteps steps : candidateSteps) { collected.addAll(steps.listCandidates()); // depends on control dependency: [for], d...
public class class_name { public EClass getGCCBEZRG() { if (gccbezrgEClass == null) { gccbezrgEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(AfplibPackage.eNS_URI).getEClassifiers().get(493); } return gccbezrgEClass; } }
public class class_name { public EClass getGCCBEZRG() { if (gccbezrgEClass == null) { gccbezrgEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(AfplibPackage.eNS_URI).getEClassifiers().get(493); // depends on control dependency: [if], data = [none] } return gccbezrgEClass; } }
public class class_name { private static String _formatSizeForRead(long size, double SZU) { if (size < SZU) { return String.format("%d bytes", size); } double n = (double) size / SZU; if (n < SZU) { return String.format("%5.2f KB", n); } n = n / S...
public class class_name { private static String _formatSizeForRead(long size, double SZU) { if (size < SZU) { return String.format("%d bytes", size); // depends on control dependency: [if], data = [none] } double n = (double) size / SZU; if (n < SZU) { return Str...
public class class_name { public static void main(String[] args) { if (args.length < 2) { throw new IllegalArgumentException("Path and datasource are Mandatory"); } String workspacePath = args[0]; String databaseName = args[1]; String sourcePath = workspacePath + File.separator + ProjectMeta...
public class class_name { public static void main(String[] args) { if (args.length < 2) { throw new IllegalArgumentException("Path and datasource are Mandatory"); } String workspacePath = args[0]; String databaseName = args[1]; String sourcePath = workspacePath + File.separator + ProjectMeta...
public class class_name { @Pure public DoubleProperty x1Property() { if (this.p1.x == null) { this.p1.x = new SimpleDoubleProperty(this, MathFXAttributeNames.X1); } return this.p1.x; } }
public class class_name { @Pure public DoubleProperty x1Property() { if (this.p1.x == null) { this.p1.x = new SimpleDoubleProperty(this, MathFXAttributeNames.X1); // depends on control dependency: [if], data = [none] } return this.p1.x; } }
public class class_name { public int getActiveTab() { if (m_activeTab < 0) { String paramTab = getParamTab(); int tab = 1; if (CmsStringUtil.isNotEmpty(paramTab)) { try { tab = Integer.parseInt(paramTab); } catch (NumberFo...
public class class_name { public int getActiveTab() { if (m_activeTab < 0) { String paramTab = getParamTab(); int tab = 1; if (CmsStringUtil.isNotEmpty(paramTab)) { try { tab = Integer.parseInt(paramTab); // depends on control dependency:...
public class class_name { private KeyToken key(Token prev) { // Store keys as normal Strings; we don't want keys to contain spans. StringBuilder sb = new StringBuilder(); // Consume the opening '{'. consume(); while ((curChar >= 'a' && curChar <= 'z') || curChar == '_') { sb.append(curChar)...
public class class_name { private KeyToken key(Token prev) { // Store keys as normal Strings; we don't want keys to contain spans. StringBuilder sb = new StringBuilder(); // Consume the opening '{'. consume(); while ((curChar >= 'a' && curChar <= 'z') || curChar == '_') { sb.append(curChar)...