Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 652 for UInt32 (0.11 sec)

  1. src/runtime/mspanset.go

    // head and tail.
    func makeHeadTailIndex(head, tail uint32) headTailIndex {
    	return headTailIndex(uint64(head)<<32 | uint64(tail))
    }
    
    // head returns the head of a headTailIndex value.
    func (h headTailIndex) head() uint32 {
    	return uint32(h >> 32)
    }
    
    // tail returns the tail of a headTailIndex value.
    func (h headTailIndex) tail() uint32 {
    	return uint32(h)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. test/codegen/mathbits.go

    func ReverseBytes64(n uint64) uint64 {
    	// amd64:"BSWAPQ"
    	// 386:"BSWAPL"
    	// s390x:"MOVDBR"
    	// arm64:"REV"
    	// ppc64x/power10: "BRD"
    	return bits.ReverseBytes64(n)
    }
    
    func ReverseBytes32(n uint32) uint32 {
    	// amd64:"BSWAPL"
    	// 386:"BSWAPL"
    	// s390x:"MOVWBR"
    	// arm64:"REVW"
    	// ppc64x/power10: "BRW"
    	return bits.ReverseBytes32(n)
    }
    
    func ReverseBytes16(n uint16) uint16 {
    	// amd64:"ROLW"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:51:17 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. src/math/rand/v2/rand_test.go

    	}
    	Sink = uint64(t)
    }
    
    func BenchmarkInt32N1000(b *testing.B) {
    	r := testRand()
    	var t int32
    	arg := keep(int32(1000))
    	for n := b.N; n > 0; n-- {
    		t += r.Int32N(arg)
    	}
    	Sink = uint64(t)
    }
    
    func BenchmarkInt32N1e8(b *testing.B) {
    	r := testRand()
    	var t int32
    	arg := keep(int32(1e8))
    	for n := b.N; n > 0; n-- {
    		t += r.Int32N(arg)
    	}
    	Sink = uint64(t)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. src/time/zoneinfo_read.go

    		d.p = nil
    		d.error = true
    		return nil
    	}
    	p := d.p[0:n]
    	d.p = d.p[n:]
    	return p
    }
    
    func (d *dataIO) big4() (n uint32, ok bool) {
    	p := d.read(4)
    	if len(p) < 4 {
    		d.error = true
    		return 0, false
    	}
    	return uint32(p[3]) | uint32(p[2])<<8 | uint32(p[1])<<16 | uint32(p[0])<<24, true
    }
    
    func (d *dataIO) big8() (n uint64, ok bool) {
    	n1, ok1 := d.big4()
    	n2, ok2 := d.big4()
    	if !ok1 || !ok2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. internal/grid/types.go

    // MarshalMsg implements msgp.Marshaler
    func (u URLValues) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, u.Msgsize())
    	o = msgp.AppendMapHeader(o, uint32(len(u)))
    	for zb0006, zb0007 := range u {
    		o = msgp.AppendString(o, zb0006)
    		o = msgp.AppendArrayHeader(o, uint32(len(zb0007)))
    		for zb0008 := range zb0007 {
    			o = msgp.AppendString(o, zb0007[zb0008])
    		}
    	}
    	return
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 01 23:42:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster_traffic_policy.go

    	var idleTimeout *durationpb.Duration
    	var maxRequestsPerConnection uint32
    	var maxConcurrentStreams uint32
    	var maxConnectionDuration *durationpb.Duration
    
    	if settings.Http != nil {
    		if settings.Http.Http2MaxRequests > 0 {
    			// Envoy only applies MaxRequests in HTTP/2 clusters
    			threshold.MaxRequests = &wrapperspb.UInt32Value{Value: uint32(settings.Http.Http2MaxRequests)}
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 20K bytes
    - Viewed (0)
  7. src/math/rand/rand_test.go

    // Table generation tests
    //
    
    func initNorm() (testKn []uint32, testWn, testFn []float32) {
    	const m1 = 1 << 31
    	var (
    		dn float64 = rn
    		tn         = dn
    		vn float64 = 9.91256303526217e-3
    	)
    
    	testKn = make([]uint32, 128)
    	testWn = make([]float32, 128)
    	testFn = make([]float32, 128)
    
    	q := vn / math.Exp(-0.5*dn*dn)
    	testKn[0] = uint32((dn / q) * m1)
    	testKn[1] = 0
    	testWn[0] = float32(q / m1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  8. src/runtime/hash_test.go

    	}
    	testenv.ParallelOn64Bit(t)
    	h := newHashSet()
    	permutation(t, h, []uint32{0, 1, 2, 3, 4, 5, 6, 7}, 8)
    	permutation(t, h, []uint32{0, 1 << 29, 2 << 29, 3 << 29, 4 << 29, 5 << 29, 6 << 29, 7 << 29}, 8)
    	permutation(t, h, []uint32{0, 1}, 20)
    	permutation(t, h, []uint32{0, 1 << 31}, 20)
    	permutation(t, h, []uint32{0, 1, 2, 3, 4, 5, 6, 7, 1 << 29, 2 << 29, 3 << 29, 4 << 29, 5 << 29, 6 << 29, 7 << 29}, 6)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/ambient/authorization.go

    			}}
    		}
    		res = append(res, sm)
    	}
    	return res
    }
    
    func stringToPort(rules []string) []uint32 {
    	res := make([]uint32, 0, len(rules))
    	for _, m := range rules {
    		p, err := strconv.ParseUint(m, 10, 32)
    		if err != nil || p > 65535 {
    			continue
    		}
    		res = append(res, uint32(p))
    	}
    	return res
    }
    
    func stringToIP(rules []string) []*security.Address {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 16:23:36 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. src/syscall/syscall_solaris.go

    //sys	Lstat(path string, stat *Stat_t) (err error)
    //sys	Mkdir(path string, mode uint32) (err error)
    //sys	Mknod(path string, mode uint32, dev int) (err error)
    //sys	Nanosleep(time *Timespec, leftover *Timespec) (err error)
    //sys	Open(path string, mode int, perm uint32) (fd int, err error)
    //sys	Pathconf(path string, name int) (val int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top