Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for wantEtype (0.14 sec)

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

    	return nil
    }
    
    // ChanArgs returns the channel type for TCHANARGS type t.
    func (t *Type) ChanArgs() *Type {
    	t.wantEtype(TCHANARGS)
    	return t.extra.(ChanArgs).T
    }
    
    // FuncArgs returns the func type for TFUNCARGS type t.
    func (t *Type) FuncArgs() *Type {
    	t.wantEtype(TFUNCARGS)
    	return t.extra.(FuncArgs).T
    }
    
    // IsFuncArgStruct reports whether t is a struct representing function parameters or results.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/DependencyStringNotationConverter.java

        private final Class<T> wantedType;
        private final Interner<String> stringInterner;
        private final StrictVersionParser strictVersionParser;
    
        public DependencyStringNotationConverter(Instantiator instantiator, Class<T> wantedType, Interner<String> stringInterner) {
            this.instantiator = instantiator;
            this.wantedType = wantedType;
            this.stringInterner = stringInterner;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/typexpr.go

    // If an error occurred, x.mode is set to invalid.
    // For the meaning of def, see Checker.definedType, below.
    // If wantType is set, the identifier e is expected to denote a type.
    func (check *Checker) ident(x *operand, e *syntax.Name, def *TypeName, wantType bool) {
    	x.mode = invalid
    	x.expr = e
    
    	// Note that we cannot use check.lookup here because the returned scope
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/CompositeFileCollectionTest.groovy

            when:
            collection.addToAntBuilder("node", "name", FileCollection.AntType.ResourceCollection)
    
            then:
            1 * source1.addToAntBuilder("node", "name", FileCollection.AntType.ResourceCollection)
            1 * source2.addToAntBuilder("node", "name", FileCollection.AntType.ResourceCollection)
            0 * _
        }
    
        void "visits children when structure is visited"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractFileCollection.java

        }
    
        @Override
        public void addToAntBuilder(Object builder, String nodeName, AntType type) {
            if (type == AntType.ResourceCollection) {
                addAsResourceCollection(builder, nodeName);
            } else if (type == AntType.FileSet) {
                addAsFileSet(builder, nodeName);
            } else {
                addAsMatchingTask(builder, nodeName);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. src/go/types/typexpr.go

    // If an error occurred, x.mode is set to invalid.
    // For the meaning of def, see Checker.definedType, below.
    // If wantType is set, the identifier e is expected to denote a type.
    func (check *Checker) ident(x *operand, e *ast.Ident, def *TypeName, wantType bool) {
    	x.mode = invalid
    	x.expr = e
    
    	// Note that we cannot use check.lookup here because the returned scope
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    	return !unicode.IsLower(r)
    }
    
    func isTestParam(typ ast.Expr, wantType string) bool {
    	ptr, ok := typ.(*ast.StarExpr)
    	if !ok {
    		// Not a pointer.
    		return false
    	}
    	// No easy way of making sure it's a *testing.T or *testing.B:
    	// ensure the name of the type matches.
    	if name, ok := ptr.X.(*ast.Ident); ok {
    		return name.Name == wantType
    	}
    	if sel, ok := ptr.X.(*ast.SelectorExpr); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/CompositeFileCollection.java

        @Override
        protected void addAsResourceCollection(Object builder, String nodeName) {
            for (FileCollection fileCollection : getSourceCollections()) {
                fileCollection.addToAntBuilder(builder, nodeName, AntType.ResourceCollection);
            }
        }
    
        @Override
        public FileCollectionInternal filter(final Spec<? super File> filterSpec) {
            return new FilteredFileCollection(this, filterSpec) {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. src/os/os_windows_test.go

    			continue
    		}
    		var wantType fs.FileMode
    		if test.isMountPoint && winsymlink.Value() != "0" {
    			// Mount points are reparse points, and we no longer treat them as symlinks.
    			wantType = fs.ModeIrregular
    		} else {
    			// This is either a real symlink, or a mount point treated as a symlink.
    			wantType = fs.ModeSymlink
    		}
    		if tp := fi2.Mode().Type(); tp != wantType {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  10. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CheckstyleInvoker.groovy

                        maxErrors: maxErrors, maxWarnings: maxWarnings, failureProperty: FAILURE_PROPERTY_NAME) {
    
                    source.addToAntBuilder(ant, 'fileset', FileCollection.AntType.FileSet)
    
                    if (showViolations) {
                        formatter(type: 'plain', useFile: false)
                    }
    
                    if (isXmlRequired || isHtmlRequired) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 16 22:34:07 UTC 2023
    - 9.2K bytes
    - Viewed (0)
Back to top