Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,820 for libC (0.07 sec)

  1. src/runtime/sys_openbsd_arm.s

    	MOVW	R1, (5*4)(R8) // r2
    
    	// Standard libc functions return -1 on error and set errno.
    	CMP	$-1, R0
    	BNE	ok
    
    	// Get error code from libc.
    	BL	libc_errno(SB)
    	MOVW	(R0), R1
    	MOVW	R1, (6*4)(R8) // err
    
    ok:
    	MOVW	$0, R0		// no error (it's ignored anyway)
    	MOVW	R9, R13
    	RET
    
    // syscallX calls a function in libc on behalf of the syscall package.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/mkall.sh

    openbsd_386)
    	mkasm="go run mkasm.go"
    	mkerrors="$mkerrors -m32"
    	mksyscall="go run mksyscall.go -l32 -openbsd -libc"
    	mksysctl="go run mksysctl_openbsd.go"
    	mktypes="GOARCH=$GOARCH go tool cgo -godefs"
    	;;
    openbsd_amd64)
    	mkasm="go run mkasm.go"
    	mkerrors="$mkerrors -m64"
    	mksyscall="go run mksyscall.go -openbsd -libc"
    	mksysctl="go run mksysctl_openbsd.go"
    	mktypes="GOARCH=$GOARCH go tool cgo -godefs"
    	;;
    openbsd_arm)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 21:37:23 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  3. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildNestingIntegrationTest.groovy

            def buildC = singleProjectBuild("buildC") {
                settingsFile << """
                    rootProject.name = 'libc'
                """
                buildFile << """
                    apply plugin: 'java'
                """
                file("src/main/java/LibC.java") << """
                    public class LibC { }
                """
            }
            def buildB = singleProjectBuild("buildB") {
                settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. src/runtime/sys_openbsd_386.s

    	MOVL	DX, (5*4)(BX)		// r2
    
    	// Standard libc functions return -1 on error and set errno.
    	CMPL	AX, $-1
    	JNE	ok
    
    	// Get error code from libc.
    	CALL	libc_errno(SB)
    	MOVL	(AX), AX
    	MOVW	AX, (6*4)(BX)		// err
    
    ok:
    	MOVL	$0, AX			// no error (it's ignored anyway)
    	MOVL	BP, SP
    	POPL	BP
    	RET
    
    // syscallX calls a function in libc on behalf of the syscall package.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/plan9/mkall.sh

    	mkerrors=
    	mksyscall="go run mksyscall.go -l32 -plan9 -tags plan9,386"
    	mksysnum="./mksysnum_plan9.sh /n/sources/plan9/sys/src/libc/9syscall/sys.h"
    	mktypes="XXX"
    	;;
    plan9_amd64)
    	mkerrors=
    	mksyscall="go run mksyscall.go -l32 -plan9 -tags plan9,amd64"
    	mksysnum="./mksysnum_plan9.sh /n/sources/plan9/sys/src/libc/9syscall/sys.h"
    	mktypes="XXX"
    	;;
    plan9_arm)
    	mkerrors=
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  6. src/syscall/exec_aix_test.go

    // license that can be found in the LICENSE file.
    
    //go:build aix
    
    package syscall
    
    import "unsafe"
    
    //go:cgo_import_dynamic libc_Getpgid getpgid "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Getpgrp getpgrp "libc.a/shr_64.o"
    
    //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)
  7. src/runtime/cgo/callbacks.go

    var x_cgo_set_context_function byte
    var _cgo_set_context_function = &x_cgo_set_context_function
    
    // Calls a libc function to execute background work injected via libc
    // interceptors, such as processing pending signals under the thread
    // sanitizer.
    //
    // Left as a nil pointer if no libc interceptors are expected.
    
    //go:cgo_import_static _cgo_yield
    //go:linkname _cgo_yield _cgo_yield
    var _cgo_yield unsafe.Pointer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. src/runtime/cgo/openbsd.go

    // license that can be found in the LICENSE file.
    
    //go:build openbsd
    
    package cgo
    
    import _ "unsafe" // for go:linkname
    
    // Supply __guard_local because we don't link against the standard
    // OpenBSD crt0.o and the libc dynamic library needs it.
    
    //go:linkname _guard_local __guard_local
    
    var _guard_local uintptr
    
    // This is normally marked as hidden and placed in the
    // .openbsd.randomdata section.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 566 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testsanitizers/testdata/tsan11.go

    package main
    
    // This program hung when run under the C/C++ ThreadSanitizer. TSAN defers
    // asynchronous signals until the signaled thread calls into libc. The runtime's
    // sysmon goroutine idles itself using direct usleep syscalls, so it 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
    - 1.2K bytes
    - Viewed (0)
  10. src/runtime/sys_darwin_amd64.s

    	MOVQ	DX, (5*8)(DI) // r2
    
    	// Standard libc functions return -1 on error
    	// and set errno.
    	CMPL	AX, $-1	      // Note: high 32 bits are junk
    	JNE	ok
    
    	// Get error code from libc.
    	CALL	libc_error(SB)
    	MOVLQSX	(AX), AX
    	MOVQ	(SP), DI
    	MOVQ	AX, (6*8)(DI) // err
    
    ok:
    	XORL	AX, AX        // no error (it's ignored anyway)
    	RET
    
    // syscallX calls a function in libc on behalf of the syscall package.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 19.7K bytes
    - Viewed (0)
Back to top