Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 776 for varints (0.13 sec)

  1. src/internal/trace/event/event.go

    	// HasData is true if the event has trailer consisting of a
    	// varint length followed by unencoded bytes of some data.
    	//
    	// An event may not be both a timed event and have data.
    	HasData bool
    
    	// IsStack indicates that the event represents a complete
    	// stack trace. Specifically, it means that after the arguments
    	// there's a varint length, followed by 4*length varints. Each
    	// group of 4 represents the PC, file ID, func ID, and line number
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. src/runtime/tracebuf.go

    	return len(buf.arr)-buf.pos >= size
    }
    
    // varintAt writes varint v at byte position pos in buf. This always
    // consumes traceBytesPerNumber bytes. This is intended for when the caller
    // needs to reserve space for a varint but can't populate it until later.
    // Use varintReserve to reserve this space.
    func (buf *traceBuf) varintAt(pos int, v uint64) {
    	for i := 0; i < traceBytesPerNumber; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/objfile.go

    			strings.HasSuffix(name, ".opendefer"),
    			strings.HasSuffix(name, ".arginfo0"),
    			strings.HasSuffix(name, ".arginfo1"),
    			strings.HasSuffix(name, ".argliveinfo"):
    			// These are just bytes, or varints.
    			align = 1
    		case strings.HasPrefix(name, "gclocals·"):
    			// It has 32-bit fields.
    			align = 4
    		default:
    			switch {
    			case w.ctxt.Arch.PtrSize == 8 && s.Size%8 == 0:
    				align = 8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. src/encoding/binary/binary.go

    // sequences and encoding and decoding of varints.
    //
    // Numbers are translated by reading and writing fixed-size values.
    // A fixed-size value is either a fixed-size arithmetic
    // type (bool, int8, uint8, int16, float32, complex64, ...)
    // or an array or struct containing only fixed-size values.
    //
    // The varint functions encode and decode single integer values using
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/DefaultArtifactVariantSelectorFactoryTest.groovy

            def variants = [variant1, variant2] as Set
            def transformedVariants = variants.collect { transformedVariant(it, requested)}
    
            given:
            set.schema >> producerSchema
            set.variants >> variants
            set.asDescribable() >> Describables.of('<component>')
            variant1.attributes >> typeAttributes("jar")
            variant1.asDescribable() >> Describables.of('<variant1>')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. src/runtime/mbitmap.go

    // with the following instructions:
    //
    //	00000000: stop
    //	0nnnnnnn: emit n bits copied from the next (n+7)/8 bytes
    //	10000000 n c: repeat the previous n bits c times; n, c are varints
    //	1nnnnnnn c: repeat the previous n bits c times; c is a varint
    
    // runGCProg returns the number of 1-bit entries written to memory.
    func runGCProg(prog, dst *byte) uintptr {
    	dstStart := dst
    
    	// Bits waiting to be written to memory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/internal/language/compact/parents.go

    // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
    
    package compact
    
    // parents maps a compact index of a tag to the compact index of the parent of
    // this tag.
    var parents = []ID{ // 775 elements
    	// Entry 0 - 3F
    	0x0000, 0x0000, 0x0001, 0x0001, 0x0000, 0x0004, 0x0000, 0x0006,
    	0x0000, 0x0008, 0x0000, 0x000a, 0x000a, 0x000a, 0x000a, 0x000a,
    	0x000a, 0x000a, 0x000a, 0x000a, 0x000a, 0x000a, 0x000a, 0x000a,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/LocalComponentDependencyMetadataTest.groovy

            toComponent.getCandidatesForGraphVariantSelection().variants.addAll(toConfig)
    
            expect:
            dep.selectVariants(variantSelector, attributes([:]), toComponent, attributesSchema, [] as Set).variants == [toConfig]
        }
    
        @Unroll("selects variant '#expected' from target component (#scenario)")
        def "selects the variant from target component that matches the attributes"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/internal/language/language.go

    		return cr
    	}
    	return r
    }
    
    // Variant represents a registered variant of a language as defined by BCP 47.
    type Variant struct {
    	ID  uint8
    	str string
    }
    
    // ParseVariant parses and returns a Variant. An error is returned if s is not
    // a valid variant.
    func ParseVariant(s string) (v Variant, err error) {
    	defer func() {
    		if recover() != nil {
    			v = Variant{}
    			err = ErrSyntax
    		}
    	}()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/IvyDependencyDescriptorTest.groovy

            def variant = Stub(VariantGraphResolveState)
            variant.toString() >> name
            variant.name >> name
            def configuration = Stub(ConfigurationGraphResolveState)
            component.getConfiguration(name) >> configuration
            configuration.name >> name
            configuration.toString() >> name
            configuration.asVariant() >> variant
            configuration.metadata >> metadata
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top