Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 896 for context_a (0.06 seconds)

  1. gorm.go

    	}
    
    	if config.PropagateUnscoped {
    		txConfig.PropagateUnscoped = true
    	}
    
    	if config.Context != nil || config.PrepareStmt || config.SkipHooks {
    		tx.Statement = tx.Statement.clone()
    		tx.Statement.DB = tx
    	}
    
    	if config.Context != nil {
    		tx.Statement.Context = config.Context
    	}
    
    	if config.PrepareStmt {
    		var preparedStmt *PreparedStmtDB
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Aug 26 06:24:29 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java

                Files.writeString(pomFile, originalPom);
    
                // Create context with --model 4.1.0 option
                UpgradeContext context =
                        TestUtils.createMockContext(tempDir, TestUtils.createOptionsWithModelVersion("4.1.0"));
    
                // Execute apply goal
                int result = applyGoal.execute(context);
    
                // Verify success
                assertEquals(0, result, "Apply should succeed");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. cmd/erasure-healing_test.go

    	_, err = er.getDisks()[0].StatVol(t.Context(), bucket)
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    // Tests both object and bucket healing.
    func TestHealingVersioned(t *testing.T) {
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    
    	obj, fsDirs, err := prepareErasure16(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer obj.Shutdown(t.Context())
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 48.5K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                when(options.infer()).thenReturn(Optional.of(true));
                when(options.all()).thenReturn(Optional.empty());
    
                UpgradeContext context = createMockContext(options);
    
                assertTrue(strategy.isApplicable(context), "Strategy should be applicable when --infer is true");
            }
    
            @Test
            @DisplayName("should be applicable when --all option is specified")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  5. cmd/bucket-metadata-sys.go

    	sys.Set(meta.Name, meta)
    	globalNotificationSys.LoadBucketMetadata(bgContext(ctx), meta.Name) // Do not use caller context here
    	return nil
    }
    
    // Delete delete the bucket metadata for the specified bucket.
    // must be used by all callers instead of using Update() with nil configData.
    func (sys *BucketMetadataSys) Delete(ctx context.Context, bucket string, configFile string) (updatedAt time.Time, err error) {
    	if configFile == bucketLifecycleConfig {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/DefaultConflictResolverFactory.java

        /*
         * @see org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable#contextualize(org.codehaus.plexus.context.Context)
         */
    
        @Override
        public void contextualize(Context context) throws ContextException {
            container = (PlexusContainer) context.get(PlexusConstants.PLEXUS_KEY);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. 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)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptInvoker.java

        protected void lookup(EncryptContext context) throws Exception {
            if (context.goals == null) {
                super.lookup(context);
                context.goals = context.lookup.lookupMap(Goal.class);
            }
        }
    
        @Override
        protected int execute(EncryptContext context) throws Exception {
            try {
                context.header = new ArrayList<>();
                context.style = new AttributedStyle();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

        override fun execute(context: ComponentMetadataContext) {
            context.details.allVariants {
                withDependencies {
                    removeAll { groupsToRemove.contains(it.group) }
                }
            }
        }
    }
    
    
    abstract class KeepDependenciesByNameRule @Inject constructor(
        private val moduleToKeep: Set<String>
    ) : ComponentMetadataRule {
        override fun execute(context: ComponentMetadataContext) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jul 18 11:32:19 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeInvoker.java

        protected void lookup(UpgradeContext context) throws Exception {
            if (context.goals == null) {
                super.lookup(context);
                context.goals = context.lookup.lookupMap(Goal.class);
            }
        }
    
        @Override
        protected int execute(UpgradeContext context) throws Exception {
            try {
                context.header = new ArrayList<>();
                context.style = new AttributedStyle();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top