Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for duck (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/encoding/gob/type.go

    		}
    		if p := rt; p.Kind() == reflect.Pointer {
    			indir++
    			if indir > 100 { // insane number of indirections
    				return false, 0
    			}
    			rt = p.Elem()
    			continue
    		}
    		break
    	}
    	// No luck yet, but if this is a base type (non-pointer), the pointer might satisfy.
    	if typ.Kind() != reflect.Pointer {
    		// Not a pointer, but does the pointer work?
    		if reflect.PointerTo(typ).Implements(gobEncDecType) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  10. src/cmd/link/link_test.go

    ancient Greenwich pensioners, wheezing by the firesides of their wards; fog in the stem and bowl of the afternoon pipe of the wrathful skipper, down in his close cabin; fog cruelly pinching the toes and fingers of his shivering little ‘prentice boy on deck. Chance people on the bridges peeping over the parapets into a nether sky of fog, with fog all round them, as if they were up in a balloon and hanging in the misty clouds.  	Gas looming through the fog in divers places in the streets, much as the sun...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
Back to top