- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 1,944 for contexts (0.4 seconds)
-
cmd/etcd.go
return etcdErrToErr(err, client.Endpoints()) } func deleteKeyEtcd(ctx context.Context, client *etcd.Client, key string) error { timeoutCtx, cancel := context.WithTimeout(ctx, defaultContextTimeout) defer cancel() _, err := client.Delete(timeoutCtx, key) etcdLogIf(ctx, err) return etcdErrToErr(err, client.Endpoints()) } func readKeyEtcd(ctx context.Context, client *etcd.Client, key string) ([]byte, error) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 2.9K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestTraceTest.java
RequestTrace parentTrace = new RequestTrace("parent-context", null, "parent-data"); RequestTrace childTrace = new RequestTrace("child-context", parentTrace, "child-data"); assertEquals("parent-context", parentTrace.context()); assertNull(parentTrace.parent()); assertEquals("parent-data", parentTrace.data()); assertEquals("child-context", childTrace.context());
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 3.3K bytes - Click Count (0) -
src/main/java/jcifs/SmbException.java
return category; } /** * Gets the error context * * @return the context map */ public Map<String, Object> getContext() { return new HashMap<>(context); } /** * Gets a specific context value * * @param key the context key * @return the context value or null */ public Object getContextValue(String key) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/FuzzyQueryCommandTest.java
QueryBuilder result = fuzzyQueryCommand.convertFuzzyQuery(context, fuzzyQuery, 1.0f); assertNotNull(result); } // Test with various field names @Test public void test_convertFuzzyQuery_withVariousFields() { QueryContext context = new QueryContext("test", false); String[] fields = { "title", "content", "url", "site", "host", "mimetype" };Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java
requireNonNull(context, "context"); requireNonNull(coreExtensionSelector, "coreExtensionSelector"); return new PlexusContainerCapsule( context, Thread.currentThread().getContextClassLoader(), container(invoker, context, coreExtensionSelector)); } protected DefaultPlexusContainer container(
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 14.3K bytes - Click Count (0) -
cmd/logging.go
} func rebalanceLogIf(ctx context.Context, err error, errKind ...any) { logger.LogIf(ctx, "rebalance", err, errKind...) } func rebalanceLogEvent(ctx context.Context, msg string, args ...any) { logger.Event(ctx, "rebalance", msg, args...) } func adminLogIf(ctx context.Context, err error, errKind ...any) { logger.LogIf(ctx, "admin", err, errKind...) } func authNLogIf(ctx context.Context, err error, errKind ...any) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.8K bytes - Click Count (0) -
internal/config/crypto.go
plaintext, err := Decrypt(k, bytes.NewReader(ciphertext), context) if err != nil { return nil, err } return io.ReadAll(plaintext) } // Encrypt encrypts the plaintext with a key managed by KMS. // The context is bound to the returned ciphertext. // // The same context must be provided when decrypting the // ciphertext.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 4.7K bytes - Click Count (0) -
internal/dsync/drwmutex_test.go
package dsync import ( "context" "fmt" "runtime" "sync/atomic" "testing" "time" ) const ( id = "1234-5678" source = "main.go" ) func testSimpleWriteLock(t *testing.T, duration time.Duration) (locked bool) { drwm1 := NewDRWMutex(ds, "simplelock") ctx1, cancel1 := context.WithCancel(t.Context())
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.4K bytes - Click Count (0) -
api/go1.7.txt
pkg compress/flate, const HuffmanOnly ideal-int pkg context, func Background() Context pkg context, func TODO() Context pkg context, func WithCancel(Context) (Context, CancelFunc) pkg context, func WithDeadline(Context, time.Time) (Context, CancelFunc) pkg context, func WithTimeout(Context, time.Duration) (Context, CancelFunc) pkg context, func WithValue(Context, interface{}, interface{}) Context pkg context, type CancelFunc func()
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Jun 28 15:08:11 GMT 2016 - 13.6K bytes - Click Count (0) -
schema/serializer.go
Value(ctx context.Context, field *Field, dst reflect.Value, fieldValue interface{}) (interface{}, error) } // JSONSerializer json serializer type JSONSerializer struct{} // Scan implements serializer interface func (JSONSerializer) Scan(ctx context.Context, field *Field, dst reflect.Value, dbValue interface{}) (err error) { fieldValue := reflect.New(field.FieldType) if dbValue != nil { var bytes []byte
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun Oct 26 12:29:44 GMT 2025 - 5.1K bytes - Click Count (0)