Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 394 for HI (0.04 sec)

  1. src/math/bits/bits.go

    	return uint(q), uint(r)
    }
    
    // Div32 returns the quotient and remainder of (hi, lo) divided by y:
    // quo = (hi, lo)/y, rem = (hi, lo)%y with the dividend bits' upper
    // half in parameter hi and the lower half in parameter lo.
    // Div32 panics for y == 0 (division by zero) or y <= hi (quotient overflow).
    func Div32(hi, lo, y uint32) (quo, rem uint32) {
    	if y != 0 && y <= hi {
    		panic(overflowError)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  2. src/math/trig_reduce.go

    	// Multiply mantissa by the digits and extract the upper two digits (hi, lo).
    	z2hi, _ := bits.Mul64(z2, ix)
    	z1hi, z1lo := bits.Mul64(z1, ix)
    	z0lo := z0 * ix
    	lo, c := bits.Add64(z1lo, z2hi, 0)
    	hi, _ := bits.Add64(z0lo, z1hi, c)
    	// The top 3 bits are j.
    	j = hi >> 61
    	// Extract the fraction and find its magnitude.
    	hi = hi<<3 | lo>>61
    	lz := uint(bits.LeadingZeros64(hi))
    	e := uint64(bias - (lz + 1))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/groovy/scripts/internal/BuildScriptTransformerSpec.groovy

        }
    
        def "model blocks are not considered imperative code"() {
            given:
            def scriptData = parse("""
    model {
        task { foo(Task) { println "hi" } }
    }
    
    model { thing { println "hi" } }
    """)
    
            expect:
            scriptData.runDoesSomething
            !scriptData.data.hasImperativeStatements
            !scriptData.hasMethods
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  4. src/unicode/letter.go

    			if r < range_.Lo {
    				return false
    			}
    			if r <= range_.Hi {
    				return range_.Stride == 1 || (r-range_.Lo)%range_.Stride == 0
    			}
    		}
    		return false
    	}
    
    	// binary search over ranges
    	lo := 0
    	hi := len(ranges)
    	for lo < hi {
    		m := int(uint(lo+hi) >> 1)
    		range_ := &ranges[m]
    		if range_.Lo <= r && r <= range_.Hi {
    			return range_.Stride == 1 || (r-range_.Lo)%range_.Stride == 0
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 20:02:46 UTC 2023
    - 10K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/net/idna/trie.go

    func (t *sparseBlocks) lookup(n uint32, b byte) uint16 {
    	offset := t.offset[n]
    	header := t.values[offset]
    	lo := offset + 1
    	hi := lo + uint16(header.lo)
    	for lo < hi {
    		m := lo + (hi-lo)/2
    		r := t.values[m]
    		if r.lo <= b && b <= r.hi {
    			return r.value + uint16(b-r.lo)*header.value
    		}
    		if b < r.lo {
    			hi = m
    		} else {
    			lo = m + 1
    		}
    	}
    	return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 21:37:23 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/unicode/norm/trie.go

    func (t *sparseBlocks) lookup(n uint32, b byte) uint16 {
    	offset := t.offset[n]
    	header := t.values[offset]
    	lo := offset + 1
    	hi := lo + uint16(header.lo)
    	for lo < hi {
    		m := lo + (hi-lo)/2
    		r := t.values[m]
    		if r.lo <= b && b <= r.hi {
    			return r.value + uint16(b-r.lo)*header.value
    		}
    		if b < r.lo {
    			hi = m
    		} else {
    			lo = m + 1
    		}
    	}
    	return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. src/compress/lzw/reader.go

    			r.o += copy(r.output[r.o:], r.output[i:])
    			if r.last != decoderInvalidCode {
    				// Save what the hi code expands to.
    				r.suffix[r.hi] = uint8(c)
    				r.prefix[r.hi] = r.last
    			}
    		default:
    			r.err = errors.New("lzw: invalid code")
    			break loop
    		}
    		r.last, r.hi = code, r.hi+1
    		if r.hi >= r.overflow {
    			if r.hi > r.overflow {
    				panic("unreachable")
    			}
    			if r.width == maxWidth {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:39 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. 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)
  9. src/math/exp.go

    	// computed as r = hi - lo for extra precision.
    	var k int
    	switch {
    	case x > 0:
    		k = int(x + 0.5)
    	case x < 0:
    		k = int(x - 0.5)
    	}
    	t := x - float64(k)
    	hi := t * Ln2Hi
    	lo := -t * Ln2Lo
    
    	// compute
    	return expmulti(hi, lo, k)
    }
    
    // exp1 returns e**r × 2**k where r = hi - lo and |r| ≤ ln(2)/2.
    func expmulti(hi, lo float64, k int) float64 {
    	const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/text/unicode/norm/trie.go

    func (t *sparseBlocks) lookup(n uint32, b byte) uint16 {
    	offset := t.offset[n]
    	header := t.values[offset]
    	lo := offset + 1
    	hi := lo + uint16(header.lo)
    	for lo < hi {
    		m := lo + (hi-lo)/2
    		r := t.values[m]
    		if r.lo <= b && b <= r.hi {
    			return r.value + uint16(b-r.lo)*header.value
    		}
    		if b < r.lo {
    			hi = m
    		} else {
    			lo = m + 1
    		}
    	}
    	return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top