Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 579 for a_value (0.03 sec)

  1. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            problem = new DefaultProblem(null, null, null, 42, -1, null);
            assertEquals(42, problem.getLineNumber());
    
            problem = new DefaultProblem(null, null, null, Integer.MAX_VALUE, -1, null);
            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);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                buffer.order(ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(Long.MAX_VALUE);
                buffer.putLong(Long.MAX_VALUE);
                buffer.putLong(Long.MAX_VALUE);
                buffer.putInt(Integer.MAX_VALUE);
                buffer.putInt(Integer.MAX_VALUE);
                byte[] bufferArray = buffer.array();
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SetViewTest.java

      }
    
      public void testUnion_maxSize_saturated() {
        assertThat(union(setSize(Integer.MAX_VALUE), setSize(1)).maxSize())
            .isEqualTo(Integer.MAX_VALUE);
        assertThat(union(setSize(1), setSize(Integer.MAX_VALUE)).maxSize())
            .isEqualTo(Integer.MAX_VALUE);
      }
    
      public void testIntersection_minSize() {
        assertMinSize(intersection(emptySet(), emptySet()), 0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Internal.java

      /**
       * Returns the number of nanoseconds of the given duration without throwing or overflowing.
       *
       * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either
       * {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposing
       * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                ByteBuffer buffer = ByteBuffer.allocate(24);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(Long.MAX_VALUE);
                buffer.putLong(Long.MAX_VALUE);
                buffer.putInt(Integer.MAX_VALUE);
                buffer.putInt(Integer.MAX_VALUE);
                byte[] bufferArray = buffer.array();
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/QueuesTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.Long.MAX_VALUE;
    import static java.lang.Thread.currentThread;
    import static java.util.concurrent.Executors.newCachedThreadPool;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java

      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddTooMany() {
        getMultiset().add(e3(), Integer.MAX_VALUE);
        assertThrows(IllegalArgumentException.class, () -> getMultiset().add(e3()));
        assertEquals(Integer.MAX_VALUE, getMultiset().count(e3()));
        assertEquals(Integer.MAX_VALUE, getMultiset().size());
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddAll_emptySet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            void testEncodingWithMaxValues() {
                long maxValue = Long.MAX_VALUE;
                int maxFlags = Integer.MAX_VALUE;
    
                lock = new Smb2Lock(maxValue, maxValue, maxFlags);
                lock.encode(buffer, 0);
    
                assertEquals(maxValue, SMBUtil.readInt8(buffer, 0));
                assertEquals(maxValue, SMBUtil.readInt8(buffer, 8));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

                m ->
                    m.getName().equals("getDoneValue")
                        || m.getName().equals("casValue")
                        || m.getName().equals("casListeners")
                        || m.getName().equals("gasListeners"))
            .forEach(ignoredMembers::add);
      }
    
      /**
       * Sets a default value that can be used for any parameter of type {@code type}. Returns this
       * object.
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt

          },
        ).hasMessage("timeout too small")
        assertThat(
          assertThrows<IllegalArgumentException> {
            checkDuration(
              "timeout",
              1L + Int.MAX_VALUE.toLong(),
              TimeUnit.MILLISECONDS,
            )
          },
        ).hasMessage("timeout too large")
      }
    
      @Test
      fun testDurationDuration() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top