Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 206 for positive (0.05 sec)

  1. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            byte[] data = new byte[8];
            ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN);
    
            // Test with a positive value
            buffer.putInt(0, 0x12345678);
            assertEquals(0x12345678, NtlmMessage.readULong(data, 0), "Should read positive ULong correctly.");
    
            // Test with zero
            buffer.putInt(0, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/BloomFilter.java

       * @param expectedInsertions the number of expected insertions to the constructed {@code
       *     BloomFilter}; must be positive
       * @param fpp the desired false positive probability (must be positive and less than 1.0)
       * @return a {@code Collector} generating a {@code BloomFilter} of the received elements
       * @since 33.4.0 (but since 23.0 in the JRE flavor)
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ACETest.java

                // Test that other generic rights are positive
                assertTrue(ACE.GENERIC_ALL > 0, "GENERIC_ALL should be positive");
                assertTrue(ACE.GENERIC_EXECUTE > 0, "GENERIC_EXECUTE should be positive");
                assertTrue(ACE.GENERIC_WRITE > 0, "GENERIC_WRITE should be positive");
    
                // Test ordering (corrected for actual bit values)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        for (int i = 0; i < numInsertions * 2; i += 2) {
          assertTrue(bf.mightContain(Integer.toString(i)));
        }
    
        // Now we check for known false positives using a set of known false positives.
        // (These are all of the false positives under 900.)
        ImmutableSet<Integer> falsePositives =
            ImmutableSet.of(
                49, 51, 59, 163, 199, 321, 325, 363, 367, 469, 545, 561, 727, 769, 773, 781);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

        }
    
        public void test_setAndGetPageSize() {
            // Test with zero
            searchRenderData.setPageSize(0);
            assertEquals(0, searchRenderData.getPageSize());
    
            // Test with positive values
            searchRenderData.setPageSize(10);
            assertEquals(10, searchRenderData.getPageSize());
    
            searchRenderData.setPageSize(100);
            assertEquals(100, searchRenderData.getPageSize());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

          boolean bitsChanged = false;
          for (int i = 1; i <= numHashFunctions; i++) {
            int combinedHash = hash1 + (i * hash2);
            // Flip all the bits if it's negative (guaranteed positive number)
            if (combinedHash < 0) {
              combinedHash = ~combinedHash;
            }
            bitsChanged |= bits.set(combinedHash % bitSize);
          }
          return bitsChanged;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

        for (int i = 0; i < numInsertions * 2; i += 2) {
          assertTrue(bf.mightContain(Integer.toString(i)));
        }
    
        // Now we check for known false positives using a set of known false positives.
        // (These are all of the false positives under 900.)
        ImmutableSet<Integer> falsePositives =
            ImmutableSet.of(
                49, 51, 59, 163, 199, 321, 325, 363, 367, 469, 545, 561, 727, 769, 773, 781);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            // Verify latency calculations
            assertTrue(stats.getAverageReadLatencyMicros() > 0, "Read latency should be positive");
            assertTrue(stats.getAverageWriteLatencyMicros() > 0, "Write latency should be positive");
    
            System.out.println("RDMA Statistics: " + stats);
    
            // Test statistics reset functionality
            stats.reset();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            @Test
            @DisplayName("Header length should be suitable for SMB2 protocol")
            void testHeaderLengthValidity() {
                assertTrue(Smb2Constants.SMB2_HEADER_LENGTH > 0, "Header length must be positive");
                assertTrue(Smb2Constants.SMB2_HEADER_LENGTH % 8 == 0, "Header length should be multiple of 8 for alignment");
            }
    
            @Test
            @DisplayName("Dialect ANY should encompass SMB2 range")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/MathTesting.java

            public BigInteger apply(BigInteger x) {
              return x.negate();
            }
          };
    
      /*
       * This list contains values that attempt to provoke overflow in integer operations. It contains
       * positive values on or near 2^N for N near multiples of 8 (near byte boundaries).
       */
      static final ImmutableSet<Integer> POSITIVE_INTEGER_CANDIDATES;
    
      static final Iterable<Integer> NEGATIVE_INTEGER_CANDIDATES;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top