Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2061 - 2070 of 2,802 for inst (0.18 sec)

  1. android/guava/src/com/google/common/reflect/Invokable.java

     * will resolve the type parameters of the method or constructor in the context of the owner type,
     * which may be a subtype of the declaring class. For example:
     *
     * {@snippet :
     * Method getMethod = List.class.getMethod("get", int.class);
     * Invokable<List<String>, ?> invokable = new TypeToken<List<String>>() {}.method(getMethod);
     * assertEquals(TypeToken.of(String.class), invokable.getReturnType()); // Not Object.class!
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

            CacheBuilder.newBuilder().weakValues().build(countingLoader);
        ConcurrentMap<Object, Object> map = cache.asMap();
    
        int iterations = 10;
        WeakReference<Object> ref = new WeakReference<>(null);
        int expectedComputations = 0;
        for (int i = 0; i < iterations; i++) {
          // The entry should get garbage collected and recomputed.
          Object oldValue = ref.get();
          if (oldValue == null) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

        }
    
        @Test
        public void testCreateSuggestTextIdWithLongText() {
            // Test text that exceeds maximum length after encoding
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 500; i++) {
                sb.append("0123456789");
            }
            String longText = sb.toString();
            String id = SuggestUtil.createSuggestTextId(longText);
            assertNotNull(id);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiKatakanaStemmerFactory.java

    import org.opensearch.index.IndexSettings;
    import org.opensearch.index.analysis.AbstractTokenFilterFactory;
    
    public class KuromojiKatakanaStemmerFactory extends AbstractTokenFilterFactory {
    
        private final int minimumLength;
    
        public KuromojiKatakanaStemmerFactory(IndexSettings indexSettings, Environment environment, String name, Settings settings) {
            super(indexSettings, name, settings);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

          for (int bytes = 4; bytes <= digest.getDigestLength(); bytes++) {
            assertEquals(
                HashCode.fromBytes(Arrays.copyOf(digest.digest(input), bytes)),
                new MessageDigestHashFunction(algorithmName, bytes, algorithmName).hashBytes(input));
          }
          try {
            int maxSize = digest.getDigestLength();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

                        .actionGet(settings.getSearchTimeout());
                String scrollId = response.getScrollId();
    
                final Map<String, Object>[] array = new Map[(int) response.getHits().getTotalHits().value()];
    
                int count = 0;
                try {
                    while (scrollId != null) {
                        final SearchHit[] hits = response.getHits().getHits();
                        if (hits.length == 0) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        try {
          multiset.add(sampleElement, 2);
          fail("add(Object, int) succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
        assertCollectionsAreEquivalent(multiset, copy);
    
        try {
          multiset.remove(sampleElement, 2);
          fail("remove(Object, int) succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/Collections2Test.java

        } catch (NoSuchElementException expected) {
        }
      }
    
      private <T> void assertPermutationsCount(int expected, Collection<List<T>> permutationSet) {
        assertEquals(expected, permutationSet.size());
        Iterator<List<T>> permutations = permutationSet.iterator();
        for (int i = 0; i < expected; i++) {
          assertTrue(permutations.hasNext());
          permutations.next();
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  9. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

              .apply {
                init(null as KeyStore?)
              }.trustManagers
              .first() as X509TrustManager
    
          val sslContext =
            Platform.get().newSSLContext().apply {
              // TODO remove most of this code after https://github.com/bcgit/bc-java/issues/686
              init(null, arrayOf(trustManager), SecureRandom())
            }
    
          client =
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

            assertNotNull(unicodeStringTrue.buffer, "Buffer should not be null");
            assertEquals(testStringTrue.length() + 1, unicodeStringTrue.buffer.length, "Buffer length should include zterm");
            for (int i = 0; i < testStringTrue.length(); i++) {
                assertEquals(testStringTrue.charAt(i), (char) unicodeStringTrue.buffer[i], "Character mismatch");
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top