Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1691 - 1700 of 3,240 for size (0.02 seconds)

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

        List<Integer> result = numberOrdering.leastOf(list, list.size() - 1);
        assertTrue(result instanceof RandomAccess);
        assertListImmutable(result);
        assertEquals(ImmutableList.of(-1, 3, 4), result);
      }
    
      public void testLeastOfIterator_simple_nMinusOne() {
        List<Integer> list = asList(3, 4, 5, -1);
        List<Integer> result = numberOrdering.leastOf(list.iterator(), list.size() - 1);
        assertTrue(result instanceof RandomAccess);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/OrderingTest.java

        List<Integer> result = numberOrdering.leastOf(list, list.size() - 1);
        assertTrue(result instanceof RandomAccess);
        assertListImmutable(result);
        assertEquals(ImmutableList.of(-1, 3, 4), result);
      }
    
      public void testLeastOfIterator_simple_nMinusOne() {
        List<Integer> list = asList(3, 4, 5, -1);
        List<Integer> result = numberOrdering.leastOf(list.iterator(), list.size() - 1);
        assertTrue(result instanceof RandomAccess);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

        },
        PERCENT {
          override fun encode(codePoint: Int): String {
            val utf8 = IDENTITY.encode(codePoint).encodeUtf8()
            val percentEncoded = Buffer()
            for (i in 0 until utf8.size) {
              percentEncoded
                .writeUtf8("%")
                .writeUtf8(ByteString.of(utf8[i]).hex().uppercase())
            }
            return percentEncoded.readUtf8()
          }
        },
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  4. tensorflow/c/eager/dlpack.cc

      int64_t expected_stride = 1;
      for (int i = ndim - 1; i >= 0; --i) {
        // Empty tensors are always compact regardless of strides.
        if (shape_arr[i] == 0) return true;
        // Note that dimensions with size=1 can have any stride.
        if (shape_arr[i] != 1 && stride_arr[i] != expected_stride) {
          valid = false;
        }
        expected_stride *= shape_arr[i];
      }
      return valid;
    }
    }  // namespace
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Mar 13 23:41:52 GMT 2025
    - 13K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/testing/GcFinalization.java

    public final class GcFinalization {
      private GcFinalization() {}
    
      /**
       * 10 seconds ought to be long enough for any object to be GC'ed and finalized. Unless we have a
       * gigantic heap, in which case we scale by heap size.
       */
      private static long timeoutSeconds() {
        // This class can make no hard guarantees.  The methods in this class are inherently flaky, but
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/Table.java

      /** Returns {@code true} if the table contains no mappings. */
      boolean isEmpty();
    
      /** Returns the number of row key / column key / value mappings in the table. */
      int size();
    
      /**
       * Compares the specified object with this table for equality. Two tables are equal when their
       * cell views, as returned by {@link #cellSet}, are equal.
       */
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

     * <li>{@link #encoder}: Base64 encoder instance for encoding IDs.</li>
     * </ul>
     */
    public class ArraySettings {
        private static final Logger logger = LogManager.getLogger(ArraySettings.class);
    
        /** Default page size for search results. */
        protected static final int DEFAULT_SEARCH_SIZE = 500;
    
        /** OpenSearch client. */
        protected final Client client;
        /** Array settings index name. */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/math/Stats.java

          } else {
            mean = calculateNewMeanNonFinite(mean, value);
          }
        }
        return mean;
      }
    
      // Serialization helpers
    
      /** The size of byte array representation in bytes. */
      static final int BYTES = (Long.SIZE + Double.SIZE * 4) / Byte.SIZE;
    
      /**
       * Gets a byte array representation of this instance.
       *
       * <p><b>Note:</b> No guarantees are made regarding stability of the representation between
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 25.1K bytes
    - Click Count (0)
  9. cmd/bucket-metadata_gen.go

    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *BucketMetadata) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 25
    	// write "Name"
    	err = en.Append(0xde, 0x0, 0x19, 0xa4, 0x4e, 0x61, 0x6d, 0x65)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Name)
    	if err != nil {
    		err = msgp.WrapError(err, "Name")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  10. cmd/tier.go

    	encBr, oek, err := newEncryptReader(context.Background(), hr, crypto.S3, "", nil, minioMetaBucket, tierConfigPath, metadata, kms.Context{})
    	if err != nil {
    		return nil, nil, err
    	}
    
    	info := ObjectInfo{
    		Size: payloadSize,
    	}
    	encSize := info.EncryptedSize()
    	encHr, err := hash.NewReader(ctx, encBr, encSize, "", "", encSize)
    	if err != nil {
    		return nil, nil, err
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
Back to Top