- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 67 for desc2 (0.2 sec)
-
tensorflow/c/c_api_function_test.cc
TF_OperationDescription* desc = TF_NewOperation(host_graph_, func_name_, func_node_name_); for (auto input : inputs) { TF_AddInput(desc, input); } // Set device to CPU because some ops inside the function might not be // available on GPU. TF_SetDevice(desc, "/cpu:0"); *op = TF_FinishOperation(desc, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Preconditions.java
public static int checkElementIndex(int index, int size, String desc) { // Carefully optimized for execution by hotspot (explanatory comment above) if (index < 0 || index >= size) { throw new IndexOutOfBoundsException(badElementIndex(index, size, desc)); } return index; } private static String badElementIndex(int index, int size, String desc) { if (index < 0) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 11 11:52:14 UTC 2024 - 52.9K bytes - Viewed (0) -
pkg/volume/csi/csi_mounter_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 50.1K bytes - Viewed (0) -
tests/query_test.go
} result = dryDB.Order("age desc, name").Find(&User{}) if !regexp.MustCompile("SELECT \\* FROM .*users.* ORDER BY age desc, name").MatchString(result.Statement.SQL.String()) { t.Fatalf("Build Order condition, but got %v", result.Statement.SQL.String()) } result = dryDB.Order("age desc").Order("name").Find(&User{}) if !regexp.MustCompile("SELECT \\* FROM .*users.* ORDER BY age desc,name").MatchString(result.Statement.SQL.String()) {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 49.8K bytes - Viewed (0) -
pkg/kubelet/server/server_test.go
} for desc := range tests { test := tests[desc] t.Run(desc, func(t *testing.T) { ss, err := newTestStreamingServer(0) require.NoError(t, err) defer ss.testHTTPServer.Close() fw := newServerTestWithDebug(true, ss) defer fw.testHTTPServer.Close() fmt.Println(desc) podNamespace := "other" podName := "foo"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 51.5K bytes - Viewed (0) -
pkg/controller/endpoint/endpoints_controller_test.go
} func TestSyncServiceExternalNameType(t *testing.T) { serviceName := "testing-1" namespace := metav1.NamespaceDefault testCases := []struct { desc string service *v1.Service }{ { desc: "External name with selector and ports should not receive endpoints", service: &v1.Service{ ObjectMeta: metav1.ObjectMeta{Name: serviceName, Namespace: namespace}, Spec: v1.ServiceSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 87.7K bytes - Viewed (0) -
pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go
return dswp, fakePodManager, fakePodStateProvider } func TestFindAndAddNewPods_WithDifferentConditions(t *testing.T) { tests := []struct { desc string hasAddedPods bool podState string expectedFound bool // Found pod is added to DSW }{ { desc: "HasAddedPods is false, ShouldPodRuntimeBeRemoved and ShouldPodContainerBeTerminating are both true", hasAddedPods: false,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 51.4K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager_test.go
actual := []*cRecord{} for _, cStatus := range runtime.Containers { actual = append(actual, &cRecord{name: cStatus.Metadata.Name, attempt: cStatus.Metadata.Attempt, state: cStatus.State}) } sort.Sort(cRecordList(expected)) sort.Sort(cRecordList(actual)) assert.Equal(t, expected, actual, desc) } func TestNewKubeRuntimeManager(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 96K bytes - Viewed (0) -
src/internal/trace/order.go
return curCtx, false, err } desc := stringID(0) if ev.typ == go122.EvSTWBegin { desc = stringID(ev.args[0]) } gState, ok := o.gStates[curCtx.G] if !ok { return curCtx, false, fmt.Errorf("encountered event of type %d without known state for current goroutine %d", ev.typ, curCtx.G) } if err := gState.beginRange(makeRangeType(ev.typ, desc)); err != nil { return curCtx, false, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 52.4K bytes - Viewed (0) -
src/net/dnsclient_unix_test.go
Name: name, Server: server, IsNotFound: true, } } cases := []struct { desc string resolveWhich func(quest dnsmessage.Question) resolveWhichEnum wantStrictErr error wantLaxErr error wantIPs []string }{ { desc: "No errors", resolveWhich: func(quest dnsmessage.Question) resolveWhichEnum { return resolveOK },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 72.4K bytes - Viewed (0)