Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for ReadInt (0.2 sec)

  1. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        assertThrows(IllegalStateException.class, () -> in.readInt());
      }
    
      public void testNewDataInput_normal() {
        ByteArrayDataInput in = ByteStreams.newDataInput(bytes);
        assertEquals(0x12345678, in.readInt());
        assertEquals(0x76543210, in.readInt());
        assertThrows(IllegalStateException.class, () -> in.readInt());
      }
    
      public void testNewDataInput_readFully() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacLogonInfo.java

                SID groupId = pacStream.readId();
    
                // Groups information
                int groupCount = pacStream.readInt();
                int groupPointer = pacStream.readInt();
    
                // User flags about PAC Logon Info content
                this.userFlags = pacStream.readInt();
                boolean hasExtraSids = ( this.userFlags & PacConstants.LOGON_EXTRA_SIDS ) == PacConstants.LOGON_EXTRA_SIDS;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        assertThrows(IllegalStateException.class, () -> in.readInt());
      }
    
      public void testNewDataInput_normal() {
        ByteArrayDataInput in = ByteStreams.newDataInput(bytes);
        assertEquals(0x12345678, in.readInt());
        assertEquals(0x76543210, in.readInt());
        assertThrows(IllegalStateException.class, () -> in.readInt());
      }
    
      public void testNewDataInput_readFully() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (1)
  4. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 17.1K bytes
    - Viewed (0)
  5. 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)
  6. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  7. 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++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  8. 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 {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top