Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 538 for decoded (0.49 sec)

  1. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

              // otherwise try to presize a StringBuilder
              // it is kind of lame that we need to construct a decoder to access this value.
              // if this is a concern we could add special cases for some known charsets (like utf8)
              // or we could avoid inputstreamreader and use the decoder api directly
              // TODO(lukes): in a real implementation we would need to handle overflow conditions
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

            return dstIndex - start;
        }
    
        /**
         * Decode a transform header from byte array
         *
         * @param buffer
         *            buffer to decode from
         * @param bufferIndex
         *            offset in buffer
         * @return new transform header instance
         */
        public static Smb2TransformHeader decode(final byte[] buffer, int bufferIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

        }
    
        @Override
        public long getSize() {
            return 0L;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            this.createTime = SMBUtil.readTime(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            // Body starts at bufferIndex + 64
            // Structure size = 2
            SMBUtil.writeInt2(2, buffer, bufferIndex + 64);
    
            // Decode the response
            int result = response.decode(buffer, bufferIndex);
    
            assertEquals(66, result);
            assertEquals(0, response.getStatus()); // Should be STATUS_SUCCESS
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/InetAddresses.java

          return "[" + toAddrString(ip) + "]";
        }
        return toAddrString(ip);
      }
    
      /**
       * Returns an InetAddress representing the literal IPv4 or IPv6 host portion of a URL, encoded in
       * the format specified by RFC 3986 section 3.2.2.
       *
       * <p>This method is similar to {@link InetAddresses#forString(String)}, however, it requires that
       * IPv6 addresses are surrounded by square brackets.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnectResponse.java

        }
    
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
            // Reconnect response has no data - length should be 0
            if (len != 0) {
                throw new SMBProtocolDecodingException("Invalid durable handle reconnect response length: " + len);
            }
    
            // No data to decode
            return 0;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            // Test decode method
            byte[] buffer = new byte[512];
            int bufferIndex = 0;
            int expectedDecodeLength = 128;
            when(response.decode(buffer, bufferIndex)).thenReturn(expectedDecodeLength);
            assertEquals(expectedDecodeLength, response.decode(buffer, bufferIndex));
    
            // Test encode method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java

         * @return the resumeKey
         */
        public byte[] getResumeKey() {
            return this.resumeKey;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            if (len < 24) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += UnsignedLongs.decode(decimalStrings[j]);
        }
        return tmp;
      }
    
      @Benchmark
      long parseDecode16(int reps) {
        long tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += UnsignedLongs.decode(prefixedHexStrings[j]);
        }
        return tmp;
      }
    
      @Benchmark
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java

                this.unlocks[i] = createLockRange();
                bufferIndex += this.unlocks[i].decode(buffer, bufferIndex, buffer.length);
            }
    
            for (int i = 0; i < this.locks.length; i++) {
                this.locks[i] = createLockRange();
                bufferIndex += this.locks[i].decode(buffer, bufferIndex, buffer.length);
            }
    
            return start - bufferIndex;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top