Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for HI (0.02 sec)

  1. src/math/rand/v2/pcg.go

    	)
    
    	// state = state * mul + inc
    	hi, lo = bits.Mul64(p.lo, mulLo)
    	hi += p.hi*mulLo + p.lo*mulHi
    	lo, c := bits.Add64(lo, incLo, 0)
    	hi, _ = bits.Add64(hi, incHi, c)
    	p.lo = lo
    	p.hi = hi
    	return hi, lo
    }
    
    // Uint64 return a uniformly-distributed random uint64 value.
    func (p *PCG) Uint64() uint64 {
    	hi, lo := p.next()
    
    	// XSL-RR would be
    	//	hi, lo := p.next()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/runtime/pprof/vminfo_darwin_test.go

    	}
    }
    
    func useVMMapWithRetry(t *testing.T) (hi, lo uint64, err error) {
    	var retryable bool
    	for {
    		hi, lo, retryable, err = useVMMap(t)
    		if err == nil {
    			return hi, lo, nil
    		}
    		if !retryable {
    			return 0, 0, err
    		}
    		t.Logf("retrying vmmap after error: %v", err)
    	}
    }
    
    func useVMMap(t *testing.T) (hi, lo uint64, retryable bool, err error) {
    	pid := strconv.Itoa(os.Getpid())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 19:59:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. src/compress/lzw/writer.go

    var errOutOfCodes = errors.New("lzw: out of codes")
    
    // incHi increments e.hi and checks for both overflow and running out of
    // unused codes. In the latter case, incHi sends a clear code, resets the
    // writer state and returns errOutOfCodes.
    func (w *Writer) incHi() error {
    	w.hi++
    	if w.hi == w.overflow {
    		w.width++
    		w.overflow <<= 1
    	}
    	if w.hi == maxCode {
    		clear := uint32(1) << w.litWidth
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. src/internal/godebugs/table.go

    }
    
    // Lookup returns the Info with the given name.
    func Lookup(name string) *Info {
    	// binary search, avoiding import of sort.
    	lo := 0
    	hi := len(All)
    	for lo < hi {
    		m := int(uint(lo+hi) >> 1)
    		mid := All[m].Name
    		if name == mid {
    			return &All[m]
    		}
    		if name < mid {
    			hi = m
    		} else {
    			lo = m + 1
    		}
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. src/net/netip/export_test.go

    package netip
    
    import "unique"
    
    var (
    	Z0    = z0
    	Z4    = z4
    	Z6noz = z6noz
    )
    
    type Uint128 = uint128
    
    type AddrDetail = addrDetail
    
    func Mk128(hi, lo uint64) Uint128 {
    	return uint128{hi, lo}
    }
    
    func MkAddr(u Uint128, z unique.Handle[AddrDetail]) Addr {
    	return Addr{u, z}
    }
    
    func IPv4(a, b, c, d uint8) Addr { return AddrFrom4([4]byte{a, b, c, d}) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:14:15 UTC 2024
    - 730 bytes
    - Viewed (0)
  6. src/testing/testing_windows.go

    	delta := a.now - b.now
    
    	if queryPerformanceFrequency == 0 {
    		queryPerformanceFrequency = windows.QueryPerformanceFrequency()
    	}
    	hi, lo := bits.Mul64(uint64(delta), uint64(time.Second)/uint64(time.Nanosecond))
    	quo, _ := bits.Div64(hi, lo, uint64(queryPerformanceFrequency))
    	return time.Duration(quo)
    }
    
    var queryPerformanceFrequency int64
    
    // highPrecisionTimeSince returns duration since a.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/BaseSerializerFactoryTest.groovy

        def factory = new BaseSerializerFactory()
    
        def "uses efficient serialization for Strings"() {
            expect:
            def serializer = factory.getSerializerFor(String)
            usesEfficientSerialization("hi", serializer, 3) == "hi"
        }
    
        def "uses efficient serialization for Files"() {
            expect:
            def serializer = factory.getSerializerFor(File)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/path/filepath/match.go

    					chunk = chunk[1:]
    					break
    				}
    				var lo, hi rune
    				if lo, chunk, err = getEsc(chunk); err != nil {
    					return "", false, err
    				}
    				hi = lo
    				if chunk[0] == '-' {
    					if hi, chunk, err = getEsc(chunk[1:]); err != nil {
    						return "", false, err
    					}
    				}
    				if lo <= r && r <= hi {
    					match = true
    				}
    				nrange++
    			}
    			if match == negated {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. src/hash/maphash/maphash_purego.go

    }
    
    func r4(p []byte) uint64 {
    	return uint64(byteorder.LeUint32(p))
    }
    
    func r8(p []byte) uint64 {
    	return byteorder.LeUint64(p)
    }
    
    func mix(a, b uint64) uint64 {
    	hi, lo := bits.Mul64(a, b)
    	return hi ^ lo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/crypto/internal/hpke/hpke.go

    }
    
    type uint128 struct {
    	hi, lo uint64
    }
    
    func (u uint128) addOne() uint128 {
    	lo, carry := bits.Add64(u.lo, 1, 0)
    	return uint128{u.hi + carry, lo}
    }
    
    func (u uint128) bitLen() int {
    	return bits.Len64(u.hi) + bits.Len64(u.lo)
    }
    
    func (u uint128) bytes() []byte {
    	b := make([]byte, 16)
    	binary.BigEndian.PutUint64(b[0:], u.hi)
    	binary.BigEndian.PutUint64(b[8:], u.lo)
    	return b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top