Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 696 for encodes (0.33 sec)

  1. src/main/java/jcifs/dcerpc/ndr/NdrObject.java

         */
        public NdrObject() {
            // Default constructor
        }
    
        /**
         * Encodes this NDR object into the specified buffer
         * @param dst the destination buffer for encoding
         * @throws NdrException if encoding fails
         */
        public abstract void encode(NdrBuffer dst) throws NdrException;
    
        /**
         * Decodes this NDR object from the specified buffer
         * @param src the source buffer for decoding
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/ndr/NdrObject.java

         */
        public NdrObject() {
            // Default constructor
        }
    
        /**
         * Encodes this NDR object into the specified buffer
         * @param dst the destination buffer for encoding
         * @throws NdrException if encoding fails
         */
        public abstract void encode(NdrBuffer dst) throws NdrException;
    
        /**
         * Decodes this NDR object from the specified buffer
         * @param src the source buffer for decoding
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/DocumentUtil.java

            return null;
        }
    
        /**
         * Encodes a URL by encoding non-URL-safe characters.
         * Uses the request's character encoding if available, otherwise defaults to UTF-8.
         * Only encodes characters that are not considered URL-safe according to CharUtil.
         *
         * @param url the URL to encode
         * @return the encoded URL with non-URL-safe characters properly encoded
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/xml/DomUtil.java

            } catch (final UnsupportedEncodingException ex) {
                throw new IORuntimeException(ex);
            }
        }
    
        /**
         * Encodes the value of an attribute.
         *
         * @param s
         *            The attribute value.
         * @return The encoded attribute value.
         */
        public static String encodeAttrQuot(final String s) {
            if (s == null) {
                return null;
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. 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)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

        // We've successfully read a byte.
        address[b++] = value.toByte()
      }
    
      // Check for too few groups. We wanted exactly four.
      return b == addressOffset + 4
    }
    
    /** Encodes an IPv6 address in canonical form according to RFC 5952. */
    internal fun inet6AddressToAscii(address: ByteArray): String {
      // Go through the address looking for the longest run of 0s. Each group is 2-bytes.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/CommonServerMessageBlock.java

         */
        int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException;
    
        /**
         * Encodes this message into a byte array.
         *
         * @param dst the destination byte array
         * @param dstIndex the starting index in the destination array
         * @return message length
         */
        int encode(byte[] dst, int dstIndex);
    
        /**
         * Sets the signing digest for this message.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  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/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)
  10. cmd/erasure-coding.go

    		return nil, err
    	}
    	return encoded, nil
    }
    
    // DecodeDataBlocks decodes the given erasure-coded data.
    // It only decodes the data blocks but does not verify them.
    // It returns an error if the decoding failed.
    func (e *Erasure) DecodeDataBlocks(data [][]byte) error {
    	isZero := 0
    	for _, b := range data {
    		if len(b) == 0 {
    			isZero++
    			break
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top