Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for iota (0.05 sec)

  1. src/cmd/compile/internal/types2/api_test.go

    		{`package f6b; var _            =  1e-2000i`, `1e-2000i`, `complex128`, `(0 + 0i)`},
    		{`package f7b; var _            = -1e-2000i`, `-1e-2000i`, `complex128`, `(0 + 0i)`},
    
    		{`package g0; const (a = len([iota]int{}); b; c); const _ = c`, `c`, `int`, `2`}, // go.dev/issue/22341
    		{`package g1; var(j int32; s int; n = 1.0<<s == j)`, `1.0`, `int32`, `1`},        // go.dev/issue/48422
    	}
    
    	for _, test := range tests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  2. src/runtime/traceback.go

    	//
    	// Note that there are a small number of fatal situations that will throw
    	// regardless of unwindPrintErrors or unwindSilentErrors.
    	unwindPrintErrors unwindFlags = 1 << iota
    
    	// unwindSilentErrors silently ignores errors during unwinding.
    	unwindSilentErrors
    
    	// unwindTrap indicates that the initial PC and SP are from a trap, not a
    	// return PC from a call.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_client_test.go

    // s_client` process.
    type opensslInputEvent int
    
    const (
    	// opensslRenegotiate causes OpenSSL to request a renegotiation of the
    	// connection.
    	opensslRenegotiate opensslInputEvent = iota
    
    	// opensslSendBanner causes OpenSSL to send the contents of
    	// opensslSentinel on the connection.
    	opensslSendSentinel
    
    	// opensslKeyUpdate causes OpenSSL to send a key update message to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  4. src/cmd/link/internal/loader/loader.go

    	npkgsyms    int // number of package symbols, for accounting
    	nhashedsyms int // number of hashed symbols, for accounting
    }
    
    const (
    	pkgDef = iota
    	hashed64Def
    	hashedDef
    	nonPkgDef
    	nonPkgRef
    )
    
    // objidx
    const (
    	nilObj = iota
    	extObj
    	goObjStart
    )
    
    // extSymPayload holds the payload (data + relocations) for linker-synthesized
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  5. src/net/http/httputil/reverseproxy_test.go

    	const size = 1234
    	rp.BufferPool = bufferPool{
    		get: func() []byte {
    			addLog("getBuf")
    			return make([]byte, size)
    		},
    		put: func(p []byte) {
    			addLog("putBuf-" + strconv.Itoa(len(p)))
    		},
    	}
    	frontend := httptest.NewServer(rp)
    	defer frontend.Close()
    
    	req, _ := http.NewRequest("GET", frontend.URL, nil)
    	req.Close = true
    	res, err := frontend.Client().Do(req)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    func (s Signal) Signal() {}
    
    func (s Signal) String() string {
    	if 0 <= s && int(s) < len(signals) {
    		str := signals[s]
    		if str != "" {
    			return str
    		}
    	}
    	return "signal " + itoa(int(s))
    }
    
    func LoadCreateSymbolicLink() error {
    	return procCreateSymbolicLinkW.Find()
    }
    
    // Readlink returns the destination of the named symbolic link.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  7. src/go/types/api_test.go

    		{`package f6b; var _            =  1e-2000i`, `1e-2000i`, `complex128`, `(0 + 0i)`},
    		{`package f7b; var _            = -1e-2000i`, `-1e-2000i`, `complex128`, `(0 + 0i)`},
    
    		{`package g0; const (a = len([iota]int{}); b; c); const _ = c`, `c`, `int`, `2`}, // go.dev/issue/22341
    		{`package g1; var(j int32; s int; n = 1.0<<s == j)`, `1.0`, `int32`, `1`},        // go.dev/issue/48422
    	}
    
    	for _, test := range tests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  8. src/reflect/type.go

    	for i, field := range fields {
    		if field.Name == "" {
    			panic("reflect.StructOf: field " + strconv.Itoa(i) + " has no name")
    		}
    		if !isValidFieldName(field.Name) {
    			panic("reflect.StructOf: field " + strconv.Itoa(i) + " has invalid name")
    		}
    		if field.Type == nil {
    			panic("reflect.StructOf: field " + strconv.Itoa(i) + " has no type")
    		}
    		f, fpkgpath := runtimeStructField(field)
    		ft := f.Typ
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    	// not the parameter types of other functions that may be mentioned.
    	// Using the option will speed up the demangler and cause it to
    	// use less memory.
    	NoParams Option = iota
    
    	// The NoTemplateParams option disables demangling of template parameters.
    	// This applies to both C++ and Rust.
    	NoTemplateParams
    
    	// The NoEnclosingParams option disables demangling of the function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  10. src/go/build/build.go

    const (
    	// If FindOnly is set, Import stops after locating the directory
    	// that should contain the sources for a package. It does not
    	// read any files in the directory.
    	FindOnly ImportMode = 1 << iota
    
    	// If AllowBinary is set, Import can be satisfied by a compiled
    	// package object without corresponding sources.
    	//
    	// Deprecated:
    	// The supported way to create a compiled-only package is to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
Back to top