- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 92 for test_add (0.13 sec)
-
src/net/dnsclient_unix_test.go
} p.SkipAllQuestions() as, err := p.AllAnswers() if err != nil { t.Fatal("AllAnswers failed:", err) } if got := as[0].Body.(*dnsmessage.AResource).A; got != TestAddr { t.Errorf("got address %v, want %v", got, TestAddr) } } // Issue 16865. If a name server times out, continue to the next. func TestRetryTimeout(t *testing.T) { defer dnsWaitGroup.Wait()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 72.4K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/bitmask/bitmask_test.go
}, } for _, tc := range tcases { mask, _ := NewBitMask(tc.bits...) if mask.String() != tc.expectedMask { t.Errorf("Expected mask to be %v, got %v", tc.expectedMask, mask) } } } func TestAdd(t *testing.T) { tcases := []struct { name string bits []int expectedMask string }{ { name: "Add BitMask with bit 0 set", bits: []int{0}, expectedMask: "01",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 09:45:09 UTC 2022 - 16.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/integration/graph_decompose_test.py
_lib_name = os.path.basename(gen_composite_ops.__file__)[4:].replace( '.py', '.so') load_library.load_op_library(os.path.join(_lib_dir, _lib_name)) class GraphDecomposeTest(test.TestCase): def testAddN(self): add = def_function.function(gen_composite_ops.my_add_n) t1 = constant_op.constant([[1.0, 2.0], [3.0, 4.0]]) t2 = constant_op.constant([[1.0, 2.0], [3.0, 4.0]])
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 3.2K bytes - Viewed (0) -
pkg/kubelet/network/dns/dns_test.go
testClusterDNSDomain := "TEST" configurer := NewConfigurer(recorder, nodeRef, nil, nil, testClusterDNSDomain, "") pod := &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ UID: "", Name: "test_pod", Namespace: "testNS", Annotations: map[string]string{}, }, } testCases := []struct { desc string hostNames []string resultSearch []string events []string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 25.6K bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSingleCppProjectIntegrationTest.groovy
def project = rootXcodeProject.projectFile project.targets.size() == 2 project.targets[0].name == 'Test_app' project.targets[0].productReference.path == exe("output/install/main/debug/lib/test_app").absolutePath project.targets[0].buildConfigurationList.buildConfigurations.name == [DefaultXcodeProject.BUILD_DEBUG, DefaultXcodeProject.BUILD_RELEASE]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 27.7K bytes - Viewed (0) -
tests/test_default_response_class_router.py
) client = TestClient(app) json_type = "application/json" text_type = "text/plain; charset=utf-8" html_type = "text/html; charset=utf-8" override_type = "application/x-override" def test_app(): with client: response = client.get("/") assert response.json() == {"msg": "Hello World"} assert response.headers["content-type"] == json_type def test_app_override():
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun Mar 01 20:49:20 UTC 2020 - 5K bytes - Viewed (0) -
tests/test_default_response_class.py
client = TestClient(app) orjson_type = "application/x-orjson" text_type = "text/plain; charset=utf-8" html_type = "text/html; charset=utf-8" override_type = "application/x-override" def test_app(): with client: response = client.get("/") assert response.json() == {"msg": "Hello World"} assert response.headers["content-type"] == orjson_type def test_app_override():
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun Mar 01 20:49:20 UTC 2020 - 5.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
assertThat(list.getLast(), is("1")); list.getLastEntry().remove(); assertThat(list.size(), is(0)); } /** * @throws Exception */ @Test public void testAdd() throws Exception { list.addLast("1"); list.addLast("2"); list.addLast("3"); list.add(1, "4"); assertThat(list.get(1), is("4")); assertThat(list.get(2), is("2"));
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 8.3K bytes - Viewed (0) -
src/syscall/js/js_test.go
NegInfinity: -Infinity, objNumber0: new Number(0), objBooleanFalse: new Boolean(false), })`) //go:wasmimport _gotest add func testAdd(uint32, uint32) uint32 func TestWasmImport(t *testing.T) { a := uint32(3) b := uint32(5) want := a + b if got := testAdd(a, b); got != want { t.Errorf("got %v, want %v", got, want) } } func TestBool(t *testing.T) { want := true o := dummys.Get("someBool")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 17.7K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc
ASSERT_TF_OK(status_); const std::string src = GetURIForPath("RenameFileOverwriteSrc"); const std::string dst = GetURIForPath("RenameFileOverwriteDst"); WriteString(src, "test_old"); ASSERT_TF_OK(status_); WriteString(dst, "test_new"); ASSERT_TF_OK(status_); tf_gcs_filesystem::PathExists(filesystem_, dst.c_str(), status_); EXPECT_TF_OK(status_);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 31 12:04:23 UTC 2020 - 24.9K bytes - Viewed (0)