Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 511 for libc (0.1 sec)

  1. 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)
  2. src/runtime/rt0_linux_mipsx.s

    	// sequence of string pointers followed by a NULL, and auxv.
    	// There is no TLS base pointer.
    	MOVW	0(R29), R4 // argc
    	ADD	$4, R29, R5 // argv
    	JMP	main(SB)
    
    TEXT main(SB),NOSPLIT|NOFRAME,$0
    	// In external linking, libc jumps to main with argc in R4, argv in R5
    	MOVW	$runtime·rt0_go(SB), R1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 797 bytes
    - Viewed (0)
  3. src/runtime/testdata/testprogcgo/stackswitch.c

    #include <assert.h>
    #include <pthread.h>
    #include <stddef.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <ucontext.h>
    
    // musl libc does not provide getcontext, etc. Skip the test there.
    //
    // musl libc doesn't provide any direct detection mechanism. So assume any
    // non-glibc linux is using musl.
    //
    // Note that bionic does not provide getcontext either, but that is skipped via
    // the android build tag.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 15:17:33 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. src/runtime/mem_plan9.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    import "unsafe"
    
    func sbrk(n uintptr) unsafe.Pointer {
    	// Plan 9 sbrk from /sys/src/libc/9sys/sbrk.c
    	bl := bloc
    	n = memRound(n)
    	if bl+n > blocMax {
    		if brk_(unsafe.Pointer(bl+n)) < 0 {
    			return nil
    		}
    		blocMax = bl + n
    	}
    	bloc += n
    	return unsafe.Pointer(bl)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 21 02:45:06 UTC 2023
    - 447 bytes
    - Viewed (0)
  5. src/runtime/cgo/freebsd.go

    //go:build freebsd
    
    package cgo
    
    import _ "unsafe" // for go:linkname
    
    // Supply environ and __progname, because we don't
    // link against the standard FreeBSD crt0.o and the
    // libc dynamic library needs them.
    
    //go:linkname _environ environ
    //go:linkname _progname __progname
    
    //go:cgo_export_dynamic environ
    //go:cgo_export_dynamic __progname
    
    var _environ uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 549 bytes
    - Viewed (0)
  6. src/runtime/cgo/netbsd.go

    //go:build netbsd
    
    package cgo
    
    import _ "unsafe" // for go:linkname
    
    // Supply environ and __progname, because we don't
    // link against the standard NetBSD crt0.o and the
    // libc dynamic library needs them.
    
    //go:linkname _environ environ
    //go:linkname _progname __progname
    //go:linkname ___ps_strings __ps_strings
    
    var _environ uintptr
    var _progname uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 546 bytes
    - Viewed (0)
  7. src/runtime/cgo_sigaction.go

    			// g0 to ensure we have enough room to call a libc function.
    			//
    			// The function literal that we pass to systemstack is not nosplit, but
    			// that's ok: we'll be running on a fresh, clean system stack so the stack
    			// check will always succeed anyway.
    			systemstack(func() {
    				ret = callCgoSigaction(uintptr(sig), new, old)
    			})
    		}
    
    		const EINVAL = 22
    		if ret == EINVAL {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/net/lif/syscall.go

    // license that can be found in the LICENSE file.
    
    //go:build solaris
    
    package lif
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    //go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
    
    //go:linkname procIoctl libc_ioctl
    
    var procIoctl uintptr
    
    func sysvicall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (uintptr, uintptr, syscall.Errno)
    
    func ioctl(s, ioc uintptr, arg unsafe.Pointer) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 642 bytes
    - Viewed (0)
  9. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

    +  __extension__ struct __gconv_step_data __data[0];
     } *__gconv_t;
     
     #endif /* gconv.h */
    diff --git a/include/libc-symbols.h b/include/libc-symbols.h
    index c555bf2..143b26d 100644
    --- a/include/libc-symbols.h
    +++ b/include/libc-symbols.h
    @@ -107,6 +107,11 @@
     # endif
     #endif
     
    +#ifndef __attribute_copy__
    +/* Provide an empty definition when cdefs.h is not included.  */
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  10. src/net/nss_test.go

    import (
    	"reflect"
    	"testing"
    	"time"
    )
    
    const ubuntuTrustyAvahi = `# /etc/nsswitch.conf
    #
    # Example configuration of GNU Name Service Switch functionality.
    # If you have the libc-doc-reference' and nfo' packages installed, try:
    # nfo libc "Name Service Switch"' for information about this file.
    
    passwd:         compat
    group:          compat
    shadow:         compat
    
    hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:15:51 UTC 2022
    - 3.4K bytes
    - Viewed (0)
Back to top