Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newExtra (0.57 sec)

  1. src/net/http/transfer.go

    			ncopy, err = t.doBodyCopy(dst, body)
    		} else {
    			ncopy, err = t.doBodyCopy(w, io.LimitReader(body, t.ContentLength))
    			if err != nil {
    				return err
    			}
    			var nextra int64
    			nextra, err = t.doBodyCopy(io.Discard, body)
    			ncopy += nextra
    		}
    		if err != nil {
    			return err
    		}
    	}
    	if t.BodyCloser != nil {
    		closed = true
    		if err := t.BodyCloser.Close(); err != nil {
    			return err
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  2. src/runtime/cgocall.go

    	gp.m.winsyscall = winsyscall
    }
    
    func cgocallbackg1(fn, frame unsafe.Pointer, ctxt uintptr) {
    	gp := getg()
    
    	if gp.m.needextram || extraMWaiters.Load() > 0 {
    		gp.m.needextram = false
    		systemstack(newextram)
    	}
    
    	if ctxt != 0 {
    		s := append(gp.cgoCtxt, ctxt)
    
    		// Now we need to set gp.cgoCtxt = s, but we could get
    		// a SIGPROF signal while manipulating the slice, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top