- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for writeInt8 (0.2 sec)
-
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/OrdinalNodeCodec.kt
class OrdinalNodeCodec( private val ordinalGroups: OrdinalGroupFactory ) : Codec<OrdinalNode> { override suspend fun WriteContext.encode(value: OrdinalNode) { writeEnum(value.type) writeInt(value.ordinalGroup.ordinal) } override suspend fun ReadContext.decode(): OrdinalNode { val ordinalType = readEnum<OrdinalNode.Type>() val ordinal = readInt()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/RegexpPatternCodec.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 25 20:43:52 UTC 2024 - 1.1K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/PayloadSerializerObjectOutputStream.java
Class<?> targetClass = desc.forClass(); writeClass(targetClass); } @Override protected void annotateProxyClass(Class<?> cl) throws IOException { writeInt(cl.getInterfaces().length); for (Class<?> type : cl.getInterfaces()) { writeClass(type); } } private void writeClass(Class<?> targetClass) throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 00:13:09 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/kryo/KryoBackedDecoderTest.groovy
} InputStream encoded(String text) { def stream = new ByteArrayOutputStream() def encoder = new KryoBackedEncoder(stream) encoder.writeString(text) encoder.writeInt(12) encoder.flush() return new ByteArrayInputStream(stream.toByteArray()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/AbstractCollectionSerializer.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.1K 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) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/AbstractEncoder.java
throw new UnsupportedOperationException(); } @Override public void writeSmallInt(int value) throws IOException { writeInt(value); } @Override public void writeSmallLong(long value) throws IOException { writeLong(value); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.8K bytes - Viewed (0) -
src/index/suffixarray/suffixarray.go
ix.sa.int32 = make([]int32, len(data)) text_32(data, ix.sa.int32) } else { ix.sa.int64 = make([]int64, len(data)) text_64(data, ix.sa.int64) } return ix } // writeInt writes an int x to w using buf to buffer the write. func writeInt(w io.Writer, buf []byte, x int) error { binary.PutVarint(buf, int64(x)) _, err := w.Write(buf[0:binary.MaxVarintLen64]) return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9.5K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Encoder.java
void writeSmallLong(long value) throws IOException; /** * Writes a signed 32 bit int value. The implementation may encode the value as a variable number of bytes, not necessarily as 4 bytes. */ void writeInt(int value) throws IOException; /** * Writes a signed 32 bit int value whose value is likely to be small and positive but may not be. The implementation may encode the value in a way that
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/IsolatedCodecs.kt
return StringValueSnapshot(value) } } object IntegerValueSnapshotCodec : Codec<IntegerValueSnapshot> { override suspend fun WriteContext.encode(value: IntegerValueSnapshot) { writeInt(value.value) } override suspend fun ReadContext.decode(): IntegerValueSnapshot { val value = readInt() return IntegerValueSnapshot(value) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 7.3K bytes - Viewed (0)