- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for expectedMap (0.08 seconds)
-
cmd/server_test.go
} func (s *TestSuiteCommon) TestCors(c *check) { expectedMap := http.Header{} expectedMap.Set("Access-Control-Allow-Credentials", "true") expectedMap.Set("Access-Control-Allow-Origin", "http://foobar.com") expectedMap["Access-Control-Expose-Headers"] = []string{ "Date", "Etag", "Server", "Connection", "Accept-Ranges",
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 118.1K bytes - Click Count (0) -
internal/bucket/object/lock/lock_test.go
}, expectedVal: true, }, { header: http.Header{ AmzObjectLockBypassRetGovernance: []string{""}, }, expectedVal: false, }, } for _, tt := range tests { actualVal := IsObjectLockRequested(tt.header) if actualVal != tt.expectedVal { t.Fatalf("error: expected %v, actual %v", tt.expectedVal, actualVal) } } }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 18.4K bytes - Click Count (0) -
internal/hash/reader.go
func (r *Reader) SetExpectedMin(expectedMin int64) { r.expectedMin = expectedMin } // SetExpectedMax set expected max data expected from reader func (r *Reader) SetExpectedMax(expectedMax int64) { r.expectedMax = expectedMax } // AddChecksum will add checksum checks as specified in // https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 11.8K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultProjectManagerTest.java
* * @param expectedGAV the actual <abbr>GAV</abbr> that the exception message should contain * @param actualGAV the actual <abbr>GAV</abbr> that the exception message should contain */ private void assertExceptionMessageContains(String expectedGAV, String actualGAV) { String cause = assertThrows(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Dec 17 16:17:01 GMT 2025 - 5.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
BloomFilter<Object> bf = BloomFilter.create(HashTestUtils.BAD_FUNNEL, 10, 0.03); double fpp = bf.expectedFpp(); assertThat(fpp).isEqualTo(0.0); // usually completed in less than 200 iterations while (fpp != 1.0) { boolean changed = bf.put(new Object()); double newFpp = bf.expectedFpp(); // if changed, the new fpp is strictly higher, otherwise it is the same
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 22.1K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
* case that too many elements (more than expected) have been put in the {@code BloomFilter}, * degenerating it. * * @since 14.0 (since 11.0 as expectedFalsePositiveProbability()) */ public double expectedFpp() { return Math.pow((double) bits.bitCount() / bitSize(), numHashFunctions); } /** * Returns an estimate for the total number of distinct elements that have been added to this
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 19:23:59 GMT 2025 - 26.9K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.zip
uint64(0)) } aes.EncryptBlockInternal(&g.cipher, tagMask[:], counter[:]) var expectedTag [gcmTagSize]byte gcmAesData(&g.productTable, data, &expectedTag) if len(ciphertext) > 0 { gcmAesDec(&g.productTable, out, ciphertext, &counter, &expectedTag, aes.EncryptionKeySchedul(&g.cipher)) } gcmAesFinish(&g.productTable, &tagMask, &expectedTag, uint64(len(ciphertext)), uint64(len(data))) if subtle.ConstantTimeCompare(expectedTag[:g.tagSize], tag) != 1 { return errOpen } return nil } golang.org/fips140@v...
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0) -
lib/fips140/v1.1.0-rc1.zip
uint64(0)) } aes.EncryptBlockInternal(&g.cipher, tagMask[:], counter[:]) var expectedTag [gcmTagSize]byte gcmAesData(&g.productTable, data, &expectedTag) if len(ciphertext) > 0 { gcmAesDec(&g.productTable, out, ciphertext, &counter, &expectedTag, aes.EncryptionKeySchedul(&g.cipher)) } gcmAesFinish(&g.productTable, &tagMask, &expectedTag, uint64(len(ciphertext)), uint64(len(data))) if subtle.ConstantTimeCompare(expectedTag[:g.tagSize], tag) != 1 { return errOpen } return nil } golang.org/fips140@v...
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:27:41 GMT 2025 - 663K bytes - Click Count (0)