Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for resc (0.07 sec)

  1. src/net/http/transport.go

    				return err
    			},
    		}
    
    		resp.Body = body
    		if rc.addedGzip && ascii.EqualFold(resp.Header.Get("Content-Encoding"), "gzip") {
    			resp.Body = &gzipReader{body: body}
    			resp.Header.Del("Content-Encoding")
    			resp.Header.Del("Content-Length")
    			resp.ContentLength = -1
    			resp.Uncompressed = true
    		}
    
    		select {
    		case rc.ch <- responseAndError{res: resp}:
    		case <-rc.callerGone:
    			return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/devicemanager/manager_test.go

    		makePod(v1.ResourceList{
    			v1.ResourceName(res1.resourceName): res1.resourceQuantity,
    			v1.ResourceName("cpu"):             res1.resourceQuantity,
    			v1.ResourceName(res2.resourceName): res2.resourceQuantity}),
    		makePod(v1.ResourceList{
    			v1.ResourceName(res1.resourceName): res2.resourceQuantity}),
    		makePod(v1.ResourceList{
    			v1.ResourceName(res2.resourceName): res2.resourceQuantity}),
    	}
    	testCases := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

                    customizeCreate(req, resp);
    
                    h.send(req, resp);
                    info = resp;
                    fileSize = resp.getEndOfFile();
                    this.fileLocator.updateType(resp.getFileType());
                    fh = new SmbFileHandleImpl(config, resp.getFid(), h, uncPath, flags, access, attrs, options, resp.getEndOfFile());
                }
                else {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
  4. cmd/peer-rest-server.go

    	res := make([]*MetricV2, 0, len(resourceMetricsGroups))
    	populateAndPublish(resourceMetricsGroups, func(m MetricV2) bool {
    		if m.VariableLabels == nil {
    			m.VariableLabels = make(map[string]string, 1)
    		}
    		m.VariableLabels[serverName] = globalLocalNodeName
    		res = append(res, &m)
    		return true
    	})
    	return aoMetricsGroup.NewWith(res), nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    	testCases := []struct {
    		desc    string
    		config  string
    		want    []healthChecker
    		wantErr string
    		kmsv2   bool
    		kmsv1   bool
    	}{
    		{
    			desc:    "Invalid config file path",
    			config:  "invalid/path",
    			want:    nil,
    			wantErr: `error reading encryption provider configuration file "invalid/path"`,
    		},
    		{
    			desc:    "Empty config file content",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  6. pkg/kubelet/pod_workers_test.go

    		expectGracePeriod                  int64
    		expectPending                      *UpdatePodOptions
    	}{
    		{
    			desc: "finished worker",
    			podSyncStatus: &podSyncStatus{
    				finished: true,
    			},
    			removed: true,
    		},
    		{
    			desc: "waiting to start worker because of another started pod with the same fullname",
    			podSyncStatus: &podSyncStatus{
    				finished: false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  7. src/net/http/client_test.go

    	c := ts.Client()
    	req, _ := NewRequest("GET", ts.URL, nil)
    	req.Host = virtualHost
    	resp, err := c.Do(req)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer resp.Body.Close()
    	if resp.StatusCode != 200 {
    		t.Fatal(resp.Status)
    	}
    	if got, err := io.ReadAll(resp.Body); err != nil || string(got) != wantBody {
    		t.Errorf("body = %q; want %q", got, wantBody)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    func (m *kubeGenericRuntimeManager) Status(ctx context.Context) (*kubecontainer.RuntimeStatus, error) {
    	resp, err := m.runtimeService.Status(ctx, false)
    	if err != nil {
    		return nil, err
    	}
    	if resp.GetStatus() == nil {
    		return nil, errors.New("runtime status is nil")
    	}
    	return toKubeRuntimeStatus(resp.GetStatus(), resp.GetRuntimeHandlers()), nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/route/route_test.go

    					Key:   "x-route-resp-set",
    					Value: "v1",
    				},
    				AppendAction: envoycore.HeaderValueOption_OVERWRITE_IF_EXISTS_OR_ADD,
    			},
    			{
    				Header: &envoycore.HeaderValue{
    					Key:   "x-route-resp-add",
    					Value: "v2",
    				},
    				AppendAction: envoycore.HeaderValueOption_APPEND_IF_EXISTS_OR_ADD,
    			},
    		}))
    		g.Expect(r.ResponseHeadersToRemove).To(Equal([]string{"x-resp-remove", "x-route-resp-remove"}))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	var pod *v1.Pod
    	var container *v1.Container
    	resp, err := m.runtimeService.ContainerStatus(ctx, containerID.ID, false)
    	if err != nil {
    		return nil, nil, err
    	}
    	s := resp.GetStatus()
    	if s == nil {
    		return nil, nil, remote.ErrContainerStatusNil
    	}
    
    	l := getContainerInfoFromLabels(s.Labels)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
Back to top