Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1841 - 1850 of 2,077 for boolean (0.07 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

          RangeSet<Integer> mutable = TreeRangeSet.create();
          ImmutableRangeSet.Builder<Integer> builder = ImmutableRangeSet.builder();
    
          boolean anyOverlaps = false;
          for (Range<Integer> range : subset) {
            boolean overlaps = false;
            for (Range<Integer> other : mutable.asRanges()) {
              if (other.isConnected(range) && !other.intersection(range).isEmpty()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableTable.java

       * as well.
       */
      @Override
      public abstract ImmutableMap<R, Map<C, V>> rowMap();
    
      @Override
      public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) {
        return get(rowKey, columnKey) != null;
      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        return values().contains(value);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

          }
    
          @Override
          public int hashCode() {
            return a;
          }
    
          @Override
          public boolean equals(@Nullable Object obj) {
            return obj instanceof TypeWithDuplicates && ((TypeWithDuplicates) obj).a == a;
          }
    
          boolean fullEquals(@Nullable TypeWithDuplicates other) {
            return other != null && a == other.a && b == other.b;
          }
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

      private static final class RoundToDoubleTester {
        private final BigDecimal input;
        private final Map<RoundingMode, Double> expectedValues = new EnumMap<>(RoundingMode.class);
        private boolean unnecessaryShouldThrow = false;
    
        RoundToDoubleTester(BigDecimal input) {
          this.input = input;
        }
    
        @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

                nameServiceClient.getNodeStatus(mockNetbiosAddress);
            }, "Should throw UnknownHostException when node status cannot be retrieved");
        }
    
        @Test
        @DisplayName("Should handle getByName with boolean flag")
        void testGetByNameWithFlag() throws UnknownHostException {
            // When
            Address address = nameServiceClient.getByName("localhost", false);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/ExecJobTest.java

        // Concrete implementation for testing
        private static class TestExecJob extends ExecJob {
            private String executeType = "test";
            private String executeResult = "success";
            private boolean throwException = false;
    
            @Override
            public String execute() {
                if (throwException) {
                    throw new RuntimeException("Test exception");
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt

          "ConnectStart",
          "ConnectEnd",
          "ConnectionAcquired",
          "ConnectionReleased",
        )
      }
    
      @ParameterizedTest
      @ValueSource(booleans = [false, true])
      fun proxyMoveTest(cleanClose: Boolean) {
        // Define a single Proxy at myproxy:8008 that will artificially move during the test
        val proxySelector = RecordingProxySelector()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/BadWordService.java

                    if (StringUtil.isBlank(targetWord)) {
                        // skip
                        continue;
                    }
                    try {
                        boolean isDelete = false;
                        if (targetWord.startsWith(DELETE_PREFIX)) {
                            isDelete = true;
                            targetWord = targetWord.substring(2);
                        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java

         * Validates whether a file configuration ID exists.
         *
         * @param fileconfigId the file configuration ID to validate
         * @return true if the file configuration exists, false otherwise
         */
        protected Boolean isValidFileConfigId(final String fileconfigId) {
            return fileConfigService.getFileConfig(fileconfigId).isPresent();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

          assertFalse(
              "Should not contain key " + entry.getKey() + " mapped to value " + entry.getValue(),
              equal(getMap().get(entry.getKey()), entry.getValue()));
        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
      protected Entry<K, V> entry(K key, V value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top