Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for readInt (0.22 sec)

  1. src/main/java/org/codelibs/core/collection/ArrayMap.java

        @Override
        public void readExternal(final ObjectInput in) throws IOException, ClassNotFoundException {
            final int num = in.readInt();
            mapTable = new Entry[num];
            listTable = new Entry[num];
            threshold = (int) (num * LOAD_FACTOR);
            final int size = in.readInt();
            for (int i = 0; i < size; i++) {
                final K key = (K) in.readObject();
                final V value = (V) in.readObject();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 20.6K bytes
    - Viewed (1)
  2. android/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;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

      @GwtIncompatible // java.io.ObjectInputStream
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int keyCount = stream.readInt();
        if (keyCount < 0) {
          throw new InvalidObjectException("Invalid key count " + keyCount);
        }
        ImmutableMap.Builder<Object, ImmutableList<Object>> builder = ImmutableMap.builder();
        int tmpSize = 0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/SLinkedList.java

            }
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public void readExternal(final ObjectInput s) throws IOException, ClassNotFoundException {
            final int size = s.readInt();
            header = new Entry(null, null, null);
            header.next = header;
            header.previous = header;
            for (int i = 0; i < size; i++) {
                addLast((E) s.readObject());
            }
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11K bytes
    - Viewed (1)
  5. android/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));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  6. android/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)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         * builds an empty map.
         *
         * <p>If the {@code resolve} parameter value is {@code false}, then some or all map values may
         * be null instead of the actual module name. This option can avoid the cost of reading module
         * descriptors when only the modules existence needs to be verified.</p>
         *
         * <p><b>Algorithm:</b>
         * If the given path is a directory, then there is a choice:
         * </p>
         * <ul>
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

         * @param path path to the JAR file or output directory of the dependency
         * @return where to place the dependency, or an empty value if the placement cannot be determined
         * @throws IOException if an error occurred while reading module information
         */
        Optional<PathType> selectPathType(Set<PathType> types, Predicate<PathType> filter, Path path) throws IOException {
            PathType selected = null;
            boolean classes = false;
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TreeMultiset.java

      @GwtIncompatible // java.io.ObjectInputStream
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        @SuppressWarnings("unchecked")
        // reading data stored by writeObject
        Comparator<? super E> comparator = (Comparator<? super E>) requireNonNull(stream.readObject());
        Serialization.getFieldSetter(AbstractSortedMultiset.class, "comparator").set(this, comparator);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Hashing.java

      }
    
      /**
       * Used to randomize {@link #goodFastHash} instances, so that programs which persist anything
       * dependent on the hash codes they produce will fail sooner.
       */
      @SuppressWarnings("GoodTime") // reading system time without TimeSource
      static final int GOOD_FAST_HASH_SEED = (int) System.currentTimeMillis();
    
      /**
       * Returns a hash function implementing the <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
Back to top