- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for readVarint (0.27 sec)
-
src/runtime/panic.go
print("\n") } // readvarintUnsafe reads the uint32 in varint format starting at fd, and returns the // uint32 and a pointer to the byte following the varint. // // The implementation is the same with runtime.readvarint, except that this function // uses unsafe.Pointer for speed. func readvarintUnsafe(fd unsafe.Pointer) (uint32, unsafe.Pointer) { var r uint32 var shift int for { b := *(*uint8)(fd)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 43.8K bytes - Viewed (0) -
src/reflect/type.go
abi.StructType } func pkgPath(n abi.Name) string { if n.Bytes == nil || *n.DataChecked(0, "name flag field")&(1<<2) == 0 { return "" } i, l := n.ReadVarint(1) off := 1 + i + l if n.HasTag() { i2, l2 := n.ReadVarint(off) off += i2 + l2 } var nameOff int32 // Note that this field may not be aligned in memory, // so we cannot use a direct int32 assignment here.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
src/internal/trace/generation.go
// Read the frame data. pc, err := binary.ReadUvarint(r) if err != nil { return fmt.Errorf("reading frame %d's PC for stack %d: %w", i+1, id, err) } funcID, err := binary.ReadUvarint(r) if err != nil { return fmt.Errorf("reading frame %d's funcID for stack %d: %w", i+1, id, err) } fileID, err := binary.ReadUvarint(r) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 22:14:45 UTC 2024 - 12.1K bytes - Viewed (0) -
src/internal/trace/batch.go
// for the batch. gen, err := binary.ReadUvarint(r) if err != nil { return batch{}, gen, fmt.Errorf("error reading batch gen: %w", err) } m, err := binary.ReadUvarint(r) if err != nil { return batch{}, gen, fmt.Errorf("error reading batch M ID: %w", err) } ts, err := binary.ReadUvarint(r) if err != nil { return batch{}, gen, fmt.Errorf("error reading batch timestamp: %w", err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.9K bytes - Viewed (0) -
src/internal/trace/raw/reader.go
func (r *Reader) readArgs(n int) ([]uint64, error) { var args []uint64 for i := 0; i < n; i++ { val, err := binary.ReadUvarint(r.r) if err != nil { return nil, err } args = append(args, val) } return args, nil } func (r *Reader) readData() ([]byte, error) { len, err := binary.ReadUvarint(r.r) if err != nil { return nil, err } var data []byte for i := 0; i < int(len); i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/metadata/ProjectMetadataController.kt
private suspend fun ReadContext.readVariants(factory: CalculatedValueContainerFactory): List<LocalVariantMetadata> { return readList { readVariant(factory) } } private suspend fun ReadContext.readVariant(factory: CalculatedValueContainerFactory): LocalVariantMetadata { val variantName = readString() val identifier = readNonNull<VariantResolveMetadata.Identifier>()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 8.9K bytes - Viewed (0) -
src/internal/pkgbits/decoder.go
} } func (r *Decoder) rawUvarint() uint64 { x, err := readUvarint(&r.Data) r.checkErr(err) return x } // readUvarint is a type-specialized copy of encoding/binary.ReadUvarint. // This avoids the interface conversion and thus has better escape properties, // which flows up the stack. func readUvarint(r *strings.Reader) (uint64, error) { var x uint64 var s uint
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 20:58:46 UTC 2022 - 13.2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Jun 07 07:31:02 UTC 2024 - 61.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"MaxVarintLen32", Const, 0}, {"MaxVarintLen64", Const, 0}, {"NativeEndian", Var, 21}, {"PutUvarint", Func, 0}, {"PutVarint", Func, 0}, {"Read", Func, 0}, {"ReadUvarint", Func, 0}, {"ReadVarint", Func, 0}, {"Size", Func, 0}, {"Uvarint", Func, 0}, {"Varint", Func, 0}, {"Write", Func, 0}, }, "encoding/csv": { {"(*ParseError).Error", Method, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue May 21 09:54:32 UTC 2024 - 82.9K bytes - Viewed (0)