- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 720 for readFiles (0.15 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) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/AbstractRealisedModuleResolveMetadataSerializationHelper.java
return new GradleDependencyMetadata(selector, excludes, constraint, endorsing, reason, force, artifact); } protected ImmutableList<? extends ModuleComponentArtifactMetadata> readFiles(Decoder decoder, ModuleComponentIdentifier componentIdentifier) throws IOException { ImmutableList.Builder<ModuleComponentArtifactMetadata> artifacts = new ImmutableList.Builder<>();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 04:22:29 UTC 2023 - 15.8K bytes - Viewed (0) -
src/io/fs/readfile.go
package fs import "io" // ReadFileFS is the interface implemented by a file system // that provides an optimized implementation of [ReadFile]. type ReadFileFS interface { FS // ReadFile reads the named file and returns its contents. // A successful call returns a nil error, not io.EOF. // (Because ReadFile reads the whole file, the expected EOF
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 11 20:25:50 UTC 2023 - 1.8K 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/io/fs/readfile_test.go
var sysValue int type readFileOnly struct{ ReadFileFS } func (readFileOnly) Open(name string) (File, error) { return nil, ErrNotExist } type openOnly struct{ FS } func TestReadFile(t *testing.T) { // Test that ReadFile uses the method when present. data, err := ReadFile(readFileOnly{testFsys}, "hello.txt") if string(data) != "hello, world" || err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 27 16:25:41 UTC 2023 - 1.8K 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/cmd/vendor/golang.org/x/mod/sumdb/client.go
// The separate type avoids exposing the ReadTiles and SaveTiles // methods on Client itself. type tileReader struct { c *Client } func (r *tileReader) Height() int { return r.c.tileHeight } // ReadTiles reads and returns the requested tiles, // either from the on-disk cache or the server. func (r *tileReader) ReadTiles(tiles []tlog.Tile) ([][]byte, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 17:50:49 UTC 2024 - 19.1K 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)