Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1511 - 1520 of 3,176 for Then (0.08 seconds)

  1. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

            @DisplayName("Should verify signature when digest is present and successful")
            void testVerifySignatureSuccess() throws Exception {
                byte[] buffer = new byte[1024];
                echoResponse.setDigest(mockDigest);
                setStatus(echoResponse, NtStatus.NT_STATUS_SUCCESS);
    
                when(mockConfig.isRequireSecureNegotiate()).thenReturn(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/HasKotlinFlagsMetadataQuery.kt

    import kotlin.metadata.jvm.signature
    import kotlin.metadata.visibility
    
    
    internal
    fun KotlinClassMetadata.hasAttribute(memberType: MemberType, jvmSignature: String, predicate: AttributePredicate): Boolean =
        when (this) {
            is KotlinClassMetadata.Class -> hasClassAttribute(this::kmClass, memberType, jvmSignature, predicate)
            is KotlinClassMetadata.FileFacade -> hasPackageAttribute(this::kmPackage, memberType, jvmSignature, predicate)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jul 04 09:21:38 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/http/HandlerTest.java

            assertNotNull(connection, "Connection should not be null even when jcifs is in handler path.");
            assertTrue(connection instanceof NtlmHttpURLConnection, "Should use cached handler and wrap it.");
        }
    
        @Test
        void testOpenConnection_NullSystemProperty_UsesDefaultHandlers() throws Exception {
            // This test verifies that when the system property is null, the handler
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            // Test with smaller maximum buffer size
            when(mockConfig.getMaximumBufferSize()).thenReturn(8192);
            when(mockConfig.getListSize()).thenReturn(16384);
    
            request = new Smb2QueryDirectoryRequest(mockConfig);
            assertNotNull(request);
    
            // Test with smaller list size
            when(mockConfig.getMaximumBufferSize()).thenReturn(16384);
            when(mockConfig.getListSize()).thenReturn(8192);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  5. cmd/erasure-multipart-conditional_test.go

    )
    
    // TestNewMultipartUploadConditionalWithReadQuorumFailure tests that conditional
    // multipart uploads (with if-match/if-none-match) behave correctly when read quorum
    // cannot be reached.
    //
    // Related to: https://github.com/minio/minio/issues/21603
    //
    // Should return an error when read quorum cannot
    // be reached, as we cannot reliably determine if the precondition is met.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java

    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.security.Principal;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/LinkedHashMultiset.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@code Multiset} implementation with predictable iteration order. Its iterator orders elements
     * according to when the first occurrence of the element was added. When the multiset contains
     * multiple instances of an element, those instances are consecutive in the iteration order. If all
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  8. cmd/erasure-object-conditional_test.go

    )
    
    // TestPutObjectConditionalWithReadQuorumFailure tests that conditional
    // PutObject operations (with if-match/if-none-match) behave correctly when read quorum
    // cannot be reached.
    //
    // Related to: https://github.com/minio/minio/issues/21603
    //
    // Should return an error when read quorum cannot
    // be reached, as we cannot reliably determine if the precondition is met.
    func TestPutObjectConditionalWithReadQuorumFailure(t *testing.T) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/FileWriteMode.java

     */
    
    package com.google.common.io;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    
    /**
     * Modes for opening a file for writing. The default when mode when none is specified is to truncate
     * the file before writing.
     *
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    public enum FileWriteMode {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.getMaximumBufferSize()).thenReturn(65535);
            when(mockConfig.getTransactionBufferSize()).thenReturn(65535);
            when(mockConfig.isUseUnicode()).thenReturn(true);
            when(mockConfig.isForceUnicode()).thenReturn(false);
            when(mockConfig.getOemEncoding()).thenReturn("ASCII");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
Back to Top