Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 908 for Base (0.07 sec)

  1. docs/security/README.md

    The MinIO server runs a key-derivation algorithm to generate the KEK using a pseudo-random function ([PRF](#prf)):
    `KEK := PRF(EK, IV, context_values)` where:
    
    - [EK](#ek): is the external key. In case of SSE-C this is the client-provided key. In case of SSE-S3  this is secret key generated by the KMS. For further details see [SSE-C](#Server-Side-Encryption-with-client-provided-Keys) or [SSE-S3](#Server-Side-Encryption-with-a-KMS).
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Feb 12 00:51:25 UTC 2022
    - 13.8K bytes
    - Viewed (0)
  2. internal/lock/lock_test.go

    			t.Error(blerr)
    			return
    		}
    	}()
    
    	select {
    	case <-locked:
    		t.Error("unexpected unblocking")
    	case <-time.After(100 * time.Millisecond):
    	}
    
    	// unlock
    	if err = dupl.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// the previously blocked routine should be unblocked
    	select {
    	case <-locked:
    	case <-time.After(1 * time.Second):
    		t.Error("unexpected blocking")
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  3. internal/dsync/locker.go

    	// In that case, the resource may or may not be unlocked.
    	RUnlock(ctx context.Context, args LockArgs) (bool, error)
    
    	// Do write unlock for given LockArgs. It should return
    	// * a boolean to indicate success/failure of the operation
    	// * an error on failure of unlock request operation.
    	// Canceling the context will abort the remote call.
    	// In that case, the resource may or may not be unlocked.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jan 18 20:44:38 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

            }
        }
    
        public DefaultQueryBuilder add(final QueryBuilder innerQueryBuilder) {
            switch (queryType) {
            case BOOL:
                ((BoolQueryBuilder) queryBuilder).should(innerQueryBuilder);
                break;
            case DISMAX:
                ((DisMaxQueryBuilder) queryBuilder).add(innerQueryBuilder);
                break;
            default:
                break;
            }
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. internal/config/identity/openid/jwt.go

    	// as an audience value. It MAY also contain identifiers for
    	// other audiences. In the general case, the aud value is an
    	// array of case sensitive strings. In the common special case
    	// when there is one audience, the aud value MAY be a single
    	// case sensitive
    	audValues, ok := policy.GetValuesFromClaims(mclaims, audClaim)
    	if !ok {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Sep 06 02:46:36 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. internal/kms/secret-key.go

    	var aead cipher.AEAD
    	switch keyType {
    	case kms.AES256:
    		mac := hmac.New(sha256.New, s.key)
    		mac.Write(iv)
    		sealingKey := mac.Sum(nil)
    
    		block, err := aes.NewCipher(sealingKey)
    		if err != nil {
    			return nil, err
    		}
    		aead, err = cipher.NewGCM(block)
    		if err != nil {
    			return nil, err
    		}
    	case kms.ChaCha20:
    		sealingKey, err := chacha20.HChaCha20(s.key, iv)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. internal/bucket/object/lock/lock_test.go

    		//nolint:gocritic
    		if tt.expectedErr == nil {
    			if err != nil {
    				t.Fatalf("Case %d error: expected = <nil>, got = %v", i, err)
    			}
    		} else if err == nil {
    			t.Fatalf("Case %d error: expected = %v, got = <nil>", i, tt.expectedErr)
    		} else if tt.expectedErr.Error() != err.Error() {
    			t.Fatalf("Case %d error: expected = %v, got = %v", i, tt.expectedErr, err)
    		}
    	}
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. cmd/erasure-metadata-utils_test.go

    // Tests caclculating disk count.
    func TestDiskCount(t *testing.T) {
    	testCases := []struct {
    		disks     []StorageAPI
    		diskCount int
    	}{
    		// Test case - 1
    		{
    			disks:     []StorageAPI{&xlStorage{}, &xlStorage{}, &xlStorage{}, &xlStorage{}},
    			diskCount: 4,
    		},
    		// Test case - 2
    		{
    			disks:     []StorageAPI{nil, &xlStorage{}, &xlStorage{}, &xlStorage{}},
    			diskCount: 3,
    		},
    	}
    	for i, testCase := range testCases {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. internal/dsync/dsync_test.go

    		t.Fatal("GetLock() should be successful")
    	}
    
    	// Make it run twice.
    	timer := time.NewTimer(testDrwMutexRefreshInterval * 2)
    
    	select {
    	case <-ctx.Done():
    		t.Fatal("Lock context canceled which is not expected")
    	case <-timer.C:
    	}
    
    	// Should be safe operation in all cases
    	dm.Unlock(context.Background())
    }
    
    // Test canceling context while quorum servers report lock not found
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Jun 19 14:35:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. cmd/lock-rest-client.go

    	r, err := h.Call(ctx, c.connection, args)
    	if err != nil {
    		return false, err
    	}
    	defer h.PutResponse(r)
    	ok = r.Code == dsync.RespOK
    	switch r.Code {
    	case dsync.RespLockConflict, dsync.RespLockNotFound, dsync.RespOK:
    	// no error
    	case dsync.RespLockNotInitialized:
    		err = errLockNotInitialized
    	default:
    		err = errors.New(r.Err)
    	}
    	return ok, err
    }
    
    // RLock calls read lock REST API.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top