Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 47 for encodeJsp (0.17 sec)

  1. src/test/java/jcifs/spnego/NegTokenInitTest.java

                der.writeObject(applicationWrapper);
            } finally {
                der.close();
            }
            return collector.toByteArray();
        }
    
        @Test
        @DisplayName("Round-trip: all fields set encodes and parses back correctly")
        void testRoundTripAllFields() throws Exception {
            ASN1ObjectIdentifier[] mechs = new ASN1ObjectIdentifier[] { OID_KRB, OID_NTLM };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

            // Context handle (20 bytes)
            if (contextHandle == null) {
                contextHandle = new byte[20];
            }
            buf.readOctetArray(contextHandle, 0, 20);
        }
    
        /**
         * Encodes a wide string pointer in NDR format.
         *
         * @param buf the NDR buffer
         * @param str the string to encode (can be null)
         * @throws NdrException if encoding fails
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

            final String[] values = name.split("/");
            if (values.length == 0) {
                return StringUtil.EMPTY;
            }
            return values[values.length - 1];
        }
    
        /**
         * Encodes an object name to a URL-safe base64 string.
         *
         * @param objectName the object name to encode
         * @return base64 encoded string
         */
        private String encodeId(final String objectName) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            byte[] buffer2 = new byte[200];
            int encoded2 = request2.encode(buffer2, 0);
            assertEquals(request2.size(), encoded2);
        }
    
        @Test
        @DisplayName("Test multiple encodes produce same result")
        void testMultipleEncodesProduceSameResult() {
            // Setup
            String pipeName = "RepeatedEncode";
            long timeout = 3000L;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            // Test NTLM Type 1 message handling
            byte[] type1Message = new byte[] { 0x4E, 0x54, 0x4C, 0x4D, 0x53, 0x53, 0x50, 0x00, 0x01, 0x00, 0x00, 0x00 };
            String authHeader = "NTLM " + new String(org.bouncycastle.util.encoders.Base64.encode(type1Message));
    
            when(request.getHeader("Authorization")).thenReturn(authHeader);
            when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                        logger.debug("Failed to decode similar document hash: hash={}", hash, e);
                    }
                }
            }
            return hash;
        }
    
        /**
         * Encodes a similar document hash using GZIP compression and Base64 encoding.
         * This reduces storage space for hash values while maintaining uniqueness.
         *
         * @param hash the hash string to encode
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/MD4.java

         *
         *    @param    block    input sub-array.
         *    @param    offset    starting position of sub-array.
         */
        private void transform(final byte[] block, int offset) {
    
            // encodes 64 bytes from input block into an array of 16 32-bit
            // entities. Use A as a temp var.
            for (int i = 0; i < 16; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

         * Default constructor for PermissionHelper.
         * Initializes the permission helper with default configuration.
         */
        public PermissionHelper() {
            // Default constructor
        }
    
        /**
         * Encodes a permission string into a search role format.
         * Processes user, group, and role prefixes along with allow/deny prefixes.
         *
         * @param value the permission string to encode
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NetworkExplorer.java

    import java.util.Date;
    import java.util.Enumeration;
    import java.util.GregorianCalendar;
    import java.util.LinkedList;
    import java.util.ListIterator;
    import java.util.Properties;
    
    import org.bouncycastle.util.encoders.Base64;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jakarta.servlet.ServletException;
    import jakarta.servlet.ServletOutputStream;
    import jakarta.servlet.http.HttpServlet;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/curl/CurlRequest.java

                });
                return processor.getResponse();
            } finally {
                this.threadPool = originalThreadPool;
            }
        }
    
        /**
         * Encodes the specified value using the character encoding.
         *
         * @param value the value to encode
         * @return the encoded value
         * @throws CurlException if the encoding is unsupported
         */
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top