- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 322 for readFiles (0.97 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/maven/RealisedMavenModuleResolveMetadataSerializationHelper.java
ImmutableCapabilities capabilities = readCapabilities(decoder); boolean isExternalVariant = decoder.readBoolean(); ImmutableList<? extends ModuleComponentArtifactMetadata> artifacts = readFiles(decoder, metadata.getId()); RealisedConfigurationMetadata configurationMetadata = new RealisedConfigurationMetadata(metadata.getId(), configurationName, configuration.isTransitive(), configuration.isVisible(),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 19 19:13:04 UTC 2024 - 15.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/ivy/RealisedIvyModuleResolveMetadataSerializationHelper.java
if (hasExplicitExcludes) { excludes = ImmutableList.copyOf(readMavenExcludes(decoder)); } ImmutableList<? extends ModuleComponentArtifactMetadata> artifacts = readFiles(decoder, metadata.getId()); RealisedConfigurationMetadata configurationMetadata = new RealisedConfigurationMetadata( metadata.getId(), configurationName,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 19 19:13:04 UTC 2024 - 15.3K bytes - Viewed (0) -
src/text/template/helper.go
} filenames = append(filenames, list...) } return parseFiles(t, readFileFS(fsys), filenames...) } func readFileOS(file string) (name string, b []byte, err error) { name = filepath.Base(file) b, err = os.ReadFile(file) return } func readFileFS(fsys fs.FS) func(string) (string, []byte, error) { return func(file string) (name string, b []byte, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:54:08 UTC 2024 - 6.4K bytes - Viewed (0) -
src/html/template/template.go
} filenames = append(filenames, list...) } return parseFiles(t, readFileFS(fsys), filenames...) } func readFileOS(file string) (name string, b []byte, err error) { name = filepath.Base(file) b, err = os.ReadFile(file) return } func readFileFS(fsys fs.FS) func(string) (string, []byte, error) { return func(file string) (name string, b []byte, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 21:00:46 UTC 2024 - 17K bytes - Viewed (0) -
src/testing/fstest/testfs.go
data2[i]++ } data2, err = fsys.ReadFile(file) if err != nil { t.errorf("%s: second call to fsys.ReadFile: %w", file, err) return } t.checkFileRead(file, "Readall vs second fsys.ReadFile", data, data2) t.checkBadPath(file, "ReadFile", func(name string) error { _, err := fsys.ReadFile(name); return err }) } // Check that fs.ReadFile works with t.fsys.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.3K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/sink/OutputEventRendererTest.groovy
then: outputs.stdOut.readLines() == ['message'] outputs.stdErr == '' } def rendersErrorLogEventsToStdErr() { when: renderer.attachSystemOutAndErr() renderer.onOutput(event('message', LogLevel.ERROR)) then: outputs.stdOut == '' outputs.stdErr.readLines() == ['message'] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 19:25:32 UTC 2024 - 17.8K bytes - Viewed (0) -
src/os/file.go
return nil, err } return f, nil } // The ReadFile method calls the [ReadFile] function for the file // with the given name in the directory. The function provides // robust handling for small files and special file systems. // Through this method, dirFS implements [io/fs.ReadFileFS]. func (dir dirFS) ReadFile(name string) ([]byte, error) { fullname, err := dir.join(name) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:37 UTC 2024 - 25.4K bytes - Viewed (0) -
src/os/read_test.go
} } func TestReadFile(t *testing.T) { t.Parallel() filename := "rumpelstilzchen" contents, err := ReadFile(filename) if err == nil { t.Fatalf("ReadFile %s: error expected, none found", filename) } filename = "read_test.go" contents, err = ReadFile(filename) if err != nil { t.Fatalf("ReadFile %s: %v", filename, err) } checkNamedSize(t, filename, int64(len(contents))) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 02:36:46 UTC 2024 - 3.2K bytes - Viewed (0) -
src/cmd/internal/buildid/buildid_test.go
continue } defer os.Remove(f) id, err := ReadFile(f) if id != expectedID || err != nil { t.Errorf("ReadFile(testdata/%s) = %q, %v, want %q, nil", f, id, err, expectedID) } old := readSize readSize = 2048 id, err = ReadFile(f) readSize = old if id != expectedID || err != nil { t.Errorf("ReadFile(%s) [readSize=2k] = %q, %v, want %q, nil", f, id, err, expectedID) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:31:28 UTC 2024 - 6.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/internal/analysisutil/util.go
} } return true }) return !safe } // ReadFile reads a file and adds it to the FileSet // so that we can report errors against it using lineStart. func ReadFile(pass *analysis.Pass, filename string) ([]byte, *token.File, error) { readFile := pass.ReadFile if readFile == nil { readFile = os.ReadFile } content, err := readFile(filename) if err != nil { return nil, nil, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 3.9K bytes - Viewed (0)