- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for readVarint (0.12 sec)
-
src/runtime/type.go
type name = abi.Name type structtype = abi.StructType func pkgPath(n name) string { if n.Bytes == nil || *n.Data(0)&(1<<2) == 0 { return "" } i, l := n.ReadVarint(1) off := 1 + i + l if *n.Data(0)&(1<<1) != 0 { i2, l2 := n.ReadVarint(off) off += i2 + l2 } var nameOff nameOff copy((*[4]byte)(unsafe.Pointer(&nameOff))[:], (*[4]byte)(unsafe.Pointer(n.Data(off)))[:])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 12.7K bytes - Viewed (0) -
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) -
maven-core/src/test/resources/projects/modelsource/module01/pom.xml
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>test.readparent</groupId> <artifactId>local-parent</artifactId> <version>1.0</version> </parent> <artifactId>module01</artifactId>
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sat Nov 09 12:45:14 UTC 2019 - 425 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) -
maven-core/src/test/resources/projects/modelsource/pom.xml
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>test.readparent</groupId> <artifactId>local-parent</artifactId> <packaging>pom</packaging> <version>1.0</version> <modules> <module>module</module> </modules>
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sat Nov 09 12:45:14 UTC 2019 - 442 bytes - Viewed (0) -
maven-core/src/test/resources/projects/modelsourcebasedir/pom.xml
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>test.readparent</groupId> <artifactId>local-parent</artifactId> <packaging>pom</packaging> <version>1.0</version> <dependencies> <dependency> <groupId>blah</groupId> <artifactId>blah</artifactId>
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Aug 17 08:59:48 UTC 2021 - 645 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)