Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 410 for position (0.05 sec)

  1. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

        }
    
        @Test
        void constructor_shouldInitializeValueCorrectly() {
            // Test case 1: Positive value
            int positiveValue = 12345;
            NdrLong ndrLongPositive = new NdrLong(positiveValue);
            assertEquals(positiveValue, ndrLongPositive.value, "Constructor should correctly initialize with a positive value.");
    
            // Test case 2: Negative value
            int negativeValue = -54321;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

    import org.junit.jupiter.api.Test;
    
    public class AvFlagsTest {
    
        /**
         * Test constructor with raw bytes.
         */
        @Test
        void testAvFlagsByteArrayConstructor() {
            // Test with a positive integer
            byte[] rawBytes = new byte[] { 0x01, 0x02, 0x03, 0x04 }; // Represents 0x04030201 (little-endian)
            AvFlags avFlags = new AvFlags(rawBytes);
            assertNotNull(avFlags, "AvFlags object should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

        long numBits = Integer.MAX_VALUE;
        numBits++;
    
        LockFreeBitArray bitArray = new LockFreeBitArray(numBits);
        assertTrue(
            "BitArray.bitSize() must return a positive number, but was " + bitArray.bitSize(),
            bitArray.bitSize() > 0);
    
        // Ideally we would also test the bitSize() overflow of this BF, but it runs out of heap space
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSet.java

            }
          }
          return false;
        }
    
        /**
         * If more than this many consecutive positions are filled in a table of the specified size,
         * report probable hash flooding. ({@link #hashFloodingDetected} may also report hash flooding
         * if fewer consecutive positions are filled; see that method for details.)
         */
        static int maxRunBeforeFallback(int tableSize) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

            assertEquals(AvPair.MsvAvTimestamp, avTimestamp.getType());
            assertEquals(timestamp, avTimestamp.getTimestamp()); // Verify encoding and decoding
        }
    
        /**
         * Test getTimestamp method with a positive timestamp.
         */
        @Test
        public void testGetTimestampPositive() {
            long expectedTimestamp = 123456789012345L;
            byte[] rawBytes = new byte[8];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. lib/fips140/v1.0.0.zip

    significant limb, // we can insert each limb at the least significant position, shifting all // previous limbs left by _W. This way each limb will get shifted by the // correct number of bits. We can insert at least N - 1 limbs without // overflowing m. After that, we need to reduce every time we shift. i := len(x.limbs) - 1 // For the first N - 1 limbs we can skip the actual shifting and position // them at the shifted position, which starts at min(N - 2, i). start := len(m.nat.limbs) - 2 if i <...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        long numBits = Integer.MAX_VALUE;
        numBits++;
    
        LockFreeBitArray bitArray = new LockFreeBitArray(numBits);
        assertTrue(
            "BitArray.bitSize() must return a positive number, but was " + bitArray.bitSize(),
            bitArray.bitSize() > 0);
    
        // Ideally we would also test the bitSize() overflow of this BF, but it runs out of heap space
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

        }
    
        /**
         * Parameterised test covering many error codes.
         * - Error code 0 returns 0 (NT_STATUS_SUCCESS)
         * - Negative values with 0xC0000000 bits set are returned as-is
         * - Positive values not in DOS_ERROR_CODES map to NT_STATUS_UNSUCCESSFUL
         */
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 123, -7 })
        void testGetNtStatusVariousCodes(int errcode) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top