- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 31 for ctb2 (0.05 sec)
-
src/net/pipe.go
// buffering. func Pipe() (Conn, Conn) { cb1 := make(chan []byte) cb2 := make(chan []byte) cn1 := make(chan int) cn2 := make(chan int) done1 := make(chan struct{}) done2 := make(chan struct{}) p1 := &pipe{ rdRx: cb1, rdTx: cn1, wrTx: cb2, wrRx: cn2, localDone: done1, remoteDone: done2, readDeadline: makePipeDeadline(),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 5.4K bytes - Viewed (0) -
pkg/registry/core/pod/storage/storage_test.go
location: expectedIP + ":12345", }, { pod: api.Pod{ ObjectMeta: metav1.ObjectMeta{Name: "foo"}, Spec: api.PodSpec{ Containers: []api.Container{ {Name: "ctr1"}, {Name: "ctr2", Ports: []api.ContainerPort{{ContainerPort: 9376}}}, }, }, Status: api.PodStatus{PodIPs: []api.PodIP{{IP: expectedIP}}}, }, query: "foo", location: expectedIP + ":9376", }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 07:18:44 UTC 2024 - 38.8K bytes - Viewed (0) -
pkg/volume/testing/volume_host.go
func (f *fakeKubeletVolumeHost) GetTrustAnchorsByName(name string, allowMissing bool) ([]byte, error) { ctb, err := f.kubeClient.CertificatesV1alpha1().ClusterTrustBundles().Get(context.Background(), name, metav1.GetOptions{}) if err != nil { return nil, fmt.Errorf("while getting ClusterTrustBundle %s: %w", name, err) } return []byte(ctb.Spec.TrustBundle), nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 09:02:45 UTC 2024 - 16.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/idn/PunycodeTest.kt
assertNull(Punycode.decode("xn--a-99999b.net")) } @Test fun dashInPrefix() { testEncodeDecode( unicode = "klmnöpqrst-uvwxy", punycode = "xn--klmnpqrst-uvwxy-ctb", ) } @Test fun uppercasePunycode() { testDecodeOnly( unicode = "ليهمابتكلموشعربي؟", punycode = "XN--EGBPDAJ6BU4BXFGEHFVWXN", ) }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.3K bytes - Viewed (0) -
src/syscall/js/js_test.go
<-c } func TestInvokeFunction(t *testing.T) { called := false cb := js.FuncOf(func(this js.Value, args []js.Value) any { cb2 := js.FuncOf(func(this js.Value, args []js.Value) any { called = true return 42 }) defer cb2.Release() return cb2.Invoke() }) defer cb.Release() if got := cb.Invoke().Int(); got != 42 { t.Errorf("got %#v, want %#v", got, 42) } if !called {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 17.7K bytes - Viewed (0) -
src/context/x_test.go
cause := errors.New("TestCustomContextPropagation") donec := make(chan struct{}) ctx1, cancel1 := WithCancelCause(Background()) ctx2 := &customDoneContext{ Context: ctx1, donec: donec, } ctx3, cancel3 := WithCancel(ctx2) defer cancel3() cancel1(cause) close(donec) <-ctx3.Done() if got, want := ctx3.Err(), Canceled; got != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 26.3K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set.go
// an uncached quorum read sometime after listing Pods/ControllerRevisions (see #42639). func (ssc *StatefulSetController) canAdoptFunc(ctx context.Context, set *apps.StatefulSet) func(ctx2 context.Context) error { return controller.RecheckDeletionTimestamp(func(ctx context.Context) (metav1.Object, error) { fresh, err := ssc.kubeClient.AppsV1().StatefulSets(set.Namespace).Get(ctx, set.Name, metav1.GetOptions{})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 18.5K bytes - Viewed (0) -
pkg/api/pod/util_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 108.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go
counter.Add(1) // account for the following goroutine go func() { defer counter.Add(-1) // account completion of this goroutine idle1 = req1.Finish(func() { executed1 = true ctx2, cancel2 := context.WithCancel(context.Background()) tBefore := clk.Now() counter.Add(1) // account for the following goroutine go func() { defer counter.Add(-1) // account completion of this goroutine
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 26 12:55:23 UTC 2023 - 58.4K bytes - Viewed (0) -
pkg/apis/core/validation/validation_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 857.7K bytes - Viewed (0)