Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for BeUint64 (0.11 sec)

  1. src/net/netip/netip.go

    // An IPv4-mapped IPv6 address is left as an IPv6 address.
    // (Use Unmap to convert them if needed.)
    func AddrFrom16(addr [16]byte) Addr {
    	return Addr{
    		addr: uint128{
    			byteorder.BeUint64(addr[:8]),
    			byteorder.BeUint64(addr[8:]),
    		},
    		z: z6noz,
    	}
    }
    
    // ParseAddr parses s as an IP address, returning the result. The string
    // s can be in dotted decimal ("192.0.2.1"), IPv6 ("2001:db8::68"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  2. src/math/big/floatexample_test.go

    package big_test
    
    import (
    	"fmt"
    	"math"
    	"math/big"
    )
    
    func ExampleFloat_Add() {
    	// Operate on numbers of different precision.
    	var x, y, z big.Float
    	x.SetInt64(1000)          // x is automatically set to 64bit precision
    	y.SetFloat64(2.718281828) // y is automatically set to 53bit precision
    	z.SetPrec(32)
    	z.Add(&x, &y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. pkg/kube/kclient/client_test.go

    	for {
    		select {
    		case <-time.After(time.Millisecond):
    		case <-stop:
    			return
    		}
    		_ = wt.List("", klabels.Everything())
    	}
    }
    
    func TestHasSynced(t *testing.T) {
    	handled := atomic.NewInt64(0)
    	c := kube.NewFakeClient()
    	deployments := kclient.New[*appsv1.Deployment](c)
    	obj1 := &appsv1.Deployment{
    		ObjectMeta: metav1.ObjectMeta{Name: "1", Namespace: "default"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 15:12:54 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top