- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 3,239 for Write (0.11 sec)
-
testing/integ-test/src/integTest/groovy/org/gradle/integtests/ProjectLoadingIntegrationTest.java
testFile("settings.gradle").write(" \n "); testFile("build.gradle").write(" "); inTestDirectory().withTasks("help").run(); } @Test public void canDetermineRootProjectAndDefaultProjectBasedOnCurrentDirectory() { File rootDir = getTestDirectory(); File childDir = new File(rootDir, "child"); testFile("settings.gradle").write("include('child')");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 18K bytes - Viewed (0) -
platforms/core-runtime/io/src/test/groovy/org/gradle/internal/io/StreamByteBufferTest.groovy
given: def streamBuf = new StreamByteBuffer(32000) def output = streamBuf.getOutputStream() when: output.write(1) output.write(2) output.write(3) output.write(255) output.close() then: def input = streamBuf.getInputStream() input.read() == 1 input.read() == 2 input.read() == 3
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 13:06:08 UTC 2024 - 13.3K bytes - Viewed (0) -
pkg/util/hash/hash.go
func (i *instance) Write(p []byte) (n int) { n, _ = i.hash.Write(p) return } // Write wraps the Hash.Write function call // Hash.Write error always return nil, this func simplify caller handle error func (i *instance) WriteString(s string) (n int) { n, _ = i.hash.WriteString(s) return } func (i *instance) Sum64() uint64 { return i.hash.Sum64() } func (i *instance) Sum() string { sum := i.hash.Sum(nil)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Dec 21 20:24:14 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/util/PropertiesUtilsTest.groovy
expect: write([:]) == "" } def "empty properties with comment are written properly"() { expect: write([:], "Line comment") == normalize(""" #Line comment """) } def "simple properties are written sorted alphabetically"() { expect: write([one: "1", two: "2", three: "three"], "Line comment") == normalize("""
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/outputorigin/IncrementalBuildOutputOriginIntegrationTest.groovy
firstBuildCacheKey != null originBuildInvocationId(":write") == null when: succeeds "write" then: executed ":write" def secondBuildId = buildInvocationId firstBuildId != secondBuildId with(origin(":write")) { buildInvocationId == firstBuildId buildCacheKey == firstBuildCacheKey } when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 08:27:17 UTC 2024 - 6.1K bytes - Viewed (0) -
maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java
} } @Override public void write(File output, Map<String, Object> options, org.apache.maven.model.Model model) throws IOException { write(output, options, model.getDelegate()); } @Override public void write(Writer output, Map<String, Object> options, org.apache.maven.model.Model model) throws IOException { write(output, options, model.getDelegate()); } @Override
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Feb 28 07:40:37 UTC 2024 - 3.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache2/FileOperatorTest.kt
) val bufferA = Buffer() val bufferB = Buffer() bufferA.writeUtf8("Dodgson!\n") operatorA.write(0, bufferA, 9) bufferB.writeUtf8("You shouldn't use my name.\n") operatorB.write(9, bufferB, 27) bufferA.writeUtf8("Dodgson, we've got Dodgson here!\n") operatorA.write(36, bufferA, 33) operatorB.read(0, bufferB, 9) assertThat(bufferB.readUtf8()).isEqualTo("Dodgson!\n")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.8K bytes - Viewed (0) -
src/io/pipe.go
// except when multiple Reads are needed to consume a single Write. // That is, each Write to the [PipeWriter] blocks until it has satisfied // one or more Reads from the [PipeReader] that fully consume // the written data. // The data is copied directly from the Write to the corresponding // Read (or Reads); there is no internal buffering. // // It is safe to call Read and Write in parallel with each other or with Close.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:34:35 UTC 2023 - 5.1K bytes - Viewed (0) -
src/encoding/pem/pem.go
if err != nil { return } return l.Write(b[excess:]) } func (l *lineBreaker) Close() (err error) { if l.used > 0 { _, err = l.out.Write(l.line[0:l.used]) if err != nil { return } _, err = l.out.Write(nl) } return } func writeHeader(out io.Writer, k, v string) error { _, err := out.Write([]byte(k + ": " + v + "\n")) return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 7.6K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/GroupsJavadocOptionFileOptionTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 1.9K bytes - Viewed (0)