Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 1,228 for Equals (0.06 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

       * such a parameter.
       */
      fun parameter(name: String): String? {
        for (i in parameterNamesAndValues.indices step 2) {
          if (parameterNamesAndValues[i].equals(name, ignoreCase = true)) {
            return parameterNamesAndValues[i + 1]
          }
        }
        return null
      }
    
      @JvmName("-deprecated_type")
      @Deprecated(
        message = "moved to val",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:08 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/DfsImpl.java

                }
            }
    
            if (log.isTraceEnabled()) {
                log.trace("Have DC referral " + dr);
            }
    
            if (dr != null && domain.equals(dr.getServer()) && root.equals(dr.getShare())) {
                // If we do cache these we never get to the properly cached
                // standalone referral we might have.
                log.warn("Dropping self-referential referral " + dr);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

      public Hasher newHasher() {
        return new Murmur3_32Hasher(seed);
      }
    
      @Override
      public String toString() {
        return "Hashing.murmur3_32(" + seed + ")";
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof Murmur3_32HashFunction) {
          Murmur3_32HashFunction other = (Murmur3_32HashFunction) object;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       * over keys in the order they were first encountered in the input, and the values for each key
       * are iterated in the order they were encountered. If two values for the same key are {@linkplain
       * Object#equals equal}, the first value encountered is used.
       *
       * @throws NullPointerException if any key, value, or entry is null
       * @since 19.0
       */
      public static <K, V> ImmutableSetMultimap<K, V> copyOf(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            boolean foundTestMethod = false;
            for (StackTraceElement element : exception.getStackTrace()) {
                if (element.getMethodName().equals("test_stackTrace") && element.getClassName().equals(this.getClass().getName())) {
                    foundTestMethod = true;
                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

            key.encode(buffer, 2);
    
            for (int i = 0; i < 16; i++) {
                assertEquals(testBytes[i], buffer[i + 2]);
            }
        }
    
        @Test
        @DisplayName("Should implement equals correctly")
        void testEquals() {
            byte[] testBytes1 = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // Then - Nonces should be unique (SMB3 compliant: random + counter)
            assertFalse(Arrays.equals(nonce1, nonce2), "Nonces should be different");
            assertFalse(Arrays.equals(nonce2, nonce3), "Nonces should be different");
            assertFalse(Arrays.equals(nonce1, nonce3), "Nonces should be different");
    
            // Nonces should have proper size
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            assertNotNull(salt1);
            assertNotNull(salt2);
            assertEquals(32, salt1.length); // 32 bytes as per SMB 3.1.1 spec
            assertEquals(32, salt2.length);
            assertFalse(java.util.Arrays.equals(salt1, salt2)); // Should be different
        }
    
        @Test
        @DisplayName("Test session initialization")
        public void testSessionInitialization() throws CIFSException {
            String sessionId = "test-session-1";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

         * implement equals(), such as most Queue implementations, will get the same behavior from our
         * value-collection wrappers (and from Multimap.equals) as from the underlying Collection.
         */
        @SuppressWarnings("UndefinedEquals")
        public boolean equals(@Nullable Object object) {
          if (object == this) {
            return true;
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/PathValidator.java

            }
    
            // Check for standalone double dots that could be dangerous
            String[] parts = path.split("[\\\\/]");
            for (String part : parts) {
                if (".".equals(part) || "..".equals(part)) {
                    return true;
                }
            }
    
            return false;
        }
    
        /**
         * Normalize a path
         */
        private String normalizePath(String path) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top