Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 163 for enviar (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

            String msg = "\u00A1\u00A2"; // two Unicode characters
            byte[] encoded = encodeUnicode(msg);
            assertEquals(4, encoded.length, "Encoded Unicode string should be 4 bytes");
    
            // Verify little-endian encoding
            assertEquals((byte) 0xA1, encoded[0], "First byte of first character");
            assertEquals((byte) 0x00, encoded[1], "Second byte of first character");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            buffer[index++] = 0;
            buffer[index++] = 0;
    
            // Flags (2 bytes) - little-endian
            int flags = 0x0001;
            buffer[index++] = (byte) (flags & 0xFF);
            buffer[index++] = (byte) ((flags >> 8) & 0xFF);
    
            // Session ID (8 bytes) - little-endian
            buffer[index++] = (byte) (testSessionId & 0xFF);
            buffer[index++] = (byte) ((testSessionId >> 8) & 0xFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. docs/es/docs/advanced/middleware.md

    Si una request entrante no se valida correctamente, se enviará un response `400`.
    
    ## `GZipMiddleware`
    
    Maneja responses GZip para cualquier request que incluya `"gzip"` en el header `Accept-Encoding`.
    
    El middleware manejará tanto responses estándar como en streaming.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/LittleEndianByteArray.java

            // The hardware is big-endian, so we need to reverse the order of the bytes.
            return Long.reverseBytes(bigEndian);
          }
    
          @Override
          public void putLongLittleEndian(byte[] array, int offset, long value) {
            // Reverse the order of the bytes before storing, since we're on big-endian hardware.
            long littleEndianValue = Long.reverseBytes(value);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

            assertEquals((byte) 0x00, buf[1], "second byte should be zero");
        }
    
        @Test
        @DisplayName("writeParametersWireFormat writes the information level as 2-byte little endian")
        void testWriteParametersWireFormat() {
            int level = 0x1234;
            Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(level);
            byte[] buf = newBuffer(10);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            decoded.decode(buf);
            assertEquals(expected, decoded.value, "decoded value should match original after masking");
        }
    
        /**
         * Verify that encode writes the correct little-endian sequence
         * to the buffer and that alignment is respected.
         */
        @Test
        void encodeWritesCorrectBytesAndAlignment() throws NdrException {
            NdrShort ns = new NdrShort(0xABCD); // value & 0xFF => 0xCD
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Hashing.java

      /**
       * Returns a hash function implementing the <a
       * href="https://github.com/aappleby/smhasher/blob/master/src/MurmurHash3.cpp">32-bit murmur3
       * algorithm, x86 variant</a> (little-endian variant), using the given seed value, <b>with a known
       * bug</b> as described in the deprecation text.
       *
       * <p>The C++ equivalent is the MurmurHash3_x86_32 function (Murmur3A), which however does not
       * have the bug.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/DcerpcMessage.java

            buf.enc_ndr_small(5); /* RPC version */
            buf.enc_ndr_small(0); /* minor version */
            buf.enc_ndr_small(this.ptype);
            buf.enc_ndr_small(this.flags);
            buf.enc_ndr_long(0x00000010); /* Little-endian / ASCII / IEEE */
            buf.enc_ndr_short(this.length);
            buf.enc_ndr_short(0); /* length of auth_value */
            buf.enc_ndr_long(this.call_id);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

    import jcifs.Configuration;
    
    /**
     * Unit tests for {@link SmbComFindClose2}.
     * The class is intentionally tiny – the tests mainly verify that the
     * parameter word (the session identifier) is written in little‑endian form
     * and that the {@code toString} helper contains the expected values.
     *
     * <p>The tests also exercise edge cases such as negative (wrap‑around) session
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

        /**
         * Provides test cases for {@link SmbComSeekResponse#readParameterWordsWireFormat(byte[], int)}.
         * @return a stream of {@link Arguments} objects containing an integer
         *         value and the corresponding little-endian byte array.
         */
        static java.util.stream.Stream<Arguments> int32Provider() {
            return java.util.stream.Stream.of(Arguments.of(0x00000000, new byte[] { 0x00, 0x00, 0x00, 0x00 }),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top