Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for libc (0.08 sec)

  1. 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)
  2. src/cmd/go/internal/bug/bug.go

    		return
    	}
    	re := regexp.MustCompile(`libc\.so[^ ]* => ([^ ]+)`)
    	m := re.FindStringSubmatch(string(out))
    	if m == nil {
    		return
    	}
    	cmd = exec.Command(m[1])
    	out, err = cmd.Output()
    	if err != nil {
    		return
    	}
    	fmt.Fprintf(w, "%s: %s\n", m[1], firstLine(out))
    
    	// print another line (the one containing version string) in case of musl libc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. src/runtime/lock_futex.go

    }
    
    func notesleep(n *note) {
    	gp := getg()
    	if gp != gp.m.g0 {
    		throw("notesleep not on g0")
    	}
    	ns := int64(-1)
    	if *cgo_yield != nil {
    		// Sleep for an arbitrary-but-moderate interval to poll libc interceptors.
    		ns = 10e6
    	}
    	for atomic.Load(key32(&n.key)) == 0 {
    		gp.m.blocked = true
    		futexsleep(key32(&n.key), 0, ns)
    		if *cgo_yield != nil {
    			asmcgocall(*cgo_yield, nil)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. src/runtime/lock_sema.go

    		}
    		return
    	}
    	// Queued. Sleep.
    	gp.m.blocked = true
    	if *cgo_yield == nil {
    		semasleep(-1)
    	} else {
    		// Sleep for an arbitrary-but-moderate interval to poll libc interceptors.
    		const ns = 10e6
    		for atomic.Loaduintptr(&n.key) == 0 {
    			semasleep(ns)
    			asmcgocall(*cgo_yield, nil)
    		}
    	}
    	gp.m.blocked = false
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. src/os/user/cgo_lookup_unix.go

    	sz := _C_sysconf(_C_int(k))
    	if sz == -1 {
    		// DragonFly and FreeBSD do not have _SC_GETPW_R_SIZE_MAX.
    		// Additionally, not all Linux systems have it, either. For
    		// example, the musl libc returns -1.
    		return 1024
    	}
    	if !isSizeReasonable(int64(sz)) {
    		// Truncate.  If this truly isn't enough, retryWithBuffer will error on the first run.
    		return maxBufferSize
    	}
    	return _C_size_t(sz)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:08:14 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleProjectIntegrationTest.groovy

        def "can fetch GradleProject model for empty projects"() {
            settingsFile << """
                rootProject.name = 'root'
    
                include(":lib1")
                include(":lib1:lib11")
            """
    
            when: "fetching without Isolated Projects"
            def expectedProjectModel = fetchModel(GradleProject)
    
            then:
            fixture.assertNoConfigurationCache()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. src/runtime/cgo/gcc_stack_unix.c

    	void *addr;
    	size_t size;
    
    	// Needed before pthread_getattr_np, too, since before glibc 2.32
    	// it did not call pthread_attr_init in all cases (see #65625).
    	pthread_attr_init(&attr);
    #if defined(__GLIBC__) || (defined(__sun) && !defined(__illumos__))
    	// pthread_getattr_np is a GNU extension supported in glibc.
    	// Solaris is not glibc but does support pthread_getattr_np
    	// (and the fallback doesn't work...). Illumos does not.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 03:44:11 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. manifests/addons/dashboards/lib/lib-grid.libsonnet

    local d = import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet';
    
    local panelUtil = import 'github.com/grafana/grafonnet/gen/grafonnet-v11.0.0/custom/util/panel.libsonnet';
    
    // This is forked from https://grafana.github.io/grafonnet/API/util.html#obj-grid
    // to allow automatic width to fill the grid
    {
      local root = self,
    
      local gridWidth = 24,
    
      '#makeGrid':: d.func.new(
        |||
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/build.gradle.kts

        }
    
        api(libs.gson)
        api(libs.groovy)
        api(libs.groovyXml)
        api(libs.guava)
        api(libs.hamcrestCore)
        api(libs.hamcrest)
        api(libs.jettyWebApp) {
            because("Part of the public API via HttpServer")
        }
        api(libs.jansi)
        api(libs.jettySecurity)
        api(libs.jettyServer)
        api(libs.jettyUtil)
        api(libs.jgit) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:14 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. platforms/core-execution/build-cache-http/build.gradle.kts

        api(projects.serviceProvider)
    
        api(libs.httpcore)
        api(libs.inject)
        api(libs.jsr305)
    
        api(project(":base-services"))
        api(project(":build-cache-spi"))
        api(project(":core-api"))
        api(project(":resources-http"))
    
        implementation(project(":core"))
        implementation(project(":logging"))
        implementation(project(":resources"))
    
        implementation(libs.commonsHttpclient)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top