Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for GoFiles (0.26 sec)

  1. src/go/internal/srcimporter/srcimporter.go

    		// identify cycles). See also issue 16088.
    		if p.packages[bp.ImportPath] == &importing {
    			p.packages[bp.ImportPath] = nil
    		}
    	}()
    
    	var filenames []string
    	filenames = append(filenames, bp.GoFiles...)
    	filenames = append(filenames, bp.CgoFiles...)
    
    	files, err := p.parseFiles(bp.Dir, filenames)
    	if err != nil {
    		return nil, err
    	}
    
    	// type-check package files
    	var firstHardErr error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 18:54:32 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  2. cmd/import-boss/main_test.go

    		}
    	}
    }
    
    func TestPackageDir(t *testing.T) {
    	cases := []struct {
    		input  *packages.Package
    		expect string
    	}{{
    		input: &packages.Package{
    			PkgPath:      "example.com/foo/bar/qux",
    			GoFiles:      []string{"/src/prj/file.go"},
    			IgnoredFiles: []string{"/otherdir/file.go"},
    		},
    		expect: filepath.Clean("/src/prj"),
    	}, {
    		input: &packages.Package{
    			PkgPath:      "example.com/foo/bar/qux",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishJavaPlatformIntegTest.groovy

            then:
            javaPlatform.assertPublished()
            javaPlatform.assertNoDependencies()
    
            and:
            resolveArtifacts(javaPlatform) { noFiles() }
            resolveApiArtifacts(javaPlatform) { noFiles() }
            resolveRuntimeArtifacts(javaPlatform) { noFiles() }
        }
    
        def "can publish java-platform with constraints"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  4. src/runtime/env_plan9.go

    		env := make([]byte, len(name)+r)
    		copy(env, name)
    		copy(env[len(name):], buf[:r])
    		envs = append(envs, string(env))
    	})
    }
    
    // dofiles reads the directory opened with file descriptor fd, applying function f
    // to each filename in it.
    //
    //go:nosplit
    func dofiles(dirfd int32, f func([]byte)) {
    	dirbuf := new([dirBufSize]byte)
    
    	var off int64 = 0
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 02:39:39 UTC 2022
    - 3K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ArtifactResolutionExpectationSpec.groovy

         * @param fileNames
         */
        void expectFiles(String... fileNames) {
            always {
                expectFiles(fileNames as List<String>)
            }
        }
    
        void noFiles() {
            always {
                noFiles()
            }
        }
    
        /**
         * Short-hand notation for expecting a list of files independently of the fact module metadata is used or not
         * @param fileNames
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonStarter.java

                builder.applicationClasspath(classPathRegistry.getClassPath("MINIMUM_WORKER_RUNTIME").getAsFiles());
                builder.useApplicationClassloaderOnly();
                builder.applicationClasspath(toFiles(flatClassLoaderStructure.getSpec()));
            } else {
                builder.applicationClasspath(classPathRegistry.getClassPath("CORE_WORKER_RUNTIME").getAsFiles());
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 19 14:39:33 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/SingleArtifactResolutionResultSpec.groovy

        void expectFiles(String... fileNames) {
            expectFiles(fileNames as List<String>)
        }
    
        void expectFiles(List<String> fileNames) {
            expectedFileNames = fileNames.sort()
        }
    
        void noFiles() {
            expectedFileNames = []
        }
    
        void shouldFail(@DelegatesTo(value = ExecutionFailure, strategy = Closure.DELEGATE_FIRST) Closure<?> onFailure) {
            expectSuccess = false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top