- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 195 for readType (0.4 sec)
-
src/go/build/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: Wed May 29 16:25:21 UTC 2024 - 14.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.2K bytes - Viewed (0) -
src/strings/reader.go
} if off >= int64(len(r.s)) { return 0, io.EOF } n = copy(b, r.s[off:]) 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 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:10:31 UTC 2023 - 3.9K bytes - Viewed (0) -
src/image/gif/reader.go
) func readFull(r io.Reader, b []byte) error { _, err := io.ReadFull(r, b) if err == io.EOF { err = io.ErrUnexpectedEOF } return err } func readByte(r io.ByteReader) (byte, error) { b, err := r.ReadByte() if err == io.EOF { err = io.ErrUnexpectedEOF } return b, err } // decoder is the type used to decode a GIF file. type decoder struct { r reader // From header.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:15:54 UTC 2024 - 17.5K bytes - Viewed (0) -
src/cmd/link/internal/riscv64/obj.go
} func archinit(ctxt *ld.Link) { switch ctxt.HeadType { case objabi.Hlinux, objabi.Hfreebsd, objabi.Hopenbsd: ld.Elfinit(ctxt) ld.HEADR = ld.ELFRESERVE if *ld.FlagRound == -1 { *ld.FlagRound = 0x10000 } if *ld.FlagTextAddr == -1 { *ld.FlagTextAddr = ld.Rnd(0x10000, *ld.FlagRound) + int64(ld.HEADR) } default: ld.Exitf("unknown -H option: %v", ctxt.HeadType) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 03 17:46:04 UTC 2023 - 1.6K bytes - Viewed (0) -
tensorflow/cc/framework/ops.h
// START_SKIP_DOXYGEN template <typename T, bool = std::is_convertible<T, std::string>::value> struct RealType { typedef tstring type; }; template <typename T> struct RealType<T, false> { typedef T type; }; // END_SKIP_DOXYGEN TensorProto AsTensorProto() { TensorProto tensor_proto;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 10.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt
@Test fun sourceSeesBom() { val body = "efbbbf68656c6c6f".decodeHex().toResponseBody() val source = body.source() assertThat(source.readByte() and 0xff).isEqualTo(0xef) assertThat(source.readByte() and 0xff).isEqualTo(0xbb) assertThat(source.readByte() and 0xff).isEqualTo(0xbf) assertThat(source.readUtf8()).isEqualTo("hello") } @Test fun bytesEmpty() { val body = body("")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 13K bytes - Viewed (0) -
platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/HierarchicalClassLoaderStructureSerializer.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 3.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf.go
ph := newElfPhdr() ph.Type = elf.PT_INTERP ph.Flags = elf.PF_R phsh(ph, sh) } if ctxt.HeadType == objabi.Hnetbsd || ctxt.HeadType == objabi.Hopenbsd || ctxt.HeadType == objabi.Hfreebsd { var sh *ElfShdr switch ctxt.HeadType { case objabi.Hnetbsd: sh = elfshname(".note.netbsd.ident") resoff -= int64(elfnetbsdsig(sh, uint64(startva), uint64(resoff)))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/InputStreamBackedDecoder.java
} @Override 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); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.6K bytes - Viewed (0)