- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 533 for precision (0.25 sec)
-
src/image/jpeg/reader.go
d.nComp = 4 default: return UnsupportedError("number of components") } if err := d.readFull(d.tmp[:n]); err != nil { return err } // We only support 8-bit precision. if d.tmp[0] != 8 { return UnsupportedError("precision") } d.height = int(d.tmp[1])<<8 + int(d.tmp[2]) d.width = int(d.tmp[3])<<8 + int(d.tmp[4]) if int(d.tmp[5]) != d.nComp { return FormatError("SOF has wrong length") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 22.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/genericOps.go
// Special cases: // +∞ → +∞ // ±0 → ±0 (sign preserved) // x<0 → NaN // NaN → NaN {name: "Sqrt", argLength: 1}, // √arg0 (floating point, double precision) {name: "Sqrt32", argLength: 1}, // √arg0 (floating point, single precision) // Round to integer, float64 only. // Special cases: // ±∞ → ±∞ (sign preserved) // ±0 → ±0 (sign preserved) // NaN → NaN
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 42.6K bytes - Viewed (0) -
src/net/http/fs.go
if ius == "" || isZeroTime(modtime) { return condNone } t, err := ParseTime(ius) if err != nil { return condNone } // The Last-Modified header truncates sub-second precision so // the modtime needs to be truncated too. modtime = modtime.Truncate(time.Second) if ret := modtime.Compare(t); ret <= 0 { return condTrue } return condFalse }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 17:06:47 UTC 2024 - 31.1K bytes - Viewed (0) -
cmd/object-handlers-common.go
return false } // returns true if object was modified after givenTime. func ifModifiedSince(objTime time.Time, givenTime time.Time) bool { // The Date-Modified header truncates sub-second precision, so // use mtime < t+1s instead of mtime <= t to check for unmodified. return objTime.After(givenTime.Add(1 * time.Second)) } // canonicalizeETag returns ETag with leading and trailing double-quotes removed,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 14.6K bytes - Viewed (0) -
src/math/rand/v2/rand.go
return r.Uint64() & (n - 1) } // Suppose we have a uint64 x uniform in the range [0,2⁶⁴) // and want to reduce it to the range [0,n) preserving exact uniformity. // We can simulate a scaling arbitrary precision x * (n/2⁶⁴) by // the high bits of a double-width multiply of x*n, meaning (x*n)/2⁶⁴. // Since there are 2⁶⁴ possible inputs x and only n possible outputs, // the output is necessarily biased if n does not divide 2⁶⁴.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:25:49 UTC 2024 - 12.8K bytes - Viewed (0) -
src/math/cmplx/cmath_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package cmplx import ( "math" "testing" ) // The higher-precision values in vc26 were used to derive the // input arguments vc (see also comment below). For reference // only (do not delete). var vc26 = []complex128{ (4.97901192488367350108546816 + 7.73887247457810456552351752i),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 01 03:16:37 UTC 2020 - 48.1K bytes - Viewed (0) -
src/math/j0.go
// 1. For tiny x, we use j0(x) = 1 - x**2/4 + x**4/64 - ... // 2. Reduce x to |x| since j0(x)=j0(-x), and // for x in (0,2) // j0(x) = 1-z/4+ z**2*R0/S0, where z = x*x; // (precision: |j0-1+z/4-z**2R0/S0 |<2**-63.67 ) // for x in (2,inf) // j0(x) = sqrt(2/(pi*x))*(p0(x)*cos(x0)-q0(x)*sin(x0)) // where x0 = x-pi/4. It is better to compute sin(x0),cos(x0) // as follow:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 13.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/wait/loop_test.go
t.Fatalf("expected zero or one timers: %#v", fakeTimers) } }) } } // Test_loopConditionUntilContext_timings runs actual timing loops and calculates the delta. This // test depends on high precision wakeups which depends on low CPU contention so it is not a // candidate to run during normal unit test execution (nor is it a benchmark or example). Instead,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 19 02:48:08 UTC 2023 - 15.8K bytes - Viewed (0) -
src/time/format_test.go
t.Errorf("%s: bad minute: %d not %d", test.name, time.Minute(), 0) } if time.Second() != 57 { t.Errorf("%s: bad second: %d not %d", test.name, time.Second(), 57) } // Nanoseconds must be checked against the precision of the input. nanosec, err := strconv.ParseUint("012345678"[:test.fracDigits]+"000000000"[:9-test.fracDigits], 10, 0) if err != nil { panic(err) } if time.Nanosecond() != int(nanosec) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:58:29 UTC 2024 - 36.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/ReactorReader.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 02 16:33:18 UTC 2024 - 21.3K bytes - Viewed (0)