Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 255 for explicit (0.76 sec)

  1. guava/src/com/google/common/graph/EndpointPair.java

          // return condition1 || condition2;
          if (nodeU().equals(other.nodeU())) { // check condition1
            // Here's the tricky bit. We don't have to explicitly check for condition2 in this case.
            // Why? The second half of condition2 requires that nodeV equals other.nodeU.
            // We already know that nodeU equals other.nodeU. Combined with the earlier statement,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Route.kt

    /**
     * The concrete route used by a connection to reach an abstract origin server. When creating a
     * connection the client has many options:
     *
     *  * **HTTP proxy:** a proxy server may be explicitly configured for the client. Otherwise, the
     *    [proxy selector][java.net.ProxySelector] is used. It may return multiple proxies to attempt.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java

        assertEquals("foo=null", entry("foo", NV).toString());
        assertEquals("null=null", entry(NK, NV).toString());
      }
    
      public void testEquals() {
        Entry<String, Integer> foo1 = entry("foo", 1);
        // Explicitly call `equals`; `assertEquals` might return fast
        assertTrue(foo1.equals(foo1));
        assertEquals(control("foo", 1), foo1);
        assertEquals(control("bar", 2), entry("bar", 2));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java

     */
    @GwtCompatible
    @NullUnmarked
    final class UrlEscaperTesting {
      /**
       * Helper to assert common expected behaviour of uri escapers. You should call
       * assertBasicUrlEscaper() unless the escaper explicitly does not escape '%'.
       */
      static void assertBasicUrlEscaperExceptPercent(UnicodeEscaper e) {
        // URL escapers should throw null pointer exceptions for null input
        try {
          e.escape((String) null);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

       * IllegalArgumentException}.
       */
      public void testBadArguments_badchars() {
        String msg = "Alphanumeric characters are always 'safe' and should not be explicitly specified";
        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> new PercentEscaper("-+#abc.!", false));
        assertThat(expected).hasMessageThat().isEqualTo(msg);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

                        notifications.add(notification);
                      }
                    })
                .build();
        cache.put(1, 2);
    
        // explicitly remove the existing value
        cache.asMap().computeIfPresent(1, (key, value) -> null);
        assertThat(notifications).hasSize(1);
        CacheTesting.checkEmpty(cache);
    
        // ensure no zombie entry remains
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractSetMultimap.java

        return (Set<V>) super.replaceValues(key, values);
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Though the method signature doesn't say so explicitly, the returned map has {@link Set}
       * values.
       */
      @Override
      public Map<K, Collection<V>> asMap() {
        return super.asMap();
      }
    
      /**
       * Stores a key-value pair in the multimap.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 13:05:10 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

     *     .test();
     * }
     *
     * <p>Note that testing {@link Object#equals(Object)} is more simply done using the {@link
     * EqualsTester}. It includes an extra test against an instance of an arbitrary class without having
     * to explicitly add another equivalence group.
     *
     * @author Gregory Kick
     * @since 10.0
     */
    @GwtCompatible
    @NullMarked
    public final class EquivalenceTester<T> {
      private static final int REPETITIONS = 3;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt

      }
    
      /**
       * Shortens the last frame from its original length to `length`. This will cause the peer to
       * close the socket as soon as this frame has been written; otherwise the peer stays open until
       * explicitly closed.
       */
      fun truncateLastFrame(length: Int): Http2Writer {
        val lastFrame = outFrames.removeAt(outFrames.size - 1)
        require(length < bytesOut.size - lastFrame.start)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

                // expected
                assertTrue(e.getMessage().contains("Not found the classification: null"));
            } catch (NullPointerException e) {
                // Also acceptable if null is not handled explicitly
            }
        }
    
        public void test_findOnMainSchema_alwaysReturnsNull() {
            // Since the implementation always returns null (no DBFlute classification used),
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top