Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 67 for bodies (0.85 sec)

  1. cmd/streaming-signature-v4.go

    // The s3ChunkedReader returns io.EOF when the final 0-length chunk is read.
    //
    // NewChunkedReader is not needed by normal applications. The http package
    // automatically decodes chunking when reading response bodies.
    func newSignV4ChunkedReader(req *http.Request, trailer bool) (io.ReadCloser, APIErrorCode) {
    	cred, seedSignature, region, seedDate, errCode := calculateSeedSignature(req, trailer)
    	if errCode != ErrNone {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K 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/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)
  7. 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)
  8. src/cmd/cgo/doc.go

    	type _Ctype_char int8
    	type _Ctype_int int32
    	type _Ctype_void [0]byte
    
    The _cgo_gotypes.go file also contains the definitions of the
    functions. They all have similar bodies that invoke runtime·cgocall
    to make a switch from the Go runtime world to the system C (GCC-based)
    world.
    
    For example, here is the definition of _Cfunc_puts:
    
    	//go:cgo_import_static _cgo_be59f0f25121_Cfunc_puts
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/net_test.go

    	if v6IP {
    		podStatus = corev1.PodStatus{
    			PodIP:  "e9ac:1e77:90ca:399f:4d6d:ece2:2f9b:3164",
    			PodIPs: []corev1.PodIP{{IP: "e9ac:1e77:90ca:399f:4d6d:ece2:2f9b:3164"}, {IP: "e9ac:1e77:90ca:399f:4d6d:ece2:2f9b:3165"}},
    		}
    	} else {
    		podStatus = corev1.PodStatus{
    			PodIP:  "2.2.2.2",
    			PodIPs: []corev1.PodIP{{IP: "2.2.2.2"}, {IP: "3.3.3.3"}},
    		}
    	}
    
    	return &corev1.Pod{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    		}
    	})
    	return nil, nil
    }
    
    // checkCopyLocksAssign checks whether an assignment
    // copies a lock.
    func checkCopyLocksAssign(pass *analysis.Pass, as *ast.AssignStmt) {
    	for i, x := range as.Rhs {
    		if path := lockPathRhs(pass, x); path != nil {
    			pass.ReportRangef(x, "assignment copies lock value to %v: %v", analysisutil.Format(pass.Fset, as.Lhs[i]), path)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top