- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 2,195 for size (0.03 sec)
-
src/bufio/scan.go
) const ( // MaxScanTokenSize is the maximum size used to buffer a token // unless the user provides an explicit buffer with [Scanner.Buffer]. // The actual maximum token size may be smaller as the buffer // may need to include, for instance, a newline. MaxScanTokenSize = 64 * 1024 startBufSize = 4096 // Size of initial allocation for buffer. )
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed May 21 18:05:26 UTC 2025 - 14.2K bytes - Viewed (0) -
internal/lru/lru.go
} // Resize changes the cache size. Size of 0 means unlimited. func (c *LRU[K, V]) Resize(size int) (evicted int) { c.mu.Lock() defer c.mu.Unlock() if size <= 0 { c.size = 0 return 0 } diff := c.evictList.Length() - size if diff < 0 { diff = 0 } for i := 0; i < diff; i++ { c.removeOldest() } c.size = size return diff }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 12.5K bytes - Viewed (0) -
cmd/sts-datatypes.go
// access key, and a security (or session) token. // // Note: The size of the security token that STS APIs return is not fixed. We // strongly recommend that you make no assumptions about the maximum size. As // of this writing, the typical size is less than 4096 bytes, but that can vary. // Also, future updates to AWS might require larger sizes. Credentials auth.Credentials `xml:",omitempty"`
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri May 27 00:58:09 UTC 2022 - 9.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageDeflater.kt
@Throws(IOException::class) fun deflate(buffer: Buffer) { require(deflatedBytes.size == 0L) if (noContextTakeover) { deflater.reset() } deflaterSink.write(buffer, buffer.size) deflaterSink.flush() if (deflatedBytes.endsWith(EMPTY_DEFLATE_BLOCK)) { val newSize = deflatedBytes.size - LAST_OCTETS_COUNT_TO_REMOVE_AFTER_DEFLATION deflatedBytes.readAndWriteUnsafe().use { cursor ->
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
} // Since cache cannot store, getBuffer must create a new buffer of configured size byte[] got = impl.getBuffer(); assertNotNull(got); assertEquals(8, got.length, "Allocation uses configured maximum size when cache is empty"); assertNotSame(supplied, got, "Zero-sized cache must not return the released instance"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/CustomSize.java
/** * Gets the configuration key for the minimum size constraint. * @return name of size the element must be higher or equal to */ String minKey() default StringUtil.EMPTY; /** * Gets the configuration key for the maximum size constraint. * * @return name of size the element must be lower or equal to */ String maxKey() default StringUtil.EMPTY;Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/Referral.java
* * @return the version */ public final int getVersion() { return this.version; } /** * Gets the size of this referral entry in bytes. * * @return the size */ public final int getSize() { return this.size; } /** * Gets the server type of this referral. * * @return the serverType */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
writeLittleEndianInt(baos, PacConstants.LOGON_INFO); // type writeLittleEndianInt(baos, 10); // size writeLittleEndianLong(baos, 25); // Unaligned offset (not multiple of 8) // Add enough data to avoid array bounds issues while (baos.size() < 35) { baos.write(0); } byte[] pacData = baos.toByteArray();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java
int size; // use concrete classes to remove any possible polymorphic overhead? Object[] array; ArrayList<Object> arrayList; LinkedList<Object> linkedList; @BeforeExperiment void setUp() { array = new Object[size]; arrayList = Lists.newArrayListWithCapacity(size); linkedList = new LinkedList<>(); for (int i = 0; i < size; i++) { Object value = new Object();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 3.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.4K bytes - Viewed (0)