Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 524 for decoder (0.05 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

        }
    
        @ParameterizedTest
        @MethodSource("int32Provider")
        @DisplayName("readParameterWordsWireFormat correctly decodes 32-bit offset")
        void testReadParameterWords(int expectedInt, byte[] bytes) {
            // The implementation reads via SMBUtil.readInt4 which returns an int
            // When assigned to a long field, it gets sign-extended
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            NetworkInterfaceInfo decoded = NetworkInterfaceInfo.decode(encoded, 0);
            assertEquals(nic.getInterfaceIndex(), decoded.getInterfaceIndex());
            assertEquals(nic.getLinkSpeed(), decoded.getLinkSpeed());
            assertEquals(nic.isRssCapable(), decoded.isRssCapable());
        }
    
        @Test
        void testChannelInfoCreation() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

            AvTargetName avTargetName = new AvTargetName(rawBytes);
    
            // Verify that getTargetName correctly decodes the raw bytes
            assertEquals(originalString, avTargetName.getTargetName(), "Retrieved target name should correctly decode raw bytes");
        }
    
        /**
         * Test with an empty string for both constructors.
         */
        @Test
        void testEmptyString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            // Byte count (2 bytes)
            buffer[53] = 0x00;
            buffer[54] = 0x00;
    
            // Test decode
            int bytesDecoded = response.decode(buffer, 0);
    
            // Should decode at least the header
            assertTrue(bytesDecoded > 0);
    
            // Verify the command was decoded correctly
            assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, response.getCommand());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

        }
    
        @Test
        @DisplayName("Test decode with owner SID only")
        void testDecodeWithOwnerSidOnly() throws SMBProtocolDecodingException {
            // Prepare buffer with owner SID only
            prepareMinimalSecurityDescriptorBuffer(testBuffer, 0, true, false, false);
    
            int size = securityDescriptor.decode(testBuffer, 0, testBuffer.length);
    
            // decode returns 0 when no DACL is present (falls through)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        bytesIn.writeByte(0x40) // Literal indexed
        bytesIn.writeByte(0x88) // Literal name Huffman encoded 8 bytes
        // decodes to custom-key which is length 10
        bytesIn.write("25a849e95ba97d7f".decodeHex())
        bytesIn.writeByte(0x89) // Literal value Huffman encoded 9 bytes
        // decodes to custom-value which is length 12
        bytesIn.write("25a849e95bb8e8b4bf".decodeHex())
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java

         */
        public OpenSearchAccessResultData(final Map<String, Object> src) {
            setTransformerName((String) src.get(TRANSFORMER_NAME));
            setEncoding((String) src.get(ENCODING));
            final String dataStr = (String) src.get(DATA);
            if (dataStr != null) {
                try {
                    setData(Base64Util.decode(dataStr));
                } catch (final Exception e) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessRpcMessage.java

         */
        protected abstract void encodeWitnessParameters(NdrBuffer buf) throws NdrException;
    
        /**
         * Decodes the witness RPC message parameters from NDR format.
         * Subclasses must implement this method to decode their specific parameters.
         *
         * @param buf the NDR buffer to decode from
         * @throws NdrException if decoding fails
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

            this.maxFragmentedSize = RdmaCapabilities.DEFAULT_MAX_FRAGMENTED_SIZE;
        }
    
        /**
         * Decode from byte array
         *
         * @param data source data
         * @param offset starting offset
         * @return decoded response
         */
        public static SmbDirectNegotiateResponse decode(byte[] data, int offset) {
            if (data.length - offset < 32) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                assertEquals(0x01, response.getShareFlags(), "Should decode share flags");
                assertEquals(0x08, response.getCapabilities(), "Should decode capabilities");
                assertEquals(0x001F01FF, response.getMaximalAccess(), "Should decode maximal access");
                assertTrue(response.isShareDfs(), "Should detect DFS from decoded data");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top