- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,794 for context_ (0.49 seconds)
-
tensorflow/c/eager/c_api.cc
} namespace tensorflow { namespace { class CustomDeviceAPI : public tensorflow::CustomDevice { public: CustomDeviceAPI(TFE_Context* context, TFE_CustomDevice device, void* info, string name) : context_(context), device_(device), info_(info), name_(name) {} ~CustomDeviceAPI() override { device_.delete_device(info_); } const string& name() override { return name_; }Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Nov 07 05:55:21 GMT 2025 - 43.9K bytes - Click Count (0) -
internal/kms/context.go
package kms import ( "bytes" "sort" "unicode/utf8" ) // Context is a set of key-value pairs that // are associated with a generate data encryption // key (DEK). // // A KMS implementation may bind the context to the // generated DEK such that the same context must be // provided when decrypting an encrypted DEK. type Context map[string]string // MarshalText returns a canonical text representation of
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
DirectoryLeaseContext context = new DirectoryLeaseContext(key, leaseState, scope); assertEquals(key, context.getLeaseKey()); assertEquals(leaseState, context.getLeaseState()); assertEquals(scope, context.getCacheScope()); assertEquals(30000L, context.getMaxCacheAge()); assertTrue(context.isNotificationEnabled()); assertEquals(0, context.getNotificationFilter()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 10.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
byte[] buffer = new byte[300]; contexts[0] = new TestCreateContextResponse("CONTEXT1".getBytes(StandardCharsets.UTF_8)); contexts[1] = new TestCreateContextResponse("CONTEXT2".getBytes(StandardCharsets.UTF_8)); contexts[2] = new TestCreateContextResponse("CONTEXT3".getBytes(StandardCharsets.UTF_8)); // Decode each context
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
@Test @DisplayName("Should handle null context in array") void testNullContextInArray() { CreateContextRequest[] contexts = new CreateContextRequest[4]; contexts[0] = new MockCreateContextRequest("FIRST"); contexts[1] = null; // Null context contexts[2] = new MockCreateContextRequest("THIRD"); contexts[3] = new MockCreateContextRequest("FOURTH");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/QueryCommandTemplateMethodTest.java
FessConfig fessConfig = ComponentUtil.getFessConfig(); QueryContext context1 = new QueryContext("test", true); QueryContext context2 = new QueryContext("test", true); // Using template method QueryBuilder result1 = queryCommand.convertWithFieldCheck(fessConfig, context1, "title", "test", 1.0f, (field, boost) -> QueryBuilders.matchQuery(field, "test").boost(boost),
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
testEncryptionKey, testDecryptionKey); // When/Then - Multiple closes should be safe assertDoesNotThrow(() -> { context.close(); context.close(); context.close(); }); assertTrue(context.isClosed()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md
## Gerenciadores de contexto { #context-managers } ### O que são "Gerenciadores de Contexto" { #what-are-context-managers } "Gerenciadores de Contexto" são qualquer um dos objetos Python que podem ser utilizados com a declaração `with`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 13.8K bytes - Click Count (0) -
docs/fr/docs/tutorial/dependencies/dependencies-with-yield.md
## Gestionnaires de contexte { #context-managers } ### Que sont les « Context Managers » { #what-are-context-managers } Les « Context Managers » sont des objets Python que vous pouvez utiliser dans une instruction `with`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 13.9K bytes - Click Count (0) -
tests/test_dependency_contextmanager.py
async def context_a(state: dict = Depends(get_state)): state["context_a"] = "started a" try: yield state finally: state["context_a"] = "finished a" async def context_b(state: dict = Depends(context_a)): state["context_b"] = "started b" try: yield state finally: state["context_b"] = f"finished b with a: {state['context_a']}"
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 11.5K bytes - Click Count (0)