Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 64 for libc (0.09 sec)

  1. src/runtime/race.go

    }
    
    //go:nosplit
    func raceinit() (gctx, pctx uintptr) {
    	lockInit(&raceFiniLock, lockRankRaceFini)
    
    	// On most machines, cgo is required to initialize libc, which is used by race runtime.
    	if !iscgo && GOOS != "darwin" {
    		throw("raceinit: race build must use cgo")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. src/syscall/syscall_solaris.go

    //sys	recvmsg(s int, msg *Msghdr, flags int) (n int, err error) = libsocket.__xnet_recvmsg
    //sys	getexecname() (path unsafe.Pointer, err error) = libc.getexecname
    //sys	utimensat(dirfd int, path string, times *[2]Timespec, flag int) (err error)
    
    func Getexecname() (path string, err error) {
    	ptr, err := getexecname()
    	if err != nil {
    		return "", err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. src/syscall/syscall_aix.go

    }
    
    // fcntl must never be called with cmd=F_DUP2FD because it doesn't work on AIX
    // There is no way to create a custom fcntl and to keep //sys fcntl easily,
    // because we need fcntl name for its libc symbol. This is linked with the script.
    // But, as fcntl is currently not exported and isn't called with F_DUP2FD,
    // it doesn't matter.
    //sys	fcntl(fd int, cmd int, arg int) (val int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. src/os/exec/exec_test.go

    	}
    
    	// Since this test is not running in parallel, we don't expect any new file
    	// descriptors to be opened while it runs. However, if there are additional
    	// FDs present at the start of the test (for example, opened by libc), those
    	// may be closed due to a timeout of some sort. Allow those to go away, but
    	// check that no new FDs are added.
    	for _, fd := range openFDs() {
    		if !old[fd] {
    			t.Errorf("leaked file descriptor %v", fd)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  5. src/runtime/crash_cgo_test.go

    		t.Skipf("skipping test on %s", runtime.GOOS)
    	}
    	got := runTestProg(t, "testprogcgo", "StackSwitchCallback")
    	skip := "SKIP\n"
    	if got == skip {
    		t.Skip("skipping on musl/bionic libc")
    	}
    	want := "OK\n"
    	if got != want {
    		t.Errorf("expected %q, got %v", want, got)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (1)
  6. src/runtime/cgocall.go

    type cgoCallers [32]uintptr
    
    // argset matches runtime/cgo/linux_syscall.c:argset_t
    type argset struct {
    	args   unsafe.Pointer
    	retval uintptr
    }
    
    // wrapper for syscall package to call cgocall for libc (cgo) calls.
    //
    //go:linkname syscall_cgocaller syscall.cgocaller
    //go:nosplit
    //go:uintptrescapes
    func syscall_cgocaller(fn unsafe.Pointer, args ...uintptr) uintptr {
    	as := argset{args: unsafe.Pointer(&args[0])}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarCreatorTest.groovy

            def inputFilesDir = tmpDir.createDir('inputFiles')
            def jarFile1 = inputFilesDir.file('lib1.jar')
            createJarFileWithClassFiles(jarFile1, ['org/gradle/MyClass'])
            def jarFile2 = inputFilesDir.file('lib2.jar')
            createJarFileWithClassFiles(jarFile2, ['org/gradle/MySecondClass'])
            def jarFile3 = inputFilesDir.file('lib3.jar')
            def serviceType = 'org.gradle.internal.service.scopes.GradleModuleServices'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 13:39:49 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/TomlDependenciesExtensionIntegrationTest.groovy

    [versions]
    commons-lib = "1.0"
    
    [libraries]
    my-lib = {group = "org.gradle.test", name="lib", version.ref="commons-lib"}
    my-lib2 = {group = "org.gradle.test", name="lib2", version.ref="commons-lib"}
    
    [bundles]
    my-bundle = ["my-lib"]
    other-bundle = ["my-lib", "my-lib2"]
    
    """
            def lib = mavenHttpRepo.module("org.gradle.test", "lib", "1.0").publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 33K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/JavaCompilerArgumentsBuilderTest.groovy

            def file1 = new File("/lib/lib1.jar")
            def file2 = new File("/lib/lib2.jar")
            spec.compileClasspath = [file1, file2]
    
            expect:
            builder.build() == defaultOptionsWithoutClasspath + ["-classpath", "$file1$File.pathSeparator$file2"]
        }
    
        def "generates -processorpath option"() {
            def file1 = new File("/lib/lib1.jar")
            def file2 = new File("/lib/lib2.jar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:36 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/jvm/toolchains.adoc

    [[sec:limitations]]
    == Toolchains limitations
    
    Gradle may detect toolchains incorrectly when it's running in a JVM compiled against `musl`, an https://musl.libc.org/[alternative implementation] of the C standard library.
    JVMs compiled against `musl` can sometimes override the `LD_LIBRARY_PATH` environment variable to control dynamic library resolution.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 05:37:54 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top