- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 939 for integers (1.85 sec)
-
src/text/template/funcs.go
} // not returns the Boolean negation of its argument. func not(arg reflect.Value) bool { return !truth(arg) } // Comparison. // TODO: Perhaps allow comparison between signed and unsigned integers. var ( errBadComparisonType = errors.New("invalid type for comparison") errBadComparison = errors.New("incompatible types for comparison") errNoComparison = errors.New("missing argument for comparison")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 20.9K bytes - Viewed (0) -
src/encoding/gob/codec_test.go
} } func newDecBuffer(data []byte) *decBuffer { return &decBuffer{ data: data, } } // Test basic encode/decode routines for unsigned integers func TestUintCodec(t *testing.T) { defer testError(t) b := new(encBuffer) encState := newEncoderState(b) for _, tt := range encodeT { b.Reset() encState.encodeUint(tt.x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 19 23:03:14 UTC 2023 - 36.9K bytes - Viewed (0) -
src/math/big/int.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This file implements signed multi-precision integers. package big import ( "fmt" "io" "math/rand" "strings" ) // An Int represents a signed multi-precision integer. // The zero value for an Int represents the value 0. // // Operations always take pointer arguments (*Int) rather
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 17:02:38 UTC 2024 - 33.1K bytes - Viewed (0) -
src/syscall/js/js.go
// | js.Value | [its value] | // | js.Func | function | // | nil | null | // | bool | boolean | // | integers and floats | number | // | string | string | // | []interface{} | new array | // | map[string]interface{} | new object | //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 19.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/LongMathTest.java
tester.setDefault(long.class, 1L); tester.testAllPublicStaticMethods(LongMath.class); } @GwtIncompatible // isPrime is GWT-incompatible public void testIsPrimeSmall() { // Check the first 1000 integers for (int i = 2; i < 1000; i++) { assertEquals(BigInteger.valueOf(i).isProbablePrime(100), LongMath.isPrime(i)); } } @GwtIncompatible // isPrime is GWT-incompatible
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 04 20:15:57 UTC 2024 - 32.5K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Ints.java
* {@link Integer#MAX_VALUE} if it is too large, or {@link Integer#MIN_VALUE} if it is too * small */ public static int saturatedCast(long value) { if (value > Integer.MAX_VALUE) { return Integer.MAX_VALUE; } if (value < Integer.MIN_VALUE) { return Integer.MIN_VALUE; } return (int) value; } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 29.9K bytes - Viewed (0) -
src/runtime/metrics.go
// and exclusive upper-bound (e.g. 48-byte size class is // [33, 49)). We can achieve this by shifting all bucket // boundaries up by 1. // // Also, a float64 can precisely represent integers with // value up to 2^53 and size classes are relatively small // (nowhere near 2^48 even) so this will give us exact // boundaries. sizeClassBuckets[i] = float64(class_to_size[i] + 1) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 21:03:13 UTC 2024 - 26K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
* {@link Integer#MAX_VALUE} if it is too large, or {@link Integer#MIN_VALUE} if it is too * small */ public static int saturatedCast(long value) { if (value > Integer.MAX_VALUE) { return Integer.MAX_VALUE; } if (value < Integer.MIN_VALUE) { return Integer.MIN_VALUE; } return (int) value; } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 29.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/LOONG64Ops.go
"F27", "F28", "F29", "F30", "F31", // If you add registers, update asyncPreempt in runtime. // pseudo-registers "SB", } func init() { // Make map from reg names to reg integers. if len(regNamesLOONG64) > 64 { panic("too many registers") } num := map[string]int{} for i, name := range regNamesLOONG64 { num[name] = i } buildReg := func(s string) regMask {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 19:04:19 UTC 2023 - 25.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
tester.setDefault(long.class, 1L); tester.testAllPublicStaticMethods(LongMath.class); } @GwtIncompatible // isPrime is GWT-incompatible public void testIsPrimeSmall() { // Check the first 1000 integers for (int i = 2; i < 1000; i++) { assertEquals(BigInteger.valueOf(i).isProbablePrime(100), LongMath.isPrime(i)); } } @GwtIncompatible // isPrime is GWT-incompatible
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 04 20:15:57 UTC 2024 - 32.5K bytes - Viewed (0)