Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 115 for minValue (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            serverData.sflags2 = Integer.MIN_VALUE;
            serverData.smaxMpxCount = Integer.MIN_VALUE;
            serverData.maxBufferSize = Integer.MIN_VALUE;
            serverData.sessKey = Integer.MIN_VALUE;
            serverData.scapabilities = Integer.MIN_VALUE;
    
            assertEquals(Integer.MIN_VALUE, serverData.sflags2);
            assertEquals(Integer.MIN_VALUE, serverData.smaxMpxCount);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

            when(messageBlock.getMid()).thenReturn(maxMid);
    
            messageBlock.setMid(maxMid);
            assertEquals(maxMid, messageBlock.getMid());
    
            // Test with MIN_VALUE
            long minMid = Long.MIN_VALUE;
            doNothing().when(messageBlock).setMid(minMid);
            when(messageBlock.getMid()).thenReturn(minMid);
    
            messageBlock.setMid(minMid);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            assertTrue(info.toString().contains("endOfFile=" + endOfFile));
        }
    
        @ParameterizedTest
        @ValueSource(longs = { 0L, 1L, 100L, 1024L, Long.MAX_VALUE, -1L, Long.MIN_VALUE })
        @DisplayName("Test constructor with various end of file values")
        void testConstructorWithVariousValues(long endOfFile) {
            FileEndOfFileInformation info = new FileEndOfFileInformation(endOfFile);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

            // Test case 5: Min int value
            int minIntValue = Integer.MIN_VALUE;
            NdrLong ndrLongMin = new NdrLong(minIntValue);
            assertEquals(minIntValue, ndrLongMin.value, "Constructor should correctly initialize with Integer.MIN_VALUE.");
        }
    
        @Test
        void encode_shouldCallEncNdrLongWithCorrectValue() throws NdrException {
            int testValue = 98765;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

            // Test with minimum integer value
            int minFlags = Integer.MIN_VALUE;
            AvFlags minAvFlags = new AvFlags(minFlags);
            assertNotNull(minAvFlags, "AvFlags object should not be null for min flags");
            assertEquals(minFlags, minAvFlags.getFlags(), "Flags should match Integer.MIN_VALUE");
    
            // Test with a negative integer
            int negativeFlags = -12345;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

      }
    
      public void testRoundToDouble_halfMinDouble() {
        BigDecimal minDouble = new BigDecimal(Double.MIN_VALUE);
        BigDecimal halfMinDouble = minDouble.divide(BigDecimal.valueOf(2));
        new RoundToDoubleTester(halfMinDouble)
            .roundUnnecessaryShouldThrow()
            .setExpectation(Double.MIN_VALUE, UP, CEILING, HALF_UP)
            .setExpectation(0.0, HALF_EVEN, FLOOR, DOWN, HALF_DOWN)
            .test();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/LongsTest.java

        List<long[]> ordered =
            Arrays.asList(
                new long[] {},
                new long[] {MIN_VALUE},
                new long[] {MIN_VALUE, MIN_VALUE},
                new long[] {MIN_VALUE, 1L},
                new long[] {1L},
                new long[] {1L, MIN_VALUE},
                new long[] {MAX_VALUE, MAX_VALUE - 1L},
                new long[] {MAX_VALUE, MAX_VALUE},
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

          }
    
          // If 'Max-Age' is present, it takes precedence over 'Expires', regardless of the order the two
          // attributes are declared in the cookie string.
          if (deltaSeconds == Long.MIN_VALUE) {
            expiresAt = Long.MIN_VALUE
          } else if (deltaSeconds != -1L) {
            val deltaMilliseconds =
              if (deltaSeconds <= Long.MAX_VALUE / 1000) {
                deltaSeconds * 1000
              } else {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  9. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            assertEquals(Integer.MAX_VALUE, problem.getLineNumber());
    
            // this case is not specified, might also return -1
            problem = new DefaultProblem(null, null, null, Integer.MIN_VALUE, -1, null);
            assertEquals(Integer.MIN_VALUE, problem.getLineNumber());
        }
    
        @Test
        void testGetColumnNumber() {
            DefaultProblem problem = new DefaultProblem(null, null, null, -1, -1, null);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

      private static final double[] VALUES = {
        Double.NEGATIVE_INFINITY,
        -Double.MAX_VALUE,
        (double) Long.MIN_VALUE,
        (double) Integer.MIN_VALUE,
        -Math.PI,
        -1.0,
        -Double.MIN_VALUE,
        -0.0,
        +0.0,
        Double.MIN_VALUE,
        1.0,
        Math.PI,
        (double) Integer.MAX_VALUE,
        (double) Long.MAX_VALUE,
        Double.MAX_VALUE,
        Double.POSITIVE_INFINITY,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
Back to top