Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for RES (0.06 sec)

  1. src/net/http/serve_test.go

    		t.Run(tc.reqPath, func(t *testing.T) {
    			res, err := c.Get(ts.URL + tc.reqPath)
    			if err != nil {
    				t.Fatal(err)
    			}
    			res.Body.Close()
    			if tc.path == "" {
    				if res.StatusCode != StatusNotFound {
    					t.Errorf("got %q, want 404 Not Found", res.Status)
    				}
    				return
    			}
    			if res.StatusCode != StatusOK {
    				t.Fatalf("got %q, want 200 OK", res.Status)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  2. src/net/http/transport_test.go

    	req.Header.Set("Connection", "upgrade")
    	res, err := cst.c.Do(req)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if res.StatusCode != 101 {
    		t.Fatalf("expected 101 switching protocols; got %v, %v", res.Status, res.Header)
    	}
    	rwc, ok := res.Body.(io.ReadWriteCloser)
    	if !ok {
    		t.Fatalf("expected a ReadWriteCloser; got a %T", res.Body)
    	}
    	defer rwc.Close()
    	bs := bufio.NewScanner(rwc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    		}); err != nil {
    			res.Buckets = append(res.Buckets, madmin.ResyncBucketStatus{
    				ErrDetail: err.Error(),
    				Bucket:    bucket,
    			})
    			continue
    		}
    	}
    	res = madmin.SRResyncOpStatus{
    		Status:   ResyncStarted.String(),
    		OpType:   "start",
    		ResyncID: rs.ResyncID,
    		Buckets:  res.Buckets,
    	}
    	if len(res.Buckets) > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  4. src/net/http/server.go

    	if !cw.wroteHeader {
    		cw.writeHeader(p)
    	}
    	if cw.res.req.Method == "HEAD" {
    		// Eat writes.
    		return len(p), nil
    	}
    	if cw.chunking {
    		_, err = fmt.Fprintf(cw.res.conn.bufw, "%x\r\n", len(p))
    		if err != nil {
    			cw.res.conn.rwc.Close()
    			return
    		}
    	}
    	n, err = cw.res.conn.bufw.Write(p)
    	if cw.chunking && err == nil {
    		_, err = cw.res.conn.bufw.Write(crlf)
    	}
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  5. pkg/kubelet/eviction/helpers_test.go

    }
    
    func newResourceList(cpu, memory, disk string) v1.ResourceList {
    	res := v1.ResourceList{}
    	if cpu != "" {
    		res[v1.ResourceCPU] = resource.MustParse(cpu)
    	}
    	if memory != "" {
    		res[v1.ResourceMemory] = resource.MustParse(memory)
    	}
    	if disk != "" {
    		res[v1.ResourceEphemeralStorage] = resource.MustParse(disk)
    	}
    	return res
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

    // CHECK-LABEL:scatterNdVectorIndices
    // CHECK: %[[CST:.*]] = arith.constant dense<[10, 3, 2]> : tensor<3xi32>
    // CHECK: %[[RES:.*]] = "tfl.scatter_nd"(%arg0, %arg1, %[[CST]]) : (tensor<5x1xi32>, tensor<5x3x2xf32>, tensor<3xi32>) -> tensor<10x3x2xf32>
    // CHECK: return %[[RES]]
    }
    
    func.func @scatterNdHigherRankIndices(%arg0: tensor<4x2x2xi32>, %arg1: tensor<4x2x3xf32>, %arg2: tensor<3xi32>) -> tensor<10x2x3xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    	if err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    	res, err := client.Do(request)
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	if res.StatusCode != http.StatusOK {
    		t.Errorf("unexpected response: %s %#v", request.URL, res)
    		s, err := ioutil.ReadAll(res.Body)
    		if err != nil {
    			t.Fatalf("unexpected error: %v", err)
    		}
    		t.Logf(string(s))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

        *it++ = meet;
      }
      if (!changed) return false;
    
      FailureOr<bool> res = PropagateShapeToFunctions(
          op->getParentOfType<ModuleOp>(), input_types, {f}, max_iterations);
      if (failed(res)) {
        op->emitOpError("propagating shapes failed");
        return false;
      }
      return *res;
    }
    
    bool ShapeInference::InferShapeForMapDataset(MapDatasetOp op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  9. fastapi/routing.py

    from typing_extensions import Annotated, Doc, deprecated
    
    
    def _prepare_response_content(
        res: Any,
        *,
        exclude_unset: bool,
        exclude_defaults: bool = False,
        exclude_none: bool = False,
    ) -> Any:
        if isinstance(res, BaseModel):
            read_with_orm_mode = getattr(_get_model_config(res), "read_with_orm_mode", None)
            if read_with_orm_mode:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 170.1K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/runtime/framework_test.go

    }
    
    // BuildNodeInfos build NodeInfo slice from a v1.Node slice
    func BuildNodeInfos(nodes []*v1.Node) []*framework.NodeInfo {
    	res := make([]*framework.NodeInfo, len(nodes))
    	for i := 0; i < len(nodes); i++ {
    		res[i] = framework.NewNodeInfo()
    		res[i].SetNode(nodes[i])
    	}
    	return res
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
Back to top