Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 62 for BeUint64 (0.17 sec)

  1. src/internal/poll/fd_wasip1.go

    	switch size {
    	case 1:
    		return uint64(b[0])
    	case 2:
    		return uint64(byteorder.LeUint16(b))
    	case 4:
    		return uint64(byteorder.LeUint32(b))
    	case 8:
    		return uint64(byteorder.LeUint64(b))
    	default:
    		panic("internal/poll: readInt with unsupported size")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:14:02 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. pilot/pkg/xds/discovery.go

    		concurrentPushLimit: make(chan struct{}, features.PushThrottle),
    		RequestRateLimit:    rate.NewLimiter(rate.Limit(features.RequestLimit), 1),
    		InboundUpdates:      atomic.NewInt64(0),
    		CommittedUpdates:    atomic.NewInt64(0),
    		pushChannel:         make(chan *model.PushRequest, 10),
    		pushQueue:           NewPushQueue(),
    		debugHandlers:       map[string]string{},
    		adsClients:          map[string]*Connection{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 20:21:09 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. pilot/pkg/xds/discovery_test.go

    						return
    					}
    					atomic.AddInt32(&fullPushes, 1)
    					time.Sleep(opts.debounceMax * 2)
    					<-pushingCh
    				} else {
    					atomic.AddInt32(&partialPushes, 1)
    				}
    			}
    			updateSent := uatomic.NewInt64(0)
    
    			wg.Add(1)
    			go func() {
    				debounce(updateCh, stopCh, opts, fakePush, updateSent)
    				wg.Done()
    			}()
    
    			expect := func(expectedPartial, expectedFull int32) {
    				t.Helper()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. src/encoding/gob/decode.go

    func decUint32(i *decInstr, state *decoderState, value reflect.Value) {
    	v := state.decodeUint()
    	if math.MaxUint32 < v {
    		error_(i.ovfl)
    	}
    	value.SetUint(v)
    }
    
    // decInt64 decodes an integer and stores it as an int64 in value.
    func decInt64(i *decInstr, state *decoderState, value reflect.Value) {
    	v := state.decodeInt()
    	value.SetInt(v)
    }
    
    // decUint64 decodes an unsigned integer and stores it as a uint64 in value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:10:23 UTC 2023
    - 40.1K bytes
    - Viewed (0)
  5. src/encoding/asn1/asn1_test.go

    	{"default:42", fieldParameters{defaultValue: newInt64(42)}},
    	{"tag:17", fieldParameters{tag: newInt(17)}},
    	{"optional,explicit,default:42,tag:17", fieldParameters{optional: true, explicit: true, defaultValue: newInt64(42), tag: newInt(17)}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 18:24:36 UTC 2023
    - 43.6K bytes
    - Viewed (0)
  6. src/math/big/float.go

    // no effect).
    func (z *Float) SetUint64(x uint64) *Float {
    	return z.setBits64(false, x)
    }
    
    // SetInt64 sets z to the (possibly rounded) value of x and returns z.
    // If z's precision is 0, it is changed to 64 (and rounding will have
    // no effect).
    func (z *Float) SetInt64(x int64) *Float {
    	u := x
    	if u < 0 {
    		u = -u
    	}
    	// We cannot simply call z.SetUint64(uint64(u)) and change
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  7. src/crypto/internal/edwards25519/scalar.go

    	} else if w > 8 {
    		panic("NAF digits must fit in int8")
    	}
    
    	var naf [256]int8
    	var digits [5]uint64
    
    	for i := 0; i < 4; i++ {
    		digits[i] = byteorder.LeUint64(b[i*8:])
    	}
    
    	width := uint64(1 << w)
    	windowMask := uint64(width - 1)
    
    	pos := uint(0)
    	carry := uint64(0)
    	for pos < 256 {
    		indexU64 := pos / 64
    		indexBit := pos % 64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. src/go/constant/value.go

    func newFloat() *big.Float { return new(big.Float).SetPrec(prec) }
    
    func i64toi(x int64Val) intVal   { return intVal{newInt().SetInt64(int64(x))} }
    func i64tor(x int64Val) ratVal   { return ratVal{newRat().SetInt64(int64(x))} }
    func i64tof(x int64Val) floatVal { return floatVal{newFloat().SetInt64(int64(x))} }
    func itor(x intVal) ratVal       { return ratVal{newRat().SetInt(x.val)} }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/pkiutil/pki_helpers.go

    	// returns a uniform random value in [0, max-1), then add 1 to serial to make it a uniform random value in [1, max).
    	serial, err := cryptorand.Int(cryptorand.Reader, new(big.Int).SetInt64(math.MaxInt64-1))
    	if err != nil {
    		return nil, err
    	}
    	serial = new(big.Int).Add(serial, big.NewInt(1))
    	if len(cfg.CommonName) == 0 {
    		return nil, errors.New("must specify a CommonName")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. cmd/data-scanner.go

    	scannerIdleMode                      = uatomic.NewInt32(0) // default is throttled when idle
    	scannerExcessObjectVersions          = uatomic.NewInt64(100)
    	scannerExcessObjectVersionsTotalSize = uatomic.NewInt64(1024 * 1024 * 1024 * 1024) // 1 TB
    	scannerExcessFolders                 = uatomic.NewInt64(50000)
    )
    
    // initDataScanner will start the scanner in the background.
    func initDataScanner(ctx context.Context, objAPI ObjectLayer) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:43:17 UTC 2024
    - 47.6K bytes
    - Viewed (0)
Back to top