- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for expected_dx (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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 Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 11.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
for (double x : VALUES) { for (double y : VALUES) { aa.set(i, x); double z = aa.accumulateAndGet(i, y, Double::max); double expectedMax = max(x, y); assertBitEquals(expectedMax, z); assertBitEquals(expectedMax, aa.get(i)); } } } } /** getAndUpdate adds given value to current, and returns previous value */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 14.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
for (double y : VALUES) { AtomicDouble a = new AtomicDouble(x); double z = a.accumulateAndGet(y, Double::max); double expectedMax = max(x, y); assertBitEquals(expectedMax, z); assertBitEquals(expectedMax, a.get()); } } } /** getAndUpdate with sum stores sum of given value to current, and returns previous value */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10.6K bytes - Click Count (0) -
build-tools-internal/src/test/java/org/elasticsearch/gradle/internal/BwcVersionsTests.java
listOfVersions.stream().map(this::formatVersionToLine).collect(Collectors.toList()), Version.fromString("8.0.0") ); expectedEx.expect(IllegalStateException.class); expectedEx.expectMessage("but they are released"); vc.compareToAuthoritative(authoritativeReleasedVersions); } public void testCompareToAuthoritativeNotReallyRelesed() {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 23.7K bytes - Click Count (0) -
internal/hash/errors.go
} // BadDigest - Content-MD5 you specified did not match what we received. type BadDigest struct { ExpectedMD5 string CalculatedMD5 string } func (e BadDigest) Error() string { return "Bad digest: Expected " + e.ExpectedMD5 + " does not match calculated " + e.CalculatedMD5 } // SizeTooSmall reader size too small type SizeTooSmall struct { Want int64 Got int64 }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon May 15 21:08:54 GMT 2023 - 2.4K bytes - Click Count (0) -
internal/hash/reader_test.go
t.Errorf("Expected size 4, got %d", r.Size()) } if r.ActualSize() != 4 { t.Errorf("Expected size 4, got %d", r.ActualSize()) } expectedMD5, err := hex.DecodeString("e2fc714c4727ee9395f324cd2e7f331f") if err != nil { t.Fatal(err) } if !bytes.Equal(r.MD5Current(), expectedMD5) { t.Errorf("Expected md5hex \"e2fc714c4727ee9395f324cd2e7f331f\", got %s", hex.EncodeToString(r.MD5Current())) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
assertNotNull(str); assertTrue(str.contains("type=0x")); // The type should be formatted as 8-character hex String expectedHex = String.format("%08x", type); assertTrue(str.toLowerCase().contains(expectedHex)); } @Test @DisplayName("Test with empty strings") void testWithEmptyStrings() { SmbShareInfo info = new SmbShareInfo("", 0, "");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
assertTrue(result.contains("file=" + fileName)); // Hexdump.toHexString produces 4-character padded uppercase hex String expectedHex = String.format("%04X", action); assertTrue(result.contains("0x" + expectedHex)); } @Test @DisplayName("Test toString with empty object") void testToStringEmpty() { String result = notifyInfo.toString();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
}) void testToStringWithDifferentLevels(int infoLevel, String expectedHex) { trans2QueryFSInfo = new Trans2QueryFSInformation(config, infoLevel); String result = trans2QueryFSInfo.toString(); assertNotNull(result); assertTrue(result.contains("Trans2QueryFSInformation")); assertTrue(result.toLowerCase().contains(expectedHex.toLowerCase())); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.9K bytes - Click Count (0) -
cmd/object-api-multipart_test.go
inputReaderData string inputMd5 string inputSHA256 string inputDataSize int64 // flag indicating whether the test should pass. shouldPass bool // expected error output. expectedMd5 string expectedError error }{ // Test case 1-4. // Cases with invalid bucket name. {bucketName: ".test", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: .test")},Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 89.4K bytes - Click Count (0)