- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 1,944 for contexts (0.06 seconds)
-
internal/logger/target/http/http.go
// Init validate and initialize the http target func (h *Target) Init(ctx context.Context) (err error) { if h.config.QueueDir != "" { return h.initQueueOnce.DoWithContext(ctx, h.initDiskStore) } return h.initQueueOnce.DoWithContext(ctx, h.initMemoryStore) } func (h *Target) initDiskStore(ctx context.Context) (err error) { ctx, cancel := context.WithCancel(ctx) h.storeCtxCancel = cancel h.lastStarted = time.Now()
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) -
internal/kms/conn.go
// should be decrypted. Therefore, it is the callers // responsibility to remember the corresponding context for // a particular DEK. The context may be nil. GenerateKey(context.Context, *GenerateKeyRequest) (DEK, error) // DecryptKey decrypts the ciphertext with the key referenced // by the key ID. The context must match the context value // used to generate the ciphertext.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Aug 18 06:43:03 GMT 2024 - 5K bytes - Click Count (0) -
docs/tr/docs/tutorial/extra-models.md
password = user_dict["password"], email = user_dict["email"], full_name = user_dict["full_name"], ) ``` #### Bir Pydantic Modelinden Diğerinin İçeriğiyle Pydantic Model Oluşturmak { #a-pydantic-model-from-the-contents-of-another } Yukarıdaki örnekte `user_dict`'i `user_in.model_dump()` ile elde ettiğimiz için, şu kod: ```Python user_dict = user_in.model_dump() UserInDB(**user_dict) ``` şuna eşdeğerdir:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 7.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java
// Test that multiple invocations return consistent results QueryContext context = new QueryContext("*:*", false); MatchAllDocsQuery query = new MatchAllDocsQuery(); float boost = 1.0f; QueryBuilder result1 = matchAllQueryCommand.execute(context, query, boost); QueryBuilder result2 = matchAllQueryCommand.execute(context, query, boost); assertNotNull(result1); assertNotNull(result2);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17K bytes - Click Count (0) -
mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/StartStopExtension.kt
store.put(field, server) server.start() } } override fun beforeEach(context: ExtensionContext) { // Requires API 24 val testInstance = context.testInstance.get() val store = context.getStore(Namespace.create(StartStop::class.java)) val instanceFields = findAnnotatedFields( context.requiredTestClass, StartStop::class.java, ) { !Modifier.isStatic(it.modifiers) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 2.4K bytes - Click Count (0) -
cmd/lock-rest-client_test.go
} // Attempt all calls. _, err = lkClient.RLock(t.Context(), dsync.LockArgs{}) if err == nil { t.Fatal("Expected for Rlock to fail") } _, err = lkClient.Lock(t.Context(), dsync.LockArgs{}) if err == nil { t.Fatal("Expected for Lock to fail") } _, err = lkClient.RUnlock(t.Context(), dsync.LockArgs{}) if err == nil { t.Fatal("Expected for RUnlock to fail") }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
DirectoryLeaseContext context = new DirectoryLeaseContext(key, DirectoryLeaseState.DIRECTORY_FULL, DirectoryCacheScope.RECURSIVE_TREE); context.setMaxCacheAge(60000L); context.setNotificationEnabled(true); context.setNotificationFilter(0x1F); // Test encoding and decoding roundtrip byte[] buffer = new byte[context.size()];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 14.2K bytes - Click Count (0) -
internal/kms/secret-key.go
type secretKey struct { keyID string key []byte } // Version returns the version of the builtin KMS. func (secretKey) Version(ctx context.Context) (string, error) { return "v1", nil } // APIs returns an error since the builtin KMS does not provide a list of APIs. func (secretKey) APIs(ctx context.Context) ([]madmin.KMSAPI, error) { return nil, ErrNotSupported }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Apr 21 16:23:51 GMT 2025 - 8.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbOperationException.java
} /** * Add context information * * @param key the context key * @param value the context value * @return this exception for chaining */ public SmbOperationException withContext(String key, Object value) { this.context.put(key, value); return this; } /** * Add multiple context values *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.5K bytes - Click Count (0) -
cmd/namespace-lock.go
type RWLocker interface { GetLock(ctx context.Context, timeout *dynamicTimeout) (lkCtx LockContext, timedOutErr error) Unlock(lkCtx LockContext) GetRLock(ctx context.Context, timeout *dynamicTimeout) (lkCtx LockContext, timedOutErr error) RUnlock(lkCtx LockContext) } // LockContext lock context holds the lock backed context and canceler for the context. type LockContext struct { ctx context.Context cancel context.CancelFunc }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.2K bytes - Click Count (0)