- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 310 for roundup (0.23 sec)
-
guava/src/com/google/common/math/Quantiles.java
// Since scale is a positive int, index is in [0, scale], and (dataset.length - 1) is a // non-negative int, we can do long-arithmetic on index * (dataset.length - 1) / scale to get // a rounded ratio and a remainder which can be expressed as ints, without risk of overflow: int quotient = (int) LongMath.divide(numerator, scale, RoundingMode.DOWN); int remainder = (int) (numerator - (long) quotient * scale);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 17:02:53 UTC 2023 - 29.9K bytes - Viewed (0) -
src/crypto/tls/key_schedule_test.go
t.Errorf("cipherSuiteTLS13.extract() = % x, want % x", got, tt.want) } }) } } func TestKyberDecapsulate(t *testing.T) { // From https://pq-crystals.org/kyber/data/kyber-submission-nist-round3.zip
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 14:56:25 UTC 2024 - 13.2K bytes - Viewed (0) -
src/math/big/floatexample_test.go
for _, f64 := range operands { fmt.Printf("%4g", f64) for mode := big.ToNearestEven; mode <= big.ToPositiveInf; mode++ { // sample operands above require 2 bits to represent mantissa // set binary precision to 2 to round them to integer values f := new(big.Float).SetPrec(2).SetMode(mode).SetFloat64(f64) fmt.Printf(" %*g", len(mode.String()), f) } fmt.Println() } // Output:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 4.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go
if limit == 0 { // first record in file limit = m.hdrLen + hashOff + 4*numHash } n := round(uint32(16+len(name)), recordUnit) start = round(limit, recordUnit) // should already be rounded but just in case if start/pageSize != (start+n)/pageSize { // bump start to next page start = round(limit, pageSize) } return start, start + n } var memmap = mmap.Mmap var munmap = mmap.Munmap
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 18.2K bytes - Viewed (0) -
src/runtime/stack.go
adjustframe(&u.frame, &adjinfo) } // free old stack if stackPoisonCopy != 0 { fillstack(old, 0xfc) } stackfree(old) } // round x up to a power of 2. func round2(x int32) int32 { s := uint(0) for 1<<s < x { s++ } return 1 << s } // Called from runtime·morestack when more stack is needed.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 41.1K bytes - Viewed (0) -
cmd/prepare-storage.go
} // prepare getElapsedTime() to calculate elapsed time since we started trying formatting disks. // All times are rounded to avoid showing milli, micro and nano seconds formatStartTime := time.Now().Round(time.Second) getElapsedTime := func() string { return time.Now().Round(time.Second).Sub(formatStartTime).String() } var ( tries int verbose bool )
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun May 19 08:06:49 UTC 2024 - 11.1K bytes - Viewed (0) -
src/math/big/floatconv.go
// error if there are no other errors. If base != 0, underscores are // not recognized and thus terminate scanning like any other character // that is not a valid radix point or digit. // // It sets z to the (possibly rounded) value of the corresponding floating- // point value, and returns z, the actual base b, and an error err, if any. // The entire string (not just a prefix) must be consumed for success.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 8.3K bytes - Viewed (0) -
tensorflow/cc/saved_model/metrics.cc
// should be equal among all checkpoints written per job. auto* checkpoint_size = monitoring::Counter<2>::New( "/tensorflow/core/checkpoint/write/checkpoint_size", "Size of checkpoint (.index and sharded data files), rounded to the " "nearest 100 MB.", "api_label", "filesize"); } // namespace // Counter that records how long it took to execute the checkpoint sharding // callback in microseconds.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 18 23:43:59 UTC 2024 - 13.4K bytes - Viewed (0) -
src/math/log1p.go
// where sqrt(2)/2 < 1+f < sqrt(2) . // // Note. If k=0, then f=x is exact. However, if k!=0, then f // may not be representable exactly. In that case, a correction // term is need. Let u=1+x rounded. Let c = (1+x)-u, then // log(1+x) - log(u) ~ c/u. Thus, we proceed to compute log(u), // and add back the correction term c/u. // (Note: when x > 2**53, one can simply return log(x)) //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 6.3K bytes - Viewed (0) -
pkg/kubelet/apis/config/fuzzer/fuzzer.go
func Funcs(codecs runtimeserializer.CodecFactory) []interface{} { return []interface{}{ // provide non-empty values for fields with defaults, so the defaulter doesn't change values during round-trip func(obj *kubeletconfig.KubeletConfiguration, c fuzz.Continue) { c.FuzzNoCustom(obj) obj.EnableServer = true obj.Authentication.Anonymous.Enabled = true obj.Authentication.Webhook.Enabled = false
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 17:55:59 UTC 2024 - 5.2K bytes - Viewed (0)