- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 100 for readbyte (0.31 sec)
-
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) -
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) -
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) -
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) -
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) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt
{ getInputStream(jarEntry).use { jarInput -> jarInput.readBytes() } } } } } private fun directoryClassBytesIndexFor(dir: File): ClassBytesIndex = { classFilePath -> dir.resolve(classFilePath).takeIf { it.isFile }?.let { classFile -> { classFile.readBytes() } } } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 17:45:10 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MethodInvocationSerializer.java
if (methodDetails == null) { Class<?> declaringClass = readType(); String methodName = decoder.readString(); int paramCount = decoder.readSmallInt(); Class<?>[] paramTypes = new Class<?>[paramCount]; for (int i = 0; i < paramTypes.length; i++) { paramTypes[i] = readType(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 6.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/zipUtils.kt
classEntryFor(clazz.java) fun classEntryFor(clazz: Class<*>): Pair<String, ByteArray> { val classFilePath = clazz.name.replace('.', '/') + ".class" return classFilePath to clazz.getResource("/$classFilePath").readBytes()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 648 bytes - Viewed (0)