Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 341 for linkname (1.3 sec)

  1. src/runtime/string.go

    // n is the length of the slice.
    // Buf is a fixed-size buffer for the result,
    // it is not nil if the result does not escape.
    //
    // slicebytetostring should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/cloudwego/frugal
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname slicebytetostring
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. src/go/types/api.go

    //
    // For a tutorial, see https://go.dev/s/types-tutorial.
    package types
    
    import (
    	"bytes"
    	"fmt"
    	"go/ast"
    	"go/constant"
    	"go/token"
    	. "internal/types/errors"
    	_ "unsafe" // for linkname
    )
    
    // An Error describes a type-checking error; it implements the error interface.
    // A "soft" error is an error that still permits a valid interpretation of a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. src/net/interface.go

    // Solaris, the MulticastAddrs method of Interface is not implemented.
    
    // errNoSuchInterface should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/sagernet/sing
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname errNoSuchInterface
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. src/net/url/url.go

    	}
    	u.Path = path
    	if escp := escape(path, encodePath); p == escp {
    		// Default encoding is fine.
    		u.RawPath = ""
    	} else {
    		u.RawPath = p
    	}
    	return nil
    }
    
    // for linkname because we cannot linkname methods directly
    func badSetPath(*URL, string) error
    
    // EscapedPath returns the escaped form of u.Path.
    // In general there are multiple possible escaped forms of any path.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  5. src/runtime/sys_openbsd2.go

    // license that can be found in the LICENSE file.
    
    //go:build openbsd && !mips64
    
    package runtime
    
    import (
    	"internal/abi"
    	"internal/runtime/atomic"
    	"unsafe"
    )
    
    // This is exported via linkname to assembly in runtime/cgo.
    //
    //go:linkname exit
    //go:nosplit
    //go:cgo_unsafe_args
    func exit(code int32) {
    	libcCall(unsafe.Pointer(abi.FuncPCABI0(exit_trampoline)), unsafe.Pointer(&code))
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. src/cmd/link/link_test.go

    		{"coro_asm", false},
    		// pull-only linkname is not ok
    		{"coro2.go", false},
    		// legacy bad linkname is ok, for now
    		{"fastrand.go", true},
    		{"badlinkname.go", true},
    	}
    	for _, test := range tests {
    		test := test
    		t.Run(test.src, func(t *testing.T) {
    			t.Parallel()
    			src := filepath.Join("testdata", "linkname", test.src)
    			exe := filepath.Join(tmpdir, test.src+".exe")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  7. src/database/sql/convert.go

    // Type conversions for Scan.
    
    package sql
    
    import (
    	"bytes"
    	"database/sql/driver"
    	"errors"
    	"fmt"
    	"reflect"
    	"strconv"
    	"time"
    	"unicode"
    	"unicode/utf8"
    	_ "unsafe" // for linkname
    )
    
    var errNilPtr = errors.New("destination pointer is nil") // embedded in descriptive error
    
    func describeNamedValue(nv *driver.NamedValue) string {
    	if len(nv.Name) == 0 {
    		return fmt.Sprintf("$%d", nv.Ordinal)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go

    }
    
    type TIPCSubscr struct {
    	Seq     TIPCServiceRange
    	Timeout uint32
    	Filter  uint32
    	Handle  [8]int8
    }
    
    type TIPCSIOCLNReq struct {
    	Peer     uint32
    	Id       uint32
    	Linkname [68]int8
    }
    
    type TIPCSIOCNodeIDReq struct {
    	Peer uint32
    	Id   [16]int8
    }
    
    type PPSKInfo struct {
    	Assert_sequence uint32
    	Clear_sequence  uint32
    	Assert_tu       PPSKTime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go

    }
    
    type TIPCSubscr struct {
    	Seq     TIPCServiceRange
    	Timeout uint32
    	Filter  uint32
    	Handle  [8]int8
    }
    
    type TIPCSIOCLNReq struct {
    	Peer     uint32
    	Id       uint32
    	Linkname [68]int8
    }
    
    type TIPCSIOCNodeIDReq struct {
    	Peer uint32
    	Id   [16]int8
    }
    
    type PPSKInfo struct {
    	Assert_sequence uint32
    	Clear_sequence  uint32
    	Assert_tu       PPSKTime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go

    }
    
    type TIPCSubscr struct {
    	Seq     TIPCServiceRange
    	Timeout uint32
    	Filter  uint32
    	Handle  [8]uint8
    }
    
    type TIPCSIOCLNReq struct {
    	Peer     uint32
    	Id       uint32
    	Linkname [68]uint8
    }
    
    type TIPCSIOCNodeIDReq struct {
    	Peer uint32
    	Id   [16]uint8
    }
    
    type PPSKInfo struct {
    	Assert_sequence uint32
    	Clear_sequence  uint32
    	Assert_tu       PPSKTime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top