Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 165 for bodies (0.59 sec)

  1. src/cmd/compile/internal/ssa/debug.go

    // entry block prolog.
    func locatePrologEnd(f *Func, needCloCtx bool) (ID, *Value) {
    
    	// returns true if this instruction looks like it moves an ABI
    	// register (or context register for rangefunc bodies) to the
    	// stack, along with the value being stored.
    	isRegMoveLike := func(v *Value) (bool, ID) {
    		n, ok := v.Aux.(*ir.Name)
    		var r ID
    		if (!ok || n.Class != ir.PPARAM) && !needCloCtx {
    			return false, r
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ir/func.go

    // the generated ODCLFUNC, but there is no
    // pointer from the Func back to the OMETHVALUE.
    type Func struct {
    	miniNode
    	Body Nodes
    
    	Nname    *Name        // ONAME node
    	OClosure *ClosureExpr // OCLOSURE node
    
    	// ONAME nodes for all params/locals for this func/closure, does NOT
    	// include closurevars until transforming closures during walk.
    	// Names must be listed PPARAMs, PPARAMOUTs, then PAUTOs,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/decl.go

    	// We can only be inside one type parameter list at any given time:
    	// function closures may appear inside a type parameter list but they
    	// cannot be generic, and their bodies are processed in delayed and
    	// sequential fashion. Note that with each new declaration, we save
    	// the existing environment and restore it when done; thus inTParamList
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  4. src/go/types/decl.go

    			assert(rhs != nil)
    			alias.fromRHS = rhs
    			Unalias(alias) // resolve alias.actual
    		} else {
    			// With Go1.23, the default behavior is to use Alias nodes,
    			// reflected by check.enableAlias. Signal non-default behavior.
    			//
    			// TODO(gri) Testing runs tests in both modes. Do we need to exclude
    			//           tracking of non-default behavior for tests?
    			gotypesalias.IncNonDefault()
    
    			if !versionErr && tparam0 != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/func.go

    	RegArgs []Spill
    	// OwnAux describes parameters and results for this function.
    	OwnAux *AuxCall
    	// CloSlot holds the compiler-synthesized name (".closureptr")
    	// where we spill the closure pointer for range func bodies.
    	CloSlot *ir.Name
    
    	freeValues *Value // free Values linked by argstorage[0].  All other fields except ID are 0/nil.
    	freeBlocks *Block // free Blocks linked by succstorage[0].b.  All other fields except ID are 0/nil.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. src/net/http/serve_test.go

    		// afterwards)
    	}))
    }
    
    func send204(w ResponseWriter, r *Request) { w.WriteHeader(204) }
    func send304(w ResponseWriter, r *Request) { w.WriteHeader(304) }
    
    // Issue 15647: 204 responses can't have bodies, so HTTP/1.0 keep-alive conns should stay open.
    func TestHTTP10KeepAlive204Response(t *testing.T) {
    	testTCPConnectionStaysOpen(t, "GET / HTTP/1.0\r\nConnection: keep-alive\r\n\r\n", HandlerFunc(send204))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  7. src/fmt/print.go

    		// Println etc. set verb to %v, which is "stringable".
    		switch verb {
    		case 'v', 's', 'x', 'X', 'q':
    			// Is it an error or Stringer?
    			// The duplication in the bodies is necessary:
    			// setting handled and deferring catchPanic
    			// must happen before calling the method.
    			switch v := p.arg.(type) {
    			case error:
    				handled = true
    				defer p.catchPanic(p.arg, verb, "Error")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  8. src/net/http/clientserver_test.go

    		rp.ServeHTTP(w, r)
    	}))
    
    	bodyRes := make(chan any, 1) // error or hash.Hash
    	pr, pw := io.Pipe()
    	req, _ := NewRequest("PUT", proxy.ts.URL, pr)
    	const size = 4 << 20
    	go func() {
    		h := sha1.New()
    		_, err := io.CopyN(io.MultiWriter(h, pw), rand.Reader, size)
    		go pw.Close()
    		if err != nil {
    			bodyRes <- err
    		} else {
    			bodyRes <- h
    		}
    	}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  9. docs/en/docs/release-notes.md

        * Composite bodies' IDs are now based on path, not only on route name, as the auto-generated name uses the function names, that can be duplicated in different modules.
        * The same new ID generation applies to response models.
        * This also changes the generated title for those models.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 14 15:07:37 UTC 2024
    - 395.4K bytes
    - Viewed (0)
  10. src/net/http/transport.go

    			}
    
    			select {
    			case rc.ch <- responseAndError{err: err}:
    			case <-rc.callerGone:
    				return
    			}
    			return
    		}
    		pc.readLimit = maxInt64 // effectively no limit for response bodies
    
    		pc.mu.Lock()
    		pc.numExpectedResponses--
    		pc.mu.Unlock()
    
    		bodyWritable := resp.bodyIsWritable()
    		hasBody := rc.treq.Request.Method != "HEAD" && resp.ContentLength != 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
Back to top