Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,820 for libC (0.09 sec)

  1. src/runtime/sys_openbsd_ppc64.s

    	CALL	(CTR)
    
    	MOVD	R3, (4*8)(R14)		// r1
    	MOVD	R4, (5*8)(R14)		// r2
    
    	// Standard libc functions return -1 on error
    	// and set errno.
    	CMPW	R3, $-1
    	BNE	ok
    
    	// Get error code from libc.
    	CALL	libc_errno(SB)
    	MOVW	(R3), R3
    	MOVD	R3, (6*8)(R14)		// err
    
    ok:
    	RET
    
    // syscallX calls a function in libc on behalf of the syscall package.
    // syscallX takes a pointer to a struct like:
    // struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 02:48:11 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  2. src/internal/syscall/unix/at_aix.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package unix
    
    //go:cgo_import_dynamic libc_fstatat fstatat "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_openat openat "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_unlinkat unlinkat "libc.a/shr_64.o"
    
    const (
    	AT_REMOVEDIR        = 0x1
    	AT_SYMLINK_NOFOLLOW = 0x1
    	UTIME_OMIT          = -0x3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 11 18:19:17 UTC 2023
    - 456 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testsanitizers/testdata/tsan10.go

    package main
    
    // This program hung when run under the C/C++ ThreadSanitizer.
    // TSAN defers asynchronous signals until the signaled thread calls into libc.
    // Since the Go runtime makes direct futex syscalls, Go runtime threads could
    // run for an arbitrarily long time without triggering the libc interceptors.
    // See https://golang.org/issue/18717.
    
    import (
    	"os"
    	"os/signal"
    	"syscall"
    )
    
    /*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 798 bytes
    - Viewed (0)
  4. src/os/user/user.go

    One is written in pure Go and parses /etc/passwd and /etc/group. The other
    is cgo-based and relies on the standard C library (libc) routines such as
    getpwuid_r, getgrnam_r, and getgrouplist.
    
    When cgo is available, and the required routines are implemented in libc
    for a particular platform, cgo-based (libc-backed) code is used.
    This can be overridden by using osusergo build tag, which enforces
    the pure Go implementation.
    */
    package user
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/runtime/pprof/proto_test.go

    7f7d76af8000-7f7d7797c000 r--p 00000000 fc:01 1318064                    /usr/lib/locale/locale-archive
    7f7d7797c000-7f7d77b36000 r-xp 00000000 fc:01 1180226                    /lib/x86_64-linux-gnu/libc-2.19.so
    7f7d77b36000-7f7d77d36000 ---p 001ba000 fc:01 1180226                    /lib/x86_64-linux-gnu/libc-2.19.so
    7f7d77d36000-7f7d77d3a000 r--p 001ba000 fc:01 1180226                    /lib/x86_64-linux-gnu/libc-2.19.so
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 23:21:53 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_illumos_amd64.go

    //go:build illumos && amd64
    
    package unix
    
    import (
    	"unsafe"
    )
    
    //go:cgo_import_dynamic libc_readv readv "libc.so"
    //go:cgo_import_dynamic libc_preadv preadv "libc.so"
    //go:cgo_import_dynamic libc_writev writev "libc.so"
    //go:cgo_import_dynamic libc_pwritev pwritev "libc.so"
    //go:cgo_import_dynamic libc_accept4 accept4 "libsocket.so"
    
    //go:linkname procreadv libc_readv
    //go:linkname procpreadv libc_preadv
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. src/syscall/exec_solaris_test.go

    // license that can be found in the LICENSE file.
    
    //go:build solaris
    
    package syscall
    
    import "unsafe"
    
    //go:cgo_import_dynamic libc_Getpgid getpgid "libc.so"
    //go:cgo_import_dynamic libc_Getpgrp getpgrp "libc.so"
    
    //go:linkname libc_Getpgid libc_Getpgid
    //go:linkname libc_Getpgrp libc_Getpgrp
    
    var (
    	libc_Getpgid,
    	libc_Getpgrp libcFunc
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/LibraryBinariesIntegrationTest.groovy

            then:
            sharedLibrary("lib/build/libs/helloLib/shared/helloLib").assertExistsAndDelete()
            sharedLibrary("exe/build/libs/helloMain/shared/helloMain").assertExistsAndDelete()
            installation("exe/build/install/main")
                .assertIncludesLibraries("helloLib", "helloMain")
                .exec().out == "Hello main\nHello lib"
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  9. src/runtime/sys_openbsd_arm64.s

    	CALL	R11
    
    	MOVD	R0, (4*8)(R19)		// r1
    	MOVD	R1, (5*8)(R19)		// r2
    
    	// Standard libc functions return -1 on error
    	// and set errno.
    	CMPW	$-1, R0
    	BNE	ok
    
    	// Get error code from libc.
    	CALL	libc_errno(SB)
    	MOVW	(R0), R0
    	MOVD	R0, (6*8)(R19)		// err
    
    ok:
    	RET
    
    // syscallX calls a function in libc on behalf of the syscall package.
    // syscallX takes a pointer to a struct like:
    // struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  10. src/runtime/sys_libc.go

    		// first call on an M, until that libcCall instance
    		// returns.  Reentrance only matters for signals, as
    		// libc never calls back into Go.  The tricky case is
    		// where we call libcX from an M and record g/pc/sp.
    		// Before that call returns, a signal arrives on the
    		// same M and the signal handling code calls another
    		// libc function.  We don't want that second libcCall
    		// from within the handler to be recorded, and we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 1.8K bytes
    - Viewed (0)
Back to top