Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 459 for contracts (0.2 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/Lockable.kt

     * limitations under the License.
     */
    @file:Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN", "NOTHING_TO_INLINE")
    
    package okhttp3.internal.concurrent
    
    import kotlin.contracts.ExperimentalContracts
    import kotlin.contracts.InvocationKind
    import kotlin.contracts.contract
    import okhttp3.internal.assertionsEnabled
    
    /**
     * Marker interface for objects that use the JVM's `synchronized` mechanism and the related
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. tests/serializer_test.go

    	Roles                  Roles                  `gorm:"serializer:json"`
    	Roles2                 *Roles                 `gorm:"serializer:json"`
    	Roles3                 *Roles                 `gorm:"serializer:json;not null"`
    	Contracts              map[string]interface{} `gorm:"serializer:json"`
    	JobInfo                Job                    `gorm:"type:bytes;serializer:gob"`
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbSessionInternalTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    import jcifs.SmbTransport;
    import jcifs.SmbTree;
    
    /**
     * Tests for SmbSessionInternal interface using Mockito to exercise
     * method contracts, checked exceptions, and interactions with collaborators.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbSessionInternalTest {
    
        @Mock
        private SmbSessionInternal session;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/NetbiosNameTest.java

            verify(mockNetbiosName).getName();
            verify(mockNetbiosName).getScope();
            verify(mockNetbiosName).getNameType();
        }
    
        @Test
        @DisplayName("Should handle interface method contracts")
        void testMethodContracts() {
            // The interface should allow for various implementations
            // Test that methods can return any valid values
    
            // Names can be any string
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTransportInternalTest.java

    import org.mockito.Mockito;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.SmbSession;
    
    /**
     * Tests for SmbTransportInternal interface using Mockito mocks to
     * exercise method contracts, checked exceptions, and interactions.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbTransportInternalTest {
    
        @Mock
        private SmbTransportInternal transport;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/transport/TransportException.java

    public class TransportException extends IOException {
    
        /** The root cause exception */
        private Throwable rootCause;
    
        /**
         * Constructs a new TransportException with no detail message.
         */
        public TransportException() {
        }
    
        /**
         * Constructs a new TransportException with the specified detail message.
         *
         * @param msg the detail message
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

     */
    @ExtendWith(MockitoExtension.class)
    public class SmbRenewableCredentialsTest {
    
        // Simple base class to satisfy the extended CredentialsInternal contract
        static abstract class BaseCreds implements SmbRenewableCredentials {
            @Override
            public CredentialsInternal clone() {
                // For testing purposes, return this instance (allowed by return type)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/spnego/SpnegoException.java

        /**
         *
         */
        private static final long serialVersionUID = -4591854684249021395L;
    
        /**
         * Constructs a new SpnegoException with no detail message
         */
        public SpnegoException() {
        }
    
        /**
         * Constructs a new SpnegoException with the specified detail message and cause
         * @param message the detail message
         * @param cause the cause of this exception
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/transport/RequestTimeoutException.java

        /**
         *
         */
        private static final long serialVersionUID = -8825922797594232534L;
    
        /**
         * Constructs a new RequestTimeoutException with no detail message.
         */
        public RequestTimeoutException() {
        }
    
        /**
         * Constructs a new RequestTimeoutException with the specified detail message and cause.
         *
         * @param msg the detail message
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/transport/ConnectionTimeoutException.java

        /**
         *
         */
        private static final long serialVersionUID = 7327198103204592731L;
    
        /**
         * Constructs a new ConnectionTimeoutException with no detail message.
         */
        public ConnectionTimeoutException() {
        }
    
        /**
         * Constructs a new ConnectionTimeoutException with the specified detail message.
         * @param msg the detail message
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top