Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 138 for chars (0.06 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go

    // mkerrors.sh -Wall -Werror -static -I/tmp/arm64/include -fsigned-char
    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build arm64 && linux
    
    // Code generated by cmd/cgo -godefs; DO NOT EDIT.
    // cgo -godefs -- -Wall -Werror -static -I/tmp/arm64/include -fsigned-char _const.go
    
    package unix
    
    import "syscall"
    
    const (
    	B1000000                         = 0x1008
    	B115200                          = 0x1002
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/cgo/internal/test/issue4029.c

    // the opaque handle as a Go uintptr rather than a Go pointer to avoid
    // garbage collector confusion.  See issue 23663.
    
    uintptr_t dlopen4029(char* name, int flags) {
    	return (uintptr_t)(dlopen(name, flags));
    }
    
    uintptr_t dlsym4029(uintptr_t handle, char* name) {
    	return (uintptr_t)(dlsym((void*)(handle), name));
    }
    
    int dlclose4029(uintptr_t handle) {
    	return dlclose((void*)(handle));
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 15:41:19 UTC 2023
    - 781 bytes
    - Viewed (0)
  4. src/runtime/testdata/testprogcgo/stackswitch.c

    static ucontext_t uctx_save, uctx_switch;
    
    extern void stackSwitchCallback(void);
    
    char *stack2;
    
    static void *stackSwitchThread(void *arg) {
    	// Simple test: callback works from the normal system stack.
    	stackSwitchCallback();
    
    	// Next, verify that switching stacks doesn't break callbacks.
    
    	char *stack1 = malloc(STACK_SIZE);
    	if (stack1 == NULL) {
    		perror("malloc");
    		exit(1);
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 15:17:33 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/typeparams/coretype.go

    	// "the type chan E if T contains only bidirectional channels, or the type chan<- E or
    	// <-chan E depending on the direction of the directional channels present."
    	for chans := identical; chans < len(terms); chans++ {
    		curr, ok := terms[chans].Type().Underlying().(*types.Chan)
    		if !ok {
    			return nil
    		}
    		if !types.Identical(ch.Elem(), curr.Elem()) {
    			return nil // channel elements are not identical.
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testsanitizers/testdata/msan7.go

    // It is big enough to be passed on stack in C ABI (and least
    // on AMD64).
    typedef struct { char b; uintptr_t x, y; } T;
    
    extern void F(T);
    
    // Use weak as a hack to permit defining a function even though we use export.
    void CF(int x) __attribute__ ((weak));
    void CF(int x) {
    	T *t = malloc(sizeof(T));
    	t->b = (char)x;
    	t->x = x;
    	t->y = x;
    	F(*t);
    }
    */
    import "C"
    
    //export F
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 834 bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go

    // cgo -godefs -objdir=/tmp/arm64/cgo -- -Wall -Werror -static -I/tmp/arm64/include -fsigned-char linux/types.go | go run mkpost.go
    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build arm64 && linux
    
    package unix
    
    const (
    	SizeofPtr  = 0x8
    	SizeofLong = 0x8
    )
    
    type (
    	_C_long int64
    )
    
    type Timespec struct {
    	Sec  int64
    	Nsec int64
    }
    
    type Timeval struct {
    	Sec  int64
    	Usec int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. src/text/template/parse/parse_test.go

    	// dot following a literal value
    	{"dot after integer", "{{1.E}}", hasError, ""},
    	{"dot after float", "{{0.1.E}}", hasError, ""},
    	{"dot after boolean", "{{true.E}}", hasError, ""},
    	{"dot after char", "{{'a'.any}}", hasError, ""},
    	{"dot after string", `{{"hello".guys}}`, hasError, ""},
    	{"dot after dot", "{{..E}}", hasError, ""},
    	{"dot after nil", "{{nil.E}}", hasError, ""},
    	// Wrong pipeline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. src/go/types/operand.go

    	var kind BasicKind
    	switch k {
    	case token.INT:
    		kind = UntypedInt
    	case token.FLOAT:
    		kind = UntypedFloat
    	case token.IMAG:
    		kind = UntypedComplex
    	case token.CHAR:
    		kind = UntypedRune
    	case token.STRING:
    		kind = UntypedString
    	default:
    		panic("unreachable")
    	}
    
    	val := makeFromLiteral(lit, k)
    	if val.Kind() == constant.Unknown {
    		x.mode = invalid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testcarchive/testdata/main3.c

    #include <signal.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <time.h>
    #include <sched.h>
    #include <unistd.h>
    #include <pthread.h>
    
    #include "libgo3.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;
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top