Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 195 for readType (0.2 sec)

  1. src/main/java/jcifs/pac/PacDataInputStream.java

        }
    
    
        public char readChar () throws IOException {
            align(2);
            return this.dis.readChar();
        }
    
    
        public byte readByte () throws IOException {
            return this.dis.readByte();
        }
    
    
        public short readShort () throws IOException {
            align(2);
            return Short.reverseBytes(this.dis.readShort());
        }
    
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Jul 21 21:19:58 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/lib.go

    	// Also leave it enabled on Solaris which doesn't support
    	// statically linked binaries.
    	if ctxt.BuildMode == BuildModeExe {
    		if havedynamic == 0 && ctxt.HeadType != objabi.Hdarwin && ctxt.HeadType != objabi.Hsolaris {
    			*FlagD = true
    		}
    	}
    
    	if ctxt.LinkMode == LinkExternal && ctxt.Arch.Family == sys.PPC64 && buildcfg.GOOS != "aix" {
    		toc := ctxt.loader.LookupOrCreateSym(".TOC.", 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  3. src/cmd/internal/cov/mreader.go

    		r.off += int64(amt)
    		return amt, nil
    	}
    	return io.ReadFull(r.rdr, p)
    }
    
    func (r *MReader) ReadByte() (byte, error) {
    	if r.fileView != nil {
    		toread := r.fileView[r.off:]
    		if len(toread) < 1 {
    			return 0, io.EOF
    		}
    		rv := toread[0]
    		r.off++
    		return rv, nil
    	}
    	return r.rdr.ReadByte()
    }
    
    func (r *MReader) Seek(offset int64, whence int) (int64, error) {
    	if r.fileView == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:12:25 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. 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)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleMetadataCacheEntrySerializer.java

            }
        }
    
        @Override
        public ModuleMetadataCacheEntry read(Decoder decoder) throws Exception {
            byte type = decoder.readByte();
            switch (type) {
                case ModuleMetadataCacheEntry.TYPE_MISSING:
                    long createTimestamp = decoder.readLong();
                    return new MissingModuleCacheEntry(createTimestamp);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

        val length = source.readMedium()
        if (length > INITIAL_MAX_FRAME_SIZE) {
          throw IOException("FRAME_SIZE_ERROR: $length")
        }
        val type = source.readByte() and 0xff
        val flags = source.readByte() and 0xff
        val streamId = source.readInt() and 0x7fffffff // Ignore reserved bit.
        if (type != TYPE_WINDOW_UPDATE && logger.isLoggable(FINE)) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

        val sourceCodePoint1 =
          when (select(optionsDot)) {
            DELIMITER_DOT -> {
              if (readByte() != '.'.code.toByte()) throw IOException("expected '..'")
              readHexadecimalUnsignedLong()
            }
    
            else -> sourceCodePoint0
          }
    
        skipWhitespace()
        if (readByte() != ';'.code.toByte()) throw IOException("expected ';'")
    
        // "valid" or "mapped"
        skipWhitespace()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. src/bytes/buffer_test.go

    		buf.WriteByte(testString[1])
    		c, err := buf.ReadByte()
    		if want := testString[1]; err != nil || c != want {
    			t.Errorf("ReadByte: got (%q, %v), want (%q, %v)", c, err, want, nil)
    		}
    		c, err = buf.ReadByte()
    		if err != io.EOF {
    			t.Errorf("ReadByte: got (%q, %v), want (%q, %v)", c, err, byte(0), io.EOF)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:31:36 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

      fun writeObjectIdentifier(s: String) {
        val utf8 = Buffer().writeUtf8(s)
        val v1 = utf8.readDecimalLong()
        require(utf8.readByte() == '.'.code.toByte())
        val v2 = utf8.readDecimalLong()
        writeVariableLengthLong(v1 * 40 + v2)
    
        while (!utf8.exhausted()) {
          require(utf8.readByte() == '.'.code.toByte())
          val vN = utf8.readDecimalLong()
          writeVariableLengthLong(vN)
        }
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. cmd/streaming-signature-v4.go

    		cr.err = errMalformedEncoding
    		return n, cr.err
    	}
    	b, err := cr.reader.ReadByte()
    	if err == io.EOF {
    		err = io.ErrUnexpectedEOF
    	}
    	if err != nil {
    		cr.err = err
    		return n, cr.err
    	}
    	if b != '\r' {
    		cr.err = errMalformedEncoding
    		return n, cr.err
    	}
    	b, err = cr.reader.ReadByte()
    	if err == io.EOF {
    		err = io.ErrUnexpectedEOF
    	}
    	if err != nil {
    		cr.err = err
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top