Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for readUTF (0.15 sec)

  1. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/PayloadSerializerObjectInputStream.java

            return desc.forClass();
        }
    
        private Class<?> readClass() throws IOException, ClassNotFoundException {
            short id = readShort();
            String className = readUTF();
            if (id == SAME_CLASSLOADER_TOKEN) {
                return super.lookupClass(className);
            }
            ClassLoaderDetails classLoader = classLoaderDetails.get(id);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        assertEquals(-12150, in.readShort());
        assertEquals(20675, in.readUnsignedShort());
        assertEquals(0xBEBAFECA, in.readInt());
        assertEquals(0xBEBAFECAEFBEADDEL, in.readLong());
        assertEquals("Herby Derby", in.readUTF());
        assertEquals(0xBEBAFECA, Float.floatToIntBits(in.readFloat()));
        assertEquals(0xBEBAFECAEFBEADDEL, Double.doubleToLongBits(in.readDouble()));
      }
    
      public void testSkipBytes() throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteStreams.java

          try {
            return input.readLine();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public String readUTF() {
          try {
            return input.readUTF();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
      }
    
      /** Returns a new {@link ByteArrayDataOutput} instance with a default size. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 17 18:59:58 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/ByteStreams.java

          try {
            return input.readLine();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public String readUTF() {
          try {
            return input.readUTF();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
      }
    
      /** Returns a new {@link ByteArrayDataOutput} instance with a default size. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 17 18:59:58 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        data[1] = 15;
        System.arraycopy("Kilroy was here".getBytes(Charsets.UTF_8), 0, data, 2, 15);
        ByteArrayDataInput in = ByteStreams.newDataInput(data);
        assertEquals("Kilroy was here", in.readUTF());
      }
    
      public void testNewDataInput_readChar() {
        byte[] data = "qed".getBytes(Charsets.UTF_16BE);
        ByteArrayDataInput in = ByteStreams.newDataInput(data);
        assertEquals('q', in.readChar());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.9K bytes
    - Viewed (0)
Back to top