Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 42 for SIZED (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        long[] array = stream.toArray();
        return (array.length == 0) ? EMPTY : new ImmutableLongArray(array);
      }
    
      /**
       * Returns a new, empty builder for {@link ImmutableLongArray} instances, sized to hold up to
       * {@code initialCapacity} values without resizing. The returned builder is not thread-safe.
       *
       * <p><b>Performance note:</b> When feasible, {@code initialCapacity} should be the exact number
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  2. guava/src/com/google/common/primitives/ImmutableIntArray.java

        int[] array = stream.toArray();
        return (array.length == 0) ? EMPTY : new ImmutableIntArray(array);
      }
    
      /**
       * Returns a new, empty builder for {@link ImmutableIntArray} instances, sized to hold up to
       * {@code initialCapacity} values without resizing. The returned builder is not thread-safe.
       *
       * <p><b>Performance note:</b> When feasible, {@code initialCapacity} should be the exact number
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

                comparator = naturalOrder;
              }
              assertTrue(Ordering.from(comparator).isOrdered(resultsForStrategy));
            }
            if ((characteristics & Spliterator.SIZED) != 0) {
              assertEquals(Ints.checkedCast(estimatedSize), resultsForStrategy.size());
            }
    
            assertEqualIgnoringOrder(elements, resultsForStrategy);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

                comparator = naturalOrder;
              }
              assertTrue(Ordering.from(comparator).isOrdered(resultsForStrategy));
            }
            if ((characteristics & Spliterator.SIZED) != 0) {
              assertEquals(Ints.checkedCast(estimatedSize), resultsForStrategy.size());
            }
    
            assertEqualIgnoringOrder(elements, resultsForStrategy);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/math/IntMathTest.java

      @GwtIncompatible // java.math.BigInteger
      public void testMean() {
        // Odd-sized ranges have an obvious mean
        assertMean(2, 1, 3);
    
        assertMean(-2, -3, -1);
        assertMean(0, -1, 1);
        assertMean(1, -1, 3);
        assertMean((1 << 30) - 1, -1, Integer.MAX_VALUE);
    
        // Even-sized ranges should prefer the lower mean
        assertMean(2, 1, 4);
        assertMean(-3, -4, -1);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(new ImmutableSetSizedBuilderGenerator())
                .named(ImmutableSetTest.class.getName() + ", with exactly sized builder")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  7. internal/ioutil/ioutil.go

    )
    
    // Block sizes constant.
    const (
    	SmallBlock  = 32 * humanize.KiByte  // Default r/w block size for smaller objects.
    	MediumBlock = 128 * humanize.KiByte // Default r/w block size for medium sized objects.
    	LargeBlock  = 1 * humanize.MiByte   // Default r/w block size for normal objects.
    )
    
    // AlignedBytePool is a pool of fixed size aligned blocks
    type AlignedBytePool struct {
    	size int
    	p    bpool.Pool[*[]byte]
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  8. misc/cgo/gmp/gmp.go

    Cgo recognizes any use of a qualified identifier C.xxx and uses gcc to
    find the definition of xxx.  If xxx is a type, cgo replaces C.xxx with
    a Go translation.  C arithmetic types translate to precisely-sized Go
    arithmetic types.  A C struct translates to a Go struct, field by
    field; unrepresentable fields are replaced with opaque byte arrays.  A
    C union translates into a struct containing the first union member and
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

        void testWriteParametersWireFormatLargeBuffer() {
            String domain = "DOMAIN";
            netServerEnum2 = new NetServerEnum2(realConfig, domain, NetServerEnum2.SV_TYPE_ALL);
    
            // Test with adequately sized buffer
            byte[] dst = new byte[1024];
    
            assertDoesNotThrow(() -> {
                int result = netServerEnum2.writeParametersWireFormat(dst, 0);
                assertTrue(result > 0);
            });
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          }
        };
      }
    
      @Override
      Spliterator<V> valueSpliterator() {
        return CollectSpliterators.flatMap(
            map.values().spliterator(), Collection::spliterator, Spliterator.SIZED, size());
      }
    
      /*
       * TODO(kevinb): should we copy this javadoc to each concrete class, so that
       * classes like LinkedHashMultimap that need to say something different are
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
Back to Top