Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for name12 (0.14 sec)

  1. pkg/kubelet/util/manager/cache_based_manager_test.go

    	store.AddReference("ns1", "name1", "pod1")
    	store.AddReference("ns2", "name2", "pod2")
    	store.AddReference("ns1", "name1", "pod3")
    	store.AddReference("ns1", "name1", "pod4")
    	store.DeleteReference("ns1", "name1", "pod1")
    	store.DeleteReference("ns2", "name2", "pod2")
    	store.AddReference("ns3", "name3", "pod5")
    
    	// Adds don't issue Get requests.
    	actions := fakeClient.Actions()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/named.go

    func (t *Named) methodIndex(name string, foldCase bool) int {
    	if name == "_" {
    		return -1
    	}
    	if foldCase {
    		for i, m := range t.methods {
    			if strings.EqualFold(m.name, name) {
    				return i
    			}
    		}
    	} else {
    		for i, m := range t.methods {
    			if m.name == name {
    				return i
    			}
    		}
    	}
    	return -1
    }
    
    // Underlying returns the [underlying type] of the named type t, resolving all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  3. src/go/types/named.go

    func (t *Named) methodIndex(name string, foldCase bool) int {
    	if name == "_" {
    		return -1
    	}
    	if foldCase {
    		for i, m := range t.methods {
    			if strings.EqualFold(m.name, name) {
    				return i
    			}
    		}
    	} else {
    		for i, m := range t.methods {
    			if m.name == name {
    				return i
    			}
    		}
    	}
    	return -1
    }
    
    // Underlying returns the [underlying type] of the named type t, resolving all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. pkg/kube/kclient/client_test.go

    	vst.Create(&istionetclient.VirtualService{
    		ObjectMeta: metav1.ObjectMeta{Name: "name3", Namespace: "not-selected"},
    	})
    	vst.Create(&istionetclient.VirtualService{
    		ObjectMeta: metav1.ObjectMeta{Name: "name4", Namespace: "selected"},
    	})
    	tracker.WaitOrdered("add/name4")
    }
    
    func TestFilterClusterScoped(t *testing.T) {
    	tracker := assert.NewTracker[string](t)
    	c := kube.NewFakeClient()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 15:12:54 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. src/time/format_test.go

    	}
    
    	f.Fuzz(func(t *testing.T, s string) {
    		// equalTime is like time.Time.Equal, but also compares the time zone.
    		equalTime := func(t1, t2 Time) bool {
    			name1, offset1 := t1.Zone()
    			name2, offset2 := t2.Zone()
    			return t1.Equal(t2) && name1 == name2 && offset1 == offset2
    		}
    
    		for _, tz := range []*Location{UTC, Local} {
    			// Parsing as RFC3339 or RFC3339Nano should be identical.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    }
    
    // Name returns the name from the request, and an optional namespace value if this is a namespace
    // scoped call. An error is returned if the name is not available.
    func (p *testNamer) Name(req *http.Request) (namespace, name string, err error) {
    	return p.namespace, p.name, nil
    }
    
    // ObjectName returns the namespace and name from an object if they exist, or an error if the object
    // does not support names.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  7. istioctl/pkg/waypoint/waypoint.go

    			return err
    		}
    		for _, gw := range waypoints.Items {
    			names = append(names, gw.Name)
    		}
    	}
    
    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	for _, name := range names {
    		wg.Add(1)
    		go func(name string) {
    			defer wg.Done()
    			if err := kubeClient.GatewayAPI().GatewayV1().Gateways(namespace).
    				Delete(context.Background(), name, metav1.DeleteOptions{}); err != nil {
    				if errors.IsNotFound(err) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/echotest/filters_test.go

    				Namespace: echo1NS,
    			},
    			{
    				Name:      "c",
    				Namespace: echo1NS,
    			},
    			{
    				Name:      "external",
    				Namespace: echo1NS,
    			},
    			{
    				Name:      "headless",
    				Namespace: echo1NS,
    			},
    			{
    				Name:      "naked",
    				Namespace: echo1NS,
    			},
    			{
    				Name:      "vm",
    				Namespace: echo1NS,
    			},
    		},
    	); diff != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. src/net/http/cookiejar/jar_test.go

    	// Serialize non-expired entries in the form "name1=val1 name2=val2".
    	var cs []string
    	for _, submap := range jar.entries {
    		for _, cookie := range submap {
    			if !cookie.Expires.After(now) {
    				continue
    			}
    
    			v := cookie.Value
    			if strings.ContainsAny(v, " ,") || cookie.Quoted {
    				v = `"` + v + `"`
    			}
    			cs = append(cs, cookie.Name+"="+v)
    		}
    	}
    	slices.Sort(cs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 34K bytes
    - Viewed (0)
  10. cmd/global-heal.go

    				if wildcard.Match("buckets/*/.metacache/*", entry.name) {
    					return
    				}
    				if wildcard.Match("tmp/.trash/*", entry.name) {
    					return
    				}
    				if wildcard.Match("multipart/*", entry.name) {
    					return
    				}
    			}
    
    			// erasureObjects layer needs object names to be encoded
    			encodedEntryName := encodeDirObject(entry.name)
    
    			var result healEntryResult
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:48:50 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top