- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 92 for readNBytes (0.22 sec)
-
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/ObjectInputStreamAdapter.kt
// TODO:configuration-cache override Java 11 API for compatibility with Java 11 // override fun readNBytes(len: Int): ByteArray = inputStream.readNBytes(len) override fun readNBytes(b: ByteArray, off: Int, len: Int): Int = inputStream.readNBytes(b, off, len) override fun skip(n: Long): Long = inputStream.skip(n)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 4.4K bytes - Viewed (0) -
tensorflow/compiler/jit/tests/auto_clustering_test_helper.cc
/*output_buffer_bytes=*/k_buffer_size, io::ZlibCompressionOptions::GZIP()); tstring decompressed_pbtxt_string; Status s = in.ReadNBytes(INT_MAX, &decompressed_pbtxt_string); if (!s.ok() && !errors::IsOutOfRange(s)) { // OutOfRange is fine since we set the number of read bytes to INT_MAX. // Only return other kinds of errors. return s; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 12:11:46 UTC 2024 - 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) -
platforms/core-runtime/io/src/main/java/org/gradle/internal/io/StreamByteBuffer.java
while (bytesLeft > 0 && bytesUnread != -1) { int readBytes = Math.min(bytesUnread, bytesLeft); currentReadChunk.read(b, currentOffset, readBytes); bytesLeft -= readBytes; currentOffset += readBytes; totalBytesRead += readBytes; bytesUnread = prepareRead(); } if (totalBytesRead > 0) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 08:51:14 UTC 2024 - 16.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/StringDeduplicatingDecoder.java
return delegate.readByte(); } @Override public void readBytes(byte[] buffer) throws EOFException, IOException { delegate.readBytes(buffer); } @Override public void readBytes(byte[] buffer, int offset, int count) throws EOFException, IOException { delegate.readBytes(buffer, offset, count); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 11:24:15 UTC 2024 - 3.9K 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) -
src/cmd/compile/internal/test/reproduciblebuilds_test.go
if err != nil { t.Fatalf("%v: %v:\n%s", cmd.Args, err, out) } } readBytes := func(fn string) []byte { payload, err := os.ReadFile(fn) if err != nil { t.Fatalf("failed to read executable '%s': %v", fn, err) } return payload } b1 := readBytes(scenarios[0].libpath) b2 := readBytes(scenarios[1].libpath) if !bytes.Equal(b1, b2) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 06 18:07:35 UTC 2023 - 2.8K 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) -
pkg/test/echo/server/forwarder/tcp.go
if cfg.Request.ServerFirst { readBytes, err := bufio.NewReader(conn).ReadBytes('\n') if err != nil { fwLog.Warnf("server first TCP read failed: %v", err) return "", err } if string(readBytes) != common.ServerFirstMagicString { return "", fmt.Errorf("did not receive magic string. Want %q, got %q", common.ServerFirstMagicString, string(readBytes)) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 20 19:13:32 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/AbstractCodecTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 14.9K bytes - Viewed (0)