- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 76 for readbyte (0.11 sec)
-
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonRegistryContent.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 8.1K bytes - Viewed (0) -
src/encoding/binary/varint.go
// ReadUvarint returns [io.ErrUnexpectedEOF]. func ReadUvarint(r io.ByteReader) (uint64, error) { var x uint64 var s uint for i := 0; i < MaxVarintLen64; i++ { b, err := r.ReadByte() if err != nil { if i > 0 && err == io.EOF { err = io.ErrUnexpectedEOF } return x, err } if b < 0x80 { if i == MaxVarintLen64-1 && b > 1 { return x, errOverflow }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 4.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt
byteCount: Long, sink: BufferedSink, ) { var node = root var accumulator = 0 var accumulatorBitCount = 0 for (i in 0 until byteCount) { val byteIn = source.readByte() and 0xff accumulator = accumulator shl 8 or byteIn accumulatorBitCount += 8 while (accumulatorBitCount >= 8) { val childIndex = (accumulator ushr (accumulatorBitCount - 8)) and 0xff
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.3K bytes - Viewed (0) -
src/go/internal/gcimporter/gcimporter.go
} switch hdr { case "$$\n": err = fmt.Errorf("import %q: old textual export format no longer supported (recompile library)", path) case "$$B\n": var exportFormat byte if exportFormat, err = buf.ReadByte(); err != nil { return } size-- // The unified export format starts with a 'u'; the indexed export // format starts with an 'i'; and the older binary export format
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 6.4K bytes - Viewed (0) -
src/math/big/floatconv.go
f = z.SetInf(s[0] == '-') return } r := strings.NewReader(s) if f, b, err = z.scan(r, base); err != nil { return } // entire string must have been consumed if ch, err2 := r.ReadByte(); err2 == nil { err = fmt.Errorf("expected end of string, found %q", ch) } else if err2 != io.EOF { err = err2 } return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 8.3K bytes - Viewed (0) -
src/compress/gzip/gunzip.go
func (z *Reader) readString() (string, error) { var err error needConv := false for i := 0; ; i++ { if i >= len(z.buf) { return "", ErrHeader } z.buf[i], err = z.r.ReadByte() if err != nil { return "", err } if z.buf[i] > 0x7f { needConv = true } if z.buf[i] == 0 { // Digest covers the NUL terminator.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 23:20:03 UTC 2023 - 8.5K bytes - Viewed (0) -
cmd/metrics-v3-system-process.go
} } func loadProcIOMetrics(ctx context.Context, io procfs.ProcIO, m MetricValues) { if io.RChar > 0 { m.Set(processIORCharBytes, float64(io.RChar)) } if io.ReadBytes > 0 { m.Set(processIOReadBytes, float64(io.ReadBytes)) } if io.WChar > 0 { m.Set(processIOWCharBytes, float64(io.WChar)) } if io.WriteBytes > 0 { m.Set(processIOWriteBytes, float64(io.WriteBytes)) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 26 16:07:23 UTC 2024 - 6.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTester.java
try { byte[] readBytes = ByteStreams.toByteArray(in); assertExpectedBytes(readBytes); } finally { in.close(); } } public void testOpenBufferedStream() throws IOException { InputStream in = source.openBufferedStream(); try { byte[] readBytes = ByteStreams.toByteArray(in); assertExpectedBytes(readBytes); } finally { in.close();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 8.6K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/AbstractDecoder.java
} return stream; } @Override public void readBytes(byte[] buffer) throws IOException { readBytes(buffer, 0, buffer.length); } @Override public byte[] readBinary() throws EOFException, IOException { int size = readSmallInt(); byte[] result = new byte[size]; readBytes(result); return result; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 3.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.io; import static org.codelibs.core.io.FileUtil.readBytes; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import java.io.File; import java.net.URL; import org.codelibs.core.net.URLUtil; import org.junit.Test; /**
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0)