Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 1,248 for equals (0.04 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            restrictions = version.getRestrictions();
            assertEquals(0, restrictions.size(), CHECK_NUM_RESTRICTIONS);
    
            assertFalse(
                    spec.equals(version),
                    "check !VersionRange.createFromVersionSpec(x).equals(VersionRange.createFromVersion(x))");
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableMultiset.java

       * elements are the result of applying {@code elementFunction} to the inputs, with counts equal to
       * the result of applying {@code countFunction} to the inputs.
       *
       * <p>If the mapped elements contain duplicates (according to {@link Object#equals}), the first
       * occurrence in encounter order appears in the resulting multiset, with count equal to the sum of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.java

                return null;
            });
            getUserBean().ifPresent(u -> {
                if (u.getFessUser() instanceof User && entity.getName().equals(u.getUserId())) {
                    throwValidationErrorApi(messages -> messages.addErrorsCouldNotDeleteLoggedInUser(GLOBAL));
                }
            });
            try {
                groupService.delete(entity);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            // Check that the current test method is in the stack trace
            boolean foundTestMethod = false;
            for (StackTraceElement element : stackTrace) {
                if (element.getMethodName().equals("test_stackTrace")) {
                    foundTestMethod = true;
                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
        public void test_throwAndCatch() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top