Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 137 for sysdir (0.12 sec)

  1. src/cmd/compile/internal/test/pgo_inl_test.go

    	if err != nil {
    		t.Fatalf("error getting wd: %v", err)
    	}
    	srcDir := filepath.Join(wd, "testdata/pgo/inline")
    
    	// Copy the module to a scratch location so we can add a go.mod.
    	dir := t.TempDir()
    
    	for _, file := range []string{"inline_hot.go", "inline_hot_test.go", profFile} {
    		if err := copyFile(filepath.Join(dir, file), filepath.Join(srcDir, file)); err != nil {
    			t.Fatalf("error copying %s: %v", file, err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modfetch/codehost/git_test.go

    			},
    		},
    
    		{
    			repo:   gitrepo1,
    			rev:    "aaaaaaaaab",
    			subdir: "",
    			err:    "unknown revision",
    		},
    		{
    			repo:   hgrepo1,
    			rev:    "aaaaaaaaab",
    			subdir: "",
    			err:    "unknown revision",
    		},
    
    		{
    			repo:   vgotest1,
    			rev:    "submod/v1.0.4",
    			subdir: "submod",
    			files: map[string]uint64{
    				"prefix/":                0,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 19:46:23 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  3. src/go/build/build_test.go

    			t.Logf("%q expands to %q with SRCDIR=%q", test.input, output, expandSrcDirPath)
    		}
    	}
    }
    
    func TestShellSafety(t *testing.T) {
    	tests := []struct {
    		input, srcdir, expected string
    		result                  bool
    	}{
    		{"-I${SRCDIR}/../include", "/projects/src/issue 11868", "-I/projects/src/issue 11868/../include", true},
    		{"-I${SRCDIR}", "~wtf$@%^", "-I~wtf$@%^", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/file/DefaultSourceDirectorySet.java

                } else {
                    for (File srcDir : fileCollectionFactory.resolving(path)) {
                        if (!srcDir.isDirectory() && srcDir.exists()) {
                            throw new InvalidUserDataException(String.format("Source directory '%s' is not a directory.", srcDir));
                        }
                        result.add(directoryFileTreeFactory.create(srcDir, patterns));
                    }
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Oct 29 02:23:21 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativePreCompiledHeaderIntegrationTest.groovy

            when:
            librarySourceModified("hello", path)
    
            then:
            args("--info")
            succeeds "helloSharedLibrary"
            pchNotCompiled()
    
            where:
            path << [ "", "subdir/to/header/" ]
        }
    
        @ToBeFixedForConfigurationCache
        def "can set a precompiled header on a source set for a header colocated with the source" () {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultFileSystemAccessTest.groovy

            then:
            assertIsDirectorySnapshot(snapshot, someDir)
    
            when:
            allowFileSystemAccess(false)
            def subDir = someDir.file("sub")
            snapshot = read(subDir)
            then:
            assertIsDirectorySnapshot(snapshot, subDir)
        }
    
        def "invalidate regular file"() {
            def parentDir = temporaryFolder.file("in/some")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 10K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalInputsIntegrationTest.groovy

                    outputDirectory = file("build/output")
                }
            """
            def toBeModifiedPath = "in/some/subdir/input1.txt"
            def toBeRemovedPath = "in/some/subdir/input2.txt"
            def toBeAddedPath = "in/some/other/subdir/other-input.txt"
            file("input/$toBeModifiedPath").text = "input to copy"
            file("input/${toBeRemovedPath}").text = "input to copy"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 23 12:52:29 UTC 2022
    - 27.8K bytes
    - Viewed (0)
  8. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

                parameters.srcDirs.forEach { srcDir ->
                    if (srcDir.exists()) {
                        val collector = CompositeVersionsToIncubatingCollector(
                            listOf(
                                JavaVersionsToIncubatingCollector(srcDir),
                                KotlinVersionsToIncubatingCollector()
                            )
                        )
                        srcDir.walkTopDown().forEach { sourceFile ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jun 25 02:53:14 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

          return;
        }
      } else if (S_ISDIR(st.st_mode)) {
        TF_SetStatus(status, TF_FAILED_PRECONDITION, "target path is a directory");
        return;
      }
    
      // We cannot rename directories yet, so prevent this.
      if (stat(src, &st) != 0) {
        TF_SetStatusFromIOError(status, errno, src);
        return;
      } else if (S_ISDIR(st.st_mode)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 24 20:08:23 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy

            }
    
            void taskCreatedOutputs() {
                assert outputFile.text == "This is the text"
                assert outputDir.allDescendants().containsAll('subDir/inputFile1.txt', 'subDir/inputFile2.txt')
            }
    
            File getOverlappingOutputFile() {
                file("${getOverlappingOutputDir()}/new-output.txt")
            }
    
            void overlappingOutputsAreStillPresent() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top