Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 542 for decodes (0.91 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

        }
    
        /**
         * Decodes a base64 encoded ID back to the original object name.
         *
         * @param id the encoded ID to decode
         * @return the decoded object name
         */
        protected static String decodeId(final String id) {
            if (id == null) {
                return StringUtil.EMPTY;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

          return decode(certificatePem, pkcs8Base64)
        }
    
        private fun decode(
          certificatePem: String,
          pkcs8Base64Text: String,
        ): HeldCertificate {
          val certificate = certificatePem.decodeCertificatePem()
    
          val pkcs8Bytes =
            pkcs8Base64Text.decodeBase64()
              ?: throw IllegalArgumentException("failed to decode private key")
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

        class IntegrationTests {
    
            @Test
            @DisplayName("Should maintain state after multiple decodes")
            void testMultipleDecodes() throws SMBProtocolDecodingException {
                // First decode
                byte[] buffer1 = createValidCopyChunkResponse(1, 1024, 1024);
                response.decode(buffer1, 0, buffer1.length);
                assertEquals(1, response.getChunksWritten());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

        }
    
        @Test
        @DisplayName("Test decode with valid single entry")
        void testDecodeValidSingleEntry() throws SMBProtocolDecodingException {
            String fileName = "document.pdf";
            int action = FileNotifyInformation.FILE_ACTION_MODIFIED;
            byte[] buffer = createValidNotificationBuffer(fileName, action);
    
            int bytesRead = notifyInfo.decode(buffer, 0, buffer.length);
    
            assertTrue(bytesRead > 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            }
        }
    
        /**
         * Decodes a similar document hash from its compressed and encoded form.
         * Reverses the encoding process applied by encodeSimilarDocHash.
         *
         * @param hash the encoded hash string to decode
         * @return the decoded hash string, or the original hash if decoding fails
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  6. cmd/streaming-signature-v4.go

    // out of HTTP "chunked" format before returning it.
    // The s3ChunkedReader returns io.EOF when the final 0-length chunk is read.
    //
    // NewChunkedReader is not needed by normal applications. The http package
    // automatically decodes chunking when reading response bodies.
    func newSignV4ChunkedReader(req *http.Request, trailer bool) (io.ReadCloser, APIErrorCode) {
    	cred, seedSignature, region, seedDate, errCode := calculateSeedSignature(req, trailer)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ByteSource.java

    @J2ktIncompatible
    @GwtIncompatible
    public abstract class ByteSource {
    
      /** Constructor for use by subclasses. */
      protected ByteSource() {}
    
      /**
       * Returns a {@link CharSource} view of this byte source that decodes bytes read from this source
       * as characters using the given {@link Charset}.
       *
       * <p>If {@link CharSource#asByteSource} is called on the returned source with the same charset,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            if (rem == 0) {
                return 0;
            }
            return 8 - rem;
        }
    
        @Override
        public int decode(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException {
            return decode(buffer, bufferIndex, false);
        }
    
        /**
         * Decodes the SMB2 message from the buffer.
         *
         * @param buffer the buffer containing the message
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

        }
    
        @Test
        @DisplayName("Test decode with owner SID only")
        void testDecodeWithOwnerSidOnly() throws SMBProtocolDecodingException {
            // Prepare buffer with owner SID only
            prepareMinimalSecurityDescriptorBuffer(testBuffer, 0, true, false, false);
    
            int size = securityDescriptor.decode(testBuffer, 0, testBuffer.length);
    
            // decode returns 0 when no DACL is present (falls through)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            assertEquals("c", raf.readLine());
    
            when(raf.read()).thenReturn(-1);
            assertNull(raf.readLine());
        }
    
        @Test
        @DisplayName("readUTF(): decodes bytes after size prefix")
        void readUTF_decodes() throws Exception {
            SmbRandomAccessFile raf = spy(newInstance("r", false, false, false));
            // Size prefix 3, then bytes for "abc"
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top