- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for expected_dx (0.07 seconds)
-
tensorflow/c/eager/gradient_checker_test.cc
ASSERT_EQ(errors::OK, s.code()) << s.message(); y.reset(y_raw); } float expected_dx[1] = {7.0f}; ASSERT_NO_FATAL_FAILURE(CompareNumericalAndManualGradients( MulModel, ctx_.get(), {x.get(), y.get()}, 0, expected_dx, 1, UseFunction())); } #ifdef PLATFORM_GOOGLE INSTANTIATE_TEST_SUITE_P( UnifiedCAPI, GradientCheckerTest,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 6.5K 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 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) -
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)