Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for isAlias (0.17 sec)

  1. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/platform/internal/DefaultArchitecture.java

            return Architectures.X86.isAlias(name);
        }
    
        @Override
        public boolean isAmd64() {
            return Architectures.X86_64.isAlias(name);
        }
    
        @Override
        public boolean isIa64() {
            return Architectures.IA_64.isAlias(name);
        }
    
        @Override
        public boolean isArm32() {
            return Architectures.ARM_V7.isAlias(name);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/platform/internal/Architectures.java

        );
    
        public static ArchitectureInternal forInput(String input) {
            for (KnownArchitecture knownArchitecture : KNOWN_ARCHITECTURES) {
                if (knownArchitecture.isAlias(input.toLowerCase())) {
                    return new DefaultArchitecture(knownArchitecture.getCanonicalName());
                }
            }
            return new DefaultArchitecture(input);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/projectmodule/ProjectComponentPublication.java

        /**
         * Specifies that this publication is just an alias for another one and should not
         * be considered when converting project dependencies to published metadata.
         */
        boolean isAlias();
    
        /**
         * Should this publication be ignored when there are others available?
         */
        boolean isLegacy();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/main/java/org/gradle/swiftpm/internal/NativeProjectPublication.java

            }
            return null;
        }
    
        @Override
        public Provider<SoftwareComponentInternal> getComponent() {
            return Providers.notDefined();
        }
    
        @Override
        public boolean isAlias() {
            return false;
        }
    
        @Override
        public boolean isLegacy() {
            return false;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. src/go/types/object_test.go

    import (
    	"fmt"
    	"internal/testenv"
    	"strings"
    	"testing"
    
    	. "go/types"
    )
    
    func TestIsAlias(t *testing.T) {
    	check := func(obj *TypeName, want bool) {
    		if got := obj.IsAlias(); got != want {
    			t.Errorf("%v: got IsAlias = %v; want %v", obj, got, want)
    		}
    	}
    
    	// predeclared types
    	check(Unsafe.Scope().Lookup("Pointer").(*TypeName), false)
    	for _, name := range Universe.Names() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/object_test.go

    	"fmt"
    	"internal/testenv"
    	"strings"
    	"testing"
    
    	. "cmd/compile/internal/types2"
    )
    
    func TestIsAlias(t *testing.T) {
    	check := func(obj *TypeName, want bool) {
    		if got := obj.IsAlias(); got != want {
    			t.Errorf("%v: got IsAlias = %v; want %v", obj, got, want)
    		}
    	}
    
    	// predeclared types
    	check(Unsafe.Scope().Lookup("Pointer").(*TypeName), false)
    	for _, name := range Universe.Names() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types/universe.go

    	}
    
    	// We create separate byte and rune types for better error messages
    	// rather than just creating type alias *Sym's for the uint8 and
    	// int32  Hence, (bytetype|runtype).Sym.isAlias() is false.
    	// TODO(gri) Should we get rid of this special case (at the cost
    	// of less informative error messages involving bytes and runes)?
    	// NOTE(rsc): No, the error message quality is important.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/projectmodule/DefaultProjectDependencyPublicationResolver.java

                ProjectComponentPublication publication = entry.getKey();
                SoftwareComponent component = publication.getComponent().getOrNull();
                if (!publication.isAlias() && !childComponents.contains(component)) {
                    topLevel.add(publication);
                    if (component != null) {
                        topLevelWithComponent.add(publication);
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/go/types/object.go

    	obj := NewTypeName(pos, pkg, name, nil)
    	NewNamed(obj, nil, nil).loader = load
    	return obj
    }
    
    // IsAlias reports whether obj is an alias name for a type.
    func (obj *TypeName) IsAlias() bool {
    	switch t := obj.typ.(type) {
    	case nil:
    		return false
    	// case *Alias:
    	//	handled by default case
    	case *Basic:
    		// unsafe.Pointer is not an alias.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/object.go

    	obj := NewTypeName(pos, pkg, name, nil)
    	NewNamed(obj, nil, nil).loader = load
    	return obj
    }
    
    // IsAlias reports whether obj is an alias name for a type.
    func (obj *TypeName) IsAlias() bool {
    	switch t := obj.typ.(type) {
    	case nil:
    		return false
    	// case *Alias:
    	//	handled by default case
    	case *Basic:
    		// unsafe.Pointer is not an alias.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top