Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 3,679 for Same (0.02 sec)

  1. android/guava/src/com/google/common/cache/CacheBuilder.java

       * comparison to determine equality of keys. Its {@link Cache#asMap} view will therefore
       * technically violate the {@link Map} specification (in the same way that {@link IdentityHashMap}
       * does).
       *
       * <p>Entries with keys that have been garbage collected may be counted in {@link Cache#size}, but
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/PredicatesTest.java

        assertEqualHashCode(Predicates.or(p1, p2), Predicates.or(p1, p2));
    
        // While not a contractual requirement, we'd like the hash codes for ands
        // & ors of the same predicates to not collide.
        assertTrue(Predicates.and(p1, p2).hashCode() != Predicates.or(p1, p2).hashCode());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

      @SuppressWarnings("InlineMeInliner")
      public void testCompare() {
        for (double x : VALUES) {
          for (double y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage("%s, %s", x, y)
                .that(Doubles.compare(x, y))
                .isEqualTo(Double.compare(x, y));
          }
        }
      }
    
      public void testContains() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableList.java

            ? copyOf((Collection<? extends E>) elements)
            : copyOf(elements.iterator());
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/TraverserTest.java

       *   a
       *  / \
       * b   c
       *  \ /
       *   d
       * }
       */
      private static final SuccessorsFunction<Character> DIAMOND_GRAPH =
          createDirectedGraph("ab", "ac", "bd", "cd");
    
      /**
       * Same as {@link #DIAMOND_GRAPH}, but with an extra c->a edge and some self edges:
       *
       * {@snippet :
       *   a<>
       *  / \\
       * b   c
       *  \ /
       *   d<>
       * }
       *
       * {@code <>} indicates a self-loop
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 17:09:51 UTC 2025
    - 47.4K bytes
    - Viewed (2)
  6. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            NtlmPasswordAuthenticator auth3 = new NtlmPasswordAuthenticator("DOMAIN", "user", password3);
    
            // Test equality with same password
            assertEquals(auth1, auth2);
            assertEquals(auth1.hashCode(), auth2.hashCode());
    
            // Test inequality with different password
            assertNotEquals(auth1, auth3);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                buffer.putInt(4);
                buffer.putInt(1024);
    
                // When
                fileFsSizeInfo.decode(buffer.array(), 0, 24);
    
                // Then - multiple calls should return same values
                assertEquals(2000L * 4 * 1024, fileFsSizeInfo.getCapacity());
                assertEquals(2000L * 4 * 1024, fileFsSizeInfo.getCapacity());
                assertEquals(1000L * 4 * 1024, fileFsSizeInfo.getFree());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MultimapBuilder.java

      /*
       * Leaving K and V as upper bounds rather than the actual key and value types allows type
       * parameters to be left implicit more often. CacheBuilder uses the same technique.
       */
    
      private MultimapBuilder() {}
    
      private static final int DEFAULT_EXPECTED_KEYS = 8;
    
      /** Uses a hash table to map keys to value collections. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 18K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

        assertFailsWith<IllegalStateException> {
          client.newCall(request).execute()
        }.also { expected ->
          assertThat(expected.message).isEqualTo(
            "network interceptor $interceptor must retain the same host and port",
          )
        }
      }
    
      @Test
      fun networkInterceptorsHaveConnectionAccess() {
        server.enqueue(MockResponse())
        val interceptor =
          Interceptor { chain: Interceptor.Chain ->
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 16:11:23 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                }
            };
        }
    
        /**
         * Returns an enumeration of all the keys in this property list, including distinct keys in the default property
         * list if a key of the same name has not already been found from the main properties list.
         *
         * @return an enumeration of all the keys in this property list, including the keys in the default property list.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 38.4K bytes
    - Viewed (0)
Back to top