Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 491 - 500 of 613 for needs (0.16 seconds)

  1. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

     *       hunt through classes like {@link Arrays} and {@link Longs} for them.
     *   <li>Supports a copy-free {@link #subArray} view, so methods that accept this type don't need to
     *       add overloads that accept start and end indexes.
     *   <li>Can be streamed without "breaking the chain": {@code foo.getBarLongs().stream()...}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/reflect/TypeResolver.java

       * matches.
       *
       * <p>On the other hand, if for example we are resolving {@code List<A extends B>} to {@code
       * List<A extends String>}, we need to compare that {@code <A extends B>} is unequal to {@code <A
       * extends String>} in order to decide to use the transformed type instead of the original type.
       */
      static final class TypeVariableKey {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 22:30:05 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/cache/CacheBuilder.java

       * is {@code 60}, and the concurrency level is {@code 8}, then eight segments are created, each
       * having a hash table of size eight. Providing a large enough estimate at construction time
       * avoids the need for expensive resizing operations later, but setting this value unnecessarily
       * high wastes memory.
       *
       * @return this {@code CacheBuilder} instance (for chaining)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableSortedMap.java

          default:
            Object[] keys = new Object[size];
            Object[] values = new Object[size];
            if (sameComparator) {
              // Need to check for nulls, but don't need to sort or validate.
              for (int i = 0; i < size; i++) {
                // requireNonNull is safe because the first `size` elements have been filled in.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 52.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

                    fos = new FileOutputStream(newFile);
                    writer = new BufferedWriter(new OutputStreamWriter(fos, Constants.UTF_8));
                    fos = null; // Successfully wrapped, no need to close explicitly
                } catch (final Exception e) {
                    if (fos != null) {
                        try {
                            fos.close();
                        } catch (final IOException ioe) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

          )
    
        val part = parts.nextPart()!!
        assertThat(part.body.readUtf8()).isEqualTo("abcd\r\n--simple boundar\r\n\r\nefgh")
    
        assertThat(parts.nextPart()).isNull()
      }
    
      @Test fun `do not need to read entire part`() {
        val multipart =
          """
          |--simple boundary
          |
          |abcd
          |efgh
          |ijkl
          |--simple boundary
          |
          |mnop
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 02:11:14 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            assertEquals(-1, crawlingInfoHelper.maxSessionIdsInList);
        }
    
        @Test
        public void test_generateId_specialCharacters() {
            // Test characters that need special encoding
            String input1 = "http://example.com/文档"; // Unicode characters
            String result1 = crawlingInfoHelper.generateId(input1);
            assertNotNull(result1);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

          assertThrows(
              NullPointerException.class, () -> builder.addAll((Iterable<String>) iterableWithNulls));
        }
      }
    
      // We need to test that asList() really does return the original list.
      @SuppressWarnings("InlineMeInliner")
      public void testAsList() {
        ImmutableList<String> list = ImmutableList.of("a", "b");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       */
      private static @Nullable Object createHashTable(
          @Nullable Object[] alternatingKeysAndValues, int n, int tableSize, int keyOffset) {
        if (n == 1) {
          // for n=1 we don't create a hash table, but we need to do the checkEntryNotNull check!
          // requireNonNull is safe because the first `2*n` elements have been filled in.
          checkEntryNotNull(
              requireNonNull(alternatingKeysAndValues[keyOffset]),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/reflect/Types.java

       * {@link TypeVariableImpl#equals(Object)} is changed to no longer be equal to custom TypeVariable
       * implementations. As a result, we need to make sure our TypeVariable implementation respects
       * symmetry. Moreover, we don't want to reconstruct a native type variable {@code <A>} using our
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Oct 31 19:34:24 GMT 2025
    - 24.3K bytes
    - Click Count (0)
Back to Top