- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for esterni (4.05 sec)
-
src/cmd/cgo/internal/test/backdoor.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package cgotest import _ "unsafe" //go:linkname lockedOSThread runtime.lockedOSThread //extern runtime_lockedOSThread
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 307 bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
case "PC": if prefix != 0 { p.errorf("illegal addressing mode for PC") } addr.Type = obj.TYPE_BRANCH // We set the type and leave NAME untouched. See asmJump. case "SB": addr.Name = obj.NAME_EXTERN if isStatic { addr.Name = obj.NAME_STATIC } case "SP": addr.Name = obj.NAME_AUTO // The pseudo-stack. default: p.errorf("expected pseudo-register; found %s", reg) } if prefix == '$' {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 36.9K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
} case target.Type == obj.TYPE_REG: // JMP R1 *targetAddr = *target case target.Type == obj.TYPE_MEM && (target.Name == obj.NAME_EXTERN || target.Name == obj.NAME_STATIC): // JMP main·morestack(SB) *targetAddr = *target case target.Type == obj.TYPE_INDIR && (target.Name == obj.NAME_EXTERN || target.Name == obj.NAME_STATIC): // JMP *main·morestack(SB) *targetAddr = *target targetAddr.Type = obj.TYPE_INDIR
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 25.3K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callstub_linux_ppc64le.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package cgotest // extern int notoc_func(void); // int TestPPC64Stubs(void) { // return notoc_func(); // } import "C" import "testing" func testPPC64CallStubs(t *testing.T) { // Verify the trampolines run on the testing machine. If they
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Sep 22 15:06:17 GMT 2023 - 540 bytes - Viewed (0) -
lib/time/mkzip.go
}) if err != nil { log.Fatal(err) } if err := zw.Close(); err != nil { log.Fatal(err) } if len(seen) == 0 { log.Fatalf("did not find any files to add") } if !seen["US/Eastern"] { log.Fatalf("did not find US/Eastern to add") } if err := os.WriteFile(args[0], zb.Bytes(), 0666); err != nil { log.Fatal(err) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 17:32:07 GMT 2024 - 2.1K bytes - Viewed (0) -
src/cmd/cgo/doc.go
//export MyFunction2 func MyFunction2(arg1, arg2 int, arg3 string) (int64, *C.char) {...} They will be available in the C code as: extern GoInt64 MyFunction(int arg1, int arg2, GoString arg3); extern struct MyFunction2_return MyFunction2(int arg1, int arg2, GoString arg3); found in the _cgo_export.h generated header, after any preambles copied from the cgo input files. Functions with multiple
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)