Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Breiding (0.29 sec)

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

          throws IOException, ClassNotFoundException {
        for (int i = 0; i < size; i++) {
          @SuppressWarnings("unchecked") // reading data stored by writeMap
          K key = (K) stream.readObject();
          @SuppressWarnings("unchecked") // reading data stored by writeMap
          V value = (V) stream.readObject();
          map.put(key, value);
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Ticker.java

       */
      public static Ticker systemTicker() {
        return SYSTEM_TICKER;
      }
    
      private static final Ticker SYSTEM_TICKER =
          new Ticker() {
            @Override
            @SuppressWarnings("GoodTime") // reading system time without TimeSource
            public long read() {
              return System.nanoTime();
            }
          };
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 23 23:27:53 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

        assertEquals(20, counter.skip(30));
        assertEquals(20, counter.getCount());
        assertEquals(0, counter.skip(20));
        assertEquals(20, counter.getCount());
    
        // Test reading a single byte while we're in the right state
        assertEquals(-1, counter.read());
        assertEquals(20, counter.getCount());
      }
    
      public void testReadArrayEOF() throws IOException {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/EnumHashBiMap.java

        stream.defaultWriteObject();
        stream.writeObject(keyTypeOrObjectUnderJ2cl);
        Serialization.writeMap(this, stream);
      }
    
      @SuppressWarnings("unchecked") // reading field populated by writeObject
      @GwtIncompatible // java.io.ObjectInputStream
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/EnumMultiset.java

       */
      @GwtIncompatible // java.io.ObjectInputStream
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        @SuppressWarnings("unchecked") // reading data stored by writeObject
        Class<E> localType = (Class<E>) requireNonNull(stream.readObject());
        type = localType;
        enumConstants = type.getEnumConstants();
        counts = new int[enumConstants.length];
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

       * it slower than the native version.
       *
       * @param input the input bytes
       * @param offset the offset into the array at which to start reading
       * @param length the number of bytes from the input to read
       * @return a long of a concatenated 8 bytes
       */
      static long load64Safely(byte[] input, int offset, int length) {
        long result = 0;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

    import java.io.EOFException;
    import java.io.FilterInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    
    /**
     * An implementation of {@link DataInput} that uses little-endian byte ordering for reading {@code
     * short}, {@code int}, {@code float}, {@code double}, and {@code long} values.
     *
     * <p><b>Note:</b> This class intentionally violates the specification of its supertype {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

                  return new String(buffer, 0, bufIndex);
                }
                // otherwise we got the size wrong.  This can happen if the size changes between when
                // we called sizeIfKnown and when we started reading the file (or I guess if
                // maxCharsPerByte is wrong)
                // Fallback to an incremental approach
                StringBuilder builder = new StringBuilder(bufIndex + 32);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

                  return new String(buffer, 0, bufIndex);
                }
                // otherwise we got the size wrong.  This can happen if the size changes between when
                // we called sizeIfKnown and when we started reading the file (or I guess if
                // maxCharsPerByte is wrong)
                // Fallback to an incremental approach
                StringBuilder builder = new StringBuilder(bufIndex + 32);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/EnumBiMap.java

        stream.writeObject(keyTypeOrObjectUnderJ2cl);
        stream.writeObject(valueTypeOrObjectUnderJ2cl);
        Serialization.writeMap(this, stream);
      }
    
      @SuppressWarnings("unchecked") // reading fields populated by writeObject
      @GwtIncompatible // java.io.ObjectInputStream
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 6.3K bytes
    - Viewed (0)
Back to top