Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 329 for readInt (0.07 sec)

  1. android/guava/src/com/google/common/collect/Serialization.java

        for (int i = 0; i < distinctKeys; i++) {
          @SuppressWarnings("unchecked") // reading data stored by writeMultimap
          K key = (K) stream.readObject();
          Collection<V> values = multimap.get(key);
          int valueCount = stream.readInt();
          for (int j = 0; j < valueCount; j++) {
            @SuppressWarnings("unchecked") // reading data stored by writeMultimap
            V value = (V) stream.readObject();
            values.add(value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

        }
        val padding = if (flags and FLAG_PADDED != 0) source.readByte() and 0xff else 0
        val promisedStreamId = source.readInt() and 0x7fffffff
        val headerBlockLength = lengthWithoutPadding(length - 4, flags, padding) // - 4 for readInt().
        val headerBlock = readHeaderBlock(headerBlockLength, padding, flags, streamId)
        handler.pushPromise(streamId, promisedStreamId, headerBlock)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Serialization.java

        for (int i = 0; i < distinctKeys; i++) {
          @SuppressWarnings("unchecked") // reading data stored by writeMultimap
          K key = (K) stream.readObject();
          Collection<V> values = multimap.get(key);
          int valueCount = stream.readInt();
          for (int j = 0; j < valueCount; j++) {
            @SuppressWarnings("unchecked") // reading data stored by writeMultimap
            V value = (V) stream.readObject();
            values.add(value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

                  // 1NNNNNNN
                  val index = readInt(b, PREFIX_7_BITS)
                  readIndexedHeader(index - 1)
                }
                b == 0x40 -> {
                  // 01000000
                  readLiteralHeaderWithIncrementalIndexingNewName()
                }
                b and 0x40 == 0x40 -> {
                  // 01NNNNNN
                  val index = readInt(b, PREFIX_6_BITS)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  5. internal/grid/grid_types_msgp_test.go

    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Num":
    			z.Num, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Num")
    				return
    			}
    		case "String":
    			z.String, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "String")
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  6. cmd/local-locker_gen.go

    		}
    		switch msgp.UnsafeString(field) {
    		case "Total":
    			z.Total, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Total")
    				return
    			}
    		case "Writes":
    			z.Writes, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Writes")
    				return
    			}
    		case "Reads":
    			z.Reads, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Reads")
    				return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

       * Reads an integer as specified by {@link DataInputStream#readInt()}, except using little-endian
       * byte order.
       *
       * @return the next four bytes of the input stream, interpreted as an {@code int} in little-endian
       *     byte order
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      public int readInt() throws IOException {
        byte b1 = readAndCheckByte();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

        FileSystem.RESOURCES.source(PublicSuffixDatabase.PUBLIC_SUFFIX_RESOURCE).use { resource ->
          GzipSource(resource).buffer().use { source ->
            var length = source.readInt()
            source.skip(length.toLong())
            length = source.readInt()
            buffer.write(source, length.toLong())
          }
        }
        while (!buffer.exhausted()) {
          val exception = buffer.readUtf8LineStrict()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Cache.kt

              Platform.get().log("cache corruption", WARN, it)
            }
            requestMethod = source.readUtf8LineStrict()
            val varyHeadersBuilder = Headers.Builder()
            val varyRequestHeaderLineCount = readInt(source)
            for (i in 0 until varyRequestHeaderLineCount) {
              varyHeadersBuilder.addLenient(source.readUtf8LineStrict())
            }
            varyHeaders = varyHeadersBuilder.build()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  10. internal/bucket/replication/datatypes_gen.go

    	s = msgp.StringPrefixSize + len(string(z))
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *Type) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 int
    		zb0001, err = dc.ReadInt()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = Type(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z Type) EncodeMsg(en *msgp.Writer) (err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 19:08:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top