Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for sysconf (0.13 sec)

  1. src/os/exec_unix_test.go

    	if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" {
    		// Solaris/Illumos have a lower limit, above which wait returns
    		// EINVAL (see waitid in usr/src/uts/common/os/exit.c in
    		// illumos). This is configurable via sysconf(_SC_MAXPID), but
    		// we'll just take the default.
    		pid = 30000-1
    	}
    
    	p, err := FindProcess(pid)
    	if err != nil {
    		t.Fatalf("FindProcess(math.MaxInt32) got err %v, want nil", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. 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)
  3. go.sum

    github.com/tinylib/msgp v1.1.9 h1:SHf3yoO2sGA0veCJeCBYLHuttAVFHGm2RHgNodW7wQU=
    github.com/tinylib/msgp v1.1.9/go.mod h1:BCXGB54lDD8qUEPmiG0cQQUANC4IUQyB2ItS2UDlO/k=
    github.com/tklauser/go-sysconf v0.3.14 h1:g5vzr9iPFFz24v2KZXs/pvpvh8/V9Fw6vQK5ZZb78yU=
    github.com/tklauser/go-sysconf v0.3.14/go.mod h1:1ym4lWMLUOhuBOPGtRcJm7tEGX4SCYNEEEtghGG/8uY=
    github.com/tklauser/numcpus v0.8.0 h1:Mx4Wwe/FjZLeQsK/6kt2EOepwwSl7SmJrK5bV/dXYgY=
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:53:53 UTC 2024
    - 85.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	if r0 != 0 {
    		err = errnoErr2(e1, e2)
    	}
    	return
    }
    
    func ClockGettime(clockid int32, ts *Timespec) error {
    
    	var ticks_per_sec uint32 = 100 //TODO(kenan): value is currently hardcoded; need sysconf() call otherwise
    	var nsec_per_sec int64 = 1000000000
    
    	if ts == nil {
    		return EFAULT
    	}
    	if clockid == CLOCK_REALTIME || clockid == CLOCK_MONOTONIC {
    		var nanotime int64 = runtime.Nanotime1()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K 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/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)
  7. src/net/lookup_windows.go

    		if err != nil {
    			return nil, newDNSError(err, name, "")
    		}
    
    		dnsConf := getSystemDNSConfig()
    		start := time.Now()
    
    		var e error
    		for i := 0; i < dnsConf.attempts; i++ {
    			e = syscall.GetAddrInfoW(name16p, nil, &hints, &result)
    			if e == nil || e != _WSATRY_AGAIN || time.Since(start) > dnsConf.timeout {
    				break
    			}
    		}
    		if e != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. src/runtime/mklockrank.go

    // not actually define a rank.
    //
    // TODO: It's often hard to correlate rank names to locks. Change
    // these to be more consistent with the locks they label.
    const ranks = `
    # Sysmon
    NONE
    < sysmon
    < scavenge, forcegc;
    
    # Defer
    NONE < defer;
    
    # GC
    NONE <
      sweepWaiters,
      assistQueue,
      sweep;
    
    # Test only
    NONE < testR, testW;
    
    NONE < timerSend;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/x86/asm6.go

    	{AMULW, ydivl, Pe, opBytes{0xf7, 04}},
    	{ANEGB, yscond, Pb, opBytes{0xf6, 03}},
    	{ANEGL, yscond, Px, opBytes{0xf7, 03}},
    	{ANEGQ, yscond, Pw, opBytes{0xf7, 03}},
    	{ANEGW, yscond, Pe, opBytes{0xf7, 03}},
    	{obj.ANOP, ynop, Px, opBytes{0, 0}},
    	{ANOTB, yscond, Pb, opBytes{0xf6, 02}},
    	{ANOTL, yscond, Px, opBytes{0xf7, 02}}, // TODO(rsc): yscond is wrong here.
    	{ANOTQ, yscond, Pw, opBytes{0xf7, 02}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go

    		defer cfgCtlr.configQueue.Done(obj)
    		specificDelay, err := cfgCtlr.syncOne()
    		switch {
    		case err != nil:
    			klog.Error(err)
    			cfgCtlr.configQueue.AddRateLimited(obj)
    		case specificDelay > 0:
    			cfgCtlr.configQueue.AddAfter(obj, specificDelay)
    		default:
    			cfgCtlr.configQueue.Forget(obj)
    		}
    	}(obj)
    
    	return true
    }
    
    // syncOne does one full synchronization.  It reads all the API
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 48.8K bytes
    - Viewed (0)
Back to top