Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 330 for decodeId (1.49 sec)

  1. 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)
  2. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                data.register("displayFileName", getJspFile(form.fileName, "view").getAbsolutePath());
            });
        }
    
        /**
         * Decode the JSP content.
         * @param value The value.
         * @return The decoded value.
         */
        public static String decodeJsp(final String value) {
            return value.replaceAll("<%(?![@-])([\\s\\S]*?)%>", "&lt;%$1%&gt;")
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            objAttr.decode(mockNdrBuffer);
    
            assertEquals(100, objAttr.length);
            assertEquals(3, objAttr.attributes);
            assertEquals(4, objAttr.security_descriptor);
    
            verify(objAttr.root_directory).decode(mockDeferredNdrBuffer);
            verify(objAttr.object_name).decode(mockDeferredNdrBuffer);
            verify(objAttr.security_quality_of_service).decode(mockDeferredNdrBuffer);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

            @Test
            @DisplayName("Decode error handling should work correctly")
            void testDecodeErrorHandling() throws Exception {
                // Given
                when(mockHandle.getMaxXmit()).thenReturn(1024);
                when(mockHandle.getMaxRecv()).thenReturn(1024);
                DcerpcBind bindMessage = new DcerpcBind(mockBinding, mockHandle);
    
                // When - Decode with error response
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  5. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsRecordCodecTest.kt

                  "00010000003b00049df00112"
              ).decodeHex(),
          )
        assertThat(decoded).containsExactly(InetAddress.getByName("157.240.1.18"))
      }
    
      @Test
      fun testGoogleDotComDecodingFromGoogleIPv6() {
        val decoded =
          decodeAnswers(
            hostname = "test.com",
            byteString =
              (
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu May 29 20:09:10 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

        /**
         * Creates a Kerberos AP request from a token.
         *
         * @param token the Kerberos AP-REQ token
         * @param keys the Kerberos keys for decryption
         * @throws PACDecodingException if the token cannot be decoded
         */
        public KerberosApRequest(byte[] token, KerberosKey[] keys) throws PACDecodingException {
            this(parseSequence(token), keys);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            SMBUtil.writeInt8(expectedIndexNumber, buffer, bufferIndex);
    
            // Decode
            int bytesDecoded = fileInternalInfo.decode(buffer, bufferIndex, 8);
    
            // Verify
            assertEquals(8, bytesDecoded);
            assertEquals(expectedIndexNumber, fileInternalInfo.getIndexNumber());
        }
    
        @Test
        @DisplayName("Test decode with zero index number")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            // Decode
            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify - the decode method strips null termination, so filename should match
            assertEquals(expectedFilename, fileBothDirectoryInfo.getFilename());
        }
    
        @Test
        @DisplayName("Test decode with null-terminated non-Unicode filename")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

        }
    
        @Test
        @DisplayName("Test decode with minimum valid length")
        void testDecodeMinimumValidLength() throws SMBProtocolDecodingException {
            // Prepare minimum valid buffer - exactly 24 bytes
            byte[] buffer = new byte[28];
            Arrays.fill(buffer, 0, 24, (byte) 0xAA);
    
            // Decode with len = 24 (minimum valid)
            int bytesConsumed = response.decode(buffer, 0, 24);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                // Setup for SamrSamEntry decode chain
                mockDeferredBuffer.deferred = mockDeferredBuffer;
                when(mockDeferredBuffer.dec_ndr_short()).thenReturn(0, 0, 0);
    
                // When: Decoding output
                message.decode_out(mockNdrBuffer);
    
                // Then: Should decode all output parameters
                verify(samArray).decode(mockNdrBuffer);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
Back to top