Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 1,140 for match4 (0.25 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapRemoveTester.java

      }
    
      @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_KEY_QUERIES)
      public void testRemove_nullKeyQueriesUnsupported() {
        try {
          assertFalse(getMap().remove(null, v3()));
        } catch (NullPointerException tolerated) {
          // since the operation would be a no-op, the exception is not required
        }
        expectUnchanged();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java

      }
    
      @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_KEY_QUERIES)
      public void testRemove_nullKeyQueriesUnsupported() {
        try {
          assertFalse(getMap().remove(null, v3()));
        } catch (NullPointerException tolerated) {
          // since the operation would be a no-op, the exception is not required
        }
        expectUnchanged();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapRemoveTester.java

      }
    
      @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_KEY_QUERIES)
      public void testRemove_nullKeyQueriesUnsupported() {
        try {
          assertFalse(getMap().remove(null, v3()));
        } catch (NullPointerException tolerated) {
          // since the operation would be a no-op, the exception is not required
        }
        expectUnchanged();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/joblog/AdminJoblogAction.java

        //                                                                        Small Helper
        //                                                                        ============
        /**
         * Verifies that the CRUD mode matches the expected mode.
         *
         * @param crudMode the actual CRUD mode
         * @param expectedMode the expected CRUD mode
         */
        protected void verifyCrudMode(final int crudMode, final int expectedMode) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

                    try {
                        File tempFile = File.createTempFile(prefix, suffix);
                        tempFile.deleteOnExit();
                        return tempFile;
                    } catch (IOException e) {
                        throw new RuntimeException(e);
                    }
                }
            };
            systemHelper.init();
            ComponentUtil.register(systemHelper, "systemHelper");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSet.java

    import static com.google.common.math.IntMath.sqrt;
    import static java.lang.Math.max;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.math.IntMath;
    import com.google.common.primitives.Ints;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/SmbCircuitBreaker.java

                // Calculate 95th percentile
                long[] sortedTimes = responseTimeHistory.stream().mapToLong(Long::longValue).sorted().toArray();
                int p95Index = (int) Math.ceil(0.95 * sortedTimes.length) - 1;
                p95Index = Math.max(0, Math.min(p95Index, sortedTimes.length - 1));
                p95ResponseTime.set(sortedTimes[p95Index]);
            }
        }
    
        /**
         * Exception thrown when circuit breaker is open
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

            // Check format with class name, colon, count, and newline
            String[] lines = result.split("\n");
            assertEquals(2, lines.length);
            assertTrue(lines[0].matches("TestScoreBooster : \\d+"));
            assertTrue(lines[1].matches("TestScoreBooster : \\d+"));
        }
    
        // Test with null pointer exception
        public void test_execute_nullPointerException() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/TestLocking.java

                            }
                            in.close();
                        }
                    } catch (final IOException ioe) {
                        logger.error("I/O error occurred: {}", ioe.getMessage(), ioe);
                    }
    
                }
            } catch (final Exception e) {
                logger.error("Error in test execution", e);
            } finally {
                numComplete++;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

          this.everyMillis = everyMillis;
          this.interruptee = interruptee;
        }
    
        @Override
        public void run() {
          while (true) {
            try {
              Thread.sleep(everyMillis);
            } catch (InterruptedException e) {
              // ok. just stop sleeping.
            }
            if (shouldStop) {
              break;
            }
            interruptee.interrupt();
          }
        }
    
        void stopInterrupting() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top