Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 78 for sysconf (0.21 sec)

  1. src/runtime/trace.go

    	// the world and see an unpaired sweep 'end' event. Other parts of the tracer rely on this.
    	stw := stopTheWorld(stwStartTrace)
    
    	// Prevent sysmon from running any code that could generate events.
    	lock(&sched.sysmonlock)
    
    	// Grab the minimum page heap address. All Ps are stopped, so it's safe to read this since
    	// nothing can allocate heap memory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  2. src/runtime/gc_test.go

    			z []string
    		})
    		hugeSink = new(struct {
    			x float64
    			y [n]uintptr
    			z []string
    		})
    	}
    }
    
    func TestPeriodicGC(t *testing.T) {
    	if runtime.GOARCH == "wasm" {
    		t.Skip("no sysmon on wasm yet")
    	}
    
    	// Make sure we're not in the middle of a GC.
    	runtime.GC()
    
    	var ms1, ms2 runtime.MemStats
    	runtime.ReadMemStats(&ms1)
    
    	// Make periodic GC run continuously.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. cmd/peer-rest-client.go

    	return resp.ValueOrZero(), err
    }
    
    // GetSysConfig - fetch sys config for a remote node.
    func (client *peerRESTClient) GetSysConfig(ctx context.Context) (info madmin.SysConfig, err error) {
    	sent := time.Now()
    	resp, err := getSysConfigRPC.Call(ctx, client.gridConn(), grid.NewMSS())
    	info = resp.ValueOrZero()
    	if ti, ok := info.Config["time-info"].(madmin.TimeInfo); ok {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/cgroup_manager_linux.go

    	cpuLimitAndPeriod, err := fscommon.GetCgroupParamString(cgroupPath, "cpu.max")
    	if err != nil {
    		return nil, fmt.Errorf("failed to read cpu.max file for cgroup %v: %v", cgroupPath, err)
    	}
    	numItems, errScan := fmt.Sscanf(cpuLimitAndPeriod, "%s %s", &cpuLimitStr, &cpuPeriodStr)
    	if errScan != nil || numItems != 2 {
    		return nil, fmt.Errorf("failed to correctly parse content of cpu.max file ('%s') for cgroup %v: %v",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  5. src/runtime/runtime2.go

    	link        puintptr
    	schedtick   uint32     // incremented on every scheduler call
    	syscalltick uint32     // incremented on every system call
    	sysmontick  sysmontick // last tick observed by sysmon
    	m           muintptr   // back-link to associated m (nil if idle)
    	mcache      *mcache
    	pcache      pageCache
    	raceprocctx uintptr
    
    	deferpool    []*_defer // pool of available defer structs (see panic.go)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  6. src/runtime/traceruntime.go

    	// context of just emitting this event alone. There are two cases. Either we're trying to steal
    	// the P just to get its attention (e.g. STW or sysmon retake) or we're trying to steal a P for
    	// ourselves specifically to keep running. The two contexts look different, but can be summarized
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  7. src/net/dnsclient_unix_test.go

    		return err
    	}
    	return conf.forceUpdate(conf.path, lastChecked)
    }
    
    func (conf *resolvConfTest) forceUpdate(name string, lastChecked time.Time) error {
    	dnsConf := dnsReadConfig(name)
    	if !conf.forceUpdateConf(dnsConf, lastChecked) {
    		return fmt.Errorf("tryAcquireSema for %s failed", name)
    	}
    	return nil
    }
    
    func (conf *resolvConfTest) forceUpdateConf(c *dnsConfig, lastChecked time.Time) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  8. src/net/http/serve_test.go

    	testAutomaticHTTP2_Serve(t, &tls.Config{NextProtos: []string{"h2"}}, true)
    }
    
    func testAutomaticHTTP2_Serve(t *testing.T, tlsConf *tls.Config, wantH2 bool) {
    	setParallel(t)
    	defer afterTest(t)
    	ln := newLocalListener(t)
    	ln.Close() // immediately (not a defer!)
    	var s Server
    	s.TLSConfig = tlsConf
    	if err := s.Serve(ln); err == nil {
    		t.Fatal("expected an error")
    	}
    	gotH2 := s.TLSNextProto["h2"] != nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  9. src/runtime/mgcscavenge.go

    	lock mutex
    
    	// g is the goroutine the scavenger is bound to.
    	g *g
    
    	// timer is the timer used for the scavenger to sleep.
    	timer *timer
    
    	// sysmonWake signals to sysmon that it should wake the scavenger.
    	sysmonWake atomic.Uint32
    
    	// parked is whether or not the scavenger is parked.
    	parked bool
    
    	// printControllerReset instructs printScavTrace to signal that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  10. pom.xml

    								<source>
    									<location>${project.basedir}/plugins</location>
    								</source>
    							</sources>
    						</mapping>
    						<!-- Add environment vars file -->
    						<mapping>
    							<directory>/etc/sysconfig</directory>
    							<directoryIncluded>false</directoryIncluded>
    							<username>root</username>
    							<groupname>root</groupname>
    							<configuration>noreplace</configuration>
    							<sources>
    								<source>
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 30 06:49:02 UTC 2024
    - 48.7K bytes
    - Viewed (0)
Back to top