Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 453 for small (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

        @Test
        @DisplayName("Should throw exception when buffer too small for path")
        void testBufferTooSmallForPath() throws Exception {
            // Given
            String longPath = "\\\\server\\very_long_share_name_that_exceeds_buffer";
            Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, longPath);
            byte[] smallBuffer = new byte[20]; // Too small for header + path
    
            // When & Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

       * PackageSanityTests. (The test would run on the JVM, too, if not for the suppression below, and
       * that would be a problem because it violates small-test rules. Note that we strip the
       * suppression externally, but it's OK because we don't enforce test-size rules there.)
       *
       * We'd just use PackageSanityTests directly, saving us from needing this separate type, but we're
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 02:48:50 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.MockedStatic;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.smb1.UniAddress;
    
    /**
     * Very small test suite that exercises the most important state-changing
     * behaviour of {@link SmbSession}. The tests use Mockito to stub the
     * heavy network interactions through {@link SmbTransport}.
     */
    @ExtendWith(MockitoExtension.class)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/get-current-user.md

    And all of them (or any portion of them that you want) can take advantage of re-using these dependencies or any other dependencies you create.
    
    And all these thousands of *path operations* can be as small as 3 lines:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[30:32] *}
    
    ## Recap { #recap }
    
    You can now get the current user directly in your *path operation function*.
    
    We are already halfway there.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

        }
    
        @Test
        @DisplayName("Test hasMoreElements becomes false when all data is sent")
        void testHasMoreElementsBecomeFalse() {
            // Set small amounts so everything fits in one message
            transaction.setParameterBytesWritten(10);
            transaction.setDataBytesWritten(10);
    
            // First call processes all data
            transaction.nextElement();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

                return entity;
            });
        }
    
        // ===================================================================================
        //                                                                        Small Helper
        //                                                                        ============
        /**
         * Verifies that the CRUD mode matches the expected mode.
         *
         * @param crudMode the actual CRUD mode
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  7. docs/changelogs/upgrading_to_okhttp_4.md

       changing `.java` files.
    
     * **Kotlin source compatibility** is the ability to upgrade Kotlin uses of OkHttp 3.x to 4.x
       without changing `.kt` files.
    
    With a few small exceptions (below), OkHttp 4.x is both binary- and Java source-compatible with
    OkHttp 3.x. You can use an OkHttp 4.x .jar file with applications or libraries built for OkHttp 3.x.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbResourceLocatorTest.java

     * is provided solely for the purpose of exercising the contract.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbResourceLocatorTest {
    
        /**
         * A very small concrete implementation used only by the tests. It parses
         * the URL string and performs minimal validation – just enough to make the
         * happy-path expectations deterministic.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Chars.java

       * @return the same value cast to {@code char} if it is in the range of the {@code char} type,
       *     {@link Character#MAX_VALUE} if it is too large, or {@link Character#MIN_VALUE} if it is too
       *     small
       */
      public static char saturatedCast(long value) {
        if (value > Character.MAX_VALUE) {
          return Character.MAX_VALUE;
        }
        if (value < Character.MIN_VALUE) {
          return Character.MIN_VALUE;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Shorts.java

       * @param value any {@code long} value
       * @return the same value cast to {@code short} if it is in the range of the {@code short} type,
       *     {@link Short#MAX_VALUE} if it is too large, or {@link Short#MIN_VALUE} if it is too small
       */
      public static short saturatedCast(long value) {
        if (value > Short.MAX_VALUE) {
          return Short.MAX_VALUE;
        }
        if (value < Short.MIN_VALUE) {
          return Short.MIN_VALUE;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
Back to top