Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 293 for isSmall (0.07 sec)

  1. android/guava-tests/test/com/google/common/math/MathTesting.java

        ImmutableSet.Builder<Double> fractionalBuilder = ImmutableSet.builder();
        integralBuilder.addAll(Doubles.asList(0.0, -0.0, Double.MAX_VALUE, -Double.MAX_VALUE));
        // Add small multiples of MIN_VALUE and MIN_NORMAL
        for (int scale = 1; scale <= 4; scale++) {
          for (double d : Doubles.asList(Double.MIN_VALUE, Double.MIN_NORMAL)) {
            fractionalBuilder.add(d * scale).add(-d * scale);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/PercentEscaper.java

        this.safeOctets = createSafeOctets(safeChars);
      }
    
      /**
       * Creates a boolean array with entries corresponding to the character values specified in
       * safeChars set to true. The array is as small as is required to hold the given character
       * information.
       */
      private static boolean[] createSafeOctets(String safeChars) {
        int maxChar = -1;
        char[] safeCharArray = safeChars.toCharArray();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

            assertTrue(response.hasMoreElements());
        }
    
        @Test
        @DisplayName("Test data handling with various sizes")
        void testDataHandlingWithVariousSizes() {
            // Test with small data count
            response.setDataCount(10);
            assertEquals(10, response.getDataCount());
    
            // Test with large data count
            response.setDataCount(65535);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      // Timed Get
      // There are a few design constraints to consider
      // * We want to be responsive to small timeouts, unpark() has non trivial latency overheads (I
      //   have observed 12 micros on 64-bit linux systems to wake up a parked thread). So if the
      //   timeout is small we shouldn't park(). This needs to be traded off with the cpu overhead of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/escape/Escapers.java

       * ArrayBasedUnicodeEscaper} to provide the desired behavior. However this builder is suitable for
       * creating escapers that replace a relative small set of characters.
       *
       * @author David Beaumont
       * @since 15.0
       */
      public static final class Builder {
        private final Map<Character, String> replacementMap = new HashMap<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

        }
    
        // ===================================================================================
        //                                                                        Small Helper
        //                                                                        ============
        /**
         * Verify the CRUD mode.
         * @param crudMode The CRUD mode.
         * @param expectedMode The expected mode.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

                return entity;
            });
        }
    
        // ===================================================================================
        //                                                                        Small Helper
        //                                                                        ============
        /**
         * Verify 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 Aug 07 03:06:29 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

        class EdgeCasesTests {
    
            @Test
            @DisplayName("Should handle malformed buffer gracefully")
            void testReadDataWireFormatMalformedBuffer() {
                byte[] buffer = new byte[3]; // Too small for valid DFS referral
    
                assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                    response.readDataWireFormat(buffer, 0, buffer.length);
                });
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

        resetWithHole();
        assertEquals(c, navigableSet.higher(a));
        assertEquals(c, navigableSet.higher(b));
        assertEquals(null, navigableSet.higher(c));
      }
    
      /*
       * TODO(cpovirk): make "too small" and "too large" elements available for better navigation
       * testing. At that point, we may be able to eliminate the "hole" tests, which would mean that
       * ContiguousSet's tests would no longer need to suppress them.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            // Given
            transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, TEST_DATA.length);
            byte[] dst = new byte[5]; // Buffer too small for TEST_DATA
    
            // When
            int bytesWritten = transCallNamedPipe.writeDataWireFormat(dst, 0);
    
            // Then
            assertEquals(0, bytesWritten);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top