- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 100 for readbyte (0.32 sec)
-
platforms/native/language-native/src/main/java/org/gradle/language/swift/tasks/internal/SymbolHider.java
} public int readByte() { return Byte.toUnsignedInt(dataBytes[position++]); } public int readWord() { return readByte() | readByte() << 8; } public int readDoubleWord() { return readByte() | readByte() << 8 | readByte() << 16 | readByte() << 24; } public byte[] readBytes(int count) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.1K bytes - Viewed (0) -
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-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/btree/ByteOutputTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 2.5K bytes - Viewed (0) -
src/cmd/go/internal/imports/read.go
func (r *importReader) syntaxError() { if r.err == nil { r.err = errSyntax } } // readByte reads the next byte from the input, saves it in buf, and returns it. // If an error occurs, readByte records the error in r.err and returns 0. func (r *importReader) readByte() byte { c, err := r.b.ReadByte() if err == nil { r.buf = append(r.buf, c) if c == 0 { err = errNUL } } if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 15 18:42:11 UTC 2021 - 6.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SocksProxy.kt
// Read the command. val version = fromSource.readByte() and 0xff if (version != VERSION_5) throw ProtocolException("unexpected version: $version") val command = fromSource.readByte() and 0xff val reserved = fromSource.readByte() and 0xff if (reserved != 0) throw ProtocolException("unexpected reserved: $reserved") val addressType = fromSource.readByte() and 0xff val toAddress =
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 7.7K bytes - Viewed (0) -
src/cmd/dist/imports.go
func (r *importReader) syntaxError() { if r.err == nil { r.err = errSyntax } } // readByte reads the next byte from the input, saves it in buf, and returns it. // If an error occurs, readByte records the error in r.err and returns 0. func (r *importReader) readByte() byte { c, err := r.b.ReadByte() if err == nil { r.buf = append(r.buf, c) if c == 0 { err = errNUL } } if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 28 21:45:30 UTC 2019 - 6.3K bytes - Viewed (0) -
src/strings/reader.go
if n < len(b) { err = io.EOF } return } // ReadByte implements the [io.ByteReader] interface. func (r *Reader) ReadByte() (byte, error) { r.prevRune = -1 if r.i >= int64(len(r.s)) { return 0, io.EOF } b := r.s[r.i] r.i++ return b, nil } // UnreadByte implements the [io.ByteScanner] interface. func (r *Reader) UnreadByte() error { if r.i <= 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:10:31 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerWithCrossVersionProtocolTest.groovy
lockFile.withDataInputStream { str -> // state version + dirty flag assert str.readByte() == 1 assert str.readBoolean() != dirty // info version + port, lock-id, pid, operation-name assert str.readByte() == 3 assert str.readInt() == 34 assert str.readLong() == 678L assert str.readUTF() == processIdentifier
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 15:52:52 UTC 2024 - 2K bytes - Viewed (0) -
src/compress/bzip2/bit_reader.go
n = (br.n >> (br.bits - bits)) & ((1 << bits) - 1) br.bits -= bits return } func (br *bitReader) ReadBits(bits uint) (n int) { n64 := br.ReadBits64(bits) return int(n64) } func (br *bitReader) ReadBit() bool { n := br.ReadBits(1) return n != 0 } func (br *bitReader) Err() error { return br.err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 23:20:03 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/locklistener/FileLockPacketPayload.java
byte version = dataInput.readByte(); if (version != PROTOCOL_VERSION) { throw new IllegalArgumentException(String.format("Unexpected protocol version %s received in lock contention notification message", version)); } long lockId = dataInput.readLong(); FileLockPacketType type = readType(dataInput, length); return new FileLockPacketPayload(lockId, type);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 3.3K bytes - Viewed (0)