Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 406 for imposes (0.15 sec)

  1. src/cmd/cgo/internal/testerrors/ptr_test.go

    type ptrTest struct {
    	name      string   // for reporting
    	c         string   // the cgo comment
    	c1        string   // cgo comment forced into non-export cgo file
    	imports   []string // a list of imports
    	support   string   // supporting functions
    	body      string   // the body of the main function
    	extra     []extra  // extra files
    	fail      bool     // whether the test should fail
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:49 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/writing_build_scripts.adoc

    ====
    
    [[script-default-imports]]
    == Default imports
    
    To make build scripts more concise, Gradle automatically adds a set of import statements to scripts.
    
    As a result, instead of writing `throw new org.gradle.api.tasks.StopExecutionException()`, you can write `throw new StopExecutionException()` instead.
    
    Gradle implicitly adds the following imports to each script:
    
    .Gradle default imports
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 22:22:43 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  3. src/mdo/model-v3.vm

        #set ( $types = { } )
        #set ( $imports = $class.getClass().forName("java.util.TreeSet").newInstance() )
        #set ( $dummy = $imports.add( "java.io.Serializable" ) )
        #set ( $dummy = $imports.add( "java.util.AbstractList" ) )
        #set ( $dummy = $imports.add( "java.util.Collections" ) )
        #set ( $dummy = $imports.add( "java.util.HashMap" ) )
        #set ( $dummy = $imports.add( "java.util.List" ) )
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Nov 06 19:04:44 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  4. common/config/.golangci.yml

        ignore-generated-header: false
        severity: "warning"
        confidence: 0.0
        rules:
          - name: blank-imports
          - name: context-keys-type
          - name: time-naming
          - name: var-declaration
          - name: unexported-return
          - name: errorf
          - name: context-as-argument
          - name: dot-imports
          - name: error-return
          - name: error-strings
          - name: error-naming
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 20:03:06 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. src/mdo/model.vm

        #set ( $types = { } )
        #set ( $imports = $class.getClass().forName("java.util.TreeSet").newInstance() )
        #set ( $dummy = $imports.add( "java.io.Serializable" ) )
        #set ( $dummy = $imports.add( "java.util.Collections" ) )
        #set ( $dummy = $imports.add( "java.util.HashMap" ) )
        #set ( $dummy = $imports.add( "java.util.Map" ) )
        #set ( $dummy = $imports.add( "org.apache.maven.api.annotations.Experimental" ) )
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 07 21:28:01 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/testFixtures/groovy/org/gradle/workers/fixtures/WorkerExecutorFixture.groovy

            String packageName
            List<String> imports = []
            boolean writtenToBuildFile = false
    
            TestClass(String name, String packageName) {
                this.name = name
                this.packageName = packageName
            }
    
            String getImportDeclarations() {
                String importDeclarations = ""
                imports.each {
                    importDeclarations += """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 12:36:12 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInTaskIntegrationTest.groovy

                import ${DefaultTask.name};
                import ${ExecOperations.name};
                import ${Inject.name};
                import ${TaskAction.name};
                ${snippets.imports}
    
                public abstract class SneakyTask extends DefaultTask {
                    @Inject
                    protected abstract ExecOperations getExecOperations();
    
                    public SneakyTask() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. src/go/internal/gcimporter/gcimporter_test.go

    	}
    
    	// import go/internal/gcimporter which imports go/types partially
    	fset := token.NewFileSet()
    	imports := make(map[string]*types.Package)
    	_, err := Import(fset, imports, "go/internal/gcimporter", ".", nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// look for go/types package
    	var goTypesPkg *types.Package
    	for path, pkg := range imports {
    		if path == "go/types" {
    			goTypesPkg = pkg
    			break
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  9. src/go/build/deps_test.go

    			continue
    		}
    		if bytes.Contains(info.header, buildIgnore) {
    			continue
    		}
    		for _, imp := range info.imports {
    			path := imp.path
    			if !haveImport[path] {
    				haveImport[path] = true
    				imports = append(imports, path)
    			}
    		}
    	}
    	slices.Sort(imports)
    	return imports, nil
    }
    
    // depsPolicy returns a map m such that m[p][d] == true when p can import d.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  10. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/FileContentGenerator.groovy

                    if (childPackageName != ownPackageName) {
                        imports += imports == '' ? '\n        ' : ''
                        imports += "import ${childPackageName}.Production${childNumber};\n        "
                    }
                } else {
                    propertyType = "String"
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top