Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 538 for decoded (0.08 sec)

  1. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

    import java.io.EOFException
    import java.net.InetAddress
    import java.net.UnknownHostException
    import okio.Buffer
    import okio.ByteString
    import okio.utf8Size
    
    /**
     * Trivial Dns Encoder/Decoder, basically ripped from Netty full implementation.
     */
    internal object DnsRecordCodec {
      private const val SERVFAIL = 2
      private const val NXDOMAIN = 3
      const val TYPE_A = 0x0001
      const val TYPE_AAAA = 0x001c
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/Files.java

       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
       * java.nio.file.Files#newBufferedReader(java.nio.file.Path, Charset)}.
       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @return the buffered reader
       */
      public static BufferedReader newReader(File file, Charset charset) throws FileNotFoundException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/log/ApiAdminLogAction.java

         * Downloads a specific log file by ID.
         *
         * @param id the base64-encoded filename of the log file to download
         * @return stream response containing the log file content
         */
        // GET /api/admin/log/file/{id}
        @Execute
        public StreamResponse get$file(final String id) {
            final String filename = new String(Base64.getDecoder().decode(id), StandardCharsets.UTF_8).replace("..", "").replaceAll("\\s", "");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/request-files.md

    **FastAPI** will make sure to read that data from the right place instead of JSON.
    
    /// note | Technical Details
    
    Data from forms is normally encoded using the "media type" `application/x-www-form-urlencoded` when it doesn't include files.
    
    But when the form includes files, it is encoded as `multipart/form-data`. If you use `File`, **FastAPI** will know it has to get the files from the correct part of the body.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponse.java

            return 0;
        }
    
        @Override
        protected int readDataWireFormat(final byte[] buffer, int bufferIndex, final int len) {
            final int start = bufferIndex;
            bufferIndex += this.dfsResponse.decode(buffer, bufferIndex, len);
            return bufferIndex - start;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java

        }
    
        /**
         * Gets the lease epoch from the V2 response
         * @return the epoch
         */
        public int getEpoch() {
            return epoch;
        }
    
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
            if (len < 52) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

        }
    
        /**
         * Verify that writeParameterWordsWireFormat writes the file id and the
         * unsigned time correctly.  The last write time is zero which should be
         * encoded as four 0xFF bytes by {@code writeUTime}.
         */
        @ParameterizedTest(name = "fid={0}, lastWriteTime={1}")
        @MethodSource("validParams")
        @DisplayName("happy: writeParameterWordsWireFormat writes correct bytes")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java

        public DurableHandleResponse() {
            // Reserved field initialized to zeros
        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
            if (len != 8) {
                throw new SMBProtocolDecodingException("Invalid durable handle response length: " + len);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java

                    buf.enc_ndr_small(0);
                }
            }
        }
    
        @Override
        protected void decodeWitnessParameters(NdrBuffer buf) throws NdrException {
            // Decode output parameters for WitnessUnregister
    
            // Context handle is modified by the server (typically zeroed out)
            if (contextHandle == null) {
                contextHandle = new byte[20];
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

      }
    
      public void testRoundTripHashCodeUsingBaseEncoding() {
        HashCode hash1 = Hashing.sha1().hashString("foo", US_ASCII);
        HashCode hash2 = HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(hash1.toString()));
        assertEquals(hash1, hash2);
      }
    
      public void testObjectHashCode() {
        HashCode hashCode42 = HashCode.fromInt(42);
        assertEquals(42, hashCode42.hashCode());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top