Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 537 for libc (0.05 sec)

  1. src/syscall/mkall.sh

    	mktypes="GOARCH=$GOARCH go tool cgo -godefs"
    	;;
    openbsd_386)
    	GOOSARCH_in="syscall_openbsd_libc.go syscall_openbsd_$GOARCH.go"
    	mkerrors="$mkerrors -m32"
    	mksyscall="./mksyscall.pl -l32 -openbsd -libc"
    	mksysctl="./mksysctl_openbsd.pl"
    	zsysctl="zsysctl_openbsd.go"
    	mksysnum="curl -s 'http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/syscalls.master' | ./mksysnum_openbsd.pl"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 18:22:23 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  2. src/runtime/sys_openbsd3.go

    package runtime
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    // The X versions of syscall expect the libc call to return a 64-bit result.
    // Otherwise (the non-X version) expects a 32-bit result.
    // This distinction is required because an error is indicated by returning -1,
    // and we need to know whether to check 32 or 64 bits of the result.
    // (Some libc functions that return 32 bits put junk in the upper 32 bits of AX.)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. src/runtime/cgo/dragonfly.go

    //go:build dragonfly
    
    package cgo
    
    import _ "unsafe" // for go:linkname
    
    // Supply environ and __progname, because we don't
    // link against the standard DragonFly crt0.o and the
    // libc dynamic library needs them.
    
    //go:linkname _environ environ
    //go:linkname _progname __progname
    
    var _environ uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 485 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testsanitizers/testdata/tsan12.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    // This program hung when run under the C/C++ ThreadSanitizer. TSAN installs a
    // libc interceptor that writes signal handlers to a global variable within the
    // TSAN runtime instead of making a sigaction system call. A bug in
    // syscall.runtime_AfterForkInChild corrupted TSAN's signal forwarding table
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 929 bytes
    - Viewed (0)
  5. src/syscall/syscall_illumos.go

    //go:build illumos
    
    package syscall
    
    import "unsafe"
    
    // F_DUP2FD_CLOEXEC has different values on Solaris and Illumos.
    const F_DUP2FD_CLOEXEC = 0x24
    
    //go:cgo_import_dynamic libc_flock flock "libc.so"
    
    //go:linkname procFlock libc_flock
    
    var procFlock libcFunc
    
    func Flock(fd int, how int) error {
    	_, _, errno := sysvicall6(uintptr(unsafe.Pointer(&procFlock)), 2, uintptr(fd), uintptr(how), 0, 0, 0, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 15 21:07:18 UTC 2022
    - 613 bytes
    - Viewed (0)
  6. src/internal/syscall/unix/getrandom_solaris.go

    // license that can be found in the LICENSE file.
    
    package unix
    
    import (
    	"sync/atomic"
    	"syscall"
    	"unsafe"
    )
    
    //go:cgo_import_dynamic libc_getrandom getrandom "libc.so"
    
    //go:linkname procGetrandom libc_getrandom
    
    var procGetrandom uintptr
    
    var getrandomUnsupported atomic.Bool
    
    // GetRandomFlag is a flag supported by the getrandom system call.
    type GetRandomFlag uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:54:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/sys/cpu/syscall_aix_ppc64_gc.go

    // (See golang.org/issue/32102)
    
    //go:build aix && ppc64 && gc
    
    package cpu
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    //go:cgo_import_dynamic libc_getsystemcfg getsystemcfg "libc.a/shr_64.o"
    
    //go:linkname libc_getsystemcfg libc_getsystemcfg
    
    type syscallFunc uintptr
    
    var libc_getsystemcfg syscallFunc
    
    type errno = syscall.Errno
    
    // Implemented in runtime/syscall_aix.go.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 988 bytes
    - Viewed (0)
  8. src/syscall/syscall_openbsd_libc.go

    	// packages make use of syscall.Syscall with SYS_IOCTL since it is
    	// not well supported by golang.org/x/sys/unix. Reroute this system
    	// call number to the respective libc stub so that it continues to
    	// work for the time being. See #63900 for further details.
    	if trap == SYS_IOCTL {
    		return syscallX(abi.FuncPCABI0(libc_ioctl_trampoline), a1, a2, a3)
    	}
    	return 0, 0, ENOSYS
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/DeclarativeDslTestProjectGenerator.groovy

                }
    
                plugins {
                    id("org.gradle.experimental.jvm-ecosystem")
                }
    
                rootProject.name = "root-project"
    
                include(":libA")
                include(":libB")
                include(":libC")
    
            """.stripIndent()
    
            if (config.subProjects != 0) {
                includedProjects += """${(0..config.subProjects - 1).collect { "include(\"project$it\")" }.join("\n")}"""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 11 07:05:10 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. src/syscall/zsysnum_plan9.go

    // mksysnum_plan9.sh /media/sys/src/libc/9syscall/sys.h
    // Code generated by the command above; DO NOT EDIT.
    
    package syscall
    
    const (
    	SYS_SYSR1       = 0
    	SYS_BIND        = 2
    	SYS_CHDIR       = 3
    	SYS_CLOSE       = 4
    	SYS_DUP         = 5
    	SYS_ALARM       = 6
    	SYS_EXEC        = 7
    	SYS_EXITS       = 8
    	SYS_FAUTH       = 10
    	SYS_SEGBRK      = 12
    	SYS_OPEN        = 14
    	SYS_OSEEK       = 16
    	SYS_SLEEP       = 17
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 1K bytes
    - Viewed (0)
Back to top