Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 458 for contract (0.05 seconds)

  1. src/test/java/jcifs/internal/SMBSigningDigestTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.ArgumentCaptor;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    /**
     * Test class for SMBSigningDigest interface
     * Tests the contract and behavior of signing and verification methods
     */
    class SMBSigningDigestTest {
    
        @Mock
        private SMBSigningDigest signingDigest;
    
        @Mock
        private CommonServerMessageBlock request;
    
        @Mock
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/AbstractIterator.java

        T result = uncheckedCastNullableTToT(next);
        next = null;
        return result;
      }
    
      /**
       * Returns the next element in the iteration without advancing the iteration, according to the
       * contract of {@link PeekingIterator#peek()}.
       *
       * <p>Implementations of {@code AbstractIterator} that wish to expose this functionality should
       * implement {@code PeekingIterator}.
       */
      @ParametricNullness
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerActionTest.java

    import org.lastaflute.job.subsidiary.LaunchNowOption;
    import org.lastaflute.job.subsidiary.LaunchedProcess;
    import org.lastaflute.web.response.JsonResponse;
    
    /**
     * Tests for the scheduler start API endpoint contract.
     * Verifies that {@code PUT /api/admin/scheduler/{id}/start} returns the correct
     * {@code jobLogId} based on the job's logging configuration.
     */
    public class ApiAdminSchedulerActionTest extends UnitFessTestCase {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 13K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ForwardingNavigableSet.java

     * elements, if there is no comparator) to test element equality. As a result, if the comparator is
     * not consistent with equals, some of the standard implementations may violate the {@code Set}
     * contract.
     *
     * <p>The {@code standard} methods and the collection views they return are not guaranteed to be
     * thread-safe, even when all of the methods that they depend on are thread-safe.
     *
     * @author Louis Wasserman
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

                //
                // ---
                //
                // If the CAS fails, the provided callable already started running (or it is about
                // to). Our contract promises:
                //
                // 1. not to execute a new callable until the old one has returned
                //
                // If we were to cancel taskFuture, that would let the next task start while the old
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

      @Throws(IOException::class)
      abstract fun writeTo(sink: BufferedSink)
    
      /**
       * A duplex request body is special in how it is **transmitted** on the network and
       * in the **API contract** between OkHttp and the application.
       *
       * This method returns false unless it is overridden by a subclass.
       *
       * ### Duplex Transmission
       *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 14:16:29 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

            // Test commit (should not throw exception)
            callback.commit();
        }
    
        @Test
        public void test_multiple_implementations() {
            // Test with different implementations to ensure interface contract
            IndexUpdateCallback callback1 = createMockCallback(10, 500);
            IndexUpdateCallback callback2 = createMockCallback(20, 1000);
    
            assertEquals(10L, callback1.getDocumentSize());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/Converter.java

          return b == null ? null : checkNotNull(doBackward(b));
        } else {
          return unsafeDoBackward(b);
        }
      }
    
      /*
       * LegacyConverter violates the contract of Converter by allowing its doForward and doBackward
       * methods to accept null. We could avoid having unchecked casts in Converter.java itself if we
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 18 21:43:06 GMT 2025
    - 22.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/TempFileCreator.java

    @GwtIncompatible
    @J2ObjCIncompatible
    abstract class TempFileCreator {
      static final TempFileCreator INSTANCE = pickSecureCreator();
    
      /**
       * @throws IllegalStateException if the directory could not be created (to implement the contract
       *     of {@link Files#createTempDir()}, such as if the system does not support creating temporary
       *     directories securely
       */
      abstract File createTempDir();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 29 18:50:14 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/SmbResourceTest.java

    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Comprehensive test suite for jcifs.SmbResource interface.
     * Tests SMB resource interface contract and functionality for CIFS/SMB protocol compliance.
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("SmbResource Interface Tests")
    class SmbResourceTest {
    
        @Mock
        private SmbResource mockResource;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 35K bytes
    - Click Count (0)
Back to Top