Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for wantEtype (0.49 sec)

  1. 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)
  2. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/PmdInvoker.groovy

            ant.taskdef(name: 'pmd', classname: 'net.sourceforge.pmd.ant.PMDTask')
            ant.pmd(antPmdArgs) {
                parameters.source.addToAntBuilder(ant, 'fileset', FileCollection.AntType.FileSet)
                ruleSets.each {
                    ruleset(it)
                }
                parameters.ruleSetConfigFiles.each {
                    ruleset(it)
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CodeNarcInvoker.groovy

                            }
                        }
                    }
    
                    source.addToAntBuilder(ant, 'fileset', FileCollection.AntType.FileSet)
    
                    if (!compilationClasspath.empty) {
                        compilationClasspath.addToAntBuilder(ant, 'classpath')
                    }
                }
            } catch (Exception e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 14:00:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/compile/internal/types2/call.go

    	"_Cfpvar_fp_",
    	"_Cfunc_",
    	"_Cmacro_", // function to evaluate the expanded expression
    }
    
    func (check *Checker) selector(x *operand, e *syntax.SelectorExpr, def *TypeName, wantType bool) {
    	// these must be declared before the "goto Error" statements
    	var (
    		obj      Object
    		index    []int
    		indirect bool
    	)
    
    	sel := e.Sel.Value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  8. src/go/types/call.go

    	"_Cvar_", // actually a pointer to the var
    	"_Cfpvar_fp_",
    	"_Cfunc_",
    	"_Cmacro_", // function to evaluate the expanded expression
    }
    
    func (check *Checker) selector(x *operand, e *ast.SelectorExpr, def *TypeName, wantType bool) {
    	// these must be declared before the "goto Error" statements
    	var (
    		obj      Object
    		index    []int
    		indirect bool
    	)
    
    	sel := e.Sel.Name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ConfigurationDeprecatedExtensions.kt

    fun <T : Configuration> NamedDomainObjectProvider<T>.addToAntBuilder(builder: Any, nodeName: String, type: FileCollection.AntType): Unit =
        get().addToAntBuilder(builder, nodeName, type)
    
    
    /**
     * See [Configuration.addToAntBuilder].
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:18:46 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. pkg/controller/job/job_controller_test.go

    		name         string
    		haveList     []batch.JobCondition
    		wantType     batch.JobConditionType
    		wantStatus   v1.ConditionStatus
    		wantReason   string
    		expectList   []batch.JobCondition
    		expectUpdate bool
    	}{
    		{
    			name:         "append true condition",
    			haveList:     []batch.JobCondition{},
    			wantType:     batch.JobSuspended,
    			wantStatus:   v1.ConditionTrue,
    			wantReason:   "foo",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
Back to top