- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 390 for renameat (0.31 sec)
-
cmd/naughty-disk_test.go
return err } return d.disk.AppendFile(ctx, volume, path, buf) } func (d *naughtyDisk) RenameData(ctx context.Context, srcVolume, srcPath string, fi FileInfo, dstVolume, dstPath string, opts RenameOptions) (RenameDataResp, error) { if err := d.calcError(); err != nil { return RenameDataResp{}, err } return d.disk.RenameData(ctx, srcVolume, srcPath, fi, dstVolume, dstPath, opts) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 9.4K bytes - Viewed (0) -
cmd/os-instrumented.go
func MkdirAll(dirPath string, mode os.FileMode, baseDir string) (err error) { defer updateOSMetrics(osMetricMkdirAll, dirPath)(err) return osMkdirAll(dirPath, mode, baseDir) } // Rename captures time taken to call os.Rename func Rename(src, dst string) (err error) { defer updateOSMetrics(osMetricRename, src, dst)(err) return RenameSys(src, dst) } // OpenFile captures time taken to call os.OpenFile
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 15 01:09:38 UTC 2024 - 6.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/InterpreterTest.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:45 UTC 2024 - 9.2K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesBetweenBuildsFileSystemWatchingIntegrationTest.groovy
then: targetFile.text == "Hello Old World!" executedAndNotSkipped ":run" expect: succeeds "clean" when: originalDir.renameTo(renamedDir) settingsFile.text = buildCache.localCacheConfiguration() buildFile.text = buildFileContents sourceFile.text = "Hello New World!" runWithWatchingEnabled "run"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 13:50:33 UTC 2024 - 8.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GroovyScriptClassCompiler.java
String renamed = entry.getPath().getLastName(); if (renamed.startsWith(RemappingScriptSource.MAPPED_SCRIPT)) { renamed = className + renamed.substring(RemappingScriptSource.MAPPED_SCRIPT.length()); } byte[] content = classData.getClassContent();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:23:24 UTC 2024 - 23.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_download_concurrent_read.txt
# This test simulates a process watching for changes and reading files in # module cache as a module is extracted. # # Before Go 1.16, we extracted each module zip to a temporary directory with # a random name, then renamed that into place with os.Rename. On Windows, # this failed with ERROR_ACCESS_DENIED when another process (usually an # anti-virus scanner) opened files in the temporary directory. This test # simulates that behavior, verifying golang.org/issue/36568.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 2.5K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterTestFrameworkIntegrationTest.groovy
public class NotATest {} """ } @Override void renameTests() { def newTest = file("src/test/java/NewTest.java") file('src/test/java/SomeOtherTest.java').renameTo(newTest) newTest.text = newTest.text.replaceAll("SomeOtherTest", "NewTest") } @Override String getTestTaskName() { return "test" } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginAccessorsIntegrationTest.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 07:16:19 UTC 2023 - 8.6K bytes - Viewed (0) -
src/internal/pkgbits/reloc.go
// An Index represents a bitstream element index within a particular // section. type Index int32 // A relocEnt (relocation entry) is an entry in an element's local // reference table. // // TODO(mdempsky): Rename this too. type RelocEnt struct { Kind RelocKind Idx Index } // Reserved indices within the meta relocation section. const ( PublicRootIdx Index = 0 PrivateRootIdx Index = 1 ) const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 10 22:22:48 UTC 2022 - 835 bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/syms.go
// successive occurrences of the "any" placeholder in the // type syntax expression n.Type. func substArgTypes(old *ir.Name, types_ ...*types.Type) *ir.Name { for _, t := range types_ { types.CalcSize(t) } n := ir.NewNameAt(old.Pos(), old.Sym(), types.SubstAny(old.Type(), &types_)) n.Class = old.Class n.Func = old.Func if len(types_) > 0 { base.Fatalf("SubstArgTypes: too many argument types") } return n }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 21:17:13 UTC 2023 - 3.7K bytes - Viewed (0)