Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for handlers (0.15 sec)

  1. src/cmd/asm/internal/arch/arch.go

    	for i := riscv.REG_X0; i <= riscv.REG_X31; i++ {
    		// Disallow X3 in shared mode, as this will likely be used as the
    		// GP register, which could result in problems in non-Go code,
    		// including signal handlers.
    		if shared && i == riscv.REG_GP {
    			continue
    		}
    		if i == riscv.REG_TP || i == riscv.REG_G {
    			continue
    		}
    		name := fmt.Sprintf("X%d", i-riscv.REG_X0)
    		register[name] = int16(i)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  2. misc/wasm/wasm_exec.js

    					add: (a, b) => a + b,
    				},
    				gojs: {
    					// Go's SP does not change as long as no Go code is running. Some operations (e.g. calls, getters and setters)
    					// may synchronously trigger a Go event handler. This makes Go code get executed in the middle of the imported
    					// function. A goroutine can switch to a new stack if the current stack is too small (see morestack function).
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  3. src/cmd/asm/internal/asm/operand_test.go

    	"cmd/asm/internal/arch"
    	"cmd/asm/internal/lex"
    	"cmd/internal/obj"
    )
    
    // A simple in-out test: Do we print what we parse?
    
    func setArch(goarch string) (*arch.Arch, *obj.Link) {
    	buildcfg.GOOS = "linux" // obj can handle this OS for all architectures.
    	buildcfg.GOARCH = goarch
    	architecture := arch.Set(goarch, false)
    	if architecture == nil {
    		panic("asm: unrecognized architecture " + goarch)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  4. src/cmd/cgo/doc.go

    and of course there is nothing stopping the C code from doing anything
    it likes. However, programs that break these rules are likely to fail
    in unexpected and unpredictable ways.
    
    The runtime/cgo.Handle type can be used to safely pass Go values
    between Go and C. See the runtime/cgo package documentation for details.
    
    Note: the current implementation has a bug. While Go code is permitted
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  5. src/archive/tar/common.go

    // ending offset is aligned down to the nearest block edge.
    //
    // Even though the Go tar Reader and the BSD tar utility can handle entries
    // with arbitrary offsets and lengths, the GNU tar utility can only handle
    // offsets and lengths that are multiples of blockSize.
    func alignSparseEntries(src []sparseEntry, size int64) []sparseEntry {
    	dst := src[:0]
    	for _, s := range src {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  6. api/go1.18.txt

    pkg net, method (*UDPConn) WriteToUDPAddrPort([]uint8, netip.AddrPort) (int, error)
    pkg net, type Error interface, Temporary //deprecated
    pkg net/http, func MaxBytesHandler(Handler, int64) Handler
    pkg net/http, method (*Cookie) Valid() error
    pkg net/netip, func AddrFrom16([16]uint8) Addr
    pkg net/netip, func AddrFrom4([4]uint8) Addr
    pkg net/netip, func AddrFromSlice([]uint8) (Addr, bool)
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/arm64enc.s

    // license that can be found in the LICENSE file.
    
    // The cases are auto-generated by disassembler.
    // The uncommented cases means they can be handled by assembler
    // and they are consistent with disassembler decoding.
    // TODO means they cannot be handled by current assembler.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT asmtest(SB),DUPOK|NOSPLIT,$-8
    
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jul 24 01:11:41 GMT 2023
    - 43.9K bytes
    - Viewed (1)
  8. src/bytes/buffer.go

    // if it becomes too large, WriteRune will panic with [ErrTooLarge].
    func (b *Buffer) WriteRune(r rune) (n int, err error) {
    	// Compare as uint32 to correctly handle negative runes.
    	if uint32(r) < utf8.RuneSelf {
    		b.WriteByte(byte(r))
    		return 1, nil
    	}
    	b.lastRead = opInvalid
    	m, ok := b.tryGrowByReslice(utf8.UTFMax)
    	if !ok {
    		m = b.grow(utf8.UTFMax)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  9. api/go1.8.txt

    pkg encoding/json, method (RawMessage) MarshalJSON() ([]uint8, error)
    pkg encoding/json, type UnmarshalTypeError struct, Field string
    pkg encoding/json, type UnmarshalTypeError struct, Struct string
    pkg expvar, func Handler() http.Handler
    pkg expvar, method (*Float) Value() float64
    pkg expvar, method (Func) Value() interface{}
    pkg expvar, method (*Int) Value() int64
    pkg expvar, method (*String) Value() string
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Dec 21 05:25:57 GMT 2016
    - 16.3K bytes
    - Viewed (0)
  10. api/go1.9.txt

    pkg net, type Resolver struct, Dial func(context.Context, string, string) (Conn, error)
    pkg net, type Resolver struct, StrictErrors bool
    pkg net/http, func ServeTLS(net.Listener, Handler, string, string) error
    pkg net/http, method (*Server) RegisterOnShutdown(func())
    pkg net/http, method (*Server) ServeTLS(net.Listener, string, string) error
    pkg net/http/fcgi, func ProcessEnv(*http.Request) map[string]string
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Oct 04 20:20:20 GMT 2021
    - 10.7K bytes
    - Viewed (0)
Back to top