Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 618 for Encoder (0.04 sec)

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

    1. @SuppressWarnings ( "javadoc" )
    2. public class NdrShort extends NdrObject {
    3.  
    4. public int value;
    5.  
    6.  
    7. public NdrShort ( int value ) {
    8. this.value = value & 0xFF;
    9. }
    10.  
    11.  
    12. @Override
    13. public void encode ( NdrBuffer dst ) throws NdrException {
    14. dst.enc_ndr_short(this.value);
    15. }
    16.  
    17.  
    18. @Override
    19. public void decode ( NdrBuffer src ) throws NdrException {
    20. this.value = src.dec_ndr_short();
    21. }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/CommonServerMessageBlock.java

    1. */
    2. int decode ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException;
    3.  
    4.  
    5. /**
    6. * @param dst
    7. * @param dstIndex
    8. * @return message length
    9. */
    10. int encode ( byte[] dst, int dstIndex );
    11.  
    12.  
    13. /**
    14. * @param digest
    15. */
    16. void setDigest ( SMBSigningDigest digest );
    17.  
    18.  
    19. /**
    20. * @return the signing digest
    21. */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java

    1. private static final String ESCAPED_QUOTE = "\"\"";
    2.  
    3. private KuromojiCSVUtil() {
    4. } // no instance!!!
    5.  
    6. /**
    7. * Parse CSV line
    8. *
    9. * @param line
    10. * line containing csv-encoded data
    11. * @return Array of values
    12. */
    13. public static String[] parse(final String line) {
    14. boolean insideQuote = false;
    15. final ArrayList<String> result = new ArrayList<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. okhttp/src/test/resources/web-platform-test-toascii.json

    1. },
    2. {
    3. "input": "نامه‌ای",
    4. "output": "xn--mgba3gch31f060k"
    5. },
    6. {
    7. "comment": "U+FFFD",
    8. "input": "\uFFFD.com",
    9. "output": null
    10. },
    11. {
    12. "comment": "U+FFFD character encoded in Punycode",
    13. "input": "xn--zn7c.com",
    14. "output": null
    15. },
    16. {
    17. "comment": "Label longer than 63 code points",
    18. "input": "x01234567890123456789012345678901234567890123456789012345678901x",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java

    1. dstIndex += 4;
    2. System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
    3. dstIndex += 16;
    4.  
    5. for ( Smb2Lock l : this.locks ) {
    6. dstIndex += l.encode(dst, dstIndex);
    7. }
    8. return dstIndex - start;
    9. }
    10.  
    11.  
    12. /**
    13. * {@inheritDoc}
    14. *
    15. * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
    16. */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

    1. fun body(body: MockResponseBody) =
    2. apply {
    3. setHeader("Content-Length", body.contentLength)
    4. this.body = body
    5. }
    6.  
    7. /** Sets the response body to the UTF-8 encoded bytes of [body]. */
    8. fun body(body: String): Builder = body(Buffer().writeUtf8(body))
    9.  
    10. fun streamHandler(streamHandler: StreamHandler) =
    11. apply {
    12. this.streamHandler = streamHandler
    13. }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/net/URLUtil.java

    1. * @return <code>application/x-www-form-urlencoded</code>でエンコード文字列
    2. */
    3. public static String encode(final String s, final String enc) {
    4. assertArgumentNotEmpty("s", s);
    5. assertArgumentNotEmpty("enc", enc);
    6.  
    7. try {
    8. return URLEncoder.encode(s, enc);
    9. } catch (final UnsupportedEncodingException e) {
    10. throw new IORuntimeException(e);
    11. }
    12. }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

    1. * all but the first smb of the chaain do not have a header
    2. * and therefore we do not want to writeHeaderWireFormat. We
    3. * just recursivly call writeAndXWireFormat.
    4. */
    5.  
    6. int encode( byte[] dst, int dstIndex ) {
    7. int start = headerStart = dstIndex;
    8.  
    9. dstIndex += writeHeaderWireFormat( dst, dstIndex );
    10. dstIndex += writeAndXWireFormat( dst, dstIndex );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

    1. * assertNull(getEffectiveTldPlusOne("mymacbook"));
    2. * ```
    3. *
    4. * @param domain A canonicalized domain. An International Domain Name (IDN) should be punycode
    5. * encoded.
    6. */
    7. fun getEffectiveTldPlusOne(domain: String): String? {
    8. // We use UTF-8 in the list so we need to convert to Unicode.
    9. val unicodeDomain = IDN.toUnicode(domain)
    10. val domainLabels = splitDomain(unicodeDomain)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

    1. * double-duty to make sure the counting and content are consistent, particularly when it comes
    2. * to awkward operations like measuring the encoded length of header strings, or the
    3. * length-in-digits of an encoded integer.
    4. */
    5. @Throws(IOException::class)
    6. private fun writeOrCountBytes(
    7. sink: BufferedSink?,
    8. countBytes: Boolean,
    9. ): Long {
    10. var sink = sink
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top