Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 805 for RES (0.02 sec)

  1. pkg/api/service/util_test.go

    }
    
    func TestExternallyAccessible(t *testing.T) {
    	checkExternallyAccessible := func(expect bool, service *api.Service) {
    		t.Helper()
    		res := ExternallyAccessible(service)
    		if res != expect {
    			t.Errorf("Expected ExternallyAccessible = %v, got %v", expect, res)
    		}
    	}
    
    	checkExternallyAccessible(false, &api.Service{})
    	checkExternallyAccessible(false, &api.Service{
    		Spec: api.ServiceSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 15:18:45 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. src/net/http/httptest/server_test.go

    		w.Write([]byte("hello"))
    	}))
    
    	res, err := http.Get(ts.URL)
    	if err != nil {
    		t.Fatal(err)
    	}
    	got, err := io.ReadAll(res.Body)
    	res.Body.Close()
    	if err != nil {
    		t.Fatal(err)
    	}
    	if string(got) != "hello" {
    		t.Fatalf("got %q, want hello", string(got))
    	}
    
    	ts.Close()
    
    	res, err = http.Get(ts.URL)
    	if err == nil {
    		body, _ := io.ReadAll(res.Body)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 16:57:12 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. pilot/pkg/status/distribution/reporter.go

    // only the resources we expect to be in flight, not the ones that have already distributed
    func (r *Reporter) AddInProgressResource(res config.Config) {
    	tryLedgerPut(r.ledger, res)
    	myRes := status.ResourceFromModelConfig(res)
    	if myRes == (status.Resource{}) {
    		scope.Errorf("Unable to locate schema for %v, will not update status.", res)
    		return
    	}
    	r.mu.Lock()
    	defer r.mu.Unlock()
    	r.inProgressResources[myRes.ToModelKey()] = &inProgressEntry{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/sets/set.go

    func List[T cmp.Ordered](s Set[T]) []T {
    	res := make(sortableSliceOfGeneric[T], 0, len(s))
    	for key := range s {
    		res = append(res, key)
    	}
    	sort.Sort(res)
    	return res
    }
    
    // UnsortedList returns the slice with contents in random order.
    func (s Set[T]) UnsortedList() []T {
    	res := make([]T, 0, len(s))
    	for key := range s {
    		res = append(res, key)
    	}
    	return res
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 19:51:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/ambient/services.go

    func getVIPs(svc *v1.Service) []string {
    	res := []string{}
    	if svc.Spec.ClusterIP != "" && svc.Spec.ClusterIP != v1.ClusterIPNone {
    		res = append(res, svc.Spec.ClusterIP)
    	}
    	for _, ing := range svc.Status.LoadBalancer.Ingress {
    		// IPs are strictly optional for loadbalancers - they may just have a hostname.
    		if ing.IP != "" {
    			res = append(res, ing.IP)
    		}
    	}
    	return res
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 12:29:55 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/net/http/fs_test.go

    				req.Header.Set(k, v)
    			}
    
    			c := ts.Client()
    			res, err := c.Do(req)
    			if err != nil {
    				t.Fatal(err)
    			}
    			io.Copy(io.Discard, res.Body)
    			res.Body.Close()
    			if res.StatusCode != tt.wantStatus {
    				t.Errorf("test %q using %q: got status = %d; want %d", testName, method, res.StatusCode, tt.wantStatus)
    			}
    			if g, e := res.Header.Get("Content-Type"), tt.wantContentType; g != e {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  7. pilot/pkg/xds/xdsgen.go

    			TypeUrl:       w.TypeUrl,
    			ResourceNames: req.Delta.Subscribed.UnsortedList(),
    		}
    	}
    	res, logdata, err := gen.Generate(con.proxy, w, req)
    	info := ""
    	if len(logdata.AdditionalInfo) > 0 {
    		info = " " + logdata.AdditionalInfo
    	}
    	if len(logFiltered) > 0 {
    		info += logFiltered
    	}
    	if err != nil || res == nil {
    		// If we have nothing to send, report that we got an ACK for this version.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/audit/policy/checker.go

    				return true
    			}
    			for _, res := range gr.Resources {
    				if len(gr.ResourceNames) == 0 || hasString(gr.ResourceNames, name) {
    					// match "*"
    					if res == combinedResource || res == "*" {
    						return true
    					}
    					// match "*/subresource"
    					if len(subresource) > 0 && strings.HasPrefix(res, "*/") && subresource == strings.TrimPrefix(res, "*/") {
    						return true
    					}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 02 22:24:14 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/CachingClassLoaderTest.groovy

            when:
            def res = classLoader.getResource("foo.txt")
    
            then:
            res == new URL("file:foo.txt")
    
            and:
            1 * parent.getResource("foo.txt") >> new URL("file:foo.txt")
            0 * parent._
    
            when:
            res = classLoader.getResource("foo.txt")
    
            then:
            res == new URL("file:foo.txt")
    
            and:
            0 * parent._
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/tests/optimize.mlir

      func.return %0 : tensor<f32>
    
    // CHECK:      %[[RES:.*]] = "mhlo.dot_general"(%arg0, %arg1) <{
    // CHECK-SAME:   dot_dimension_numbers = #mhlo.dot<
    // CHECK-SAME:     lhs_contracting_dimensions = [0],
    // CHECK-SAME:     rhs_contracting_dimensions = [0]
    // CHECK-SAME: >}> : (tensor<3072xf32>, tensor<3072xf32>) -> tensor<f32>
    // CHECK:      return %[[RES]] : tensor<f32>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 22.7K bytes
    - Viewed (0)
Back to top