- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 1,376 for sizeof (0.07 sec)
-
cmd/bucket-quota.go
if uint64(size) >= quotaSize { // check if file size already exceeds the quota return BucketQuotaExceeded{Bucket: bucket} } bui := sys.GetBucketUsageInfo(ctx, bucket) if bui.Size > 0 && ((bui.Size + uint64(size)) >= quotaSize) { return BucketQuotaExceeded{Bucket: bucket} } } return nil } func enforceBucketQuotaHard(ctx context.Context, bucket string, size int64) error { if globalBucketQuotaSys == nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Aug 06 23:48:58 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
} /** * Set the maximum pool size * @param size the maximum number of connections in the pool */ public void setMaxPoolSize(int size) { if (size <= 0) { throw new IllegalArgumentException("Pool size must be positive"); } this.maxPoolSize = size; log.info("Set maximum pool size to {}", size); } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java
assertEquals("DHnQ", new String(request.getName())); assertTrue(request.size() > 0); // Test encoding byte[] buffer = new byte[request.size()]; int encoded = request.encode(buffer, 0); assertEquals(request.size(), encoded); } @Test public void testDurableHandleV2Request() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/SearchBody.java
super(); } // `size` is an alias of `num`. // `size` is prepared to be compatible with other Admin APIs /** Number of search results to retrieve (alias for num) */ @ValidateTypeFailure public Integer size; @Override public void initialize() { if (size != null) { num = num == null || num < size ? size : num; } super.initialize(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java
List<AnalyzeToken> tokensTitle = analyzer.analyze(text, "title", lang); assertNotNull(tokensTitle); assertEquals(2, tokensTitle.size()); // Test with null field List<AnalyzeToken> tokensNull = analyzer.analyze(text, null, lang); assertNotNull(tokensNull); assertEquals(2, tokensNull.size()); } @TestRegistered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 15.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt
hpackWriter!!.resizeHeaderTable(4096) hpackWriter!!.resizeHeaderTable(2048) hpackWriter!!.writeHeaders(listOf(Header("foo", "bar"))) assertBytes( // Dynamic size update (size = 0). 0x20, // Dynamic size update (size = 2048). 0x3F, 0xE1, 0xF, 0x40, 3, 'f'.code, 'o'.code, 'o'.code, 3, 'b'.code, 'a'.code,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 38.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
public void testSizes() { // not bothering testing all variations, since we know they share implementations assertTrue(Striped.lock(100).size() >= 100); assertTrue(Striped.lock(256).size() == 256); assertTrue(Striped.lazyWeakLock(100).size() >= 100); assertTrue(Striped.lazyWeakLock(256).size() == 256); } @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts. public void testWeakImplementations() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
public void testSizes() { // not bothering testing all variations, since we know they share implementations assertTrue(Striped.lock(100).size() >= 100); assertTrue(Striped.lock(256).size() == 256); assertTrue(Striped.lazyWeakLock(100).size() >= 100); assertTrue(Striped.lazyWeakLock(256).size() == 256); } @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts. public void testWeakImplementations() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/fileauth/CreateForm.java
@Required @Size(max = 100) public String username; /** The password for file authentication (maximum 100 characters). */ @Size(max = 100) public String password; /** Additional parameters for file authentication (maximum 1000 characters). */ @Size(max = 1000) public String parameters;Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.8K bytes - Viewed (0)