- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,262 for uints (0.05 sec)
-
src/encoding/gob/debug.go
default: errorf("corrupted CommonType, delta is %d fieldNum is %d", delta, fieldNum) } } return CommonType{name, id} } // uint returns the unsigned int at the input point, as a uint (not uint64). func (deb *debugger) uint() uint { return uint(deb.uint64()) } // int returns the signed int at the input point, as an int (not int64). func (deb *debugger) int() int { return int(deb.int64()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 20 09:34:41 UTC 2023 - 18.3K bytes - Viewed (0) -
operator/pkg/util/reflect_test.go
func TestIsInteger(t *testing.T) { tests := []struct { desc string function func(v reflect.Kind) bool want []any }{ { desc: "ints", function: IsIntKind, want: allIntTypes, }, { desc: "uints", function: IsUintKind, want: allUintTypes, }, } for _, tt := range tests { var got []any for _, v := range allTypes {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 10.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/bisect/bisect.go
type parseError struct{ text string } func (e *parseError) Error() string { return e.text } // FNV-1a implementation. See Go's hash/fnv/fnv.go. // Copied here for simplicity (can handle uints directly) // and to avoid the dependency. const ( offset64 uint64 = 14695981039346656037 prime64 uint64 = 1099511628211 ) func fnv(h uint64, x byte) uint64 { h ^= uint64(x) h *= prime64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 18:11:19 UTC 2023 - 15.4K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Units.java
} return -1; } public void add(ScaledUnits<Q> units) { this.units.add(units); Collections.sort(this.units); } } private static class ScaledUnits<Q> extends Units<Q> { private final BaseUnits<Q> baseUnits;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
* * @author Kevin Bourrillion * @since 1.0 */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public final class Ints extends IntsMethodsForWeb { private Ints() {} /** * The number of bytes required to represent a primitive {@code int} value. * * <p><b>Java 8+ users:</b> use {@link Integer#BYTES} instead. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 29.7K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Ints.java
* * @author Kevin Bourrillion * @since 1.0 */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public final class Ints extends IntsMethodsForWeb { private Ints() {} /** * The number of bytes required to represent a primitive {@code int} value. * * <p><b>Java 8+ users:</b> use {@link Integer#BYTES} instead. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 29.9K bytes - Viewed (0) -
pkg/monitoring/units.go
// limitations under the License. package monitoring // Unit encodes the standard name for describing the quantity // measured by a Metric (if applicable). type Unit string // Predefined units for use with the monitoring package. const ( None Unit = "1" Bytes Unit = "By" Seconds Unit = "s" Milliseconds Unit = "ms"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 901 bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
} wOff := 0 n := 0 writebyte := func(o uint8) { wOff = objw.Uint8(x, wOff, o) } // Write one non-aggregate arg/field/element. write1 := func(sz, offset int64) { if offset >= rtabi.TraceArgsSpecial { writebyte(rtabi.TraceArgsOffsetTooLarge) } else { writebyte(uint8(offset)) writebyte(uint8(sz)) } n++ } // Visit t recursively and write it out.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0) -
src/math/rand/v2/rand.go
// from the default Source. // It panics if n <= 0. func IntN(n int) int { return globalRand.IntN(n) } // UintN returns, as a uint, a pseudo-random number in the half-open interval [0,n) // from the default Source. // It panics if n <= 0. func UintN(n uint) uint { return globalRand.UintN(n) } // N returns a pseudo-random number in the half-open interval [0,n) from the default Source.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:25:49 UTC 2024 - 12.8K bytes - Viewed (0) -
hack/golangci-hints.yaml
# enable an increasing amount of checks: # - golangci.yaml is the most permissive configuration. All existing code # passed. # - golangci-strict.yaml adds checks that all new code in pull requests # must pass. # - golangci-hints.yaml adds checks for code patterns where developer # and reviewer may decide whether findings should get addressed before # merging. Beware that the golangci-lint output includes also the
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 12:10:09 UTC 2024 - 7.8K bytes - Viewed (0)