- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for readbyte (0.14 sec)
-
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/ObjectInputStreamAdapter.kt
override fun read(): Int = inputStream.read() override fun readChar(): Char = readContext.readInt().toChar() override fun readUnsignedByte(): Int = readByte().let { require(it >= 0) it.toInt() } override fun readByte(): Byte = readContext.readByte() override fun readUnsignedShort(): Int = readShort().let { require(it >= 0) it.toInt() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/InputStreamBackedDecoder.java
public String readString() throws EOFException, IOException { return inputStream.readUTF(); } @Override public byte readByte() throws IOException { return (byte) (inputStream.readByte() & 0xff); } @Override public void readBytes(byte[] buffer, int offset, int count) throws IOException { inputStream.readFully(buffer, offset, count); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/HashCodeSerializer.java
@Immutable public class HashCodeSerializer extends AbstractSerializer<HashCode> { @Override public HashCode read(Decoder decoder) throws IOException { byte hashSize = decoder.readByte(); byte[] hash = new byte[hashSize]; decoder.readBytes(hash); return HashCode.fromBytes(hash); } @Override public void write(Encoder encoder, HashCode value) throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 12:33:49 UTC 2024 - 1.3K bytes - Viewed (0) -
src/internal/trace/raw/reader.go
func (r *Reader) Version() version.Version { return r.v } // ReadEvent reads and returns the next trace event in the byte stream. func (r *Reader) ReadEvent() (Event, error) { evb, err := r.r.ReadByte() if err == io.EOF { return Event{}, io.EOF } if err != nil { return Event{}, err } if int(evb) >= len(r.specs) || evb == 0 { return Event{}, fmt.Errorf("invalid event type: %d", evb) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedDecoder.java
} @Override public byte readByte() throws EOFException { try { return input.readByte(); } catch (KryoException e) { throw maybeEndOfStream(e); } } @Override public void readBytes(byte[] buffer, int offset, int count) throws EOFException { try { input.readBytes(buffer, offset, count); } catch (KryoException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/StringDeduplicatingKryoBackedDecoder.java
} @Override public byte readByte() throws EOFException { try { return input.readByte(); } catch (KryoException e) { throw maybeEndOfStream(e); } } @Override public void readBytes(byte[] buffer, int offset, int count) throws EOFException { try { input.readBytes(buffer, offset, count); } catch (KryoException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 6.2K bytes - Viewed (0) -
src/internal/trace/batch.go
} // readBatch reads the next full batch from r. func readBatch(r interface { io.Reader io.ByteReader }) (batch, uint64, error) { // Read batch header byte. b, err := r.ReadByte() if err != nil { return batch{}, 0, err } if typ := event.Type(b); typ != go122.EvEventBatch && typ != go122.EvExperimentalBatch { return batch{}, 0, fmt.Errorf("expected batch event, got %s", go122.EventString(typ))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/LockInfoAccess.java
lockFileAccess.seek(infoRegionPos); DataInputStream inputStream = new DataInputStream(new BufferedInputStream(new RandomAccessFileInputStream(lockFileAccess))); byte protocolVersion = inputStream.readByte(); if (protocolVersion != lockInfoSerializer.getVersion()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonStopEvent.java
long timestamp = decoder.readLong(); long pid = decoder.readLong(); DaemonExpirationStatus status = decoder.readBoolean() ? DaemonExpirationStatus.values()[decoder.readByte()] : null; String reason = decoder.readNullableString(); return new DaemonStopEvent(new Date(timestamp), pid, status, reason); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/HierarchicalNameSerializer.java
namesById.put(id, name); } return name; } private String readFirstOccurrenceOfName(Decoder decoder) throws IOException { byte separator = decoder.readByte(); if (separator == 0) { return decoder.readString(); } else { String parent = readName(decoder); String child = readName(decoder);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 3.6K bytes - Viewed (0)