Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 174 for varints (0.22 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. 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)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/VariantResolvingArtifactSet.java

                Collections.emptyList()
            );
    
            // It is fine if no graph variants satisfy our request.
            // Variant reselection allows no target variants to be found.
            if (graphVariant == null) {
                return ImmutableSet.of();
            }
    
            // Next, return all artifact variants for the selected graph variant.
            return getArtifactsForGraphVariant(graphVariant);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationPublications.java

            if (variants == null || variants.isEmpty() || !allArtifactSet.isEmpty()) {
                visitor.visitOwnVariant(displayName, attributes.asImmutable(), allArtifactSet);
            }
            if (variants != null) {
                for (ConfigurationVariantInternal variant : variants.withType(ConfigurationVariantInternal.class)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:15 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationPublicationsTest.groovy

            def variantDef = publications.variants.create("child")
            variantDef.attributes.attribute(Attribute.of("thing", String), "value")
            variantDef.artifacts.add(artifact)
    
            expect:
            def variants = getOutgoingVariants(publications)
            variants.size() == 1
    
            def child = variants.first()
            child.displayName.displayName == '<config> variant child'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:15 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/CachedCodePathComponentMetadataProcessorTest.groovy

            then: "the result should have the variant added by the rule"
            def variantsForGraphTraversal = result.variantsForGraphTraversal
            variantsForGraphTraversal.size() == ownVariants + 1
            def variant = variantsForGraphTraversal.find { it.name == "test" }
            variant != null
            "org.gradle.test" in variant.attributes.keySet().collect { it.name }
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/VariantGraphResolveMetadata.java

    import java.util.List;
    import java.util.Set;
    
    /**
     * Immutable metadata for a component variant instance that is used to perform dependency graph resolution.
     *
     * <p>Note that this metadata does not provide any information about the available artifacts of this variants, as this may be expensive to resolve.
     * Information about the artifacts can be accessed via the methods of {@link ComponentGraphResolveState}.</p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-metadataRule/tests/failRuntimeClasspathResolve.out

            The only attribute distinguishing these variants is 'org.gradle.native.architecture'. Add this attribute to the consumer's configuration to resolve the ambiguity:
              - Value: 'x86-64' selects variant: 'natives-windows-runtime'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 820 bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesConflictResolutionIntegrationTest.groovy

        def "expressing a preference for a variant with capabilities declared in a published modules does not evict unrelated variants"() {
            given:
            repository {
                'org:testB:1.0' {
                    variant('runtime') {
                        capability('org', 'testB', '1.0')
                    }
                    variant('runtimeAlt') {
                        capability('org', 'testB', '1.0')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 07:37:10 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top