- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 57 for writeAt (0.12 sec)
-
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
// create a null output stream OutputStream nos = ByteStreams.nullOutputStream(); // write to the output stream nos.write('n'); String test = "Test string for NullOutputStream"; byte[] bytes = test.getBytes(Charsets.US_ASCII); nos.write(bytes); nos.write(bytes, 2, 10); nos.write(bytes, bytes.length - 5, 5); // nothing really to assert?
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 21.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt
// Use a new Writer because we don't support change the dynamic table // size after Writer constructed. val writer = Hpack.Writer(110, false, bytesOut) writer.writeHeaders(headerBlock) assertThat(bytesOut).isEqualTo(bytesIn) assertThat(writer.headerCount).isEqualTo(2) val tableLength = writer.dynamicTable.size var entry = writer.dynamicTable[tableLength - 1]!!
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 38.2K bytes - Viewed (0) -
src/cmd/go/internal/cache/prog.go
nextID int64 inFlight map[int64]chan<- *ProgResponse outputFile map[OutputID]string // object => abs path on disk // writeMu serializes writing to the child process. // It must never be held at the same time as mu. writeMu sync.Mutex } // ProgCmd is a command that can be issued to a child process. // // If the interface needs to grow, we can add new commands or new versioned
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 14 19:23:25 UTC 2023 - 11.8K bytes - Viewed (0) -
src/cmd/link/elf_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 16:34:01 UTC 2023 - 13.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/SnapshotSerializer.java
write(encoder, valueSnapshot); } } else if (snapshot instanceof ImplementationSnapshot) { ImplementationSnapshot implementationSnapshot = (ImplementationSnapshot) snapshot; encoder.writeSmallInt(IMPLEMENTATION_SNAPSHOT); implementationSnapshotSerializer.write(encoder, implementationSnapshot);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 20:22:01 UTC 2024 - 14.1K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStore.java
public void writeAllOutput(long classId, TestOutputEvent.Destination destination, java.io.Writer writer) { doRead(classId, 0, true, destination, writer); } public void writeNonTestOutput(long classId, TestOutputEvent.Destination destination, java.io.Writer writer) { doRead(classId, 0, false, destination, writer); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 14.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleMetadataSerializer.java
} public void write(Encoder encoder, ModuleComponentResolveMetadata metadata, Map<ExternalDependencyDescriptor, Integer> deduplicationDependencyCache) throws IOException { new Writer(encoder, attributeContainerSerializer, componentSelectorSerializer, moduleSourcesSerializer).write(metadata, deduplicationDependencyCache); } private static class Writer { private final Encoder encoder;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 04:22:29 UTC 2023 - 37.1K bytes - Viewed (0) -
cmd/xl-storage-format-v1_gen.go
func (z *ChecksumInfo) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 3 // write "PartNumber" err = en.Append(0x83, 0xaa, 0x50, 0x61, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72) if err != nil { return } err = en.WriteInt(z.PartNumber) if err != nil { err = msgp.WrapError(err, "PartNumber") return } // write "Algorithm"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 40.2K bytes - Viewed (0) -
src/encoding/binary/binary_test.go
buf := new(bytes.Buffer) var w io.Writer = buf b.SetBytes(2 * (1 + 2 + 4 + 8)) b.ResetTimer() for i := 0; i < b.N; i++ { buf.Reset() Write(w, BigEndian, s.Int8) Write(w, BigEndian, s.Int16) Write(w, BigEndian, s.Int32) Write(w, BigEndian, s.Int64) Write(w, BigEndian, s.Uint8) Write(w, BigEndian, s.Uint16) Write(w, BigEndian, s.Uint32) Write(w, BigEndian, s.Uint64) } b.StopTimer()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:16:18 UTC 2024 - 25.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
}; } return (Set<Map.Entry<K, V>>) entrySet; } @Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeInt(listTable.length); out.writeInt(size); for (int i = 0; i < size; i++) { out.writeObject(listTable[i].key); out.writeObject(listTable[i].value); } }
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 20.6K bytes - Viewed (0)