- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 1,119 for unqual (0.13 sec)
-
internal/etag/reader.go
// Reader compares the etag with the computed // MD5 sum once the r returns io.EOF. func NewReader(ctx context.Context, r io.Reader, etag ETag, forceMD5 []byte) *Reader { if er, ok := r.(*Reader); ok { if er.readN == 0 && Equal(etag, er.checksum) { return er } } if len(forceMD5) != 0 { return &Reader{ src: r, md5: NewUUIDHash(forceMD5), checksum: etag, } } return &Reader{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 4.8K bytes - Viewed (0) -
cmd/post-policy_test.go
expirationStr := fmt.Sprintf(`"expiration": "%s"`, expiration.Format(iso8601TimeFormat)) // Add the bucket condition, only accept buckets equal to the one passed. bucketConditionStr := fmt.Sprintf(`["eq", "$bucket", "%s"]`, bucketName) // Add the key condition, only accept keys equal to the one passed. keyConditionStr := fmt.Sprintf(`["eq", "$key", "%s/upload.txt"]`, objectKey)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 30.2K bytes - Viewed (0) -
cmd/object-handlers-common.go
// If the object doesn't have a modtime (IsZero), or the modtime // is obviously garbage (Unix time == 0), then ignore modtimes // and don't process the If-Modified-Since header. if objInfo.ModTime.IsZero() || objInfo.ModTime.Equal(time.Unix(0, 0)) { return false } // Headers to be set of object content is not going to be written to the client. writeHeaders := func() { // set common headers setCommonHeaders(w)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 03 06:33:53 UTC 2024 - 15.3K bytes - Viewed (0) -
internal/auth/credentials_test.go
// Secret key is different in credentials to compare. {cred, Credentials{AccessKey: cred.AccessKey, SecretKey: "mypassword"}, false}, } for i, testCase := range testCases { result := testCase.cred.Equal(testCase.ccred) if result != testCase.expectedResult { t.Fatalf("test %v: expected: %v, got: %v", i+1, testCase.expectedResult, result) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Mar 01 21:09:42 UTC 2024 - 5.4K bytes - Viewed (0) -
guava/src/com/google/common/graph/MutableNetwork.java
* * <p>If {@code edge} already connects an endpoint pair equal to {@code endpoints}, then this * method will have no effect. * * @return {@code true} if the network was modified as a result of this call * @throws IllegalArgumentException if {@code edge} already exists in the graph and connects some * other endpoint pair that is not equal to {@code endpoints}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 4.4K bytes - Viewed (0) -
internal/etag/etag.go
v, ok := h["ETag"] if !ok || len(v) == 0 { return nil, errors.New("etag: HTTP header does not contain an ETag") } return parse(v[0], strict) } // Equal returns true if and only if the two ETags are // identical. func Equal(a, b ETag) bool { return bytes.Equal(a, b) } // Decrypt decrypts the ETag with the given key. // // If the ETag is not encrypted, Decrypt returns // the ETag unmodified.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Mar 10 21:09:36 UTC 2024 - 13.3K bytes - Viewed (0) -
internal/config/certsinfo.go
case 11: values = append(values, fmt.Sprintf("OU=%s", name.Value)) default: values = append(values, fmt.Sprintf("UnknownOID=%s", name.Type.String())) } } else if oid.Equal(oidEmailAddress) { values = append(values, fmt.Sprintf("emailAddress=%s", name.Value)) } else { values = append(values, fmt.Sprintf("UnknownOID=%s", name.Type.String())) } } if len(values) > 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 16 17:28:29 UTC 2021 - 3.1K bytes - Viewed (0) -
src/archive/tar/tar_test.go
continue } gotAligned := alignSparseEntries(append([]sparseEntry{}, v.in...), v.size) if !slices.Equal(gotAligned, v.wantAligned) { t.Errorf("test %d, alignSparseEntries():\ngot %v\nwant %v", i, gotAligned, v.wantAligned) } gotInverted := invertSparseEntries(append([]sparseEntry{}, v.in...), v.size) if !slices.Equal(gotInverted, v.wantInverted) {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 23.9K bytes - Viewed (0) -
src/main/java/jcifs/SmbResourceLocator.java
/** * Returns the full uncanonicalized URL of this SMB resource. An * <code>SmbFile</code> constructed with the result of this method will * result in an <code>SmbFile</code> that is equal to the original. * * @return The uncanonicalized full URL of this SMB resource. */ String getPath (); /** * Returns the full URL of this SMB resource with '.' and '..' components
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.6K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java
assertTrue( newArtifactVersion(left).compareTo(newArtifactVersion(right)) == 0, left + " should be equal to " + right); assertTrue( newArtifactVersion(right).compareTo(newArtifactVersion(left)) == 0, right + " should be equal to " + left); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.5K bytes - Viewed (0)