Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 4,816 for newE (0.06 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java

      public void testForEachKnownOrder() {
        List<Entry<K, V>> entries = new ArrayList<>();
        getMap().forEach((k, v) -> entries.add(entry(k, v)));
        assertEquals(getOrderedElements(), entries);
      }
    
      @CollectionFeature.Require(absent = KNOWN_ORDER)
      public void testForEachUnknownOrder() {
        List<Entry<K, V>> entries = new ArrayList<>();
        getMap().forEach((k, v) -> entries.add(entry(k, v)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

              parentBuilder) {
        List<TestSuite> derivedSuites = new ArrayList<>(super.createDerivedSuites(parentBuilder));
    
        if (parentBuilder.getFeatures().contains(SERIALIZABLE)) {
          derivedSuites.add(
              SetTestSuiteBuilder.using(
                      new ReserializedSetGenerator<E>(parentBuilder.getSubjectGenerator()))
                  .named(getName() + " reserialized")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

            if (!artifact.isSnapshot() || Artifact.LATEST_VERSION.equals(artifact.getBaseVersion())) {
                metadata = new ArtifactRepositoryMetadata(artifact);
            } else {
                metadata = new SnapshotArtifactRepositoryMetadata(artifact);
            }
    
            repositoryMetadataManager.resolve(metadata, request);
    
            artifact.addMetadata(metadata);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java

        }
    
        public void pushText(String rawCommentText) {
            if (rawCommentText == null) {
                return;
            }
    
            StringBuilder builder = new StringBuilder();
            try {
                BufferedReader reader = new BufferedReader(new StringReader(rawCommentText));
                String line;
                while ((line = reader.readLine()) != null) {
                    line = line.replaceFirst("\\s*\\* ?", "");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java

        protected Map<String, String> featureMap = new HashMap<>();
    
        protected Map<String, String> propertyMap = new HashMap<>();
    
        protected String contentXpath = "//BODY";
    
        protected Map<String, String> metadataXpathMap = new HashMap<>();
    
        private final ThreadLocal<XPathAPI> xpathAPI = new ThreadLocal<>();
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        final AtomicBoolean interruptedExceptionThrown = new AtomicBoolean();
        final CountDownLatch enterLatch = new CountDownLatch(1);
        final CountDownLatch exitLatch = new CountDownLatch(1);
        final TrustedListenableFutureTask<Integer> task =
            TrustedListenableFutureTask.create(
                new Callable<Integer>() {
                  @Override
                  public Integer call() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

            this.docRoot = docRoot;
    
            server = new Server(port);
    
            final ResourceHandler resource_handler = new ResourceHandler();
            resource_handler.setWelcomeFiles(new String[] { "index.html" });
            resource_handler.setResourceBase(docRoot.getAbsolutePath());
            Log.info("serving " + resource_handler.getBaseResource());
            final HandlerList handlers = new HandlerList();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

        HashCode expectedHash = Hashing.md5().hashBytes(new byte[] {'m', 's'});
        HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer);
    
        long numOfByteSkipped = in.skip(2);
        assertEquals(2, numOfByteSkipped);
    
        byte[] buf = new byte[4];
        int numOfByteRead = in.read(buf, 0, buf.length);
        assertEquals(2, numOfByteRead);
    
        assertEquals(expectedHash, in.hash());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

        HashCode expectedHash = Hashing.md5().hashBytes(new byte[] {'m', 's'});
        HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer);
    
        long numOfByteSkipped = in.skip(2);
        assertEquals(2, numOfByteSkipped);
    
        byte[] buf = new byte[4];
        int numOfByteRead = in.read(buf, 0, buf.length);
        assertEquals(2, numOfByteRead);
    
        assertEquals(expectedHash, in.hash());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

        for (double x : VALUES) {
          AtomicDouble a = new AtomicDouble(x);
          assertBitEquals(x, a.get());
        }
      }
    
      /** default constructed initializes to zero */
      public void testConstructor2() {
        AtomicDouble a = new AtomicDouble();
        assertBitEquals(0.0, a.get());
      }
    
      /** get returns the last value set */
      public void testGetSet() {
        AtomicDouble at = new AtomicDouble(1.0);
        assertBitEquals(1.0, at.get());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top