Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 141 for linkname (0.17 sec)

  1. src/syscall/syscall_darwin.go

    }
    
    func libc_getfsstat_trampoline()
    
    //go:cgo_import_dynamic libc_getfsstat getfsstat "/usr/lib/libSystem.B.dylib"
    
    // utimensat should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/tetratelabs/wazero
    //
    // See go.dev/issue/67401.
    //
    //go:linkname utimensat
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/net/net.go

    library functions, such as GetAddrInfo and DnsQuery.
    */
    package net
    
    import (
    	"context"
    	"errors"
    	"internal/poll"
    	"io"
    	"os"
    	"sync"
    	"syscall"
    	"time"
    	_ "unsafe" // for linkname
    )
    
    // Addr represents a network end point address.
    //
    // The two methods [Addr.Network] and [Addr.String] conventionally return strings
    // that can be passed as the arguments to [Dial], but the exact form
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/link.go

    	AttrABIWrapper
    
    	// IsPcdata indicates this is a pcdata symbol.
    	AttrPcdata
    
    	// PkgInit indicates this is a compiler-generated package init func.
    	AttrPkgInit
    
    	// Linkname indicates this is a go:linkname'd symbol.
    	AttrLinkname
    
    	// attrABIBase is the value at which the ABI is encoded in
    	// Attribute. This must be last; all bits after this are
    	// assumed to be an ABI value.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/main.go

    	flag8             bool // use 64-bit addresses in symbol table
    	flagInterpreter   = flag.String("I", "", "use `linker` as ELF dynamic linker")
    	flagCheckLinkname = flag.Bool("checklinkname", true, "check linkname symbol references")
    	FlagDebugTramp    = flag.Int("debugtramp", 0, "debug trampolines")
    	FlagDebugTextSize = flag.Int("debugtextsize", 0, "debug text section max size")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. src/encoding/json/decode.go

    // strings, arrays, and maps.
    
    package json
    
    import (
    	"encoding"
    	"encoding/base64"
    	"fmt"
    	"reflect"
    	"strconv"
    	"strings"
    	"unicode"
    	"unicode/utf16"
    	"unicode/utf8"
    	_ "unsafe" // for linkname
    )
    
    // Unmarshal parses the JSON-encoded data and stores the result
    // in the value pointed to by v. If v is nil or not a pointer,
    // Unmarshal returns an [InvalidUnmarshalError].
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  6. src/time/zoneinfo_read.go

    // See tzfile(5), https://en.wikipedia.org/wiki/Zoneinfo,
    // and ftp://munnari.oz.au/pub/oldtz/
    
    package time
    
    import (
    	"errors"
    	"internal/bytealg"
    	"runtime"
    	"syscall"
    	_ "unsafe" // for linkname
    )
    
    // registerLoadFromEmbeddedTZData is called by the time/tzdata package,
    // if it is imported.
    //
    //go:linkname registerLoadFromEmbeddedTZData
    func registerLoadFromEmbeddedTZData(f func(string) (string, error)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. src/cmd/cover/cover_test.go

    		t.Error("misplaced compiler directive")
    	}
    	// "go:linkname" compiler directive should be present.
    	if got, err := regexp.MatchString(`.*go\:linkname some\_name some\_name.*`, string(file)); err != nil || !got {
    		t.Error("'go:linkname' compiler directive not found")
    	}
    
    	// Other comments should be preserved too.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  8. src/syscall/syscall_linux.go

    	"internal/itoa"
    	runtimesyscall "internal/runtime/syscall"
    	"runtime"
    	"unsafe"
    )
    
    // Pull in entersyscall/exitsyscall for Syscall/Syscall6.
    //
    // Note that this can't be a push linkname because the runtime already has a
    // nameless linkname to export to assembly here and in x/sys. Additionally,
    // entersyscall fetches the caller PC and SP and thus can't have a wrapper
    // inbetween.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  9. src/runtime/signal_unix.go

    // sigpanic calls can be injected.
    //
    // The signal handler must not inject a call to sigpanic if
    // getg().throwsplit, since sigpanic may need to grow the stack.
    //
    // This is exported via linkname to assembly in runtime/cgo.
    //
    //go:linkname sigpanic
    func sigpanic() {
    	gp := getg()
    	if !canpanic() {
    		throw("unexpected signal during runtime execution")
    	}
    
    	switch gp.sig {
    	case _SIGBUS:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  10. src/os/os_windows_test.go

    	// a non-nil error for it, and Stat should return results identical to Lstat.
    	linkName, err := os.Readlink(pythonPath)
    	if err == nil {
    		t.Errorf("os.Readlink(%q) = %q, but expected an error\n(should be an APPEXECLINK reparse point, not a symlink)", pythonPath, linkName)
    	}
    
    	sfi, err := os.Stat(pythonPath)
    	if err != nil {
    		t.Fatalf("Stat %s: %v", pythonPath, err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
Back to top