Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for n64 (0.01 sec)

  1. pilot/test/mock/config.go

    	log.Infof("Waiting till all events are received")
    	retry.UntilOrFail(t, func() bool {
    		return added.Load() == n64 && deleted.Load() == n64
    	}, retry.Message("receive events"), retry.Delay(time.Millisecond*500), retry.Timeout(time.Minute))
    }
    
    // CheckCacheFreshness validates operational invariants of a cache
    func CheckCacheFreshness(cache model.ConfigStoreController, namespace string, t *testing.T) {
    	stop := make(chan struct{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  2. src/math/rand/v2/rand.go

    	x := r.Uint64()
    	lo1a, lo0 := bits.Mul32(uint32(x), n)
    	hi, lo1b := bits.Mul32(uint32(x>>32), n)
    	lo1, c := bits.Add32(lo1a, lo1b, 0)
    	hi += c
    	if lo1 == 0 && lo0 < uint32(n) {
    		n64 := uint64(n)
    		thresh := uint32(-n64 % n64)
    		for lo1 == 0 && lo0 < thresh {
    			x := r.Uint64()
    			lo1a, lo0 = bits.Mul32(uint32(x), n)
    			hi, lo1b = bits.Mul32(uint32(x>>32), n)
    			lo1, c = bits.Add32(lo1a, lo1b, 0)
    			hi += c
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. src/net/tcpsock_test.go

    				c, err := ln.Accept()
    				if err != nil {
    					t.Error(err)
    					return
    				}
    				buf := make([]byte, x)
    				var n int
    				if writev {
    					var n64 int64
    					n64, err = (&Buffers{buf}).WriteTo(c)
    					n = int(n64)
    				} else {
    					n, err = c.Write(buf)
    				}
    				if n != len(buf) || err != nil {
    					t.Errorf("Write(buf) = %d, %v, want %d, nil", n, err, x)
    				}
    				c.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  4. src/encoding/gob/debug.go

    func (deb *debugger) loadBlock(eofOK bool) int {
    	n64, w, err := decodeUintReader(deb.r, deb.tmp) // deb.uint64 will error at EOF
    	if err != nil {
    		if eofOK && err == io.EOF {
    			return -1
    		}
    		errorf("debug: unexpected error: %s", err)
    	}
    	deb.consumed(w)
    	n := int(n64)
    	if n < 0 {
    		errorf("huge value for message length: %d", n64)
    	}
    	return int(n)
    }
    
    // Message:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 09:34:41 UTC 2023
    - 18.3K bytes
    - Viewed (0)
Back to top