Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 6,958 for KClass (0.14 sec)

  1. docs/pt/docs/how-to/testing-database.md

    Aqui tem um mini <a href="https://sqlmodel.tiangolo.com/tutorial/fastapi/" class="external-link" target="_blank">tutorial de como usar SQLModel com FastAPI</a>. ✨
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Oct 18 12:04:04 UTC 2024
    - 547 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/curl/io/ContentCache.java

     *     InputStream inputStream = cache.getInputStream();
     *     // Read from inputStream
     * }
     * }
     * </pre>
     *
     */
    public class ContentCache implements Closeable {
    
        /**
         * The logger for this class.
         */
        protected static final Logger logger = Logger.getLogger(ContentCache.class.getName());
    
        /**
         * A byte array that holds the cached content data.
         */
        private final byte[] data;
    
        /**
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

     * is deleted when the stream is closed.
     */
    public class TemporaryFileInputStream extends InputStream {
        private static final Logger logger = LogManager.getLogger(TemporaryFileInputStream.class);
    
        private final File tempFile;
    
        private final FileInputStream fileInputStream;
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            // Mock the request buffer
            DfsReferralRequestBuffer mockRequest = mock(DfsReferralRequestBuffer.class);
            when(mockRequest.encode(any(byte[].class), anyInt())).thenReturn(10);
    
            // Inject mock request
            Field requestField = Trans2GetDfsReferral.class.getDeclaredField("request");
            requestField.setAccessible(true);
            requestField.set(trans2GetDfsReferral, mockRequest);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/testing.md

    Thanks to <a href="https://www.starlette.io/testclient/" class="external-link" target="_blank">Starlette</a>, testing **FastAPI** applications is easy and enjoyable.
    
    It is based on <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a>, which in turn is designed based on Requests, so it's very familiar and intuitive.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jakarta.servlet.http.HttpServletRequest;
    
    @ExtendWith(MockitoExtension.class)
    public class NtlmHttpServletRequestTest {
    
        @Test
        @DisplayName("constructor stores principal and delegates properly")
        void testHappyPath(@Mock HttpServletRequest mockRequest, @Mock Principal mockPrincipal) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

    /**
     * Trans2 QueryFSInformation response message for file system information queries.
     * This class handles the response from a TRANS2_QUERY_FS_INFORMATION request,
     * returning various file system information levels such as volume size and attributes.
     */
    public class Trans2QueryFSInformationResponse extends SmbComTransactionResponse {
    
        private final int informationLevel;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

     *
     * This test class verifies the basic functionality of DirFileEntryAdapterIterator.
     * Due to the iterator's constructor calling advance() immediately, which requires
     * the adapt() method to be functional, we test the behavior using simple mock
     * scenarios that don't require complex filter setups.
     */
    @ExtendWith(MockitoExtension.class)
    class DirFileEntryAdapterIteratorTest {
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

    import jcifs.context.BaseContext;
    import jcifs.smb.NtlmPasswordAuthentication;
    
    /**
     * Tests for the NtlmHttpURLConnection class.
     * This class uses Mockito to simulate the behavior of HttpURLConnection and other dependencies.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class NtlmHttpURLConnectionTest {
    
        @Mock
        private HttpURLConnection mockConnection;
    
        private URL mockUrl;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

        /**
         * The path identified by the Java {@code --class-path} option.
         * Used for compilation, execution and Javadoc among others.
         * The Java tools location is {@link StandardLocation#CLASS_PATH}.
         *
         * <h4>Context-sensitive interpretation</h4>
         * A dependency with this path type will not necessarily be placed on the class path.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 15K bytes
    - Viewed (1)
Back to top