- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 138 for chars (0.03 sec)
-
src/cmd/cgo/internal/testsanitizers/testdata/msan5.go
/* #include <stdlib.h> extern void Go1(int*); extern void Go2(char*); // Use weak as a hack to permit defining a function even though we use export. void C1() __attribute__ ((weak)); void C2() __attribute__ ((weak)); void C1() { int i; Go1(&i); if (i != 42) { abort(); } } void C2() { char a[2]; a[1] = 42; Go2(a); if (a[0] != 42) { abort(); } } */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 904 bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/12-telemetry.yml
A CL containing proposed changes to the [config.txt](https://go.googlesource.com/telemetry/+/master/internal/chartconfig/config.txt) chart configuration. See the [chartconfig](https://pkg.go.dev/golang.org/x/telemetry/internal/chartconfig) package for an explanation of the chart config format. For an example change, see [CL 564619](https://go.dev/cl/564619). validations:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 19:58:26 UTC 2024 - 1.2K bytes - Viewed (0) -
src/log/slog/json_handler.go
char('r') case '\t': char('t') default: // This encodes bytes < 0x20 except for \t, \n and \r. str(`u00`) char(hex[b>>4]) char(hex[b&0xF]) } i++ start = i continue } c, size := utf8.DecodeRuneInString(s[i:]) if c == utf8.RuneError && size == 1 { if start < i { str(s[start:i]) } str(`\ufffd`) i += size start = i
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 16:18:11 UTC 2023 - 8.1K bytes - Viewed (0) -
src/internal/types/testdata/check/map0.go
// license that can be found in the LICENSE file. // Package orderedmap provides an ordered map, implemented as a binary tree. package orderedmap // TODO(gri) fix imports for tests import "chans" // ERROR "could not import" // Map is an ordered map. type Map[K, V any] struct { root *node[K, V] compare func(K, K) int } // node is the type of a node in the binary tree. type node[K, V any] struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 2.8K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue4029.go
// as dynamic export is not supported. package cgotest /* #include <stdint.h> #include <dlfcn.h> #cgo linux LDFLAGS: -ldl extern uintptr_t dlopen4029(char*, int); extern uintptr_t dlsym4029(uintptr_t, char*); extern int dlclose4029(uintptr_t); extern void call4029(uintptr_t arg); */ import "C" import ( "testing" ) var callbacks int //export IMPIsOpaque
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 04 15:41:19 UTC 2023 - 1.5K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/tracebackctxt_c.c
}; struct cgoTracebackArg { uintptr_t context; uintptr_t sigContext; uintptr_t* buf; uintptr_t max; }; struct cgoSymbolizerArg { uintptr_t pc; const char* file; uintptr_t lineno; const char* func; uintptr_t entry; uintptr_t more; uintptr_t data; }; // Uses atomic adds and subtracts to catch the possibility of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 29 15:30:38 UTC 2021 - 2.3K bytes - Viewed (0) -
src/cmd/cgo/internal/testso/testdata/sovar/cgoso_c.c
// Copyright 2015 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. //go:build ignore
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:41 UTC 2023 - 221 bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>{{.Title}}</title> {{template "css" .}} {{template "stacks_css"}} </head> <body> {{template "header" .}} <div id="stack-holder"> <div id="stack-chart"></div> <div id="current-details"></div> </div> <div id="action-menu" class="submenu"> <span id="action-title"></span> <hr>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 1K bytes - Viewed (0) -
src/runtime/chan_test.go
N := int(1e5) if testing.Short() { N /= 10 } // There are 4 goroutines that send N values on each of the chans, // + 4 goroutines that receive N values on each of the chans, // + 1 goroutine that sends N values on each of the chans in a single select, // + 1 goroutine that receives N values on each of the chans in a single select. // All these sends, receives and selects interact chaotically at runtime,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 20:47:35 UTC 2023 - 23.4K bytes - Viewed (0) -
src/cmd/cgo/internal/testcarchive/testdata/main6.c
// license that can be found in the LICENSE file. // Test that using the Go profiler in a C program does not crash. #include <stddef.h> #include <sys/time.h> #include "libgo6.h" int main(int argc, char **argv) { struct timeval tvstart, tvnow; int diff; gettimeofday(&tvstart, NULL); go_start_profile(); // Busy wait so we have something to profile.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 830 bytes - Viewed (0)