Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 351 for size_a (0.05 sec)

  1. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

                    CollectSpliterators.flatMap(
                        Arrays.spliterator(new String[] {"abc", "", "de", "f", "g", ""}),
                        (String str) -> charactersOf(str).spliterator(),
                        Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL,
                        7))
            .expect('a', 'b', 'c', 'd', 'e', 'f', 'g');
      }
    
      public void testFlatMap_nullStream() {
        SpliteratorTester.of(
                () ->
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. cmd/encryption-v1.go

    		return 0, o.Size, 0, 0, 0, nil
    	}
    
    	// Assemble slice of (decrypted) part sizes in `sizes`
    	var sizes []int64
    	var decObjSize int64 // decrypted total object size
    	if o.isMultipart() {
    		sizes = make([]int64, len(o.Parts))
    		for i, part := range o.Parts {
    			var partSize uint64
    			partSize, err = sio.DecryptedSize(uint64(part.Size))
    			if err != nil {
    				err = errObjectTampered
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

              format(
                  "estimated size of spliterator after trySplit (%s) is larger than original size (%s)",
                  spliterator.estimateSize(), originalSize));
        }
        if (trySplit != null) {
          if (trySplit.estimateSize() > originalSize) {
            fail(
                format(
                    "estimated size of trySplit result (%s) is larger than original size (%s)",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

              format(
                  "estimated size of spliterator after trySplit (%s) is larger than original size (%s)",
                  spliterator.estimateSize(), originalSize));
        }
        if (trySplit != null) {
          if (trySplit.estimateSize() > originalSize) {
            fail(
                format(
                    "estimated size of trySplit result (%s) is larger than original size (%s)",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactHashing.java

      private static final int BYTE_MAX_SIZE = 1 << Byte.SIZE; // 2^8 = 256
      private static final int BYTE_MASK = (1 << Byte.SIZE) - 1; // 2^8 - 1 = 255
    
      private static final int SHORT_MAX_SIZE = 1 << Short.SIZE; // 2^16 = 65_536
      private static final int SHORT_MASK = (1 << Short.SIZE) - 1; // 2^16 - 1 = 65_535
    
      /**
       * Returns the power of 2 hashtable size required to hold the expected number of items or the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. 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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactHashing.java

      private static final int BYTE_MAX_SIZE = 1 << Byte.SIZE; // 2^8 = 256
      private static final int BYTE_MASK = (1 << Byte.SIZE) - 1; // 2^8 - 1 = 255
    
      private static final int SHORT_MAX_SIZE = 1 << Short.SIZE; // 2^16 = 65_536
      private static final int SHORT_MASK = (1 << Short.SIZE) - 1; // 2^16 - 1 = 65_535
    
      /**
       * Returns the power of 2 hashtable size required to hold the expected number of items or the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        ImmutableSet.Builder<String> builder = ImmutableSet.builderWithExpectedSize(4);
        builder.add("a");
        assertEquals(1, builder.size);
        builder.add("a");
        assertEquals(1, builder.size);
        builder.add("b", "c", "d");
        assertEquals(4, builder.size);
        Object[] table = builder.hashTable;
        assertNotNull(table);
        assertSame(table, ((RegularImmutableSet<String>) builder.build()).table);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/popper.min.js.map

      left: rect.left,\n    top: rect.top,\n    width: rect.right - rect.left,\n    height: rect.bottom - rect.top,\n  };\n\n  // subtract scrollbar size from sizes\n  const sizes = element.nodeName === 'HTML' ? getWindowSizes(element.ownerDocument) : {};\n  const width =\n    sizes.width || element.clientWidth || result.width;\n  const height =\n    sizes.height || element.clientHeight || result.height;\n\n  let horizScrollbar = element.offsetWidth - width;\n  let vertScrollbar = element.offsetHeight...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 120.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

        @CanIgnoreReturnValue
        public Builder addAll(IntStream stream) {
          Spliterator.OfInt spliterator = stream.spliterator();
          long size = spliterator.getExactSizeIfKnown();
          if (size > 0) { // known *and* nonempty
            ensureRoomFor(Ints.saturatedCast(size));
          }
          spliterator.forEachRemaining((IntConsumer) this::add);
          return this;
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top