Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 664 for encoder (0.08 sec)

  1. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                    logger.debug("Failed to access {}", input, e);
                }
            }
            return LaResponseUtil.getResponse().encodeURL(sb.toString());
        }
    
        /**
         * Encodes a string for similar document hash processing.
         *
         * @param input the string to encode
         * @return encoded string, or the original input if blank
         */
        public static String sdh(final String input) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
  2. src/test/java/jcifs/util/EncdecTest.java

            // When - Use direct encoding methods since time constants are private
            Encdec.enc_uint64le(currentDate.getTime(), buffer, 0);
            long decoded = Encdec.dec_uint64le(buffer, 0);
    
            // Then
            assertEquals(currentDate.getTime(), decoded, "Encoded and decoded time should match");
        }
    
        @Test
        @DisplayName("Should encode and decode UUIDs")
        void testUUIDOperations() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. cmd/api-headers.go

    	buf.WriteString(xxml.Header)
    	if err := xxml.NewEncoder(&buf).Encode(response); err != nil {
    		bugLogIf(GlobalContext, err)
    		return nil
    	}
    	return buf.Bytes()
    }
    
    // Encodes the response headers into JSON format.
    func encodeResponseJSON(response any) []byte {
    	var bytesBuffer bytes.Buffer
    	e := json.NewEncoder(&bytesBuffer)
    	e.Encode(response)
    	return bytesBuffer.Bytes()
    }
    
    // Write parts count
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            align(2);
            final int val = Encdec.dec_uint16le(this.buf, this.index);
            advance(2);
            return val;
        }
    
        /**
         * Encodes a long integer (4 bytes) in NDR format.
         *
         * @param l the long integer value to encode
         */
        public void enc_ndr_long(final int l) {
            align(4);
            Encdec.enc_uint32le(l, this.buf, this.index);
            advance(4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

            @Test
            @DisplayName("Should handle rapid successive encodes")
            void testRapidSuccessiveEncodes() {
                String path = "\\\\server\\share\\folder\\file.dat";
                buffer = new DfsReferralRequestBuffer(path, 3);
    
                byte[] dst = new byte[buffer.size()];
    
                // Perform many rapid encodes
                for (int i = 0; i < 10000; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/Base64.java

        /**
         * Base-64 encodes the supplied block of data.  Line wrapping is not
         * applied on output.
         *
         * @param bytes The block of data that is to be Base-64 encoded.
         * @return A <code>String</code> containing the encoded data.
         */
        public static String encode(final byte[] bytes) {
            int length = bytes.length;
            if (length == 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

         */
        String getQueryHighlightBoundaryScanner();
    
        /**
         * Get the value for the key 'query.highlight.encoder'. <br>
         * The value is, e.g. default <br>
         * comment: Encoder type for query highlighting.
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
        String getQueryHighlightEncoder();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 525.6K bytes
    - Viewed (2)
  8. src/main/java/org/codelibs/core/misc/Base64Util.java

                DECODE_TABLE[ENCODE_TABLE[i]] = (byte) i;
            }
        }
    
        /**
         * Encodes data in Base64.
         *
         * @param inData
         *            The data to encode
         * @return The encoded data
         */
        public static String encode(final byte[] inData) {
            if (ArrayUtil.isEmpty(inData)) {
                return "";
            }
            final int mod = inData.length % 3;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/av/AvPairs.java

            remove(pairs, rep.getType());
            pairs.add(rep);
        }
    
        /**
         * Encodes a list of AV pairs into byte array format
         *
         * @param pairs the list of AV pairs to encode
         * @return encoded avpairs
         */
        public static byte[] encode(final List<AvPair> pairs) {
            int size = 0;
            for (final AvPair p : pairs) {
                size += 4 + p.getRaw().length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/DictionaryCreator.java

                return null;
            }
    
            return newDictionaryFile(encodePath(path), path, timestamp);
        }
    
        /**
         * Encodes a file path using Base64 URL-safe encoding.
         *
         * @param path the file path to encode
         * @return the Base64 encoded path
         */
        protected String encodePath(final String path) {
            return Base64.getUrlEncoder().encodeToString(path.getBytes(Constants.CHARSET_UTF_8));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top