- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for msb (0.04 sec)
-
src/encoding/binary/varint.go
// The encoding is: // - unsigned integers are serialized 7 bits at a time, starting with the // least significant bits // - the most significant bit (msb) in each output byte indicates if there // is a continuation byte (msb = 1) // - signed integers are mapped to unsigned integers using "zig-zag" // encoding: Positive values x are written as 2*x + 0, negative values
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 4.8K bytes - Viewed (0) -
src/compress/lzw/reader_test.go
{ "pdf;MSB;8", "-----A---B", "\x80\x0b\x60\x50\x22\x0c\x0c\x85\x01", nil, }, } func TestReader(t *testing.T) { var b bytes.Buffer for _, tt := range lzwTests { d := strings.Split(tt.desc, ";") var order Order switch d[1] { case "LSB": order = LSB case "MSB": order = MSB default: t.Errorf("%s: bad order %q", tt.desc, d[1])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 16:57:58 UTC 2024 - 7.6K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/id/UniqueId.java
} }; private final String value; public static UniqueId from(UUID uuid) { long msb = uuid.getMostSignificantBits(); long lsb = uuid.getLeastSignificantBits(); byte[] bytes = new byte[16]; ByteBuffer.wrap(bytes).putLong(msb).putLong(lsb); String value = ENCODING.encode(bytes); return new UniqueId(value); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/arm/armasm/decode.go
u := (x >> 23) & 1 if u == 0 { d = -d } return PCRel(d) case arg_lsb_width: lsb := (x >> 7) & (1<<5 - 1) msb := (x >> 16) & (1<<5 - 1) if msb < lsb || msb >= 32 { return nil } return Imm(msb + 1 - lsb) case arg_mem_R: Rn := Reg((x >> 16) & (1<<4 - 1)) return Mem{Base: Rn, Mode: AddrOffset} case arg_mem_R_pm_R_postindex:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 17:16:14 UTC 2022 - 12.6K bytes - Viewed (0) -
src/internal/cpu/cpu_s390x.go
eddsaSignEd448 function = 44 // Curve448 ) // queryResult contains the result of a Query function // call. Bits are numbered in big endian order so the // leftmost bit (the MSB) is at index 0. type queryResult struct { bits [2]uint64 } // Has reports whether the given functions are present. func (q *queryResult) Has(fns ...function) bool { if len(fns) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 22 17:11:03 UTC 2020 - 5.9K bytes - Viewed (0) -
src/math/big/float.go
// the slice may (but doesn't have to) be shorter if the mantissa contains // trailing 0 bits. x.mant is normalized if the msb of x.mant == 1 (i.e., // the msb is shifted all the way "to the left"). Thus, if the mantissa has // trailing 0 bits or x.prec is not a multiple of the Word size _W, // x.mant[0] has trailing zero bits. The msb of the mantissa corresponds // to the value 0.5; the exponent x.exp shifts the binary point as needed. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 44.5K bytes - Viewed (0) -
src/compress/lzw/reader.go
// TODO(nigeltao): check that PDF uses LZW in the same way as GIF, // modulo LSB/MSB packing order. import ( "bufio" "errors" "fmt" "io" ) // Order specifies the bit ordering in an LZW data stream. type Order int const ( // LSB means Least Significant Bits first, as used in the GIF file format. LSB Order = iota // MSB means Most Significant Bits first, as used in the TIFF and PDF // file formats. MSB
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 14:39:39 UTC 2023 - 8K bytes - Viewed (0) -
src/vendor/golang.org/x/sys/cpu/cpu_s390x.go
vxe facility = 135 // vector-enhancements 1 vxe2 facility = 148 // vector-enhancements 2 ) // facilityList contains the result of an STFLE call. // Bits are numbered in big endian order so the // leftmost bit (the MSB) is at index 0. type facilityList struct { bits [4]uint64 } // Has reports whether the given facilities are present. func (s *facilityList) Has(fs ...facility) bool { if len(fs) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 02 15:41:00 UTC 2020 - 4.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/field.go
// license that can be found in the LICENSE file. package ppc64asm import ( "fmt" "strings" ) // A BitField is a bit-field in a 32-bit word. // Bits are counted from 0 from the MSB to 31 as the LSB. type BitField struct { Offs uint8 // the offset of the left-most bit. Bits uint8 // length in bits. // This instruction word holding this field. // It is always 0 for ISA < 3.1 instructions. It is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 10 18:59:52 UTC 2023 - 2.8K bytes - Viewed (0) -
src/compress/lzw/writer_test.go
return } } } func TestWriter(t *testing.T) { for _, filename := range filenames { for _, order := range [...]Order{LSB, MSB} { // The test data "2.71828 etcetera" is ASCII text requiring at least 6 bits. for litWidth := 6; litWidth <= 8; litWidth++ { if filename == "../testdata/gettysburg.txt" && litWidth == 6 { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 12 11:00:47 UTC 2021 - 5.7K bytes - Viewed (0)