Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for readInt2 (0.11 sec)

  1. android/guava/src/com/google/common/io/ByteStreams.java

          try {
            return input.readChar();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public int readInt() {
          try {
            return input.readInt();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public long readLong() {
          try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 17 18:59:58 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

        valueSetCapacity = DEFAULT_VALUE_SET_CAPACITY;
        int distinctKeys = stream.readInt();
        Map<K, Collection<V>> map = Platform.newLinkedHashMapWithExpectedSize(12);
        for (int i = 0; i < distinctKeys; i++) {
          @SuppressWarnings("unchecked")
          K key = (K) stream.readObject();
          map.put(key, createCollection(key));
        }
        int entries = stream.readInt();
        for (int i = 0; i < entries; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/LinkedHashMultimap.java

        valueSetCapacity = DEFAULT_VALUE_SET_CAPACITY;
        int distinctKeys = stream.readInt();
        Map<K, Collection<V>> map = Platform.newLinkedHashMapWithExpectedSize(12);
        for (int i = 0; i < distinctKeys; i++) {
          @SuppressWarnings("unchecked")
          K key = (K) stream.readObject();
          map.put(key, createCollection(key));
        }
        int entries = stream.readInt();
        for (int i = 0; i < entries; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/BloomFilter.java

          // Strategy.ordinal()).
          strategyOrdinal = din.readByte();
          numHashFunctions = UnsignedBytes.toInt(din.readByte());
          dataLength = din.readInt();
    
          Strategy strategy = BloomFilterStrategies.values()[strategyOrdinal];
    
          LockFreeBitArray dataArray = new LockFreeBitArray(LongMath.checkedMultiply(dataLength, 64L));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/MapMakerInternalMap.java

        @SuppressWarnings("deprecation") // serialization of deprecated feature
        @J2ktIncompatible // java.io.ObjectInputStream
        MapMaker readMapMaker(ObjectInputStream in) throws IOException {
          int size = in.readInt();
          return new MapMaker()
              .initialCapacity(size)
              .setKeyStrength(keyStrength)
              .setValueStrength(valueStrength)
              .keyEquivalence(keyEquivalence)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactHashSet.java

      @SuppressWarnings("unchecked")
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int elementCount = stream.readInt();
        if (elementCount < 0) {
          throw new InvalidObjectException("Invalid size: " + elementCount);
        }
        init(elementCount);
        for (int i = 0; i < elementCount; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactHashMap.java

      @SuppressWarnings("unchecked")
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int elementCount = stream.readInt();
        if (elementCount < 0) {
          throw new InvalidObjectException("Invalid size: " + elementCount);
        }
        init(elementCount);
        for (int i = 0; i < elementCount; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/InetAddresses.java

       * @return {@code int}, "coerced" if ip is not an IPv4 address
       * @since 7.0
       */
      public static int coerceToInteger(InetAddress ip) {
        return ByteStreams.newDataInput(getCoercedIPv4Address(ip).getAddress()).readInt();
      }
    
      /**
       * Returns a BigInteger representing the address.
       *
       * <p>Unlike {@code coerceToInteger}, IPv6 addresses are not coerced to IPv4 addresses.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSetMultimap.java

        stream.defaultReadObject();
        Comparator<Object> valueComparator = (Comparator<Object>) stream.readObject();
        int keyCount = stream.readInt();
        if (keyCount < 0) {
          throw new InvalidObjectException("Invalid key count " + keyCount);
        }
        ImmutableMap.Builder<Object, ImmutableSet<Object>> builder = ImmutableMap.builder();
        int tmpSize = 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/ByteStreams.java

          try {
            return input.readChar();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public int readInt() {
          try {
            return input.readInt();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public long readLong() {
          try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 17 18:59:58 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top