Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 99 of 99 for sched (0.2 sec)

  1. src/internal/trace/event.go

    func (e Event) Metric() Metric {
    	if e.Kind() != EventMetric {
    		panic("Metric called on non-Metric event")
    	}
    	var m Metric
    	switch e.base.typ {
    	case go122.EvProcsChange:
    		m.Name = "/sched/gomaxprocs:threads"
    		m.Value = Value{kind: ValueUint64, scalar: e.base.args[0]}
    	case go122.EvHeapAlloc:
    		m.Name = "/memory/classes/heap/objects:bytes"
    		m.Value = Value{kind: ValueUint64, scalar: e.base.args[0]}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  2. src/runtime/mbitmap.go

    		KeepAlive(ep)
    		return
    	}
    
    	// stack
    	if gp := getg(); gp.m.curg.stack.lo <= uintptr(p) && uintptr(p) < gp.m.curg.stack.hi {
    		found := false
    		var u unwinder
    		for u.initAt(gp.m.curg.sched.pc, gp.m.curg.sched.sp, 0, gp.m.curg, 0); u.valid(); u.next() {
    			if u.frame.sp <= uintptr(p) && uintptr(p) < u.frame.varp {
    				found = true
    				break
    			}
    		}
    		if found {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  3. src/runtime/time.go

    func (ts *timers) take(src *timers) {
    	ts.trace("take")
    	assertWorldStopped()
    	if len(src.heap) > 0 {
    		// The world is stopped, so we ignore the locking of ts and src here.
    		// That would introduce a sched < timers lock ordering,
    		// which we'd rather avoid in the static ranking.
    		for _, tw := range src.heap {
    			t := tw.timer
    			t.ts = nil
    			if t.state&timerZombie != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 14:36:24 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  4. src/internal/trace/order.go

    			if ms.p == pid {
    				curCtx.M = mid
    				curCtx.P = pid
    				curCtx.G = ms.g
    				found = true
    			}
    		}
    		if !found {
    			return curCtx, false, fmt.Errorf("failed to find sched context for proc %d that's about to be stolen", pid)
    		}
    	}
    	o.queue.push(Event{table: evt, ctx: curCtx, base: *ev})
    	return newCtx, true, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modfetch/zip_sum_test/testdata/zip_sums.csv

    github.com/portworx/kvdb,v0.0.0-20190911174000-a0108bddd091,h1:DqGiNhvCpvhWW/HJ1naJa0DudtlckvzQ9hEXSsOyv8Y=,d6fa957e1469a1b47ccbebc805034bafc5ed24798a1bef8675f751f9c4ed961e
    github.com/portworx/sched-ops,v0.0.0-20191101005636-ded833c86f1e,h1:emQnaLwLEYN3Hner2ekVuZfrcChdN3H3J4Lxu5mPe64=,43ff366e97ff640a34a566c81dd7d63537c2864da85d33b49d5261417cd8d4b0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 18 17:29:01 UTC 2020
    - 334.9K bytes
    - Viewed (0)
  6. src/expvar/expvar_test.go

    	var s String
    
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			s.Set("red")
    		}
    	})
    }
    
    func TestMapInit(t *testing.T) {
    	RemoveAll()
    	colors := NewMap("bike-shed-colors")
    	colors.Add("red", 1)
    	colors.Add("blue", 1)
    	colors.Add("chartreuse", 1)
    
    	n := 0
    	colors.Do(func(KeyValue) { n++ })
    	if n != 3 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:46:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/mips/a.out.go

    )
    
    const (
    	/* mark flags */
    	FOLL    = 1 << 0
    	LABEL   = 1 << 1
    	LEAF    = 1 << 2
    	SYNC    = 1 << 3
    	BRANCH  = 1 << 4
    	LOAD    = 1 << 5
    	FCMP    = 1 << 6
    	NOSCHED = 1 << 7
    
    	NSCHED = 20
    )
    
    const (
    	C_NONE = iota
    	C_REG
    	C_FREG
    	C_FCREG
    	C_MREG /* special processor register */
    	C_WREG /* MSA registers */
    	C_HI
    	C_LO
    	C_ZCON
    	C_SCON /* 16 bit signed */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  8. src/encoding/gob/encoder_test.go

    type SingleTest struct {
    	in  any
    	out any
    	err string
    }
    
    var singleTests = []SingleTest{
    	{17, &testInt, ""},
    	{float32(17.5), &testFloat32, ""},
    	{"bike shed", &testString, ""},
    	{[]string{"bike", "shed", "paint", "color"}, &testSlice, ""},
    	{map[string]int{"seven": 7, "twelve": 12}, &testMap, ""},
    	{[7]int{4, 55, 0, 0, 0, 0, 0}, &testArray, ""}, // case that once triggered a bug
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  9. cmd/iam-store.go

    	// reject such operation (updates to the service account are handled in
    	// a different API).
    	if su, found := cache.iamUsersMap[accessKey]; found {
    		scred := su.Credentials
    		if scred.ParentUser != parentUser {
    			return updatedAt, fmt.Errorf("%w: the service account access key is taken by another user", errIAMServiceAccountNotAllowed)
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
Back to top