- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 226 for writelns (0.22 sec)
-
android/guava-tests/test/com/google/common/io/CharSinkTest.java
assertFalse(in.closed()); } public void testWriteLines_withSpecificSeparator() throws IOException { sink.writeLines(ImmutableList.of("foo", "bar", "baz"), "\n"); assertEquals("foo\nbar\nbaz\n", sink.getString()); } public void testWriteLines_withDefaultSeparator() throws IOException { sink.writeLines(ImmutableList.of("foo", "bar", "baz")); String separator = System.getProperty("line.separator");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 4K bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/process/internal/worker/child/BootstrapSecurityManagerTest.groovy
given: def incompleteStream = new ByteArrayOutputStream() def dataOut = new DataOutputStream(new EncodedStream.EncodedOutput(incompleteStream)) dataOut.writeInt(1) // expect one classpath entry dataOut.write(1234) // but the entry is not a complete UTF-8 encoded String System.in = new ByteArrayInputStream(incompleteStream.toByteArray()) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 4.1K bytes - Viewed (0) -
src/runtime/rwmutex.go
rLock mutex // protects readers, readerPass, writer readers muintptr // list of pending readers readerPass uint32 // number of pending readers to skip readers list wLock mutex // serializes writers writer muintptr // pending writer waiting for completing readers readerCount atomic.Int32 // number of pending readers readerWait atomic.Int32 // number of departing readers
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:29:04 UTC 2024 - 5K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/FreeListBlockStore.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:32 UTC 2024 - 8.7K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/AnsiExecutor.java
*/ package org.gradle.internal.logging.console; import org.gradle.api.Action; public interface AnsiExecutor { void write(Action<? super AnsiContext> action); void writeAt(Cursor writePos, Action<? super AnsiContext> action);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 851 bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/CachingFileHasher.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 10 13:47:15 UTC 2023 - 5.3K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/serializer/TextQuestionPromptEventSerializer.java
public class TextQuestionPromptEventSerializer implements Serializer<TextQuestionPromptEvent> { @Override public void write(Encoder encoder, TextQuestionPromptEvent value) throws Exception { encoder.writeLong(value.getTimestamp()); encoder.writeString(value.getQuestion()); encoder.writeString(value.getDefaultValue()); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 30 05:02:18 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/serializer/YesNoQuestionPromptEventSerializer.java
public class YesNoQuestionPromptEventSerializer implements Serializer<YesNoQuestionPromptEvent> { @Override public void write(Encoder encoder, YesNoQuestionPromptEvent value) throws Exception { encoder.writeLong(value.getTimestamp()); encoder.writeString(value.getQuestion()); } @Override public YesNoQuestionPromptEvent read(Decoder decoder) throws Exception {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 30 05:02:18 UTC 2024 - 1.3K bytes - Viewed (0) -
src/net/http/cgi/integration_test.go
} req, _ := http.NewRequest("GET", "http://example.com/test.go?write-forever=1", nil) rec := httptest.NewRecorder() var out bytes.Buffer const writeLen = 50 << 10 rw := &customWriterRecorder{&limitWriter{&out, writeLen}, rec} h.ServeHTTP(rw, req) if out.Len() != writeLen || out.Bytes()[0] != 'a' { t.Errorf("unexpected output: %q", out.Bytes()) } } // Test that a child handler writing only headers works.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 18:42:44 UTC 2023 - 5.5K bytes - Viewed (0) -
platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/DurationCodec.kt
override suspend fun WriteContext.encode(value: Duration) { // Do not use the ISO-8601 format for serialization // to work around https://bugs.openjdk.java.net/browse/JDK-8054978 // on Java 8 writeLong(value.seconds) writeSmallInt(value.nano) } override suspend fun ReadContext.decode(): Duration = Duration.ofSeconds(readLong(), readSmallInt().toLong())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 25 20:43:52 UTC 2024 - 1.3K bytes - Viewed (0)