- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 717 for filename (0.14 sec)
-
pkg/kubelet/nodeshutdown/storage.go
StartTime time.Time `json:"startTime"` EndTime time.Time `json:"endTime"` } // atomicWrite atomically writes data to a file specified by filename. func atomicWrite(filename string, data []byte, perm os.FileMode) error { f, err := os.CreateTemp(filepath.Dir(filename), ".tmp-"+filepath.Base(filename)) if err != nil { return err } err = os.Chmod(f.Name(), perm) if err != nil { f.Close() return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 30 03:35:26 UTC 2022 - 1.9K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/metadata/DefaultExternalResourceMetaData.java
this.location = location; this.lastModified = lastModified; this.contentLength = contentLength; this.contentType = contentType; this.etag = etag; this.sha1 = sha1; this.fileName = fileName; this.wasMissing = wasMissing; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 2.9K bytes - Viewed (0) -
src/go/types/gotype.go
} func parseFiles(dir string, filenames []string) ([]*ast.File, error) { files := make([]*ast.File, len(filenames)) errors := make([]error, len(filenames)) var wg sync.WaitGroup for i, filename := range filenames { wg.Add(1) go func(i int, filepath string) { defer wg.Done() files[i], errors[i] = parse(filepath, nil) }(i, filepath.Join(dir, filename)) if sequential { wg.Wait() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 8.3K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt
override fun transform(outputs: TransformOutputs) { for (entry in parameters.keepClassesByArtifact) { val fileName = artifact.get().asFile.name if (fileName.startsWith(entry.key)) { val nameWithoutExtension = Files.getNameWithoutExtension(fileName) minify(artifact.get().asFile, entry.value, outputs.file("$nameWithoutExtension-min.jar")) return }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/AbstractIdeIntegrationTest.groovy
} protected TestFile getFile(Map options, String filename) { def file = options?.project ? file(options.project, filename) : file(filename) if (options?.print) { println file.text } file } protected parseFile(Map options, String filename) { def file = getFile(options, filename) new XmlSlurper().parse(file) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java
public String getName () { return this.filename; } @Override public int getType () { return SmbConstants.TYPE_FILESYSTEM; } /** * @return the fileIndex */ @Override public int getFileIndex () { return this.fileIndex; } /** * @return the filename */ public String getFilename () {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.6K bytes - Viewed (0) -
src/io/ioutil/ioutil.go
} // ReadFile reads the file named by filename and returns the contents. // A successful call returns err == nil, not err == EOF. Because ReadFile // reads the whole file, it does not treat an EOF from Read as an error // to be reported. // // Deprecated: As of Go 1.16, this function simply calls [os.ReadFile]. func ReadFile(filename string) ([]byte, error) { return os.ReadFile(filename) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3.2K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/AntBuilderAwareUtil.groovy
} } static def assertSetContains(FileCollection set, String... filenames) { assertSetContains(set, filenames as Set) } static def assertSetContainsForAllTypes(FileCollection set, String... filenames) { assertSetContains(set, filenames as Set, FileCollection.AntType.values() as List) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 28 15:32:09 UTC 2022 - 5K bytes - Viewed (0) -
src/go/scanner/errors.go
f := &p[j].Pos // Note that it is not sufficient to simply compare file offsets because // the offsets do not reflect modified line information (through //line // comments). if e.Filename != f.Filename { return e.Filename < f.Filename } if e.Line != f.Line { return e.Line < f.Line } if e.Column != f.Column { return e.Column < f.Column } return p[i].Msg < p[j].Msg }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/init_text_file_to_import_test_pass.cc
int fd; SmallString<256> filename; std::error_code error_code = llvm::sys::fs::createTemporaryFile("text", "vocab", fd, filename); if (error_code) return signalPassFailure(); llvm::ToolOutputFile temp_file(filename, fd); temp_file.os() << "apple\n"; temp_file.os() << "banana\n"; temp_file.os() << "grape"; temp_file.os().flush(); // Replace filename constant ops to use the temporary file.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 04 09:19:38 UTC 2022 - 5.5K bytes - Viewed (0)