Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 511 for RES (0.04 sec)

  1. src/test/java/org/codelibs/fess/it/admin/SuggestTests.java

            String response = checkGetMethod(searchBody, "").asString();
            final Map<String, Object> res = JsonPath.from(response).getMap("response.setting");
            assertTrue(res.containsKey("total_words_num"));
            assertTrue(res.containsKey("document_words_num"));
            assertTrue(res.containsKey("query_words_num"));
            assertEquals(new Integer(0), JsonPath.from(response).get("response.status"));
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/net/http/responsecontroller_test.go

    			t.Errorf("ctl.Flush() = %v, want nil", err)
    			return
    		}
    		<-continuec
    		w.Write([]byte("two"))
    	}))
    
    	res, err := cst.c.Get(cst.ts.URL)
    	if err != nil {
    		t.Fatalf("unexpected connection error: %v", err)
    	}
    	defer res.Body.Close()
    
    	buf := make([]byte, 16)
    	n, err := res.Body.Read(buf)
    	close(continuec)
    	if err != nil || string(buf[:n]) != "one" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 19:20:31 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. pilot/pkg/config/kube/ingress/status_test.go

    	return func() []string {
    		i := ing.Get(name, ns)
    		if i == nil {
    			return nil
    		}
    		res := []string{}
    		for _, v := range i.Status.LoadBalancer.Ingress {
    			if v.IP != "" {
    				res = append(res, v.IP)
    			} else {
    				res = append(res, v.Hostname)
    			}
    		}
    		return res
    	}
    }
    
    func TestStatusController(t *testing.T) {
    	statusLog.SetOutputLevel(istiolog.DebugLevel)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top