Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for pos3 (0.06 sec)

  1. src/net/http/serve_test.go

    		t.Fatal("Got nil first request.")
    	}
    	if req.Method != "POST" {
    		t.Errorf("For request #1's method, got %q; expected %q",
    			req.Method, "POST")
    	}
    
    	req = <-ch
    	if req == nil {
    		t.Fatal("Got nil first request.")
    	}
    	if req.Method != "POST" {
    		t.Errorf("For request #2's method, got %q; expected %q",
    			req.Method, "POST")
    	}
    
    	if serveerr := <-servech; serveerr != io.EOF {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_test.go

    			},
    		},
    		{
    			name:                  "Having both memory and cpu, resource allocation exists (with different value)",
    			pod:                   podWithUIDNameNsSpec("3", "pod3", "foo", *cpu500mMem500MPodSpec),
    			existingPodAllocation: podWithUIDNameNsSpec("3", "pod3", "foo", *cpu800mMem800MPodSpec),
    			expectedPodResourceAllocation: state.PodResourceAllocation{
    				"3": map[string]v1.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/exec.go

    				msg = fmt.Appendf(msg, "%s: invalid //go:debug: %v\n", d.Pos, err)
    				continue
    			}
    			if pos, ok := seen[key]; ok {
    				msg = fmt.Appendf(msg, "%s: repeated //go:debug for %v\n\t%s: previous //go:debug\n", d.Pos, key, pos)
    				continue
    			}
    			if seen == nil {
    				seen = make(map[string]token.Position)
    			}
    			seen[key] = d.Pos
    		}
    	}
    	if len(msg) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  4. pkg/scheduler/internal/queue/scheduling_queue_test.go

    func Test_InFlightPods(t *testing.T) {
    	logger, _ := ktesting.NewTestContext(t)
    	pod := st.MakePod().Name("targetpod").UID("pod1").Obj()
    	pod2 := st.MakePod().Name("targetpod2").UID("pod2").Obj()
    	pod3 := st.MakePod().Name("targetpod3").UID("pod3").Obj()
    	var poppedPod, poppedPod2 *framework.QueuedPodInfo
    
    	type action struct {
    		// ONLY ONE of the following should be set.
    		eventHappens *framework.ClusterEvent
    		podPopped    *v1.Pod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  5. src/net/http/server.go

    	// returned channel. In practice HTTP/1.1 pipelining is not
    	// enabled in browsers and not seen often in the wild. If this
    	// is a problem, use HTTP/2 or only use CloseNotify on methods
    	// such as POST.
    	CloseNotify() <-chan bool
    }
    
    var (
    	// ServerContextKey is a context key. It can be used in HTTP
    	// handlers with Context.Value to access the server that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  6. pkg/config/validation/validation.go

    	if tunnel == nil {
    		return
    	}
    	if tunnel.Protocol != "" && tunnel.Protocol != "CONNECT" && tunnel.Protocol != "POST" {
    		errs = appendErrors(errs, fmt.Errorf("tunnel protocol must be \"CONNECT\" or \"POST\""))
    	}
    	fqdnErr := agent.ValidateFQDN(tunnel.TargetHost)
    	ipErr := agent.ValidateIPAddress(tunnel.TargetHost)
    	if fqdnErr != nil && ipErr != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    		ReqParams:    extractReqParams(r),
    		RespElements: extractRespElements(w),
    		UserAgent:    r.UserAgent(),
    		Host:         handlers.GetSourceIP(r),
    	})
    }
    
    // RestoreObjectHandler - POST restore object handler.
    // ----------
    func (api objectAPIHandlers) PostRestoreObjectHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "PostRestoreObject")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet.go

    	// in nodecontroller. There are several constraints:
    	// 1. nodeMonitorGracePeriod must be N times more than nodeStatusUpdateFrequency, where
    	//    N means number of retries allowed for kubelet to post node status. It is pointless
    	//    to make nodeMonitorGracePeriod be less than nodeStatusUpdateFrequency, since there
    	//    will only be fresh values from Kubelet at an interval of nodeStatusUpdateFrequency.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    		{
    			podWithOtherFinalizers("pod2"),
    			orphanOptions,
    			defaultDeleteStrategy,
    			false,
    			[]string{"foo.com/x", "bar.com/y", metav1.FinalizerOrphanDependents},
    		},
    		{
    			podWithNoFinalizer("pod3"),
    			orphanOptions,
    			defaultDeleteStrategy,
    			false,
    			[]string{metav1.FinalizerOrphanDependents},
    		},
    		{
    			podWithOnlyOrphanFinalizer("pod4"),
    			orphanOptions,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  10. src/cmd/go/alldocs.go

    // union of all imports from both GoFiles and CompiledGoFiles.
    //
    // The -deps flag causes list to iterate over not just the named packages
    // but also all their dependencies. It visits them in a depth-first post-order
    // traversal, so that a package is listed only after all its dependencies.
    // Packages not explicitly listed on the command line will have the DepOnly
    // field set to true.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top