Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for sysconf (0.15 sec)

  1. src/runtime/os3_solaris.go

    //go:cgo_import_dynamic libc_sigaction sigaction "libc.so"
    //go:cgo_import_dynamic libc_sigaltstack sigaltstack "libc.so"
    //go:cgo_import_dynamic libc_sigprocmask sigprocmask "libc.so"
    //go:cgo_import_dynamic libc_sysconf sysconf "libc.so"
    //go:cgo_import_dynamic libc_usleep usleep "libc.so"
    //go:cgo_import_dynamic libc_write write "libc.so"
    //go:cgo_import_dynamic libc_pipe2 pipe2 "libc.so"
    
    //go:linkname libc____errno libc____errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. src/runtime/os2_aix.go

    	if int32(r) == -1 {
    		println("syscall osyield failed: ", hex(err))
    		throw("syscall osyield")
    	}
    }
    
    //go:nosplit
    func sysconf(name int32) uintptr {
    	r, _ := syscall1(&libc_sysconf, uintptr(name))
    	if int32(r) == -1 {
    		throw("syscall sysconf")
    	}
    	return r
    }
    
    // pthread functions returns its error code in the main return value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  3. go.mod

    	github.com/safchain/ethtool v0.3.0 // indirect
    	github.com/shoenig/go-m1cpu v0.1.6 // indirect
    	github.com/tidwall/match v1.1.1 // indirect
    	github.com/tidwall/pretty v1.2.1 // indirect
    	github.com/tklauser/go-sysconf v0.3.14 // indirect
    	github.com/tklauser/numcpus v0.8.0 // indirect
    	github.com/unrolled/secure v1.14.0 // indirect
    	github.com/vbauerster/mpb/v8 v8.7.3 // indirect
    	github.com/xdg/stringprep v1.0.3 // indirect
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:53:53 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_solaris.go

    //sys	Stat(path string, stat *Stat_t) (err error)
    //sys	Statvfs(path string, vfsstat *Statvfs_t) (err error)
    //sys	Symlink(path string, link string) (err error)
    //sys	Sync() (err error)
    //sys	Sysconf(which int) (n int64, err error)
    //sysnb	Times(tms *Tms) (ticks uintptr, err error)
    //sys	Truncate(path string, length int64) (err error)
    //sys	Fsync(fd int) (err error)
    //sys	Ftruncate(fd int, length int64) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  5. src/net/conf.go

    	// than fallbackOrder to use the Go resolver with that order.
    
    	dnsConf = getSystemDNSConfig()
    
    	if canUseCgo && dnsConf.err != nil && !errors.Is(dnsConf.err, fs.ErrNotExist) && !errors.Is(dnsConf.err, fs.ErrPermission) {
    		// We can't read the resolv.conf file, so use cgo if we can.
    		return hostLookupCgo, dnsConf
    	}
    
    	if canUseCgo && dnsConf.unknownOpt {
    		// We didn't recognize something in resolv.conf,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishArtifactCustomizationIntegTest.groovy

            ivy.expectArtifact('ivyPublish', 'txt').hasType("txt").hasConf(null)
            ivy.expectArtifact('ivyPublish', 'html').hasType("html").hasConf(null)
            ivy.expectArtifact('ivyPublish', 'jar').hasType("jar").hasConf(null)
            ivy.expectArtifact('ivyPublish', 'reg').hasType("reg").hasConf(null)
            ivy.expectArtifact('ivyPublish', 'foo').hasType("foo").hasConf(null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  7. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishFeaturesJavaIntegTest.groovy

            javaLibrary.parsedIvy.dependencies['org:optionaldep-g1:1.0'].hasConf('optionalFeature1RuntimeElements->default')
            javaLibrary.parsedIvy.dependencies['org:optionaldep1-g2:1.0'].hasConf('optionalFeature2RuntimeElements->default')
            javaLibrary.parsedIvy.dependencies['org:optionaldep2-g2:1.0'].hasConf('optionalFeature2RuntimeElements->default')
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  8. src/net/conf_test.go

    	order, _ = cnf.addrLookupOrder(nil, "192.0.2.1")
    	if order != hostLookupCgo {
    		t.Errorf("addrLookupOrder returned: %v, want cgo", order)
    	}
    
    }
    
    func setSystemNSS(nss *nssConf, addDur time.Duration) {
    	nssConfig.mu.Lock()
    	nssConfig.nssConf = nss
    	nssConfig.mu.Unlock()
    	nssConfig.acquireSema()
    	nssConfig.lastChecked = time.Now().Add(addDur)
    	nssConfig.releaseSema()
    }
    
    func TestSystemConf(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:46:36 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. src/fmt/scan_test.go

    		t.Errorf("Sscan: expected %q; got %q", input, tscan)
    	}
    	// Sscanf should work
    	var tscanf TwoLines
    	n, err = Sscanf(input, "%s", &tscanf)
    	if n != 1 {
    		t.Errorf("Sscanf: expected 1 item; got %d", n)
    	}
    	if err != nil {
    		t.Errorf("Sscanf: expected no error; got %s", err)
    	}
    	if string(tscanf) != input {
    		t.Errorf("Sscanf: expected %q; got %q", input, tscanf)
    	}
    	// Sscanln should not work
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 20:25:13 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDSLCustomDependenciesExtensionsSpec.groovy

                        DependencyScopeConfiguration myConf = project.getConfigurations().dependencyScope("myConf").get();
                        DependencyScopeConfiguration myOtherConf = project.getConfigurations().dependencyScope("myOtherConf").get();
    
                        // create and wire the custom dependencies extension's dependencies to these global configurations
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 10:11:12 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top