- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 186 for reuse (0.06 sec)
-
cmd/metacache-server-pool.go
} else { if o.pool < len(z.serverPools) && o.set < len(z.serverPools[o.pool].sets) { o.debugln("Resuming", o) entries, err = z.serverPools[o.pool].sets[o.set].streamMetadataParts(ctx, *o) entries.reuse = true // We read from stream and are not sharing results. if err == nil { return entries, nil } } else { err = fmt.Errorf("invalid pool/set") o.pool, o.set = 0, 0 } }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 12.9K bytes - Viewed (0) -
docs/en/docs/tutorial/background-tasks.md
**FastAPI** knows what to do in each case and how to reuse the same object, so that all the background tasks are merged together and are run in the background afterwards: {* ../../docs_src/background_tasks/tutorial002_an_py310.py hl[13,15,22,25] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
assertEquals(path, entry.getPath()); assertEquals(1, entry.getEpoch()); assertFalse(entry.isBreaking()); } @Test @DisplayName("Should reuse existing lease for same path") void testReuseExistingLease() { String path = "/share/file.txt"; int requestedState = Smb2LeaseState.SMB2_LEASE_READ_WRITE;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
// Check that a fresh connection was created, either immediately or after attempting reuse. // We know that a fresh connection was created if the server recorded a request with sequence // number 0. Since the client may have attempted to reuse the broken connection just before // creating a fresh connection, the server may have recorded 2 requests at this point. The orderRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java
return new LinkMetaData(methodMetaData.style, displayName, urlFragment); } private MethodLinkMetaData findMethod(String method) { if (method.endsWith("...)")) { // Should reuse the link parsing stuff from JavadocLinkConverter instead method = method.substring(0, method.length() - 4) + "[])"; } MethodLinkMetaData metaData = methods.get(method);
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Apr 11 11:17:34 UTC 2025 - 7.4K bytes - Viewed (0) -
cmd/bitrot-streaming.go
shardSize int64 hashBytes []byte } func (b *streamingBitrotReader) Close() error { if b.rc == nil { return nil } if closer, ok := b.rc.(io.Closer); ok { // drain the body for connection reuse at network layer. xhttp.DrainBody(io.NopCloser(b.rc)) return closer.Close() } return nil } func (b *streamingBitrotReader) ReadAt(buf []byte, offset int64) (int, error) { var err error
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Jan 17 19:19:30 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/JAASAuthenticator.java
import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSException; /** * JAAS kerberos authenticator * * Either configure JAAS for credential caching or reuse a single instance of this authenticator -otherwise you won't * get proper ticket caching. * * Be advised that short/NetBIOS name usage is not supported with this authenticator. Always specify full FQDNs/Realm.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.3K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java
// Get a region and release it RdmaMemoryRegion region1 = bufferManager.getSendRegion(1024); bufferManager.releaseSendRegion(region1); // Get another region - should potentially reuse from pool RdmaMemoryRegion region2 = bufferManager.getSendRegion(1024); assertNotNull(region2); // Both regions should be validRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
} @Test void testResetAndReuse() { // Test that HMACT64 can be reset and reused HMACT64 hmac = new HMACT64(TEST_KEY); // First use hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length); byte[] result1 = hmac.engineDigest(); // Reset and reuse with same data hmac.engineReset(); hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
docs/en/docs/advanced/additional-responses.md
```Python { "old key": "old value", "second old key": "second old value", "new key": "new value", } ``` You can use that technique to reuse some predefined responses in your *path operations* and combine them with additional custom ones. For example: {* ../../docs_src/additional_responses/tutorial004_py310.py hl[11:15,24] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 8.9K bytes - Viewed (0)