Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 403 for tout (0.47 sec)

  1. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

                    hmap.put("a" + String.valueOf(i), null);
                }
                System.out.println("HashMap.put:" + (System.currentTimeMillis() - start));
    
                start = System.currentTimeMillis();
                for (int i = 0; i < num; i++) {
                    cimap.put("a" + String.valueOf(i), null);
                }
                System.out.println("CaseInsensitiveMap.put:" + (System.currentTimeMillis() - start));
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testCopyToOutputStream() throws IOException {
        File i18nFile = getTestFile("i18n.txt");
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        Files.copy(i18nFile, out);
        assertEquals(I18N, out.toString("UTF-8"));
      }
    
      public void testCopyToAppendable() throws IOException {
        File i18nFile = getTestFile("i18n.txt");
        StringBuilder sb = new StringBuilder();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/ByteSinkTest.java

        sink = new TestByteSink();
      }
    
      public void testOpenBufferedStream() throws IOException {
        OutputStream out = sink.openBufferedStream();
        assertTrue(sink.wasStreamOpened());
        assertFalse(sink.wasStreamClosed());
    
        out.write(new byte[] {1, 2, 3, 4});
        out.close();
    
        assertTrue(sink.wasStreamClosed());
        assertArrayEquals(new byte[] {1, 2, 3, 4}, sink.getBytes());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/EmptyImmutableListMultimap.java

        super(ImmutableMap.<Object, ImmutableList<Object>>of(), 0);
      }
    
      /*
       * TODO(b/242884182): Figure out why this helps produce the same class file when we compile most
       * of common.collect a second time with the results of the first compilation on the classpath. Or
       * just back this out once we stop doing that (which we'll do after our internal GWT setup
       * changes).
       */
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 18 16:48:17 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          List<E> extremeValues = new ArrayList<>();
    
          // nulls are usually out of bounds for a subset, so ban them altogether
          for (Object o : elements) {
            if (o == null) {
              throw new NullPointerException();
            }
          }
    
          // prepare extreme values to be filtered out of view
          E firstExclusive = delegate.belowSamplesGreater();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

                assertTrue(scheduler.containsKey("running"));
                isRunning = (Boolean) scheduler.get("running");
            }
            if (300 <= count) {
                logger.info("Time out: Failed to start crawler)");
                fail(); // Time Out
            }
    
            logger.info("Crawler is running");
            count = 0;
            isRunning = true;
            while (count < 300 && isRunning) { // Wait until the crawler terminates
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/ResourcesTest.java

      }
    
      public void testCopyToOutputStream() throws IOException {
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        URL resource = getClass().getResource("testdata/i18n.txt");
        Resources.copy(resource, out);
        assertEquals(I18N, out.toString("UTF-8"));
      }
    
      public void testGetResource_notFound() {
        IllegalArgumentException e =
            assertThrows(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/log/ApiAdminLogAction.java

                final Path path = Paths.get(logFilePath, filename);
                return asStream(filename).contentTypeOctetStream().stream(out -> {
                    try (InputStream in = Files.newInputStream(path)) {
                        out.write(in);
                    }
                });
            }
            return StreamResponse.asEmptyBody();
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

            i++;
          }
        }
        clearSeenExceptions();
        handleAllCompleted();
        /*
         * Null out fields, including some used in handleAllCompleted() above (like
         * `CollectionFuture.values`). This might be a no-op: If this future completed during
         * handleAllCompleted(), they will already have been nulled out. But in the case of
         * whenAll*().call*(), this future may be pending until the callback runs -- or even longer in
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

         * to process and store tracking information ONLY into local repository, not to any other place. This method
         * filters out currently built artifacts, as events are fired for them as well, but their resolved artifact
         * file would point to checked out source-tree, not the local repository.
         * <p>
         * Visible for testing.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Apr 12 11:08:37 GMT 2023
    - 9.8K bytes
    - Viewed (0)
Back to top