Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 755 for Represent (0.09 sec)

  1. internal/kms/config.go

    		}
    		return ParseSecretKey(s)
    	}
    }
    
    // IsPresent reports whether a KMS configuration is present.
    // It returns an error if multiple KMS configurations are
    // present or if one configuration is incomplete.
    func IsPresent() (bool, error) {
    	// isPresent reports whether at least one of the
    	// given env. variables is present.
    	isPresent := func(vars ...string) bool {
    		for _, v := range vars {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 11:46:39 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	ErasureSetsTestStr string = "ErasureSet"
    )
    
    const letterBytes = "abcdefghijklmnopqrstuvwxyz01234569"
    const (
    	letterIdxBits = 6                    // 6 bits to represent a letter index
    	letterIdxMask = 1<<letterIdxBits - 1 // All 1-bits, as many as letterIdxBits
    	letterIdxMax  = 63 / letterIdxBits   // # of letter indices fitting in 63 bits
    )
    
    // Random number state.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    			fault:            MissingUploadID,
    			partNumberMarker: "",
    			maxParts:         "",
    			expectedErr:      noSuchUploadErr,
    		},
    	}
    
    	// string to represent V2 signed HTTP request.
    	reqV2Str := "V2 Signed HTTP request"
    	// string to represent V4 signed HTTP request.
    	reqV4Str := "V4 Signed HTTP request"
    	// Collection of HTTP request and ResponseRecorder and request type string.
    	type inputReqRec struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  4. internal/crypto/sse-kms.go

    	// Otherwise, the metadata is corrupted.
    	keyID, idPresent := metadata[MetaKeyID]
    	b64KMSSealedKey, kmsKeyPresent := metadata[MetaDataEncryptionKey]
    	if !idPresent && kmsKeyPresent {
    		return keyID, kmsKey, sealedKey, ctx, Errorf("The object metadata is missing the internal KMS key-ID for SSE-S3")
    	}
    	if idPresent && !kmsKeyPresent {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. internal/crypto/sse-s3.go

    	// Otherwise, the metadata is corrupted.
    	keyID, idPresent := metadata[MetaKeyID]
    	b64KMSSealedKey, kmsKeyPresent := metadata[MetaDataEncryptionKey]
    	if !idPresent && kmsKeyPresent {
    		return keyID, kmsKey, sealedKey, Errorf("The object metadata is missing the internal KMS key-ID for SSE-S3")
    	}
    	if idPresent && !kmsKeyPresent {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. internal/kms/config_test.go

    			os.Setenv(k, v)
    		}
    
    		ok, err := IsPresent()
    		if err != nil && !test.ShouldFail {
    			t.Fatalf("Test %d: %v", i, err)
    		}
    		if err == nil && test.ShouldFail {
    			t.Fatalf("Test %d: should have failed but succeeded", i)
    		}
    
    		if !test.ShouldFail && ok != test.IsPresent {
    			t.Fatalf("Test %d: reported that KMS present=%v - want present=%v", i, ok, test.IsPresent)
    		}
    	}
    }
    
    var isPresentTests = []struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Maps.java

       * boolean) headMap()}) to actually construct the view. Consult these methods for a full
       * description of the returned view's behavior.
       *
       * <p><b>Warning:</b> {@code Range}s always represent a range of values using the values' natural
       * ordering. {@code NavigableMap} on the other hand can specify a custom ordering via a {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Maps.java

       * boolean) headMap()}) to actually construct the view. Consult these methods for a full
       * description of the returned view's behavior.
       *
       * <p><b>Warning:</b> {@code Range}s always represent a range of values using the values' natural
       * ordering. {@code NavigableMap} on the other hand can specify a custom ordering via a {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbResource.java

        /**
         * Tests to see if the file this <code>SmbResource</code> represents is not a directory.
         *
         * @return <code>true</code> if this <code>SmbResource</code> is not a directory
         * @throws CIFSException
         */
        boolean isFile () throws CIFSException;
    
    
        /**
         * Tests to see if the file this <code>SmbResource</code> represents is a directory.
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (0)
  10. cmd/metrics-v3-types.go

    	}
    	return strings.HasPrefix(descendant, arg)
    }
    
    // MetricType - represents the type of a metric.
    type MetricType int
    
    const (
    	// CounterMT - represents a counter metric.
    	CounterMT MetricType = iota
    	// GaugeMT - represents a gauge metric.
    	GaugeMT
    	// HistogramMT - represents a histogram metric.
    	HistogramMT
    )
    
    // rangeL - represents a range label.
    const rangeL = "range"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top