Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 458 for varints (0.15 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. 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)
  6. 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)
  7. 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)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ComponentVariantNodeIdentifier.java

     */
    
    package org.gradle.api.internal.artifacts;
    
    import org.gradle.api.artifacts.component.ComponentIdentifier;
    
    /**
     * A node identifier that uniquely identifies a variant within a component by the variant's name.
     *
     * Note: Generally, variants should be identified by their attributes and capabilities, as the name
     * is more of a human-readable identifier.
     */
    public class ComponentVariantNodeIdentifier implements NodeIdentifier {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/LocalComponentGraphResolveStateFactoryTest.groovy

            conf2.artifacts.add(Mock(PublishArtifact))
            ConfigurationVariant variant2 = conf2.outgoing.getVariants().create("variant2")
            variant2.attributes.attribute(Attribute.of("foo2", String), "bar2")
            variant2.artifacts.add(Stub(PublishArtifact))
            variant2.artifacts.add(Stub(PublishArtifact))
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/VariantFilesMetadataRulesTest.groovy

                baseVariant = immutableMetadata.getConfiguration('runtime')
            }
    
            then:
            variants.size() == initialVariantCount + 1
            variants.last().name == 'new-variant'
            variants.last().attributes == baseVariant.attributes
            variants.last().capabilities == baseVariant.capabilities
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top