- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 84 for readType (0.26 sec)
-
src/debug/dwarf/type.go
} for _, t := range tf.arraytypes { zeroArray(t) } } // readType reads a type from r at off of name. It adds types to the // type cache, appends new typedef types to typedefs, and computes the // sizes of types. Callers should pass nil for typedefs; this is used // for internal recursion. func (d *Data) readType(name string, r typeReader, off Offset, typeCache map[Offset]Type, fixups *typeFixer) (Type, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 21.9K bytes - Viewed (0) -
src/go/doc/reader.go
fields = t.Fields isStruct = true case *ast.InterfaceType: fields = t.Methods } if fields != nil { list = fields.List } return } // readType processes a type declaration. func (r *reader) readType(decl *ast.GenDecl, spec *ast.TypeSpec) { typ := r.lookupType(spec.Name.Name) if typ == nil { return // no name or blank name - ignore the type }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 27.5K bytes - Viewed (0) -
src/cmd/go/internal/modindex/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: Thu Feb 23 10:10:21 UTC 2023 - 13K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/AbstractCodecTest.groovy
assert buffer == [Byte.MIN_VALUE, Byte.MAX_VALUE] as byte[] assert decoder.readByte() == -1 as byte decoder.readBytes(buffer, 0, 2) assert buffer[0] == 1 assert buffer[1] == 2 assert decoder.readByte() == 3 assert decoder.readByte() == 4 assert decoder.readByte() == 0xc3 as byte } } def "can encode and decode many bytes"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 14.9K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
} var lengthBits = source.readByte().toLong() and 0xff if (lengthBits == 0L || lengthBytes == 1 && lengthBits and 0b1000_0000 == 0L) { throw ProtocolException("invalid encoding for length") } for (i in 1 until lengthBytes) { lengthBits = lengthBits shl 8 lengthBits += source.readByte().toInt() and 0xff }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.5K bytes - Viewed (0) -
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) -
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) -
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) -
src/internal/trace/generation.go
} r := bytes.NewReader(b.data) hdr, err := r.ReadByte() // Consume the EvStrings byte. if err != nil || event.Type(hdr) != go122.EvStrings { return fmt.Errorf("missing strings batch header") } var sb strings.Builder for r.Len() != 0 { // Read the header. ev, err := r.ReadByte() if err != nil { return err } if event.Type(ev) != go122.EvString {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 22:14:45 UTC 2024 - 12.1K bytes - Viewed (0)