- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 55 for chars (0.44 sec)
-
src/cmd/cgo/internal/test/callback_c_gc.c
extern void crosscall2(void (*fn)(void *, int), void *, int); extern void _cgo_panic(void *, int); extern void _cgo_allocate(void *, int); void callPanic(void) { struct { const char *p; } a; a.p = "panic from C"; crosscall2(_cgo_panic, &a, sizeof a); *(int*)1 = 1;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 592 bytes - Viewed (0) -
src/cmd/compile/internal/noder/export.go
"cmd/internal/bio" ) func WriteExports(out *bio.Writer) { var data bytes.Buffer data.WriteByte('u') writeUnifiedExport(&data) // The linker also looks for the $$ marker - use char after $$ to distinguish format. out.WriteString("\n$$B\n") // indicate binary export format io.Copy(out, &data) out.WriteString("\n$$\n") if base.Debug.Export != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 25 21:16:32 UTC 2023 - 683 bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/main5.c
#include <string.h> #include <time.h> #include <sched.h> #include <dlfcn.h> static void die(const char* msg) { perror(msg); exit(EXIT_FAILURE); } static volatile sig_atomic_t sigioSeen; static void ioHandler(int signo, siginfo_t* info, void* ctxt) { sigioSeen = 1; } int main(int argc, char** argv) { int verbose; struct sigaction sa; void* handle; void (*catchSIGIO)(void);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:19:50 UTC 2023 - 3.8K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.css
width: 100%; flex-grow: 1; overflow-y: auto; background: #eee; /* Light grey gives better contrast with boxes */ position: relative; /* Allows absolute positioning of child boxes */ } /* Flame graph */ #stack-chart { width: 100%; position: relative; /* Allows absolute positioning of child boxes */ } /* Shows details of frame that is under the mouse */ #current-details { position: absolute; top: 5px; right: 5px;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 16:39:48 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/main2.c
#include <time.h> #include <unistd.h> #define fd (30) // Tests libgo2.so, which does not export any functions. // Read a string from the file descriptor and print it. int main(void) { int i; ssize_t n; char buf[20]; struct timespec ts; // The descriptor will be initialized in a thread, so we have to // give a chance to get opened. for (i = 0; i < 200; i++) { n = read(fd, buf, sizeof buf); if (n >= 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.2K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/sigstack.go
void* base = mmap(0, CSIGSTKSZ, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0); if (base == MAP_FAILED) { perror("mmap failed"); abort(); } stack_t st = {}, ost = {}; st.ss_sp = (char*)base; st.ss_flags = 0; st.ss_size = CSIGSTKSZ; if (sigaltstack(&st, &ost) < 0) { perror("sigaltstack failed"); abort(); } // Call Go. SigStackCallback();
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 2.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/counter/doc.go
// - Names cannot contain whitespace or newlines. // // - Names must be valid unicode, with no unprintable characters. // // - Names may contain at most one ':'. In the counter "foo:bar", we refer to // "foo" as the "chart name" and "bar" as the "bucket name". // // - The '/' character should partition counter names into a hierarchy. The // root of this hierarchy should identify the logical entity that "owns"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:10:54 UTC 2024 - 2.4K bytes - Viewed (0) -
src/syscall/types_openbsd.go
struct sockaddr_in s2; // these pad it out struct sockaddr_in6 s3; struct sockaddr_un s4; struct sockaddr_dl s5; }; struct sockaddr_any { struct sockaddr addr; char pad[sizeof(union sockaddr_all) - sizeof(struct sockaddr)]; }; */ import "C" // Machine characteristics; for internal use. const ( sizeofPtr = C.sizeofPtr sizeofShort = C.sizeof_short
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 5K bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/issue25756/plugin/life.go
} } // Keep the channels visible from Go. var chans [4]chan bool // Double return value is just for testing. // //export GoStart func GoStart(i, xdim, ydim, xstart, xend, ystart, yend C.int, a *C.int, n *C.int) (int, int) { c := make(chan bool, int(C.MYCONST)) go func() { C.DoStep(xdim, ydim, xstart, xend, ystart, yend, a, n) c <- true }() chans[i] = c return int(i), int(i + 100) } //export GoWait
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 889 bytes - Viewed (0) -
src/strings/search.go
// badCharSkip[b] is len(pattern). // // Whenever a mismatch is found with byte b in the text, we can safely // shift the matching frame at least badCharSkip[b] until the next time // the matching char could be in alignment. badCharSkip [256]int // goodSuffixSkip[i] defines how far we can shift the matching frame given // that the suffix pattern[i+1:] matches, but the byte pattern[i] does
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 18:49:51 UTC 2023 - 4.1K bytes - Viewed (0)