Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,543 for context (0.05 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                String result = upgradeGoal.testDoUpgradeLogic(context, "4.0.0");
    
                assertEquals("4.0.0", result);
            }
    
            @Test
            @DisplayName("should prioritize explicit model over --all option")
            void shouldPrioritizeExplicitModelOverAllOption() {
                UpgradeContext context =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  2. 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.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37K bytes
    - Viewed (1)
  3. internal/logger/audit.go

    // SetAuditEntry sets Audit info in the context.
    func SetAuditEntry(ctx context.Context, audit *audit.Entry) context.Context {
    	if ctx == nil {
    		LogIf(context.Background(), "audit", fmt.Errorf("context is nil"))
    		return nil
    	}
    	return context.WithValue(ctx, contextAuditKey, audit)
    }
    
    // GetAuditEntry returns Audit entry if set.
    func GetAuditEntry(ctx context.Context) *audit.Entry {
    	if ctx != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/HelpTest.java

        }
    
        @Test
        void testHelpLogsMessages() throws Exception {
            UpgradeContext context = createMockContext();
    
            help.execute(context);
    
            // Verify that logger.info was called multiple times
            // We can't easily verify the exact content without capturing the logger output,
            // but we can verify that the method executes without errors
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:46:51 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. internal/dsync/drwmutex.go

    	ctx, cancel := context.WithTimeout(ctx, ds.Timeouts.Acquire)
    	defer cancel()
    
    	// Special context for NetLockers - do not use timeouts.
    	// Also, pass the trace context info if found for debugging
    	netLockCtx := context.Background()
    
    	tc, ok := ctx.Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    	if ok {
    		netLockCtx = context.WithValue(netLockCtx, mcontext.ContextTraceKey, tc)
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  6. 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) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

            mergeModel_Developers(target, source, sourceDominant, context);
            mergeModel_Contributors(target, source, sourceDominant, context);
            mergeModel_IssueManagement(target, source, sourceDominant, context);
            mergeModel_Scm(target, source, sourceDominant, context);
            mergeModel_CiManagement(target, source, sourceDominant, context);
            mergeModel_Prerequisites(target, source, sourceDominant, context);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 11:21:39 UTC 2025
    - 99.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

                int bytesRead = context.decode(buffer, 0, 8);
    
                assertEquals(8, bytesRead);
                assertNotNull(context.getHashAlgos());
                assertEquals(2, context.getHashAlgos().length);
                assertEquals(0x01, context.getHashAlgos()[0]);
                assertEquals(0x02, context.getHashAlgos()[1]);
                assertNotNull(context.getSalt());
                assertEquals(0, context.getSalt().length);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    func (z *erasureServerPools) StorageInfo(ctx context.Context, metrics bool) StorageInfo {
    	return globalNotificationSys.StorageInfo(ctx, z, metrics)
    }
    
    func (z *erasureServerPools) NSScanner(ctx context.Context, updates chan<- DataUsageInfo, wantCycle uint32, healScanMode madmin.HealScanMode) error {
    	// Updates must be closed before we return.
    	defer xioutil.SafeClose(updates)
    
    	ctx, cancel := context.WithCancel(ctx)
    	defer cancel()
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 89.2K bytes
    - Viewed (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/UpgradeContextTest.java

            UpgradeContext context = TestUtils.createMockContext(Paths.get("/test"));
    
            // Test indentation methods don't throw exceptions
            context.indent();
            context.indent();
            context.info("Indented message");
    
            context.unindent();
            context.unindent();
            context.unindent(); // Should not go below 0
            context.info("Unindented message");
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jul 15 09:35:08 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top