- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 1,605 for contexts (0.32 seconds)
-
internal/dsync/dsync-client_test.go
} func (restClient *ReconnectRESTClient) Lock(ctx context.Context, args LockArgs) (status bool, err error) { return restClient.Call("/v1/lock", args) } func (restClient *ReconnectRESTClient) RUnlock(ctx context.Context, args LockArgs) (status bool, err error) { return restClient.Call("/v1/runlock", args) } func (restClient *ReconnectRESTClient) Unlock(ctx context.Context, args LockArgs) (status bool, err error) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 20 17:36:09 GMT 2022 - 4.4K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/ContextEnabled.java
* project's source root and project's attachment.<br> * The plugin manager would pull the context out of the plugin container context, and populate it into the Mojo. * */ public interface ContextEnabled { /** * Set a new shared context <code>Map</code> to a mojo before executing it. * * @param pluginContext a new <code>Map</code> */
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.5K bytes - Click Count (0) -
tests/serializer_test.go
} func (es EncryptedString) Value(ctx context.Context, field *schema.Field, dst reflect.Value, fieldValue interface{}) (interface{}, error) { return "hello" + string(es), nil } type CustomSerializer struct { prefix []byte } func NewCustomSerializer(prefix string) *CustomSerializer { return &CustomSerializer{prefix: []byte(prefix)} }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sat Nov 22 03:14:36 GMT 2025 - 9.3K bytes - Click Count (0) -
cmd/erasure-sets.go
// TransitionObject - transition object content to target tier. func (s *erasureSets) TransitionObject(ctx context.Context, bucket, object string, opts ObjectOptions) error { return s.getHashedSet(object).TransitionObject(ctx, bucket, object, opts) } // RestoreTransitionedObject - restore transitioned object content locally on this cluster.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 37K bytes - Click Count (1) -
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 Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 3.3K bytes - Click Count (0) -
cmd/erasure.go
// StorageInfo - returns underlying storage statistics. func (er erasureObjects) StorageInfo(ctx context.Context) StorageInfo { disks := er.getDisks() endpoints := er.getEndpoints() return getStorageInfo(disks, endpoints, true) } // LocalStorageInfo - returns underlying local storage statistics. func (er erasureObjects) LocalStorageInfo(ctx context.Context, metrics bool) StorageInfo { disks := er.getDisks() endpoints := er.getEndpoints()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainManager.java
throws ToolchainManagerException { return getToolchains(session, type, null); } /** * Retrieves the currently active toolchain from the build context. * * @param session The Maven session context * @param type The type of toolchain to retrieve * @return Optional containing the toolchain if found * @throws ToolchainManagerException if toolchain retrieval fails */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 11 12:33:57 GMT 2025 - 3.5K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PackagingProfileActivator.java
org.apache.maven.model.Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { return getActivationPackaging(profile).map(p -> isPackaging(context, p)).orElse(false); } @Override public boolean presentInConfig( org.apache.maven.model.Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.5K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/harness/PomTestWrapper.java
} public void setValueOnModel(String expression, Object value) { context.setValue(expression, value); } public Iterator<?> getIteratorForXPathExpression(String expression) { return context.iterate(expression); } public boolean containsXPathExpression(String expression) { return context.getValue(expression) != null; } public Object getValue(String expression) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 2.8K bytes - Click Count (0) -
tests/tracer_test.go
} func (S Tracer) Warn(ctx context.Context, s string, i ...interface{}) { S.Logger.Warn(ctx, s, i...) } func (S Tracer) Error(ctx context.Context, s string, i ...interface{}) { S.Logger.Error(ctx, s, i...) } func (S Tracer) Trace(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error) { S.Logger.Trace(ctx, begin, fc, err) S.Test(ctx, begin, fc, err)
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Oct 18 09:28:06 GMT 2022 - 830 bytes - Click Count (0)