Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for absOfiles (0.14 sec)

  1. src/cmd/go/internal/work/gccgo.go

    	sh := b.Shell(a)
    	objdir := a.Objdir
    	var absOfiles []string
    	for _, f := range ofiles {
    		absOfiles = append(absOfiles, mkAbs(objdir, f))
    	}
    	var arArgs []string
    	if cfg.Goos == "aix" && cfg.Goarch == "ppc64" {
    		// AIX puts both 32-bit and 64-bit objects in the same archive.
    		// Tell the AIX "ar" command to only care about 64-bit objects.
    		arArgs = []string{"-X64"}
    	}
    	absAfile := mkAbs(objdir, afile)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:18:34 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/gc.go

    	var absOfiles []string
    	for _, f := range ofiles {
    		absOfiles = append(absOfiles, mkAbs(a.Objdir, f))
    	}
    	absAfile := mkAbs(a.Objdir, afile)
    
    	// The archive file should have been created by the compiler.
    	// Since it used to not work that way, verify.
    	if !cfg.BuildN {
    		if _, err := os.Stat(absAfile); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            then:
            cachedClasspath.asFiles == [cachedFile]
            cachedFile.assertIsFile()
    
            and:
            1 * fileAccessTimeJournal.setLastAccessTime(cachedFile.parentFile, _)
            0 * fileAccessTimeJournal._
    
            when:
            def cachedClasspath2 = transformer.transform(classpath, BuildLogic)
    
            then:
            cachedClasspath2.asFiles == [cachedFile]
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classpath/DefaultClassPathTest.groovy

            expect:
            cp1.asFiles == [file1, file2]
            cp2.asFiles == [file1, file2]
        }
    
        def "can add classpaths together"() {
            def file1 = new File("a.jar")
            def file2 = new File("b.jar")
            def cp1 = DefaultClassPath.of(file1)
            def cp2 = DefaultClassPath.of(file2)
    
            expect:
            def cp3 = cp1 + cp2
            cp3.asFiles == [file1, file2]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/classpath/DefaultModuleRegistryTest.groovy

            expect:
            def module = registry.getModule("gradle-some-module")
            module.implementationClasspath.asFiles == [classesDir, resourcesDir, staticResourcesDir]
            module.runtimeClasspath.asFiles == [externalRuntimeDep]
    
            def dep = registry.getExternalModule("dep")
            dep.implementationClasspath.asFiles == [externalRuntimeDep]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classpath/TransformedClassPathTest.groovy

            then:
            cp.asFiles == outputClassPath.asFiles
            cp.findTransformedEntryFor(file(original)) == (transformed != null ? file(transformed) : null)
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 11:14:30 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. src/cmd/internal/objabi/line.go

    func WorkingDir() string {
    	var path string
    	path, _ = os.Getwd()
    	if path == "" {
    		path = "/???"
    	}
    	return filepath.ToSlash(path)
    }
    
    // AbsFile returns the absolute filename for file in the given directory,
    // as rewritten by the rewrites argument.
    // For unrewritten paths, AbsFile rewrites a leading $GOROOT prefix to the literal "$GOROOT".
    // If the resulting path is the empty string, the result is "??".
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 23:10:31 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/resolver/SourcePathProviderTest.kt

                    scriptFile = null,
                    projectDir = folder("project"),
                    gradleHomeDir = folder("gradle"),
                    sourceDistributionResolver = mock()
                ).asFiles,
                hasItems(
                    folder("project/buildSrc/src/main/foo"),
                    folder("project/buildSrc/src/main/bar"),
                    folder("gradle/src/gradle-foo"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 17:35:41 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  9. src/cmd/internal/objabi/line_test.go

    	{"/d", "e/f", "/d/f=>/h;/d/e=>/i", "/i/f"},
    }
    
    func TestAbsFile(t *testing.T) {
    	for _, tt := range absFileTests {
    		abs := filepath.FromSlash(AbsFile(filepath.FromSlash(tt.dir), filepath.FromSlash(tt.file), tt.rewrites))
    		want := filepath.FromSlash(tt.abs)
    		if abs != want {
    			t.Errorf("AbsFile(%q, %q, %q) = %q, want %q", tt.dir, tt.file, tt.rewrites, abs, want)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 24 12:01:30 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DistributionFactoryTest.groovy

            def result = dist.getToolingImplementationClasspath(progressLoggerFactory, buildProgressListener, customUserHome, cancellationToken)
    
            expect:
            result.asFiles.name as Set == ['gradle-core-0.9.jar', 'gradle-launcher-0.9.jar'] as Set
            (result.asFiles.path as Set).every { it.contains('customUserHome')}
        }
    
        def usesZipDistributionInstalledIntoSpecifiedUserHomeDirAsImplementationClasspath() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 11.7K bytes
    - Viewed (0)
Back to top