Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 333 for substring (0.06 sec)

  1. android/guava-tests/test/com/google/common/collect/Collections2Test.java

                      list.add((element == null) ? null : "q" + element);
                    }
                    return Collections2.transform(
                        list, from -> isNullOrEmpty(from) ? null : from.substring(1));
                  }
                })
            .named("Collections2.transform")
            .withFeatures(
                CollectionFeature.REMOVE_OPERATIONS,
                CollectionFeature.ALLOWS_NULL_VALUES,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

        assertThat(graphString).contains("allowsSelfLoops: " + graph.allowsSelfLoops());
    
        int nodeStart = graphString.indexOf("nodes:");
        int edgeStart = graphString.indexOf("edges:");
        String nodeString = graphString.substring(nodeStart, edgeStart);
    
        Network<N, EndpointPair<N>> asNetwork = graph.asNetwork();
        // Don't call AbstractNetworkTest.validateNetwork(asNetwork).  Mutual recursion.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            // Given
            int securityMode = Integer.decode(securityModeHex);
            int capabilities = (int) Long.parseLong(capabilitiesHex.substring(2), 16);
            Smb2SessionSetupRequest req = new Smb2SessionSetupRequest(mockContext, securityMode, capabilities, 0, null);
            byte[] buffer = new byte[512];
    
            // When
            req.encode(buffer, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            // Number of names
            src[srcIndex] = (byte) numNames;
    
            // Fill in name entries
            for (int i = 0; i < numNames; i++) {
                String name = String.format("NAME%02d          ", i).substring(0, 16);
                System.arraycopy(name.getBytes("US-ASCII"), 0, src, srcIndex + 1 + (i * 18), 16);
                src[srcIndex + 1 + (i * 18) + 15] = (byte) i; // Different hex codes
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            if (id.length() <= idPrefixLength) {
                return id;
            }
            return id.substring(0, idPrefixLength) + MessageDigestUtil.digest("SHA-256", id.substring(idPrefixLength));
        }
    
        /**
         * Extracts the URL from the target object using reflection.
         *
         * @param target The target object.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 34.3K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            String expected = getTestFile("target/test-classes/target/classes").getCanonicalPath();
    
            Build build = new Build();
            build.setDirectory(expected.substring(0, expected.length() - "/classes".length()));
    
            Model model = new Model();
            model.setBuild(build);
    
            MavenProject project = new MavenProject(model);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. src/bufio/scan.go

    	done         bool      // Scan has finished.
    }
    
    // SplitFunc is the signature of the split function used to tokenize the
    // input. The arguments are an initial substring of the remaining unprocessed
    // data and a flag, atEOF, that reports whether the [Reader] has no more data
    // to give. The return values are the number of bytes to advance the input
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed May 21 18:05:26 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

          this.valuePrefix = valuePrefix;
        }
    
        @Override
        public Integer load(String key) {
          wasCalled = true;
          return valuePrefix + Integer.parseInt(key.substring(keyPrefix.length()));
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/FinalizableReferenceQueue.java

          String urlString = finalizerUrl.toString();
          if (!urlString.endsWith(finalizerPath)) {
            throw new IOException("Unsupported path style: " + urlString);
          }
          urlString = urlString.substring(0, urlString.length() - finalizerPath.length());
          return new URL(finalizerUrl, urlString);
        }
    
        /** Creates a class loader with the given base URL as its classpath. */
        URLClassLoader newLoader(URL base) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/MediaType.java

          checkState(hasMore());
          int startPosition = position;
          position = matcher.negate().indexIn(input, startPosition);
          return hasMore() ? input.substring(startPosition, position) : input.substring(startPosition);
        }
    
        String consumeToken(CharMatcher matcher) {
          int startPosition = position;
          String token = consumeTokenIfPresent(matcher);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 01:46:40 UTC 2025
    - 48K bytes
    - Viewed (0)
Back to top