Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 118 for gotype (6.8 sec)

  1. src/cmd/compile/internal/syntax/type.go

    package syntax
    
    import "go/constant"
    
    // A Type represents a type of Go.
    // All types implement the Type interface.
    // (This type originally lived in types2. We moved it here
    // so we could depend on it from other packages without
    // introducing an import cycle.)
    type Type interface {
    	// Underlying returns the underlying type of a type.
    	// Underlying types are never Named, TypeParam, or Alias types.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/ExcludeRuleNotationConverter.java

    import javax.annotation.Nullable;
    
    public class ExcludeRuleNotationConverter extends MapNotationConverter<ExcludeRule> {
    
        private static final NotationParser<Object, ExcludeRule> PARSER =
                NotationParserBuilder.toType(ExcludeRule.class).converter(new ExcludeRuleNotationConverter()).toComposite();
    
        public static NotationParser<Object, ExcludeRule> parser() {
            return PARSER;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 05 11:58:37 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/DependencyMetadataNotationParser.java

                .toType(implementationType)
                .fromCharSequence(new DependencyStringNotationConverter<>(instantiator, implementationType, stringInterner))
                .converter(new DependencyMapNotationConverter<>(instantiator, implementationType))
                .invalidNotationMessage("Comprehensive documentation on dependency notations is available in DSL reference for DependencyHandler type.")
                .toComposite();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/artifact/MavenArtifactNotationParserFactory.java

            ProviderNotationConverter providerNotationConverter = new ProviderNotationConverter();
    
            NotationParser<Object, MavenArtifact> sourceNotationParser = NotationParserBuilder
                .toType(MavenArtifact.class)
                .fromType(Provider.class, Cast.uncheckedCast(providerNotationConverter))
                .fromType(AbstractArchiveTask.class, archiveTaskNotationConverter)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/artifact/IvyArtifactNotationParserFactory.java

            ProviderNotationConverter providerNotationConverter = new ProviderNotationConverter();
    
            NotationParser<Object, IvyArtifact> sourceNotationParser = NotationParserBuilder
                    .toType(IvyArtifact.class)
                    .fromType(Provider.class, Cast.uncheckedCast(providerNotationConverter))
                    .converter(archiveTaskNotationConverter)
                    .converter(publishArtifactNotationConverter)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/notations/ModuleIdentifierNotationConverterTest.groovy

        final ImmutableModuleIdentifierFactory moduleIdentifierFactory = Mock() {
            module(_, _) >> { args ->
                DefaultModuleIdentifier.newId(*args)
            }
        }
        @Subject parser = NotationParserBuilder.toType(ModuleIdentifier).fromCharSequence(new ModuleIdentifierNotationConverter(moduleIdentifierFactory)).toComposite()
    
        def "parses module identifier notation"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. src/syscall/net_wasip1.go

    	SHUT_WR   = 0x2
    	SHUT_RDWR = SHUT_RD | SHUT_WR
    )
    
    type sdflags = uint32
    
    //go:wasmimport wasi_snapshot_preview1 sock_accept
    //go:noescape
    func sock_accept(fd int32, flags fdflags, newfd unsafe.Pointer) Errno
    
    //go:wasmimport wasi_snapshot_preview1 sock_shutdown
    //go:noescape
    func sock_shutdown(fd int32, flags sdflags) Errno
    
    func Socket(proto, sotype, unused int) (fd int, err error) {
    	return 0, ENOSYS
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:12:41 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/ExcludeRuleNotationConverterTest.groovy

    import org.gradle.util.internal.WrapUtil
    import spock.lang.Specification
    
    class ExcludeRuleNotationConverterTest extends Specification {
        def parser = NotationParserBuilder.toType(ExcludeRule).converter(new ExcludeRuleNotationConverter()).toComposite()
    
        def "with group"() {
            when:
            ExcludeRule d = parser.parseNotation([group: 'aGroup']);
            then:
            d != null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:11 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/ModuleSelectorStringNotationConverterTest.groovy

        final ImmutableModuleIdentifierFactory moduleIdentifierFactory = Mock() {
            module(_, _) >> { args ->
                DefaultModuleIdentifier.newId(*args)
            }
        }
    
        @Subject parser = NotationParserBuilder.toType(ComponentSelector).converter(new ModuleSelectorStringNotationConverter(moduleIdentifierFactory)).toComposite()
    
        def "parses module identifier notation"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/internal/typeconversion/NotationParserBuilder.java

        public static <T> NotationParserBuilder<Object, T> toType(Class<T> resultingType) {
            return new NotationParserBuilder<>(Object.class, new TypeInfo<>(resultingType));
        }
    
        public static <T> NotationParserBuilder<Object, T> toType(TypeInfo<T> resultingType) {
            return new NotationParserBuilder<>(Object.class, resultingType);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 27 20:34:59 UTC 2020
    - 6.9K bytes
    - Viewed (0)
Back to top