Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 164 for lchflags (0.12 sec)

  1. src/cmd/cgo/internal/testsanitizers/testdata/tsan5.go

    // license that can be found in the LICENSE file.
    
    package main
    
    // Check that calls to C.malloc/C.free do not collide with the calls
    // made by the os/user package.
    
    // #cgo CFLAGS: -fsanitize=thread
    // #cgo LDFLAGS: -fsanitize=thread
    // #include <stdlib.h>
    import "C"
    
    import (
    	"fmt"
    	"os"
    	"os/user"
    	"runtime"
    	"sync"
    )
    
    func main() {
    	u, err := user.Current()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 927 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testsanitizers/testdata/tsan11.go

    // run for an arbitrarily long time without triggering the libc interceptors.
    // See https://golang.org/issue/18717.
    
    import (
    	"os"
    	"os/signal"
    	"syscall"
    )
    
    /*
    #cgo CFLAGS: -g -fsanitize=thread
    #cgo LDFLAGS: -g -fsanitize=thread
    
    #include <signal.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    
    static void raise_usr2(int signo) {
    	raise(SIGUSR2);
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testsanitizers/testdata/tsan8.go

    // This program failed when run under the C/C++ ThreadSanitizer.  The TSAN
    // sigaction function interceptor returned SIG_DFL instead of the Go runtime's
    // handler in registerSegvForwarder.
    
    /*
    #cgo CFLAGS: -fsanitize=thread
    #cgo LDFLAGS: -fsanitize=thread
    
    #include <signal.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    
    struct sigaction prev_sa;
    
    void forwardSignal(int signo, siginfo_t *info, void *context) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testsanitizers/testdata/tsan_shared.go

    // The Go runtime had re-registered the C handler with the wrong flags due to a
    // typo, resulting in null pointers being passed for the info and context
    // parameters to the handler.
    
    /*
    #cgo CFLAGS: -fsanitize=thread
    #cgo LDFLAGS: -fsanitize=thread
    
    #include <signal.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <ucontext.h>
    
    void check_params(int signo, siginfo_t *info, void *context) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testsanitizers/testdata/tsan13.go

    package main
    
    // This program failed when run under the C/C++ ThreadSanitizer.
    // There was no TSAN synchronization for the call to the cgo
    // traceback routine.
    
    /*
    #cgo CFLAGS: -g -fsanitize=thread
    #cgo LDFLAGS: -g -fsanitize=thread
    
    #include <pthread.h>
    #include <stdint.h>
    #include <stdlib.h>
    #include <sys/time.h>
    #include <unistd.h>
    
    struct tracebackArg {
    	uintptr_t  Context;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. src/runtime/asan/asan.go

    // license that can be found in the LICENSE file.
    
    //go:build asan && linux && (arm64 || amd64 || loong64 || riscv64 || ppc64le)
    
    package asan
    
    /*
    #cgo CFLAGS: -fsanitize=address
    #cgo LDFLAGS: -fsanitize=address
    
    #include <stdbool.h>
    #include <stdint.h>
    #include <sanitizer/asan_interface.h>
    
    void __asan_read_go(void *addr, uintptr_t sz, void *sp, void *pc) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 00:22:11 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. src/runtime/defs_linux_loong64.go

    	ss_sp     *byte
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    	ss_size   uintptr
    }
    
    type sigcontext struct {
    	sc_pc         uint64
    	sc_regs       [32]uint64
    	sc_flags      uint32
    	sc_extcontext [0]uint64
    }
    
    type ucontext struct {
    	uc_flags     uint64
    	uc_link      *ucontext
    	uc_stack     stackt
    	uc_sigmask   usigset
    	uc_x_unused  [0]uint8
    	uc_pad_cgo_0 [8]byte
    	uc_mcontext  sigcontext
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. buildscripts/gen-ldflags.go

    Harshavardhana <******@****.***> 1655421048 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 16 23:10:48 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  9. src/runtime/defs_freebsd_386.go

    	mc_fpformat      uint32
    	mc_ownedfp       uint32
    	mc_flags         uint32
    	mc_fpstate       [128]uint32
    	mc_fsbase        uint32
    	mc_gsbase        uint32
    	mc_xfpustate     uint32
    	mc_xfpustate_len uint32
    	mc_spare2        [4]uint32
    }
    
    type ucontext struct {
    	uc_sigmask  sigset
    	uc_mcontext mcontext
    	uc_link     *ucontext
    	uc_stack    stackt
    	uc_flags    int32
    	__spare__   [4]int32
    	pad_cgo_0   [12]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. src/runtime/defs_freebsd_riscv64.go

    	fp_flags int32
    	pad      int32
    }
    
    type mcontext struct {
    	mc_gpregs gpregs
    	mc_fpregs fpregs
    	mc_flags  int32
    	mc_pad    int32
    	mc_spare  [8]uint64
    }
    
    type ucontext struct {
    	uc_sigmask  sigset
    	uc_mcontext mcontext
    	uc_link     *ucontext
    	uc_stack    stackt
    	uc_flags    int32
    	__spare__   [4]int32
    	pad_cgo_0   [12]byte
    }
    
    type timespec struct {
    	tv_sec  int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top