Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 271 for readFiles (1.09 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIsolationIntegrationTest.groovy

                file("build/libs1/test-1.3.jar.txt").readLines() == ["1", "2", "3", "4", "5"]
                file("build/libs1/test2-2.3.jar.txt").readLines() == ["1", "2", "3", "4", "5"]
            } else {
                // Counter is isolated at execution time, so transforms will see the increment in each tasks' doLast { }
                file("build/libs2/test-1.3.jar.txt").readLines() == ["2", "3", "4", "5", "6"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  9. 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)
  10. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/AnnotationProcessorDetector.java

                    return Collections.emptyMap();
                }
                List<String> lines = readLines(incrementalProcessorDeclaration);
                return parseIncrementalProcessors(lines);
            }
    
            private List<String> readLines(File file) throws IOException {
                return Files.asCharSource(file, Charsets.UTF_8).readLines(new MetadataLineProcessor());
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.7K bytes
    - Viewed (0)
Back to top