- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 647 for overflows (0.17 sec)
-
src/encoding/json/decode.go
// implement [encoding.TextUnmarshaler]. // // If the JSON-encoded data contain a syntax error, Unmarshal returns a [SyntaxError]. // // If a JSON value is not appropriate for a given target type, // or if a JSON number overflows the target type, Unmarshal // skips that field and completes the unmarshaling as best it can. // If no more serious errors are encountered, Unmarshal returns // an [UnmarshalTypeError] describing the earliest such error. In any
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 35.3K bytes - Viewed (0) -
src/internal/types/errors/codes.go
// TruncatedFloat occurs when a float constant is truncated to an integer // value. // // Example: // var _ int = 98.6 TruncatedFloat // NumericOverflow occurs when a numeric constant overflows its target type. // // Example: // var x int8 = 1000 NumericOverflow // UndefinedOp occurs when an operator is not defined for the type(s) used // in an operation. // // Example:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 22:50:48 UTC 2024 - 33.7K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
func (p *Parser) positiveAtoi(str string) int64 { value, err := strconv.ParseInt(str, 0, 64) if err != nil { p.errorf("%s", err) } if value < 0 { p.errorf("%s overflows int64", str) } return value } func (p *Parser) atoi(str string) uint64 { value, err := strconv.ParseUint(str, 0, 64) if err != nil { p.errorf("%s", err) } return value }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 14:34:57 UTC 2024 - 36.9K bytes - Viewed (0) -
src/net/http/request_test.go
} } // Issue #40430: Test that if maxMemory for ParseMultipartForm when combined with // the payload size and the internal leeway buffer size of 10MiB overflows, that we // correctly return an error. func TestMaxInt64ForMultipartFormMaxMemoryOverflow(t *testing.T) { run(t, testMaxInt64ForMultipartFormMaxMemoryOverflow) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 18:42:34 UTC 2024 - 44K bytes - Viewed (0) -
src/math/all_test.go
Inf(+1), Inf(-1), 0, NaN(), NaN(), NaN(), } var vfexpSC = []float64{ Inf(-1), -2000, 2000, Inf(1), NaN(), // smallest float64 that overflows Exp(x) 7.097827128933841e+02, // Issue 18912 1.48852223e+09, 1.4885222e+09, 1, // near zero 3.725290298461915e-09, // denormal -740, } var expSC = []float64{ 0,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 07 17:39:26 UTC 2023 - 86.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/prove.go
// // This is always correct, even in case of overflow. // // If the initial fact is x+delta >= w instead, the derived conditions are: // if min<max: min <= x AND x <= max // if min>max: min <= x OR x <= max // // Notice the conditions for max are still <=, as they handle overflows. var min, max int64 var vmin, vmax *Value switch x.Type.Size() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:30:21 UTC 2024 - 48.9K bytes - Viewed (0) -
src/time/time.go
r = -r if lessThanHalf(r, m) { return d + r } if d1 := d - m + r; d1 < d { return d1 } return minDuration // overflow } if lessThanHalf(r, m) { return d - r } if d1 := d + m - r; d1 > d { return d1 } return maxDuration // overflow } // Abs returns the absolute value of d. // As a special case, [math.MinInt64] is converted to [math.MaxInt64].
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 50.7K bytes - Viewed (0) -
src/internal/trace/internal/oldtrace/parser.go
return Trace{}, errors.New("no EvFrequency event") } if events.Len() > 0 { // Translate cpu ticks to real time. minTs := events.Ptr(0).Ts // Use floating point to avoid integer overflows. freq := 1e9 / float64(p.ticksPerSec) for i := 0; i < events.Len(); i++ { ev := events.Ptr(i) ev.Ts = Timestamp(float64(ev.Ts-minTs) * freq) // Move timers and syscalls to separate fake Ps.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 46.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
} /** * Any object can be the result of a Future, and not every object has a reasonable toString() * implementation. Using a reconstruction of the default Object.toString() prevents OOMs and stack * overflows, and helps avoid sensitive data inadvertently ending up in exception messages. */ private void appendResultObject(StringBuilder builder, @CheckForNull Object o) { if (o == null) { builder.append("null");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 63.1K bytes - Viewed (1) -
guava/src/com/google/common/util/concurrent/AbstractFuture.java
} /** * Any object can be the result of a Future, and not every object has a reasonable toString() * implementation. Using a reconstruction of the default Object.toString() prevents OOMs and stack * overflows, and helps avoid sensitive data inadvertently ending up in exception messages. */ private void appendResultObject(StringBuilder builder, @CheckForNull Object o) { if (o == null) { builder.append("null");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 62.8K bytes - Viewed (1)