Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 293 for isSmall (0.28 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            }
    
            @Test
            @DisplayName("Should reject when signature field exceeds buffer size in sign method")
            void testSignSignatureExceedsBuffer() {
                byte[] data = new byte[50]; // Too small for signature field
                assertThrows(IllegalArgumentException.class, () -> digest.sign(data, 0, 50, request, response),
                        "Should throw IllegalArgumentException when signature field exceeds buffer");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       *     new ImmutableBiMap.Builder<String, Integer>()
       *         .put("one", 1)
       *         .put("two", 2)
       *         .put("three", 3)
       *         .buildOrThrow();
       * }
       *
       * <p>For <i>small</i> immutable bimaps, the {@code ImmutableBiMap.of()} methods are even more
       * convenient.
       *
       * <p>By default, a {@code Builder} will generate bimaps that iterate over entries in the order
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java

            return map;
        }
    
        // ===================================================================================
        //                                                                        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
    - 19.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java

            return map;
        }
    
        // ===================================================================================
        //                                                                        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
    - 18.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            @DisplayName("Should handle insufficient buffer length")
            void testInsufficientBufferLength() {
                FileFsSizeInformation info = new FileFsSizeInformation();
                byte[] buffer = new byte[10]; // Too small
    
                // Should throw ArrayIndexOutOfBoundsException for insufficient buffer
                assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                    info.decode(buffer, 0, buffer.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedInts.java

     *
     * <p>Users of these utilities must be <i>extremely careful</i> not to mix up signed and unsigned
     * {@code int} values. When possible, it is recommended that the {@link UnsignedInteger} wrapper
     * class be used, at a small efficiency penalty, to enforce the distinction in the type system.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/PrimitivesExplained#unsigned-support">unsigned
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Feb 09 16:22:33 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("Test buffer size edge cases")
        void testBufferSizeEdgeCases() {
            // Test with very small buffer sizes
            when(mockConfig.getMaximumBufferSize()).thenReturn(256);
            when(mockConfig.getListSize()).thenReturn(128);
    
            request = new Smb2QueryInfoRequest(mockConfig);
    
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

                return entity;
            });
        }
    
        // ===================================================================================
        //                                                                        Small Helper
        //                                                                        ============
        /**
         * Verifies that the CRUD mode matches the expected mode.
         *
         * @param crudMode the current CRUD mode
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.7K bytes
    - Viewed (1)
  9. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            assertThrows(NullPointerException.class, () -> raf.writeChars(null));
            assertThrows(NullPointerException.class, () -> raf.writeUTF(null));
        }
    
        // Small reflection helpers to access private fields for interaction verification
        private static Object getField(Object target, String name) {
            try {
                var f = target.getClass().getDeclaredField(name);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/BigIntegerMath.java

       * the end).
       *
       * @throws IllegalArgumentException if {@code n < 0}
       */
      public static BigInteger factorial(int n) {
        checkNonNegative("n", n);
    
        // If the factorial is small enough, just use LongMath to do it.
        if (n < LongMath.factorials.length) {
          return BigInteger.valueOf(LongMath.factorials[n]);
        }
    
        // Pre-allocate space for our list of intermediate BigIntegers.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top