- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for b2bit8 (0.13 sec)
-
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt
return when { b2bit8 && b3bit8 -> 127 b3bit8 -> 126 b2bit8 -> 125 else -> 124 } } val b2: Int get() = mappedTo[0] and 0x7f val b3: Int get() = mappedTo[1] and 0x7f } data class InlineDelta( override val rangeStart: Int, val codepointDelta: Int, ) : MappedRange {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.5K bytes - Viewed (0) -
src/syscall/dir_plan9.go
if d.Gid, b, ok = gstring(b); !ok { return nil, ErrBadStat } if d.Muid, b, ok = gstring(b); !ok { return nil, ErrBadStat } return &d, nil } // pbit8 copies the 8-bit number v to b and returns the remaining slice of b. func pbit8(b []byte, v uint8) []byte { b[0] = byte(v) return b[1:] } // pbit16 copies the 16-bit number v to b in little-endian order and returns the remaining slice of b.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:32:38 UTC 2024 - 5.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/plan9/dir_plan9.go
if d.Gid, b, ok = gstring(b); !ok { return nil, ErrBadStat } if d.Muid, b, ok = gstring(b); !ok { return nil, ErrBadStat } return &d, nil } // pbit8 copies the 8-bit number v to b and returns the remaining slice of b. func pbit8(b []byte, v uint8) []byte { b[0] = byte(v) return b[1:] } // pbit16 copies the 16-bit number v to b in little-endian order and returns the remaining slice of b.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 15 19:02:39 UTC 2021 - 5.6K bytes - Viewed (0) -
test/shift1.go
m int = 1.0 << s // 1.0 has type int n = 1.0<<s != i // 1.0 has type int; n == false if ints are 32bits in size o = 1<<s == 2<<s // 1 and 2 have type int; o == true if ints are 32bits in size // next test only fails on 32bit systems // p = 1<<s == 1<<33 // illegal if ints are 32bits in size: 1 has type int, but 1<<33 overflows int u = 1.0 << s // ERROR "non-integer|float64"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 03 16:24:32 UTC 2021 - 9.4K bytes - Viewed (0) -
test/fixedbugs/issue14651.go
func test32(a, b float32) { abits := math.Float32bits(a) bbits := math.Float32bits(b) if abits != bbits { panic(fmt.Sprintf("%08x != %08x\n", abits, bbits)) } } func test64(a, b float64) { abits := math.Float64bits(a) bbits := math.Float64bits(b) if abits != bbits { panic(fmt.Sprintf("%016x != %016x\n", abits, bbits)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 22 17:09:29 UTC 2016 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/string_utils.h
// For historical reasons this is limited to 32bit length. At this files // inception, sizes were represented using 32bit which forced an implicit cap // on the size of the buffer. When this was refactored to use size_t (which // could be 64bit) we enforce that the buffer remains at most 32bit length to // avoid a change in behavior. const size_t max_length_; }; } // namespace mlir::TFL
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 2.2K bytes - Viewed (0) -
src/cmd/internal/obj/sizeof_test.go
func TestSizeof(t *testing.T) { const _64bit = unsafe.Sizeof(uintptr(0)) == 8 var tests = []struct { val interface{} // type as a value _32bit uintptr // size on 32bit platforms _64bit uintptr // size on 64bit platforms }{ {Addr{}, 32, 48}, {LSym{}, 72, 120}, {Prog{}, 132, 200}, } for _, tt := range tests { want := tt._32bit if _64bit {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 13 23:38:08 UTC 2020 - 824 bytes - Viewed (0) -
src/strconv/itoa.go
} // convert bits // We use uint values where we can because those will // fit into a single register even on a 32bit machine. if base == 10 { // common case: use constants for / because // the compiler can optimize it into a multiply+shift if host32bit { // convert the lower digits using 32bit operations for u >= 1e9 { // Avoid using r = a%b in addition to q = a/b
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:28 UTC 2024 - 5.3K bytes - Viewed (0) -
src/internal/types/testdata/check/shifts.go
k = uint64(1<<s) // 1 has type uint64; k == 1<<33 m int = 1.0<<s // 1.0 has type int n = 1.0<<s != i // 1.0 has type int; n == false if ints are 32bits in size o = 1<<s == 2<<s // 1 and 2 have type int; o == true if ints are 32bits in size p = 1<<s == 1<<33 // illegal if ints are 32bits in size: 1 has type int, but 1<<33 overflows int u = 1.0 /* ERROR "must be integer" */ <<s // illegal: 1.0 has type float64, cannot shift
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 12.7K bytes - Viewed (0) -
src/runtime/sizeof_test.go
func TestSizeof(t *testing.T) { const _64bit = unsafe.Sizeof(uintptr(0)) == 8 var tests = []struct { val any // type as a value _32bit uintptr // size on 32bit platforms _64bit uintptr // size on 64bit platforms }{ {runtime.G{}, 272, 432}, // g, but exported for testing {runtime.Sudog{}, 56, 88}, // sudog, but exported for testing } for _, tt := range tests {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 22:07:41 UTC 2024 - 892 bytes - Viewed (0)