Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 55 for chars (0.04 sec)

  1. src/cmd/go/testdata/script/mod_init_invalid_major.txt

    # module paths with spaces are also rejected
    ! go mod init 'foo bar'
    stderr '(?s)^go: malformed module path "foo bar": invalid char '' ''$'
    
    ! go mod init 'foo  bar baz'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 17 21:34:32 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  2. src/runtime/cgo/libcgo.h

    /*
     * Get the low and high boundaries of the stack.
     */
    void x_cgo_getstackbound(uintptr bounds[2]);
    
    /*
     * Prints error then calls abort. For linux and android.
     */
    void fatalf(const char* format, ...) __attribute__ ((noreturn));
    
    /*
     * Registers the current mach thread port for EXC_BAD_ACCESS processing.
     */
    void darwin_arm_init_thread_exception_port(void);
    
    /*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 20:50:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/syscall/types_darwin.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)
  4. src/cmd/vendor/golang.org/x/sys/unix/mkall.sh

    	# Let the type of C char be signed for making the bare syscall
    	# API consistent across platforms.
    	mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char"
    	;;
    freebsd_arm64)
    	mkerrors="$mkerrors -m64"
    	mksysnum="go run mksysnum.go 'https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12'"
    	mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char"
    	;;
    freebsd_riscv64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 21:37:23 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  5. src/path/match.go

    	return star, pattern[0:i], pattern[i:]
    }
    
    // matchChunk checks whether chunk matches the beginning of s.
    // If so, it returns the remainder of s (after the match).
    // Chunk is all single-character operators: literals, char classes, and ?.
    func matchChunk(chunk, s string) (rest string, ok bool, err error) {
    	// failed records whether the match has failed.
    	// After the match fails, the loop continues on processing chunk,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 23 17:33:57 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testsanitizers/testdata/tsan6.go

    #cgo LDFLAGS: -fsanitize=thread
    
    void f(char *p) {
    	*p = 1;
    }
    */
    import "C"
    
    import (
    	"runtime"
    	"sync"
    )
    
    func main() {
    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	c := make(chan []C.char, 100)
    	for i := 0; i < 10; i++ {
    		wg.Add(2)
    		go func() {
    			defer wg.Done()
    			for i := 0; i < 100; i++ {
    				c <- make([]C.char, 4096)
    				runtime.Gosched()
    			}
    		}()
    		go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 817 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testsanitizers/testdata/msan4.go

    // which msan used to think meant a reference to uninitialized memory.
    
    /*
    #include <time.h>
    #include <unistd.h>
    
    extern void Nop(char*);
    
    // Use weak as a hack to permit defining a function even though we use export.
    void poison() __attribute__ ((weak));
    
    // Poison the stack.
    void poison() {
    	char a[1024];
    	Nop(&a[0]);
    }
    
    */
    import "C"
    
    import (
    	"runtime"
    )
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 878 bytes
    - Viewed (0)
  8. src/syscall/ztypes_freebsd_arm.go

    // Code generated by cmd/cgo -godefs; DO NOT EDIT.
    // cgo -godefs -- -fsigned-char types_freebsd.go
    
    //go:build arm && freebsd
    
    package syscall
    
    const (
    	sizeofPtr      = 0x4
    	sizeofShort    = 0x2
    	sizeofInt      = 0x4
    	sizeofLong     = 0x4
    	sizeofLongLong = 0x8
    )
    
    type (
    	_C_short     int16
    	_C_int       int32
    	_C_long      int32
    	_C_long_long int64
    )
    
    type Timespec struct {
    	Sec       int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 8K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testcshared/testdata/main4.c

    #include <sys/types.h>
    #include <unistd.h>
    #include <sched.h>
    #include <time.h>
    #include <dlfcn.h>
    
    static void die(const char* msg) {
    	perror(msg);
    	exit(EXIT_FAILURE);
    }
    
    static volatile sig_atomic_t sigioSeen;
    
    // Use up some stack space.
    static void recur(int i, char *p) {
    	char a[1024];
    
    	*p = '\0';
    	if (i > 0) {
    		recur(i - 1, a);
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/build_test.go

    		want []string
    	}{
    		// broken quotation
    		{[]byte(`"     \r\n      `), nil},
    		{[]byte(`"-r:foo" "-L/usr/white space/lib "-lfoo bar" "-lbar baz"`), nil},
    		{[]byte(`"-lextra fun arg\\`), nil},
    		// broken char escaping
    		{[]byte(`broken flag\`), nil},
    		{[]byte(`extra broken flag \`), nil},
    		{[]byte(`\`), nil},
    		{[]byte(`"broken\"" "extra" \`), nil},
    	} {
    		got, err := splitPkgConfigOutput(test.in)
    		if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 19:09:38 UTC 2023
    - 8.3K bytes
    - Viewed (0)
Back to top