Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 1,794 for context_ (0.26 seconds)

  1. internal/kms/conn.go

    	// should be decrypted. Therefore, it is the callers
    	// responsibility to remember the corresponding context for
    	// a particular DEK. The context may be nil.
    	GenerateKey(context.Context, *GenerateKeyRequest) (DEK, error)
    
    	// DecryptKey decrypts the ciphertext with the key referenced
    	// by the key ID. The context must match the context value
    	// used to generate the ciphertext.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Aug 18 06:43:03 GMT 2024
    - 5K bytes
    - Click Count (0)
  2. cmd/xl-storage.go

    }
    
    func (s *xlStorage) readMetadata(ctx context.Context, itemPath string) ([]byte, error) {
    	return xioutil.WithDeadline[[]byte](ctx, globalDriveConfig.GetMaxTimeout(), func(ctx context.Context) ([]byte, error) {
    		buf, _, err := s.readMetadataWithDMTime(ctx, itemPath)
    		return buf, err
    	})
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
  3. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

        val name: String,
        val version: String
    ) : ComponentMetadataRule {
        override fun execute(context: ComponentMetadataContext) {
            context.details.allVariants {
                withCapabilities {
                    addCapability("org.gradle.internal.capability", name, "${version}.original.${context.details.id.version}")
                }
            }
        }
    }
    
    
    class CapabilitySpec {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 26 09:04:32 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            PreauthIntegrityContext context = preauthService.initializeSession(sessionId, salt, PreauthIntegrityService.HASH_ALGO_SHA512);
    
            assertNotNull(context);
            assertEquals(PreauthIntegrityService.HASH_ALGO_SHA512, context.getHashAlgorithm());
            assertArrayEquals(salt, context.getSalt());
            assertTrue(context.isValid());
            assertNotNull(context.getCurrentHash());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  5. cmd/namespace-lock.go

    type RWLocker interface {
    	GetLock(ctx context.Context, timeout *dynamicTimeout) (lkCtx LockContext, timedOutErr error)
    	Unlock(lkCtx LockContext)
    	GetRLock(ctx context.Context, timeout *dynamicTimeout) (lkCtx LockContext, timedOutErr error)
    	RUnlock(lkCtx LockContext)
    }
    
    // LockContext lock context holds the lock backed context and canceler for the context.
    type LockContext struct {
    	ctx    context.Context
    	cancel context.CancelFunc
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/site/apt/index.apt

      in this context) and <<<$\{rootDirectory}>>> (introduced in Maven 4), system properties and user properties.
    
      Values are evaluated in sequence from different syntaxes:
    
    *----+------+------+
    || value || evaluation result || common examples ||
    *----+------+------+
    | <<<project.*>>>\
    <<<pom.*>>> (<deprecated>)\
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 03 08:42:52 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  7. internal/cachevalue/cache_test.go

    		func(ctx context.Context) (time.Time, error) {
    			return time.Now(), slowCaller(ctx)
    		},
    	)
    
    	ctx, cancel := context.WithCancel(t.Context())
    	cancel() // cancel context to test.
    
    	_, err := cache.GetWithCtx(ctx)
    	if !errors.Is(err, context.Canceled) {
    		t.Fatalf("expected context.Canceled err, got %v", err)
    	}
    
    	ctx, cancel = context.WithCancel(t.Context())
    	defer cancel()
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  8. cmd/admin-handlers-users_test.go

    	}
    }
    
    func (c *check) mustGetIAMUserInfo(ctx context.Context, admClnt *madmin.AdminClient, accessKey string) madmin.UserInfo {
    	c.Helper()
    	ui, err := admClnt.GetUserInfo(ctx, accessKey)
    	if err != nil {
    		c.Fatalf("should be able to get user info: %v", err)
    	}
    	return ui
    }
    
    func (c *check) mustNotCreateIAMUser(ctx context.Context, admClnt *madmin.AdminClient) {
    	c.Helper()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 50.6K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/InteractiveGoalSupport.java

        @Override
        public int execute(EncryptContext context) throws Exception {
            if (!context.interactive) {
                context.terminal.writer().println("This tool works only in interactive mode!");
                context.terminal
                        .writer()
                        .println("Tool purpose is to configure password management on developer workstations.");
                context.terminal
                        .writer()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 11 09:13:06 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  10. internal/kms/stub.go

    func (s StubKMS) Version(ctx context.Context) (string, error) {
    	return "stub", nil
    }
    
    // APIs returns supported APIs
    func (s StubKMS) APIs(ctx context.Context) ([]madmin.KMSAPI, error) {
    	return []madmin.KMSAPI{
    		{Method: http.MethodGet, Path: "stub/path"},
    	}, nil
    }
    
    // Status returns a set of endpoints and their KMS status.
    func (s StubKMS) Status(context.Context) (map[string]madmin.ItemState, error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Aug 18 06:43:03 GMT 2024
    - 3.6K bytes
    - Click Count (0)
Back to Top