Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 529 for ensure (0.25 sec)

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

    import org.junit.jupiter.api.Test;
    import org.mockito.Mockito;
    
    /**
     * Tests for {@link SmbFilenameFilter}. Since the interface only defines
     * a single method, the tests simply ensure that the lambda expression
     * correctly implements the method and that any exception is propagated.
     */
    class SmbFilenameFilterTest {
    
        @Test
        void acceptReturnsTrueWhenNameMatches() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosConstantsTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the KerberosConstants interface.
     */
    class KerberosConstantsTest {
    
        /**
         * This test primarily exists to ensure the constants interface can be loaded
         * and to provide a basic check of its values.
         * Since it's an interface with only static final fields, there is no complex logic to test.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  3. api/maven-api-model/src/main/java/org/apache/maven/api/model/package-info.java

     * <p>
     * This package contains the data model classes that represent the structure of Maven POM files.
     * These classes are immutable to ensure thread safety and prevent unintended modifications.
     * The root class is {@link org.apache.maven.api.model.Model}, which represents the entire POM.
     * <p>
     * Key components include:
     * <ul>
     *   <li>{@link org.apache.maven.api.model.Model} - The root element of a POM file</li>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/PlatformInitializer.kt

     * limitations under the License.
     */
    package okhttp3.internal.platform
    
    import android.content.Context
    import androidx.startup.Initializer
    
    /**
     * Androidx Startup initializer to ensure that the AndroidPlatform has access to the application context.
     */
    class PlatformInitializer : Initializer<Platform> {
      override fun create(context: Context): Platform {
        PlatformRegistry.applicationContext = context
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Dec 31 14:50:53 UTC 2024
    - 1K bytes
    - Viewed (1)
  5. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

         */
        public int read(final byte b[], final int off, int len) throws SmbException {
            if (len <= 0) {
                return 0;
            }
            final long start = fp;
    
            // ensure file is open
            if (!file.isOpen()) {
                file.open(openFlags, 0, SmbFile.ATTR_NORMAL, options);
            }
    
            int r, n;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/generate-clients.md

    This section highlights **venture-backed** and **company-supported** solutions from companies that sponsor FastAPI. These products provide **additional features** and **integrations** on top of high-quality generated SDKs.
    
    By ✨ [**sponsoring FastAPI**](../help-fastapi.md#sponsor-the-author){.internal-link target=_blank} ✨, these companies help ensure the framework and its **ecosystem** remain healthy and **sustainable**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/NetbiosAddressTest.java

            assertNotNull(NbtAddress.UNKNOWN_MAC_ADDRESS);
            assertEquals(6, NbtAddress.UNKNOWN_MAC_ADDRESS.length);
        }
    
        @Test
        void testConstantsAreImmutable() {
            // Ensure constants are properly defined as final
            // This test just verifies the constants exist and are accessible
            String anyHosts = NbtAddress.ANY_HOSTS_NAME;
            String masterBrowser = NbtAddress.MASTER_BROWSER_NAME;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NbtExceptionTest.java

            assertTrue(exception instanceof CIFSException, "NbtException should be an instance of CIFSException");
        }
    
        /**
         * Test the getErrorString method with various error classes and codes to ensure all branches are covered.
         */
        @ParameterizedTest
        @MethodSource("provideErrorClassAndCodeForGetErrorString")
        @DisplayName("getErrorString should return correct messages for all defined error classes and codes")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/DuplicateHostService.java

            return duplicateHostBhv.selectByPK(id);
        }
    
        /**
         * Stores (inserts or updates) a duplicate host configuration.
         *
         * <p>This method immediately refreshes the index to ensure the change is visible.
         * If the configuration already exists (based on ID), it will be updated;
         * otherwise, a new configuration will be created.</p>
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. docs/contribute/code_of_conduct.md

    of releasing and managing open source software. We’ve seen incredible support and enthusiasm from
    thousands of people who have already contributed to our projects — and we want to ensure our community
    continues to be truly open for everyone.
    
    This code of conduct outlines our expectations for participants, as well as steps to reporting
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 5.1K bytes
    - Viewed (0)
Back to top