- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 116 for writeInt8 (0.2 sec)
-
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/btree/KeyHasherTest.groovy
} static class InefficientSerializer implements Serializer<Long> { @Override void write(Encoder encoder, Long value) throws Exception { value.times { int n -> encoder.writeInt(n) } } @Override Long read(Decoder decoder) throws EOFException, Exception { throw new UnsupportedOperationException() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/MultiChoiceAddressSerializer.java
UUID canonicalAddress = address.getCanonicalAddress(); encoder.writeLong(canonicalAddress.getMostSignificantBits()); encoder.writeLong(canonicalAddress.getLeastSignificantBits()); encoder.writeInt(address.getPort()); encoder.writeSmallInt(address.getCandidates().size()); for (InetAddress inetAddress : address.getCandidates()) { encoder.writeBinary(inetAddress.getAddress()); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonRegistryContent.java
} } private void writeStopEvents(Encoder encoder, DaemonRegistryContent registry) throws Exception { List<DaemonStopEvent> stopEvents = registry.stopEvents; encoder.writeInt(stopEvents.size()); for (DaemonStopEvent stopEvent : stopEvents) { DaemonStopEvent.SERIALIZER.write(encoder, stopEvent); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 8.1K bytes - Viewed (0) -
platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/VisitableURLClassLoaderSpecSerializer.java
encoder.writeByte(MIXIN_CLASSLOADER_SPEC); } else { encoder.writeByte(VISITABLE_URL_CLASSLOADER_SPEC); } encoder.writeString(spec.getName()); encoder.writeInt(spec.getClasspath().size()); for (URL url : spec.getClasspath()) { encoder.writeString(url.toString()); } } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/MapSerializer.java
valueMap.put(key, value); } return valueMap; } @Override public void write(Encoder encoder, Map<U, V> value) throws Exception { encoder.writeInt(value.size()); for (Map.Entry<U, V> entry : value.entrySet()) { keySerializer.write(encoder, entry.getKey()); valueSerializer.write(encoder, entry.getValue()); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.2K bytes - Viewed (0) -
cmd/local-locker_gen.go
err = en.Append(0x83, 0xa5, 0x54, 0x6f, 0x74, 0x61, 0x6c) if err != nil { return } err = en.WriteInt(z.Total) if err != nil { err = msgp.WrapError(err, "Total") return } // write "Writes" err = en.Append(0xa6, 0x57, 0x72, 0x69, 0x74, 0x65, 0x73) if err != nil { return } err = en.WriteInt(z.Writes) if err != nil { err = msgp.WrapError(err, "Writes") return } // write "Reads"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 13.8K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteArrayDataOutput.java
@Override void writeBoolean(boolean v); @Override void writeByte(int v); @Override void writeShort(int v); @Override void writeChar(int v); @Override void writeInt(int v); @Override void writeLong(long v); @Override void writeFloat(float v); @Override void writeDouble(double v); @Override void writeChars(String s); @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteArrayDataOutput.java
@Override void writeBoolean(boolean v); @Override void writeByte(int v); @Override void writeShort(int v); @Override void writeChar(int v); @Override void writeInt(int v); @Override void writeLong(long v); @Override void writeFloat(float v); @Override void writeDouble(double v); @Override void writeChars(String s); @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/MessageInflater.kt
fun inflate(buffer: Buffer) { require(deflatedBytes.size == 0L) if (noContextTakeover) { inflater.reset() } deflatedBytes.writeAll(buffer) deflatedBytes.writeInt(OCTETS_TO_ADD_BEFORE_INFLATION) val totalBytesToRead = inflater.bytesRead + deflatedBytes.size // We cannot read all, as the source does not close.
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt
fun allocate(count: Int): List<InetAddress> { val from = nextAddress nextAddress += count return (from until nextAddress) .map { return@map InetAddress.getByAddress( Buffer().writeInt(it.toInt()).readByteArray(), ) } } /** Allocates and returns `count` fake IPv6 addresses like [::ff00:64, ::ff00:65]. */ fun allocateIpv6(count: Int): List<InetAddress> {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.6K bytes - Viewed (0)