Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for ReadUint (0.04 sec)

  1. src/main/java/jcifs/pac/PacDataInputStream.java

         */
        public String readString() throws IOException, PACDecodingException {
            final int totalChars = readInt();
            final int unusedChars = readInt();
            final int usedChars = readInt();
    
            if (unusedChars > totalChars || usedChars > totalChars - unusedChars) {
                throw new PACDecodingException("Malformed string in PAC");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Serialization.java

       * of distinct keys in a multimap serialized by {@link #writeMultimap(Multimap,
       * ObjectOutputStream)}.
       */
      static int readCount(ObjectInputStream stream) throws IOException {
        return stream.readInt();
      }
    
      /**
       * Stores the contents of a map in an output stream, as part of serialization. It does not support
       * concurrent maps whose content may change while the method is running.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Serialization.java

       * of distinct keys in a multimap serialized by {@link #writeMultimap(Multimap,
       * ObjectOutputStream)}.
       */
      static int readCount(ObjectInputStream stream) throws IOException {
        return stream.readInt();
      }
    
      /**
       * Stores the contents of a map in an output stream, as part of serialization. It does not support
       * concurrent maps whose content may change while the method is running.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/Pac.java

                int bufferCount = pacStream.readInt();
                int version = pacStream.readInt();
    
                if (version != PacConstants.PAC_VERSION) {
                    throw new PACDecodingException("Unrecognized PAC version " + version);
                }
    
                for (int bufferIndex = 0; bufferIndex < bufferCount; bufferIndex++) {
                    int bufferType = pacStream.readInt();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

        }
      }
    
      @Test
      fun publicSuffixExceptions() {
        val buffer = Buffer()
        FileSystem.SYSTEM.read(pathForTests) {
          var length = readInt()
          skip(length.toLong())
          length = readInt()
          buffer.write(this, length.toLong())
        }
        while (!buffer.exhausted()) {
          val exception = buffer.readUtf8LineStrict()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

        try {
          listSource().buffer().use { bufferedSource ->
            val totalBytes = bufferedSource.readInt()
            publicSuffixListBytes = bufferedSource.readByteString(totalBytes.toLong())
    
            val totalExceptionBytes = bufferedSource.readInt()
            publicSuffixExceptionListBytes = bufferedSource.readByteString(totalExceptionBytes.toLong())
          }
    
          synchronized(this) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. cmd/site-replication-utils_gen.go

    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "v":
    			z.Version, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Version")
    				return
    			}
    		case "ss":
    			err = z.Status.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Status")
    				return
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 14 15:16:40 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

       * Reads an integer as specified by {@link DataInputStream#readInt()}, except using little-endian
       * byte order.
       *
       * @return the next four bytes of the input stream, interpreted as an {@code int} in little-endian
       *     byte order
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      public int readInt() throws IOException {
        byte b1 = readAndCheckByte();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            assertEquals(1, pdis.available());
            assertEquals(0x05, pdis.readByte());
    
            // Test no alignment needed
            pdis = createInputStream(new byte[] { 0x01, 0x02, 0x03, 0x04 });
            pdis.readInt(); // position is 4
            pdis.align(4);
            assertEquals(0, pdis.available());
    
            // Test alignment with mask 0
            pdis = createInputStream(new byte[] { 0x01, 0x02, 0x03, 0x04 });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

        for (i in 0 until answerCount) {
          skipName(buf) // name
    
          val type = buf.readShort().toInt() and 0xffff
          buf.readShort() // class
          @Suppress("UNUSED_VARIABLE")
          val ttl = buf.readInt().toLong() and 0xffffffffL // ttl
          val length = buf.readShort().toInt() and 0xffff
    
          if (type == TYPE_A || type == TYPE_AAAA) {
            val bytes = ByteArray(length)
            buf.read(bytes)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top