Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for statusBuf (1.59 sec)

  1. src/net/http/server.go

    	// written.
    	trailers []string
    
    	handlerDone atomic.Bool // set true when the handler exits
    
    	// Buffers for Date, Content-Length, and status code
    	dateBuf   [len(TimeFormat)]byte
    	clenBuf   [10]byte
    	statusBuf [3]byte
    
    	// closeNotifyCh is the channel returned by CloseNotify.
    	// TODO(bradfitz): this is currently (for Go 1.8) always
    	// non-nil. Make this lazily-created again as it used to be?
    	closeNotifyCh  chan bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  2. src/net/interface_plan9.go

    	}
    
    	var addrs []Addr
    	for _, ifc := range ifcs {
    		status := ifc.Name + "/status"
    		statusf, err := open(status)
    		if err != nil {
    			return nil, err
    		}
    		defer statusf.close()
    
    		// Read but ignore first line as it only contains the table header.
    		// See https://9p.io/magic/man2html/3/ip
    		if _, ok := statusf.readLine(); !ok {
    			return nil, errors.New("cannot read header line for interface: " + status)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/subresources_test.go

    				t.Fatalf(".spec.num: expected: %v, got: %v", int64(10), specNum)
    			}
    
    			statusNum, found, err := unstructured.NestedInt64(updatedStatusInstance.Object, "status", "num")
    			if !found || err != nil {
    				t.Fatalf("unable to get .status.num")
    			}
    			if statusNum != int64(20) {
    				t.Fatalf(".status.num: expected: %v, got: %v", int64(20), statusNum)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 12 17:35:34 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top