Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 100 for readbyte (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt

          } else {
            encodedCharBuffer.writeString(input, i, i + Character.charCount(codePoint), charset)
          }
    
          while (!encodedCharBuffer.exhausted()) {
            val b = encodedCharBuffer.readByte().toInt() and 0xff
            writeByte('%'.code)
            writeByte(HEX_DIGITS[b shr 4 and 0xf].code)
            writeByte(HEX_DIGITS[b and 0xf].code)
          }
        } else {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdmethods/stdmethods.go

    	"MarshalJSON":   {[]string{}, []string{"[]byte", "error"}},                         // json.Marshaler
    	"MarshalXML":    {[]string{"*xml.Encoder", "xml.StartElement"}, []string{"error"}}, // xml.Marshaler
    	"ReadByte":      {[]string{}, []string{"byte", "error"}},                           // io.ByteReader
    	"ReadFrom":      {[]string{"=io.Reader"}, []string{"int64", "error"}},              // io.ReaderFrom
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonRegistryContent.java

                int infosSize = decoder.readInt();
                List<Address> out = new ArrayList<Address>();
                for (int i = 0; i < infosSize; i++) {
                    byte type = decoder.readByte();
                    switch (type) {
                        case 0:
                            out.add(SocketInetAddress.SERIALIZER.read(decoder));
                            break;
                        case 1:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  4. src/encoding/binary/varint.go

    // ReadUvarint returns [io.ErrUnexpectedEOF].
    func ReadUvarint(r io.ByteReader) (uint64, error) {
    	var x uint64
    	var s uint
    	for i := 0; i < MaxVarintLen64; i++ {
    		b, err := r.ReadByte()
    		if err != nil {
    			if i > 0 && err == io.EOF {
    				err = io.ErrUnexpectedEOF
    			}
    			return x, err
    		}
    		if b < 0x80 {
    			if i == MaxVarintLen64-1 && b > 1 {
    				return x, errOverflow
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt

        byteCount: Long,
        sink: BufferedSink,
      ) {
        var node = root
        var accumulator = 0
        var accumulatorBitCount = 0
        for (i in 0 until byteCount) {
          val byteIn = source.readByte() and 0xff
          accumulator = accumulator shl 8 or byteIn
          accumulatorBitCount += 8
          while (accumulatorBitCount >= 8) {
            val childIndex = (accumulator ushr (accumulatorBitCount - 8)) and 0xff
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/LittleEndianDataInputStream.java

      @Override
      public char readChar() throws IOException {
        return (char) readUnsignedShort();
      }
    
      @CanIgnoreReturnValue // to skip a byte
      @Override
      public byte readByte() throws IOException {
        return (byte) readUnsignedByte();
      }
    
      @CanIgnoreReturnValue // to skip a byte
      @Override
      public boolean readBoolean() throws IOException {
        return readUnsignedByte() != 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  7. src/go/internal/gcimporter/gcimporter.go

    	}
    
    	switch hdr {
    	case "$$\n":
    		err = fmt.Errorf("import %q: old textual export format no longer supported (recompile library)", path)
    
    	case "$$B\n":
    		var exportFormat byte
    		if exportFormat, err = buf.ReadByte(); err != nil {
    			return
    		}
    		size--
    
    		// The unified export format starts with a 'u'; the indexed export
    		// format starts with an 'i'; and the older binary export format
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. src/encoding/gob/timing_test.go

    }
    
    func (b *benchmarkBuf) Read(p []byte) (n int, err error) {
    	n = copy(p, b.data[b.offset:])
    	if n == 0 {
    		return 0, io.EOF
    	}
    	b.offset += n
    	return
    }
    
    func (b *benchmarkBuf) ReadByte() (c byte, err error) {
    	if b.offset >= len(b.data) {
    		return 0, io.EOF
    	}
    	c = b.data[b.offset]
    	b.offset++
    	return
    }
    
    func (b *benchmarkBuf) reset() {
    	b.offset = 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 04 07:16:59 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

      @Override
      public char readChar() throws IOException {
        return (char) readUnsignedShort();
      }
    
      @CanIgnoreReturnValue // to skip a byte
      @Override
      public byte readByte() throws IOException {
        return (byte) readUnsignedByte();
      }
    
      @CanIgnoreReturnValue // to skip a byte
      @Override
      public boolean readBoolean() throws IOException {
        return readUnsignedByte() != 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  10. src/math/big/floatconv.go

    		f = z.SetInf(s[0] == '-')
    		return
    	}
    
    	r := strings.NewReader(s)
    	if f, b, err = z.scan(r, base); err != nil {
    		return
    	}
    
    	// entire string must have been consumed
    	if ch, err2 := r.ReadByte(); err2 == nil {
    		err = fmt.Errorf("expected end of string, found %q", ch)
    	} else if err2 != io.EOF {
    		err = err2
    	}
    
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 8.3K bytes
    - Viewed (0)
Back to top