Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 394 for HI (0.04 sec)

  1. 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)
  2. src/math/rand/v2/rand.go

    	lo1a, lo0 := bits.Mul32(uint32(x), n)
    	hi, lo1b := bits.Mul32(uint32(x>>32), n)
    	lo1, c := bits.Add32(lo1a, lo1b, 0)
    	hi += c
    	if lo1 == 0 && lo0 < uint32(n) {
    		n64 := uint64(n)
    		thresh := uint32(-n64 % n64)
    		for lo1 == 0 && lo0 < thresh {
    			x := r.Uint64()
    			lo1a, lo0 = bits.Mul32(uint32(x), n)
    			hi, lo1b = bits.Mul32(uint32(x>>32), n)
    			lo1, c = bits.Add32(lo1a, lo1b, 0)
    			hi += c
    		}
    	}
    	return hi
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. src/runtime/mpagealloc_32bit.go

    		// at this level because the full block is needed to compute the summary for
    		// the next level.
    		lo, hi := addrsToSummaryRange(l, base, limit)
    		_, hi = blockAlignSummaryRange(l, lo, hi)
    		if hi > len(p.summary[l]) {
    			p.summary[l] = p.summary[l][:hi]
    		}
    	}
    }
    
    // sysInit initializes the scavengeIndex' chunks array.
    //
    // Returns the amount of memory added to sysStat.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 20 20:08:25 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. src/math/expm1.go

    		var hi, lo float64
    		if absx < Ln2HalfX3 { // and |x| < 1.5 * ln2
    			if !sign {
    				hi = x - Ln2Hi
    				lo = Ln2Lo
    				k = 1
    			} else {
    				hi = x + Ln2Hi
    				lo = -Ln2Lo
    				k = -1
    			}
    		} else {
    			if !sign {
    				k = int(InvLn2*x + 0.5)
    			} else {
    				k = int(InvLn2*x - 0.5)
    			}
    			t := float64(k)
    			hi = x - t*Ln2Hi // t * Ln2Hi is exact here
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. test/fixedbugs/issue63490.go

    	println(s)
    	return ResourceFunc{}
    }
    
    //go:noinline
    func (r SubscriptionAssignmentResource) Hi() ResourceFunc {
    	rf := r.base.f("Hello world")
    	rf.base = r.base
    	return rf
    }
    
    func main() {
    	var r SubscriptionAssignmentResource
    	r.Hi()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:50:46 UTC 2023
    - 683 bytes
    - Viewed (0)
  6. src/crypto/internal/edwards25519/field/fe_generic.go

    type uint128 struct {
    	lo, hi uint64
    }
    
    // mul64 returns a * b.
    func mul64(a, b uint64) uint128 {
    	hi, lo := bits.Mul64(a, b)
    	return uint128{lo, hi}
    }
    
    // addMul64 returns v + a * b.
    func addMul64(v uint128, a, b uint64) uint128 {
    	hi, lo := bits.Mul64(a, b)
    	lo, c := bits.Add64(lo, v.lo, 0)
    	hi, _ = bits.Add64(hi, v.hi, c)
    	return uint128{lo, hi}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  7. src/runtime/pprof/proto_darwin.go

    		b.addMappingEntry(0, 0, 0, "", "", true)
    	}
    }
    
    func readMainModuleMapping() (start, end uint64, exe, buildID string, err error) {
    	first := true
    	ok := machVMInfo(func(lo, hi, off uint64, file, build string) {
    		if first {
    			start, end = lo, hi
    			exe, buildID = file, build
    		}
    		// May see multiple text segments if rosetta is used for running
    		// the go toolchain itself.
    		first = false
    	})
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 1K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftMainWithOptionalFeature.groovy

            this.greeter = greeter
        }
    
        @Override
        SourceFile getSourceFile() {
            sourceFile("swift", "main.swift", """
                func main() -> Int {
            #if WITH_FEATURE
                  print("hi from main")
            #endif
                  let greeter = Greeter()
                  greeter.sayHello()
                  return 0
                }
    
                _ = main()
            """)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. src/hash/maphash/maphash_runtime.go

    		return uint64(runtime_memhash(unsafe.Pointer(&buf[0]), uintptr(seed), uintptr(len)))
    	}
    	lo := runtime_memhash(unsafe.Pointer(&buf[0]), uintptr(seed), uintptr(len))
    	hi := runtime_memhash(unsafe.Pointer(&buf[0]), uintptr(seed>>32), uintptr(len))
    	return uint64(hi)<<32 | uint64(lo)
    }
    
    func rthashString(s string, state uint64) uint64 {
    	buf := unsafe.Slice(unsafe.StringData(s), len(s))
    	return rthash(buf, state)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. 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)
Back to top