Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 1,228 for Equals (0.09 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

              val domainName = fromSource.readUtf8(domainNameLength.toLong())
              // Resolve HOSTNAME_THAT_ONLY_THE_PROXY_KNOWS to localhost.
              when {
                domainName.equals(HOSTNAME_THAT_ONLY_THE_PROXY_KNOWS, ignoreCase = true) -> {
                  InetAddress.getByName("localhost")
                }
                else -> InetAddress.getByName(domainName)
              }
            }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

        create().remove();
        create().add("foo");
        create().addAll(ImmutableList.of("foo"));
        create().clear();
        create().contains("foo");
        create().containsAll(ImmutableList.of("foo"));
        create().equals(new ArrayDeque<>(ImmutableList.of("foo")));
        create().hashCode();
        create().isEmpty();
        create().iterator();
        create().remove("foo");
        create().removeAll(ImmutableList.of("foo"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

              }
              return c;
            }
            return super.loadClass(name);
          }
        };
      }
    
      private static boolean isJava8() {
        return JAVA_SPECIFICATION_VERSION.value().equals("1.8");
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            // Verify the top of the stack trace contains this test method
            boolean foundTestMethod = false;
            for (StackTraceElement element : stackTrace) {
                if (element.getMethodName().equals("test_stackTracePresence")) {
                    foundTestMethod = true;
                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

        }
    
        int[] actual = Crc32cHashFunction.Crc32cHasher.byteTable;
        assertTrue(
            "Expected: \n" + Arrays.toString(expected) + "\nActual:\n" + Arrays.toString(actual),
            Arrays.equals(expected, actual));
      }
    
      static int advanceOneBit(int next) {
        if ((next & 1) != 0) {
          return (next >>> 1) ^ CRC32C_GENERATOR_FLIPPED;
        } else {
          return next >>> 1;
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

        @Test
        void testGetNameWithDefaultDomain() {
            NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("?", "user", "password");
            assertEquals("user", auth.getName());
        }
    
        // Test equals method
        @Test
        void testEquals() {
            NtlmPasswordAuthentication auth1 = new NtlmPasswordAuthentication("DOMAIN", "user", "password");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            String result2 = aggregateLogJob.execute();
            assertNotNull(result2);
            assertTrue(result2.contains("Error 2"));
    
            // Results should be independent
            assertFalse(result1.equals(result2));
        }
    
        public void test_execute_withEmptyStringException() {
            // Setup mock SearchLogHelper that throws exception with empty message
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/internal/Finalizer.java

         *
         * 2) To detect when FinalizableReference's class loader has to be garbage collected, at which
         * point, Finalizer can stop running
         */
        if (!finalizableReferenceClass.getName().equals(FINALIZABLE_REFERENCE)) {
          throw new IllegalArgumentException("Expected " + FINALIZABLE_REFERENCE + ".");
        }
    
        Finalizer finalizer = new Finalizer(finalizableReferenceClass, queue, frqReference);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java

          standardPutAll(map);
        }
    
        @Override
        public @Nullable V remove(Object object) {
          return standardRemove(object);
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return standardEquals(object);
        }
    
        @Override
        public int hashCode() {
          return standardHashCode();
        }
    
        @Override
        public Set<K> keySet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

      public Hasher newHasher() {
        return new Murmur3_128Hasher(seed);
      }
    
      @Override
      public String toString() {
        return "Hashing.murmur3_128(" + seed + ")";
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof Murmur3_128HashFunction) {
          Murmur3_128HashFunction other = (Murmur3_128HashFunction) object;
          return seed == other.seed;
        }
        return false;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top