- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for duck (0.31 sec)
-
tensorflow/c/c_api_test.cc
EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); EXPECT_EQ("bunny", string(static_cast<const char*>(value.get()), 5)); } TEST_F(CApiAttributesTest, StringList) { std::vector<string> list = {"bugs", "bunny", "duck"}; std::unique_ptr<const void*[]> list_ptrs; std::unique_ptr<size_t[]> list_lens; StringVectorToArrays(list, &list_ptrs, &list_lens); int list_total_size = 0; for (const auto& s : list) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 96.9K bytes - Viewed (0) -
pilot/pkg/leaderelection/leaderelection_test.go
client.Fake.PrependReactor("update", "*", func(action k8stesting.Action) (bool, runtime.Object, error) { if allowRbac.Load() { return false, nil, nil } return true, nil, fmt.Errorf("nope, out of luck") }) completions := atomic.NewInt32(0) l, stop := createElection(t, "pod1", "", watcher, true, client, func(stop <-chan struct{}) { completions.Add(1) }) // Expect to run once
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 11.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/resource_access.go
} } resourceQuotas := []corev1.ResourceQuota{} for i := range items { quota := items[i] quota = e.checkCache(quota) // always make a copy. We're going to muck around with this and we should never mutate the originals resourceQuotas = append(resourceQuotas, *quota) } return resourceQuotas, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 13:54:56 UTC 2024 - 5.6K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns.go
// - 0::/../crio-45490e76e0878aaa4d9808f7d2eefba37f093c3efbba9838b6d8ab804d9bd814.scope // First trim off any .scope suffix. This allows for a cleaner regex since // we don't have to muck with greediness. TrimSuffix is no-copy so this // is cheap. cgroupPath = strings.TrimSuffix(cgroupPath, ".scope") var matchResults map[string]string for _, regex := range cgroupREs {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 11K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go
can be easily selected, incorporated, and reused in a wide range of driver programs including command-line tools (such as vet), text editors and IDEs, build and test systems (such as go build, Bazel, or Buck), test frameworks, code review tools, code-base indexers (such as SourceGraph), documentation viewers (such as godoc), batch pipelines for large code bases, and so on. # Analyzer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13.3K bytes - Viewed (0) -
src/runtime/string.go
} s, b := rawstring(n1 + 4) n2 := 0 for i := 0; str[i] != 0; i++ { // check for race if n2 >= n1 { break } n2 += encoderune(b[n2:], rune(str[i])) } b[n2] = 0 // for luck return s[:n2]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 13.4K bytes - Viewed (0) -
src/crypto/x509/name_constraints_test.go
}, noOpenSSL: true, // OpenSSL's chain building is not informed by constraints. }, // #23: (same as the previous test, but in the other order in ensure // that we don't pass it by luck.) { roots: make([]constraintsSpec, 1), intermediates: [][]constraintsSpec{ { { ok: []string{"dns:.example.com"}, }, { ok: []string{"dns:.foo.com"}, }, },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 22:40:21 UTC 2024 - 45.2K bytes - Viewed (0) -
pkg/kube/kclient/client_test.go
c := kube.NewFakeClient() // Prevent List from succeeding c.Kube().(*fake.Clientset).Fake.PrependReactor("*", "*", func(action k8stesting.Action) (bool, runtime.Object, error) { return true, nil, fmt.Errorf("nope, out of luck") }) c.RunAndWait(test.NewStop(t)) deployments := kclient.New[*appsv1.Deployment](c) deployments.Start(test.NewStop(t))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 11 15:12:54 UTC 2024 - 17.2K bytes - Viewed (0) -
pilot/pkg/xds/ads.go
if err = s.globalPushContext().InitContext(s.Env, nil, nil); err != nil { // Error accessing the data - log and close, maybe a different pilot replica // has more luck log.Warnf("Error reading config %v", err) return status.Error(codes.Unavailable, "error reading config") } con := newConnection(peerAddr, stream) con.ids = ids con.s = s return xds.Stream(con) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 08:29:05 UTC 2024 - 23.4K bytes - Viewed (0) -
pilot/pkg/xds/delta.go
if err = s.globalPushContext().InitContext(s.Env, nil, nil); err != nil { // Error accessing the data - log and close, maybe a different pilot replica // has more luck deltaLog.Warnf("Error reading config %v", err) return status.Error(codes.Unavailable, "error reading config") } con := newDeltaConnection(peerAddr, stream)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 25.6K bytes - Viewed (0)