Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 549 for simplest (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/smb/SSPContextTest.java

    import org.mockito.InOrder;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    
    @ExtendWith(MockitoExtension.class)
    class SSPContextTest {
    
        // Simple, deterministic test double covering all methods of SSPContext.
        private static class DummySSPContext implements SSPContext {
            private byte[] signingKey;
            private boolean established;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

        // Concrete implementation for testing abstract NtlmMessage
        private static class TestNtlmMessage extends NtlmMessage {
            @Override
            public byte[] toByteArray() throws IOException {
                // Simple implementation for testing purposes
                return new byte[0];
            }
        }
    
        @BeforeEach
        void setUp() {
            message = new TestNtlmMessage();
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

                return resource;
            }
        }
    
        @BeforeEach
        void setUp() {
            lenient().when(fileEntry.getName()).thenReturn("test");
        }
    
        @Test
        @DisplayName("Iterator without filter - simple case")
        void iteratorWithoutFilter() {
            // Setup: constructor calls advance() once
            when(delegate.hasNext()).thenReturn(true, false);
            when(delegate.next()).thenReturn(fileEntry);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/FileEntryTest.java

    import org.mockito.InOrder;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    @ExtendWith(MockitoExtension.class)
    class FileEntryTest {
    
        @Mock
        FileEntry mockEntry;
    
        // Simple fake implementation to exercise the interface without mocks
        private static final class TestFileEntry implements FileEntry {
            private final String name;
            private final int type;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/extra-models.md

    /// danger
    
    Never store user's plaintext passwords. Always store a "secure hash" that you can then verify.
    
    If you don't know, you will learn what a "password hash" is in the [security chapters](security/simple-oauth2.md#password-hashing){.internal-link target=_blank}.
    
    ///
    
    ## Multiple models { #multiple-models }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                throws Exception {
            File localRepoDir = new File(projectBuildingRequest.getLocalRepository().getBasedir());
            LocalRepository localRepo = new LocalRepository(localRepoDir, "simple");
    
            RepositorySystemSession session = new MavenSessionBuilderSupplier(repositorySystem)
                    .get()
                    .withLocalRepositories(localRepo)
                    .build();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  7. fastapi/applications.py

                ),
                deprecated(
                    """
                    "openapi_prefix" has been deprecated in favor of "root_path", which
                    follows more closely the ASGI standard, is simpler, and more
                    automatic.
                    """
                ),
            ] = "",
            root_path: Annotated[
                str,
                Doc(
                    """
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 176.3K bytes
    - Click Count (0)
  8. docs/fr/docs/async.md

    ### Autres formes de code asynchrone
    
    L'utilisation d'`async` et `await` est relativement nouvelle dans ce langage.
    
    Mais cela rend la programmation asynchrone bien plus simple.
    
    Cette même syntaxe (ou presque) était aussi incluse dans les versions modernes de Javascript (dans les versions navigateur et NodeJS).
    
    Mais avant ça, gérer du code asynchrone était bien plus complexe et difficile.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:56:21 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/extra-models.md

    Nunca almacenes contraseñas de usuarios en texto plano. Siempre almacena un "hash seguro" que puedas verificar luego.
    
    Si no lo sabes, aprenderás qué es un "hash de contraseña" en los [capítulos de seguridad](security/simple-oauth2.md#password-hashing){.internal-link target=_blank}.
    
    ///
    
    ## Múltiples modelos { #multiple-models }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlingParameterUtilTest.java

            CrawlingParameterUtil.setUrlQueueService(null);
            CrawlingParameterUtil.setDataService(null);
            super.tearDown();
        }
    
        // Helper method to create a simple mock UrlQueue
        private UrlQueue<?> createMockUrlQueue(final String sessionId, final String url) {
            return new UrlQueue<Object>() {
                @Override
                public Object getId() {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 14.6K bytes
    - Click Count (0)
Back to Top