Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 551 - 560 of 1,069 for match1 (0.04 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          assertTrue(observed.contains(striped.get(new Object())));
        }
    
        try {
          striped.getAt(-1);
          fail();
        } catch (RuntimeException expected) {
        }
    
        try {
          striped.getAt(striped.size());
          fail();
        } catch (RuntimeException expected) {
        }
      }
    
      public void testMaxSize() {
        for (Striped<?> striped :
            ImmutableList.of(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

          return comparator;
        }
        return NATURAL_ORDER;
      }
    
      @Override
      public boolean containsKey(Object key) {
        try {
          return delegate.containsKey(checkValid(key));
        } catch (NullPointerException | ClassCastException e) {
          return false;
        }
      }
    
      @Override
      public boolean containsValue(Object value) {
        return delegate.containsValue(value);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          assertTrue(observed.contains(striped.get(new Object())));
        }
    
        try {
          striped.getAt(-1);
          fail();
        } catch (RuntimeException expected) {
        }
    
        try {
          striped.getAt(striped.size());
          fail();
        } catch (RuntimeException expected) {
        }
      }
    
      public void testMaxSize() {
        for (Striped<?> striped :
            ImmutableList.of(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

      public void testRemove_unsupportedNotPresent() {
        try {
          assertNull(
              "remove(notPresent) should return null or throw UnsupportedOperationException",
              getMap().remove(k3()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
        expectMissing(e3());
      }
    
      @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_KEY_QUERIES)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 5.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/job/SuggestJob.java

                    throw new JobProcessingException(out.toString());
                }
                ComponentUtil.getPopularWordHelper().clearCache();
            } catch (final JobProcessingException e) {
                throw e;
            } catch (final Exception e) {
                throw new JobProcessingException("SuggestCreator Process terminated.", e);
            } finally {
                try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

            }
    
            final File parentFile = outputFile.getParentFile();
            final Path parentPath = parentFile.toPath();
            try {
                Files.createDirectories(parentPath);
            } catch (final IOException e) {
                logger.warn("Failed to create parent directory: {}", parentFile.getAbsolutePath(), e);
                return false;
            }
    
            return process(thumbnailId, responseData -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/math/StatsTesting.java

            fail("Expected IllegalStateException");
          } catch (IllegalStateException expected) {
          }
          try {
            actualStats.populationVariance();
            fail("Expected IllegalStateException");
          } catch (IllegalStateException expected) {
          }
          try {
            actualStats.min();
            fail("Expected IllegalStateException");
          } catch (IllegalStateException expected) {
          }
          try {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 24K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

            } catch (Exception e) {
                return null;
            }
        }
    
        private SSLSocketFactory getSSLSocketFactory(CurlHelper curlHelper) {
            try {
                Field field = CurlHelper.class.getDeclaredField("sslSocketFactory");
                field.setAccessible(true);
                return (SSLSocketFactory) field.get(curlHelper);
            } catch (Exception e) {
                return null;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

          fail("expected to be interrupted");
        } catch (InterruptedException expected) {
        } catch (TimeoutException e) {
          throw new RuntimeException(e);
        }
    
        // we were interrupted, but it's been cleared now
        assertFalse(Thread.interrupted());
    
        assertFalse(sleeper.completed);
        try {
          assertTrue(delayedFuture.get());
        } catch (InterruptedException e) {
          throw new RuntimeException(e);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

              getMap()
                  .computeIfAbsent(
                      k0(),
                      k -> {
                        assertEquals(k0(), k);
                        return v0();
                      }));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 6.7K bytes
    - Click Count (0)
Back to Top