Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 80 for 42 (0.01 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

      }
    
      @SuppressWarnings("ReturnValueIgnored")
      public void testMaximumWeight_withWeigher() {
        CacheBuilder<Object, Object> builder = CacheBuilder.from(parse("maximumWeight=9000"));
        builder.weigher(constantWeigher(42)).build(CacheLoader.from(Suppliers.ofInstance(null)));
      }
    
      @SuppressWarnings("ReturnValueIgnored")
      public void testMaximumWeight_withoutWeigher() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            Map<String, Object> doc = new HashMap<>();
    
            assertEquals("default", DocumentUtil.getValue(doc, "nonexistent", String.class, "default"));
            assertEquals(Integer.valueOf(42), DocumentUtil.getValue(doc, "nonexistent", Integer.class, 42));
            assertEquals(Long.valueOf(123L), DocumentUtil.getValue(doc, "nonexistent", Long.class, 123L));
    
            doc.put("key", "value");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

      public void undirectedNetwork() {
        testNetworkMutation(NetworkBuilder.undirected());
      }
    
      private static void testNetworkMutation(NetworkBuilder<? super Integer, Object> networkBuilder) {
        Random gen = new Random(42); // Fixed seed so test results are deterministic.
    
        for (int trial = 0; trial < NUM_TRIALS; ++trial) {
          MutableNetwork<Integer, Object> network =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/GraphMutationTest.java

      }
    
      @Test
      public void undirectedGraph() {
        testGraphMutation(GraphBuilder.undirected());
      }
    
      private static void testGraphMutation(GraphBuilder<? super Integer> graphBuilder) {
        Random gen = new Random(42); // Fixed seed so test results are deterministic.
    
        for (int trial = 0; trial < NUM_TRIALS; ++trial) {
          MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            assertSame(dataMap, result);
        }
    
        public void test_addClickCountField() {
            searchLogHelper.clickCount = 42;
    
            Map<String, Object> doc = new HashMap<>();
            indexUpdateCallback.addClickCountField(doc, "http://example.com", "click_count");
    
            assertEquals(42, doc.get("click_count"));
        }
    
        public void test_addFavoriteCountField() {
            searchLogHelper.favoriteCount = 99L;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

      }
    
      public void testCodePointAt_indexOutOfBoundsException() {
        assertThrows(
            IndexOutOfBoundsException.class, () -> UnicodeEscaper.codePointAt("Testing...", 4, 2));
      }
    
      private static String escapeAsString(Escaper e, String s) {
        return e.escape(s);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          return;
        }
        out.write(data);
        assertTrue(Arrays.equals(data, source.read()));
    
        out.close();
        assertThrows(IOException.class, () -> out.write(42));
    
        // Verify that write had no effect
        assertTrue(Arrays.equals(data, source.read()));
        out.reset();
      }
    
      public void testReset() throws Exception {
        byte[] data = newPreFilledByteArray(100);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

      }
    
      public void testCodePointAt_indexOutOfBoundsException() {
        assertThrows(
            IndexOutOfBoundsException.class, () -> UnicodeEscaper.codePointAt("Testing...", 4, 2));
      }
    
      private static String escapeAsString(Escaper e, String s) {
        return e.escape(s);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/main/webapp/css/admin/respond.min.js

    /*! Respond.js v1.4.2: min/max-width media query polyfill * Copyright 2013 Scott Jehl
     * Licensed under https://github.com/scottjehl/Respond/blob/master/LICENSE-MIT
     *  */
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Oct 08 12:14:13 UTC 2015
    - 4.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

      }
    
      @Test
      public void undirectedGraph() {
        testGraphMutation(GraphBuilder.undirected());
      }
    
      private static void testGraphMutation(GraphBuilder<? super Integer> graphBuilder) {
        Random gen = new Random(42); // Fixed seed so test results are deterministic.
    
        for (int trial = 0; trial < NUM_TRIALS; ++trial) {
          MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top