Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 8,559 for class1 (1.16 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

     * heavy network interactions through {@link SmbTransport}.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbSessionTest {
    
        @Mock
        UniAddress addr;
        @Mock
        InetAddress inet;
        NtlmPasswordAuthentication auth;
        @Mock
        SmbTransport transport;
    
        // static helper that returns the mocked transport. The real class
        // performs several other operations, but for the purpose of the test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java

    /**
     * Unit tests for the {@link Apply} goal class.
     * Tests the Apply-specific functionality including file modification behavior.
     */
    @DisplayName("Apply")
    class ApplyTest {
    
        private Apply applyGoal;
        private StrategyOrchestrator mockOrchestrator;
    
        @BeforeEach
        void setUp() {
            mockOrchestrator = mock(StrategyOrchestrator.class);
            applyGoal = new Apply(mockOrchestrator);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 10:39:17 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/cache/CacheAction.java

    import org.lastaflute.web.response.ActionResponse;
    import org.lastaflute.web.response.StreamResponse;
    
    /**
     * Action class for handling cached document content requests.
     * Provides functionality to retrieve and display cached versions of crawled documents.
     */
    public class CacheAction extends FessSearchAction {
    
        /**
         * Creates a new instance of CacheAction.
         */
        public CacheAction() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                SrvCopychunk mockChunk1 = mock(SrvCopychunk.class);
                SrvCopychunk mockChunk2 = mock(SrvCopychunk.class);
                SrvCopychunk mockChunk3 = mock(SrvCopychunk.class);
    
                // Simulate different encode return values
                when(mockChunk1.encode(any(byte[].class), anyInt())).thenReturn(20);
                when(mockChunk2.encode(any(byte[].class), anyInt())).thenReturn(24);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001_py39.py hl[1] *}
    
    `FastAPI` is a Python class that provides all the functionality for your API.
    
    /// note | Technical Details
    
    `FastAPI` is a class that inherits directly from `Starlette`.
    
    You can use all the <a href="https://www.starlette.dev/" class="external-link" target="_blank">Starlette</a> functionality with `FastAPI` too.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

     * protection against buffer overflow, integer overflow, and other attacks.
     */
    public class Smb2NegotiateResponseInputValidationTest {
    
        private Configuration mockConfig;
        private Smb2NegotiateResponse response;
    
        @BeforeEach
        public void setUp() {
            mockConfig = Mockito.mock(Configuration.class);
            response = new Smb2NegotiateResponse(mockConfig);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

                    mock(CommonServerMessageBlockRequest.class, withSettings().extraInterfaces(RequestWithFileId.class));
    
            resp.prepare(next);
    
            verify((RequestWithFileId) next, times(1)).setFileId(eq(fileId));
        }
    
        @Test
        void prepare_doesNothing_whenNotReceived() {
            Configuration config = Mockito.mock(Configuration.class);
            Smb2CreateResponse resp = new Smb2CreateResponse(config, "x");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

    import org.junit.jupiter.params.provider.NullSource;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    @ExtendWith(MockitoExtension.class)
    class SMBSignatureValidationExceptionTest {
    
        // Happy path: default constructor creates an exception with no message/cause
        @Test
        @DisplayName("Default ctor: null message/cause and success status")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. docs/ru/docs/environment-variables.md

    //// tab | Linux, macOS, Windows Bash
    
    <div class="termy">
    
    ```console
    // Вы можете создать переменную окружения MY_NAME с помощью
    $ export MY_NAME="Wade Wilson"
    
    // Затем её можно использовать в других программах, например
    $ echo "Hello $MY_NAME"
    
    Hello Wade Wilson
    ```
    
    </div>
    
    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt

    import java.util.concurrent.TimeUnit
    import kotlin.test.assertFailsWith
    import okhttp3.CacheControl.Companion.parse
    import okhttp3.Headers.Companion.headersOf
    import org.junit.jupiter.api.Test
    
    class CacheControlJvmTest {
      @Test
      @Throws(Exception::class)
      fun completeBuilder() {
        val cacheControl =
          CacheControl
            .Builder()
            .noCache()
            .noStore()
            .maxAge(1, TimeUnit.SECONDS)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top