Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 427 for codec (3.21 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

     *
     * <p>
     * The URL format is expected to be: {@code gcs://bucketName/objectName}.
     * The bucket name and object name are extracted from the URL.
     * </p>
     *
     * <p>
     * The handler relies on environment variables for configuration:
     * </p>
     * <ul>
     *   <li>{@code GCS_PROJECT_ID}: The Google Cloud project ID.</li>
     *   <li>{@code GCS_ENDPOINT}: Custom endpoint URL (optional, for testing with fake-gcs-server).</li>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Tests for the {@link AllocInfo} interface.
     * Since {@code AllocInfo} only declares getters, the tests focus on
     * verifying that implementations honour the contract.
     */
    @ExtendWith(MockitoExtension.class)
    public class AllocInfoTest {
    
        @Mock
        AllocInfo mockAllocInfo;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

            super();
        }
    
        /**
         * Gets the HTTP status code of the response.
         *
         * @return the HTTP status code
         */
        public int getHttpStatusCode() {
            return httpStatusCode;
        }
    
        /**
         * Sets the HTTP status code of the response.
         *
         * @param statusCode the HTTP status code to set
         */
        public void setHttpStatusCode(final int statusCode) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SIDCacheImpl.java

         * @param sids
         *            The SIDs that should be resolved. After this function is called, the names associated with the SIDs
         *            may be queried with the <code>toDisplayString</code>, <code>getDomainName</code>, and <code>getAccountName</code>
         *            methods.
         */
        @Override
        public void resolveSids(final CIFSContext tc, final String authorityServerName, final jcifs.SID[] sids) throws CIFSException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

     * provided purely to expose protected state and to satisfy the abstract
     * method contract.  The tests focus on public API behaviour and the
     * parsing logic in {@code readParameterWordsWireFormat} and
     * {@code readBytesWireFormat}.
     */
    public class SmbComTransactionResponseTest {
        /** A minimal concrete subclass for testing */
        private static class DummyResponse extends SmbComTransactionResponse {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

        }
    
        @Test
        void constructor_shouldThrowSmbExceptionOnOpenFailure() throws IOException {
            // Arrange
            int access = 1;
            int rid = 100;
            int errorCode = 0xC0000022; // Example error code
    
            // Mock the behavior of sendrecv for MsrpcSamrOpenAlias to simulate failure
            doAnswer(invocation -> {
                MsrpcSamrOpenAlias rpc = invocation.getArgument(0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

     * that package-private fields and constants can be accessed directly.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbComCloseTest {
    
        /**
         * Ensure the constructor sets the {@code command} field of the
         * {@link ServerMessageBlock} superclass to {@link ServerMessageBlock#SMB_COM_CLOSE}.
         */
        @Test
        @DisplayName("happy: constructor sets command correctly")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            // Complex SMB parsing conditions make precise testing challenging, but the security checks exist
            try {
                response.readBytesWireFormat(buffer, 0);
                // If no exception, it's because other validation conditions weren't met
                // The important point is that the validation logic exists in the code
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmServlet.java

     * server or domain controller depending on how the
     * {@code jcifs.smb.client.domain} or {@code jcifs.http.domainController}
     * properties are be specified. <b>With later containers the
     * {@code NtlmHttpFilter} should be used</b>. For custom NTLM HTTP Authentication schemes the {@code NtlmSsp} may be
     * used.
     * <p>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  10. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

                NoSuchPaddingException, InvalidKeyException, IllegalBlockSizeException, BadPaddingException {
            Cipher cipher;
            byte[] decrypt;
            byte[] code = new byte[4];
            Encdec.enc_uint32le(2, code, 0);
            byte[] codeHmac = getHmac(code, key.getEncoded());
    
            byte[] dataChecksum = new byte[KerberosConstants.CHECKSUM_SIZE];
            System.arraycopy(data, 0, dataChecksum, 0, KerberosConstants.CHECKSUM_SIZE);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top