Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for linknames (0.16 sec)

  1. src/runtime/sys_darwin.go

    	exitsyscall()
    	return args.r1, args.r2, args.err
    }
    func syscallX()
    
    // golang.org/x/sys linknames syscall.syscall6
    // (in addition to standard package syscall).
    // Do not remove or change the type signature.
    //
    // syscall.syscall6 is meant for package syscall (and x/sys),
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/tetratelabs/wazero
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/noder/noder.go

    	}
    	return filename
    }
    
    // noder transforms package syntax's AST into a Node tree.
    type noder struct {
    	file       *syntax.File
    	linknames  []linkname
    	pragcgobuf [][]string
    	err        chan syntax.Error
    }
    
    // linkname records a //go:linkname directive.
    type linkname struct {
    	pos    syntax.Pos
    	local  string
    	remote string
    }
    
    var unOps = [...]ir.Op{
    	syntax.Recv: ir.ORECV,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:40:57 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  3. src/runtime/syscall_windows.go

    	KeepAlive(filename)
    	if handle != 0 {
    		err = 0
    	}
    	return
    }
    
    // golang.org/x/sys linknames syscall.loadlibrary
    // (in addition to standard package syscall).
    // Do not remove or change the type signature.
    //
    //go:linkname syscall_loadlibrary syscall.loadlibrary
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/objfile.go

    	}
    	if s.IsPkgInit() {
    		flag2 |= goobj.SymFlagPkgInit
    	}
    	if s.IsLinkname() || (w.ctxt.IsAsm && name != "") || name == "main.main" {
    		// Assembly reference is treated the same as linkname,
    		// but not for unnamed (aux) symbols.
    		// The runtime linknames main.main.
    		flag2 |= goobj.SymFlagLinkname
    	}
    	if s.ABIWrapper() {
    		flag2 |= goobj.SymFlagABIWrapper
    	}
    	if strings.HasPrefix(name, "gofile..") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/link/link_test.go

    	// Test that code containing blocked linknames does not build.
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    
    	tmpdir := t.TempDir()
    
    	tests := []struct {
    		src string
    		ok  bool
    	}{
    		// use (instantiation) of public API is ok
    		{"ok.go", true},
    		// push linkname is ok
    		{"push.go", true},
    		// pull linkname of blocked symbol is not ok
    		{"coro.go", false},
    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. pkg/volume/util/volumepathhandler/volume_path_handler.go

    func (v VolumePathHandler) MapDevice(devicePath string, mapPath string, linkName string, bindMount bool) error {
    	// Example of global map path:
    	//   globalMapPath/linkName: plugins/kubernetes.io/{PluginName}/{DefaultKubeletVolumeDevicesDirName}/{volumePluginDependentPath}/{podUid}
    	//   linkName: {podUid}
    	//
    	// Example of pod device map path:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  8. schema/schema_test.go

    		{Name: "Name", DBName: "name", BindNames: []string{"Name"}, DataType: schema.String},
    		{Name: "Age", DBName: "age", BindNames: []string{"Age"}, DataType: schema.Uint, Size: 64},
    		{Name: "Birthday", DBName: "birthday", BindNames: []string{"Birthday"}, DataType: schema.Time},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Dec 15 08:31:23 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  9. src/os/os_unix_test.go

    	if err != nil {
    		t.Fatalf("stat %s: %s", f.Name(), err)
    	}
    
    	linkname := f.Name() + "2"
    	if err := Symlink(f.Name(), linkname); err != nil {
    		if runtime.GOOS == "android" && IsPermission(err) {
    			t.Skip("skipping test on Android; permission error creating symlink")
    		}
    		t.Fatalf("link %s -> %s: %v", f.Name(), linkname, err)
    	}
    	defer Remove(linkname)
    
    	// Can't change uid unless root, but can try
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:32:43 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  10. schema/field_test.go

    	fields := []*schema.Field{
    		{Name: "ID", DBName: "id", BindNames: []string{"ID"}, DataType: schema.Uint, PrimaryKey: true, Size: 64, Creatable: true, Updatable: true, Readable: true, HasDefaultValue: true, AutoIncrement: true},
    		{Name: "Name", DBName: "", BindNames: []string{"Name"}, DataType: "", Tag: `gorm:"-"`, Creatable: false, Updatable: false, Readable: false},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
Back to top