Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 448 for 1L (0.01 sec)

  1. src/test/java/jcifs/internal/AllocInfoTest.java

        @DisplayName("Edge Cases and Boundary Tests")
        class EdgeCasesTests {
    
            @ParameterizedTest
            @DisplayName("Should handle boundary values for capacity")
            @ValueSource(longs = { 0L, 1L, -1L, 1024L, 1048576L, 1073741824L, Long.MAX_VALUE, Long.MIN_VALUE, Long.MAX_VALUE - 1,
                    Long.MIN_VALUE + 1 })
            void shouldHandleBoundaryValuesForCapacity(long capacity) {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/ThreadUtil.java

         * @throws InterruptedRuntimeException
         *             if any thread has interrupted the current thread.
         */
        public static void sleep(final long millis) {
            if (millis < 1L) {
                return;
            }
            try {
                Thread.sleep(millis);
            } catch (final InterruptedException e) {
                throw new InterruptedRuntimeException(e);
            }
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractEntity.java

        //                                                                          Definition
        //                                                                          ==========
        private static final long serialVersionUID = 1L;
    
        // ===================================================================================
        //                                                                           Attribute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractEntity.java

        //                                                                          Definition
        //                                                                          ==========
        private static final long serialVersionUID = 1L;
    
        // ===================================================================================
        //                                                                           Attribute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

        }
        assertFalse(errorNotThrown);
      }
    
      private static class ClassWhichDoesNotImplementEquals implements Serializable {
        private static final long serialVersionUID = 1L;
      }
    
      private static class ClassWhichIsAlwaysEqualButHasDifferentHashcodes implements Serializable {
        private static final long serialVersionUID = 2L;
    
        @SuppressWarnings("EqualsHashCode")
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                @Override
                public long purge(long expiry) {
                    // Just count files that would be deleted
                    return 1L;
                }
            };
            testManager.baseDir = tempDir;
    
            long result = testManager.purge(1L);
            assertTrue(result >= 0); // Count of deleted files
        }
    
        // Test FilePurgeVisitor
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

            Arrays.asList(
                new long[] {},
                new long[] {LEAST},
                new long[] {LEAST, LEAST},
                new long[] {LEAST, 1L},
                new long[] {1L},
                new long[] {1L, LEAST},
                new long[] {GREATEST, GREATEST - 1L},
                new long[] {GREATEST, GREATEST},
                new long[] {GREATEST, GREATEST, GREATEST});
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/MathTesting.java

        // Add boundary values manually to avoid over/under flow (this covers 2^N for 31 and 63).
        longValues.add(Integer.MAX_VALUE + 1L, Long.MAX_VALUE - 1L, Long.MAX_VALUE);
    
        // Now add values near 2^N for lots of values of N.
        for (int exponent : asList(32, 33, 39, 40, 41, 47, 48, 49, 55, 56, 57)) {
          long x = 1L << exponent;
          longValues.add(x, x + 1, x - 1);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt

          val toIndex = minOf(source.buffer.size, maxByteCount) + 1L
          val boundaryIndex =
            source.indexOf(
              bytes = crlfDashDashBoundary,
              fromIndex = 0L,
              toIndex = toIndex,
            )
          return when {
            boundaryIndex != -1L -> boundaryIndex // We found the boundary.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/IntsTest.java

        }
        assertCastFails(GREATEST + 1L);
        assertCastFails(LEAST - 1L);
        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
      public void testSaturatedCast() {
        for (int value : VALUES) {
          assertThat(Ints.saturatedCast((long) value)).isEqualTo(value);
        }
        assertThat(Ints.saturatedCast(GREATEST + 1L)).isEqualTo(GREATEST);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
Back to top