Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for sounds (0.11 sec)

  1. src/runtime/mheap.go

    	iter := &span.specials
    	found := false
    	for {
    		s := *iter
    		if s == nil {
    			break
    		}
    		if offset == uintptr(s.offset) && kind == s.kind {
    			found = true
    			break
    		}
    		if offset < uintptr(s.offset) || (offset == uintptr(s.offset) && kind < s.kind) {
    			break
    		}
    		iter = &s.next
    	}
    	return iter, found
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  2. src/runtime/pprof/pprof_test.go

    			// loop-i goroutine should be present in the profile too.
    			counts := make(map[string]int)
    			for _, s := range p.Sample {
    				label := s.Label[t.Name()+"-loop-i"]
    				if len(label) > 0 {
    					counts[label[0]]++
    				}
    			}
    			for j, max := 0, len(counts)-1; j <= max; j++ {
    				n := counts[fmt.Sprint(j)]
    				if n == 1 || (n == 2 && j == max) {
    					continue
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  3. src/time/time.go

    }
    
    // Round returns the result of rounding d to the nearest multiple of m.
    // The rounding behavior for halfway values is to round away from zero.
    // If the result exceeds the maximum (or minimum)
    // value that can be stored in a [Duration],
    // Round returns the maximum (or minimum) duration.
    // If m <= 0, Round returns d unchanged.
    func (d Duration) Round(m Duration) Duration {
    	if m <= 0 {
    		return d
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  4. src/go/types/api_test.go

    			}()
    		}
    		wg.Wait()
    
    		if counts[0] != counts[1] {
    			t.Errorf("mismatching method counts for %s: %d vs %d", inst, counts[0], counts[1])
    			continue
    		}
    		for i := 0; i < counts[0]; i++ {
    			if m0, m1 := methods[0][i], methods[1][i]; m0 != m1 {
    				t.Errorf("mismatching methods for %s: %s vs %s", inst, m0, m1)
    			}
    		}
    	}
    }
    
    func TestInstantiateErrors(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  5. src/time/time_test.go

    			return false
    		}
    
    		// To round, add d back if remainder r > d/2 or r == exactly d/2.
    		// The commented out code would round half to even instead of up,
    		// but that makes it time-zone dependent, which is a bit strange.
    		if r > int64(d)/2 || r+r == int64(d) /*&& bq.Bit(0) == 1*/ {
    			t1 = t1.Add(d)
    		}
    
    		// Check that time.Round works.
    		if rnd := t0.Round(d); rnd != t1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  6. src/crypto/tls/conn.go

    	buffering bool         // whether records are buffered in sendBuf
    	sendBuf   []byte       // a buffer of records waiting to be sent
    
    	// bytesSent counts the bytes of application data sent.
    	// packetsSent counts packets.
    	bytesSent   int64
    	packetsSent int64
    
    	// retryCount counts the number of consecutive non-advancing records
    	// received by Conn.readRecord. That is, records that neither advance the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  7. src/runtime/mbitmap.go

    	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 {
    			locals, _, _ := u.frame.getStackMap(false)
    			if locals.n == 0 {
    				return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  8. src/runtime/traceback.go

    	// But don't go too far from frame.sp.
    	if lo < frame.sp-maxExpand {
    		lo = frame.sp - maxExpand
    	}
    	if hi > frame.sp+maxExpand {
    		hi = frame.sp + maxExpand
    	}
    	// And don't go outside the stack bounds.
    	if lo < stk.lo {
    		lo = stk.lo
    	}
    	if hi > stk.hi {
    		hi = stk.hi
    	}
    
    	// Print the hex dump.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. pkg/controller/statefulset/stateful_set_utils_test.go

    		t.Errorf("Expected my-set-2 found %s", pod)
    	}
    	claim.Name = "long-volume-my-set-20"
    	if pod := getClaimPodName(&set, &claim); pod != "my-set-20" {
    		t.Errorf("Expected my-set-20 found %s", pod)
    	}
    	claim.Name = "volume-2-my-set"
    	if pod := getClaimPodName(&set, &claim); pod != "" {
    		t.Errorf("Expected empty string found %s", pod)
    	}
    	claim.Name = "volume-pod-2"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewrite.go

    //	B) decrement use counts of the values' args.
    func clobber(vv ...*Value) bool {
    	for _, v := range vv {
    		v.reset(OpInvalid)
    		// Note: leave v.Block intact.  The Block field is used after clobber.
    	}
    	return true
    }
    
    // clobberIfDead resets v when use count is 1. Returns true.
    // clobberIfDead is used by rewrite rules to decrement
    // use counts of v's args when v is dead and never used.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
Back to top