Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1281 - 1290 of 3,818 for Avoid (0.04 sec)

  1. guava-tests/test/com/google/common/reflect/ClassPathTest.java

      }
    
      @AndroidIncompatible // Android forbids null parent ClassLoader
      public void testClassPathEntries_emptyURLClassLoader_noParent() {
        assertThat(ClassPath.getClassPathEntries(new URLClassLoader(new URL[0], null)).keySet())
            .isEmpty();
      }
    
      @AndroidIncompatible // Android forbids null parent ClassLoader
      public void testClassPathEntries_urlClassLoader_noParent() throws Exception {
        URL url1 = new URL("file:/a");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

        TEST_BIG_INTEGERS = testBigIntegersBuilder.build();
      }
    
      public void testAsUnsignedAndLongValueAreInverses() {
        for (long value : TEST_LONGS) {
          assertWithMessage(UnsignedLongs.toString(value))
              .that(UnsignedLong.fromLongBits(value).longValue())
              .isEqualTo(value);
        }
      }
    
      public void testAsUnsignedBigIntegerValue() {
        for (long value : TEST_LONGS) {
          BigInteger expected =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

        public void test_getTika_hpp() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/program/test.hpp");
            final ExtractData extractData = tikaExtractor.getText(in, null);
            final String content = extractData.getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("ใƒ†ใ‚นใƒˆ"));
        }
    
        public void test_getTika_sh() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/AbstractCache.java

      }
    
      /** @since 11.0 */
      @Override
      public void put(K key, V value) {
        throw new UnsupportedOperationException();
      }
    
      /** @since 12.0 */
      @Override
      public void putAll(Map<? extends K, ? extends V> m) {
        for (Entry<? extends K, ? extends V> entry : m.entrySet()) {
          put(entry.getKey(), entry.getValue());
        }
      }
    
      @Override
      public void cleanUp() {}
    
      @Override
      public long size() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            map = new ArrayMap<String, String>();
            map.put(null, null);
            map.put("1", "test");
            map.put("2", "test2");
        }
    
        /**
         * @throws Exception
         */
        @After
        public void tearDown() throws Exception {
            map = null;
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

                }
            }
        }
    
        public void cleanup(final String sessionId) {
            // TODO transaction?
            urlQueueService.delete(sessionId);
            dataService.delete(sessionId);
            urlFilter.clear();
        }
    
        @Override
        public void close() {
            clientFactory.close();
        }
    
        public void addIncludeFilter(final String regexp) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      // maximum size, size of initial contents, default capacity...
    
      private static void checkNatural(MinMaxPriorityQueue<Integer> queue) {
        assertSame(Ordering.natural(), queue.comparator());
      }
    
      private static void checkUnbounded(MinMaxPriorityQueue<Integer> queue) {
        assertEquals(Integer.MAX_VALUE, queue.maximumSize);
      }
    
      public void testHeapIntact() {
        Random random = new Random(0);
        int heapSize = 99;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

            .test();
      }
    
      public void testRoundToDouble_smallPositive() {
        new RoundToDoubleTester(BigDecimal.valueOf(16)).setExpectation(16.0, values()).test();
      }
    
      public void testRoundToDouble_maxPreciselyRepresentable() {
        new RoundToDoubleTester(BigDecimal.valueOf(1L << 53))
            .setExpectation(Math.pow(2, 53), values())
            .test();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

          }
        }
      }
    
      public void testMax_noArgs() {
        assertThrows(IllegalArgumentException.class, () -> max());
      }
    
      public void testMax() {
        assertThat(max(LEAST)).isEqualTo(LEAST);
        assertThat(max(GREATEST)).isEqualTo(GREATEST);
        assertThat(max((byte) 0, (byte) -128, (byte) -1, (byte) 127, (byte) 1)).isEqualTo((byte) 255);
      }
    
      public void testMin_noArgs() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

    public class ExecutionListBenchmark {
      private static final int NUM_THREADS = 10; // make a param?
    
      // simple interface to wrap our two implementations.
      interface ExecutionListWrapper {
        void add(Runnable runnable, Executor executor);
    
        void execute();
        /** Returns the underlying implementation, useful for the Footprint benchmark. */
        Object getImpl();
      }
    
      enum Impl {
        NEW {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top