- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 46 for SIZED (0.07 sec)
-
cmd/erasure-metadata_test.go
expectedErr error }{ {0, 0, 0, nil}, {1 * humanize.MiByte, 0, 1 * humanize.MiByte, nil}, {1 + humanize.MiByte, 1, 0, nil}, {2 + humanize.MiByte, 1, 1, nil}, // Its valid for zero sized object. {-1, 0, -1, nil}, // Max fffset is always (size - 1). {(1 + 2 + 4 + 5 + 7) + (5 * humanize.MiByte) - 1, 4, 1048582, nil}, // Error if offset is size.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.4K bytes - Viewed (0) -
src/bytes/buffer.go
// Simple byte buffer for marshaling data. import ( "errors" "io" "unicode/utf8" ) // smallBufferSize is an initial allocation minimal capacity. const smallBufferSize = 64 // A Buffer is a variable-sized buffer of bytes with [Buffer.Read] and [Buffer.Write] methods. // The zero value for Buffer is an empty buffer ready to use. type Buffer struct { buf []byte // contents are the bytes buf[off : len(buf)]
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 19 17:38:56 UTC 2025 - 16K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
* retrieval operations obtain elements at the head of the queue. * * <p>This is a classic "bounded buffer", in which a fixed-sized array holds elements * inserted by producers and extracted by consumers. Once created, the capacity cannot be increased. * Attempts to {@code put} an element into a full queue will result in the operation blocking;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 22.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
* * @author Louis Wasserman */ @GwtCompatible final class RegularImmutableMap<K, V> extends ImmutableMap<K, V> { private static final byte ABSENT = -1; // Max size is halved due to indexing into double-sized alternatingKeysAndValues private static final int BYTE_MAX_SIZE = 1 << (Byte.SIZE - 1); // 2^7 = 128 private static final int SHORT_MAX_SIZE = 1 << (Short.SIZE - 1); // 2^15 = 32_768
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
* Adds the searcher to the searchers array and initializes the executor service * if it hasn't been created yet. The executor service is created with a thread pool * sized based on configuration or system capabilities. * * @param searcher the RankFusionSearcher to register */ public void register(final RankFusionSearcher searcher) { if (logger.isDebugEnabled()) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 24.8K bytes - Viewed (0) -
cmd/encryption-v1.go
// we read the package containing the last desired byte). endEncOffset := encCumulativeSum + (endPkgNum+1)*sseDAREEncPackageBlockSize // Check if the DARE package containing the end offset is a // full sized package (as the last package in the part may be // smaller) lastPartSize, _ := sio.EncryptedSize(uint64(sizes[partEnd])) if endEncOffset > encCumulativeSum+int64(lastPartSize) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 37.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
* f(x)^c with greater than expected probability. The test for funneling is merely a test for * 1-bit characteristics. * * <p>There is more general code provided by Bob Jenkins to test arbitrarily sized characteristics * using the magic of gaussian elimination: http://burtleburtle.net/bob/crypto/findingc.html. */ static void checkNo2BitCharacteristics(HashFunction function) { Random rand = new Random(0);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 25.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
return CollectSpliterators.map( valueCollection.spliterator(), (V value) -> immutableEntry(key, value)); }, Spliterator.SIZED | (this instanceof SetMultimap ? Spliterator.DISTINCT : 0), size()); } @Override public void forEach(BiConsumer<? super K, ? super V> action) { checkNotNull(action); asMap()
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 28.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/StandardTable.java
(Entry<C, V> columnEntry) -> immutableCell(rowEntry.getKey(), columnEntry.getKey(), columnEntry.getValue())), Spliterator.DISTINCT | Spliterator.SIZED, size()); } @Override public Map<C, V> row(R rowKey) { return new Row(rowKey); } class Row extends IteratorBasedAbstractMap<C, V> { final R rowKey;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 30.2K bytes - Viewed (0) -
src/bytes/buffer_test.go
want = strconv.AppendInt(want, int64(i), 10) got.Write(b) } if !Equal(got.Bytes(), want) { t.Fatalf("Bytes() = %q, want %q", &got, want) } // With a sufficiently sized buffer, there should be no allocations. n := testing.AllocsPerRun(100, func() { got.Reset() for i := 0; i < 1000; i++ { b := got.AvailableBuffer() b = strconv.AppendInt(b, int64(i), 10) got.Write(b)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 19 16:13:04 UTC 2025 - 18.6K bytes - Viewed (0)