Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 717 for encoded (0.22 sec)

  1. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                byte[] largeBuffer = new byte[1000];
    
                // Act
                int smallEncodedSize = context.encode(smallBuffer, 0);
                int largeEncodedSize = context.encode(largeBuffer, 500);
    
                // Assert
                // encode() returns actual bytes written (6), not size() value (8)
                assertEquals(6, smallEncodedSize); // actual: 2 bytes count + 2*2 bytes for ciphers
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt

       * that enqueued messages were not transmitted.
       */
      fun queueSize(): Long
    
      /**
       * Attempts to enqueue `text` to be UTF-8 encoded and sent as a the data of a text (type `0x1`)
       * message.
       *
       * This method returns true if the message was enqueued. Messages that would overflow the outgoing
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            byte[] dst = new byte[20];
            int writtenSize = range.encode(dst, 0);
            assertEquals(10, writtenSize, "Range size when not large should be 10");
            // create a new empty range and decode
            LockingAndXRange decoded = new LockingAndXRange(false);
            int decodedSize = decoded.decode(dst, 0, dst.length);
            assertEquals(10, decodedSize, "Decode should return size 10");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

         * to the specified maximum length.
         *
         * @param text the input text to be encoded
         * @return the encoded string, truncated if necessary
         */
        public static String createSuggestTextId(final String text) {
            final String id = encoder.encodeToString(text.getBytes(CoreLibConstants.CHARSET_UTF_8));
            if (id.length() > 445) {
                return id.substring(0, ID_MAX_LENGTH);
            }
            return id;
        }
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. cmd/metacache-marker.go

    )
    
    // markerTagVersion is the marker version.
    // Should not need to be updated unless a fundamental change is made to the marker format.
    const markerTagVersion = "v2"
    
    // parseMarker will parse a marker possibly encoded with encodeMarker
    func (o *listPathOptions) parseMarker() {
    	s := o.Marker
    	if !strings.Contains(s, "[minio_cache:"+markerTagVersion) {
    		return
    	}
    	start := strings.LastIndex(s, "[")
    	o.Marker = s[:start]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

       * double-duty to make sure the counting and content are consistent, particularly when it comes
       * to awkward operations like measuring the encoded length of header strings, or the
       * length-in-digits of an encoded integer.
       */
      @Throws(IOException::class)
      private fun writeOrCountBytes(
        sink: BufferedSink?,
        countBytes: Boolean,
      ): Long {
        var sink = sink
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/SecureCredentialStorage.java

                }
            }
        }
    
        /**
         * Encrypt credentials to a base64 string for storage
         *
         * @param plaintext the credentials to encrypt
         * @return base64 encoded encrypted credentials
         * @throws GeneralSecurityException if encryption fails
         */
        public String encryptToString(char[] plaintext) throws GeneralSecurityException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            transformHeader.setFlags(0x0001);
            transformHeader.setSessionId(testSessionId);
    
            byte[] buffer = new byte[52];
    
            // When
            int encoded = transformHeader.encode(buffer, 0);
    
            // Then
            assertEquals(52, encoded);
    
            // Verify protocol ID (first 4 bytes) - 0xFD534D42 in little-endian
            assertEquals((byte) 0x42, buffer[0]);
            assertEquals((byte) 0x4D, buffer[1]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/log/ApiAdminLogAction.java

            return asJson(new ApiResult.ApiLogFilesResponse().files(list).total(list.size()).status(ApiResult.Status.OK).result());
        }
    
        /**
         * Downloads a specific log file by ID.
         *
         * @param id the base64-encoded filename of the log file to download
         * @return stream response containing the log file content
         */
        // GET /api/admin/log/file/{id}
        @Execute
        public StreamResponse get$file(final String id) {
    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. okhttp/src/jvmTest/resources/web-platform-test-toascii.json

      },
      {
        "input": "نامه‌ای",
        "output": "xn--mgba3gch31f060k"
      },
      {
        "comment": "U+FFFD",
        "input": "\uFFFD.com",
        "output": null
      },
      {
        "comment": "U+FFFD character encoded in Punycode",
        "input": "xn--zn7c.com",
        "output": null
      },
      {
        "comment": "Label longer than 63 code points",
        "input": "x01234567890123456789012345678901234567890123456789012345678901x",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top