Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for readCount (0.17 sec)

  1. platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/EditorReportsBuilder.kt

        var count = 0L
        var noNewLineBeforeEOF = false
        var readCount = read(buffer)
    
        while (readCount != -1) {
            for (idx in 0 until readCount) {
                if (buffer[idx] == newLine) count++
            }
            noNewLineBeforeEOF = buffer[readCount - 1] != newLine
            readCount = read(buffer)
        }
        if (noNewLineBeforeEOF) count++
        return count
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:30:55 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/HashMultiset.java

      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int distinctElements = Serialization.readCount(stream);
        setBackingMap(Maps.<E, Count>newHashMap());
        Serialization.populateMultiset(this, stream, distinctElements);
      }
    
      @GwtIncompatible // Not needed in emulated source.
      @J2ktIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/LinkedHashMultiset.java

      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int distinctElements = Serialization.readCount(stream);
        setBackingMap(new LinkedHashMap<E, Count>());
        Serialization.populateMultiset(this, stream, distinctElements);
      }
    
      @GwtIncompatible // not needed in emulated source
      @J2ktIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ArrayListMultimap.java

      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        expectedValuesPerKey = DEFAULT_VALUES_PER_KEY;
        int distinctKeys = Serialization.readCount(stream);
        Map<K, Collection<V>> map = CompactHashMap.create();
        setMap(map);
        Serialization.populateMultimap(this, stream, distinctKeys);
      }
    
      @GwtIncompatible // Not needed in emulated source.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ArrayListMultimap.java

      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        expectedValuesPerKey = DEFAULT_VALUES_PER_KEY;
        int distinctKeys = Serialization.readCount(stream);
        Map<K, Collection<V>> map = Maps.newHashMap();
        setMap(map);
        Serialization.populateMultimap(this, stream, distinctKeys);
      }
    
      @GwtIncompatible // Not needed in emulated source.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top