Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for 0L (0.01 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

            if (progressedSize < 0L) {
                throw new IllegalArgumentException("progressed file size cannot be negative: " + size);
            }
            if (size >= 0 && progressedSize > size) {
                throw new IllegalArgumentException(
                        "progressed file size cannot be greater than size: " + progressedSize + " > " + size);
            }
    
            if (size >= 0L && progressedSize != size) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        val pool = factory.newConnectionPool()
        val poolApi = ConnectionPool(pool)
        val c1 = factory.newConnection(pool, routeA1, 0L)
        allocateAndLeakAllocation(poolApi, c1)
        awaitGarbageCollection()
        assertThat(pool.closeConnections(100L)).isEqualTo(0L)
        assertThat(c1.calls).isEmpty()
    
        // Can't allocate once a leak has been detected.
        assertThat(c1.noNewExchanges).isTrue()
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jun 22 16:06:35 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

    public class UnsignedIntsTest extends TestCase {
      private static final long[] UNSIGNED_INTS = {
        0L,
        1L,
        2L,
        3L,
        0x12345678L,
        0x5a4316b8L,
        0x6cf78a4bL,
        0xff1a618bL,
        0xfffffffdL,
        0xfffffffeL,
        0xffffffffL
      };
    
      private static final int LEAST = (int) 0L;
      private static final int GREATEST = (int) 0xffffffffL;
    
      public void testCheckedCast() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java

            FileSizeFormat format = new FileSizeFormat();
    
            long _0_bytes = 0L;
            assertEquals("0 B", format.formatProgress(_0_bytes, _0_bytes));
        }
    
        @Test
        void testProgressedSizeWithSize() {
            FileSizeFormat format = new FileSizeFormat();
    
            long _0_bytes = 0L;
            long _400_bytes = 400L;
            long _800_bytes = 2L * _400_bytes;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/LongMathTest.java

          for (RoundingMode mode : ALL_ROUNDING_MODES) {
            assertEquals(0L, LongMath.divide(0L, q, mode));
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testDivByZeroAlwaysFails() {
        for (long p : ALL_LONG_CANDIDATES) {
          for (RoundingMode mode : ALL_ROUNDING_MODES) {
            assertThrows(ArithmeticException.class, () -> LongMath.divide(p, 0L, mode));
          }
        }
      }
    
      @GwtIncompatible // TODO
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalController.java

    import org.codelibs.core.lang.ThreadUtil;
    
    public class DefaultIntervalController extends AbstractIntervalController {
    
        protected long delayMillisAfterProcessing = 0L;
    
        protected long delayMillisAtNoUrlInQueue = 500L;
    
        protected long delayMillisBeforeProcessing = 0L;
    
        protected long delayMillisForWaitingNewUrl = 1000L;
    
        public DefaultIntervalController() {
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

      public void testFlatMapToLong_nullStream() {
        SpliteratorTester.ofLong(
                () ->
                    CollectSpliterators.flatMapToLong(
                        Arrays.spliterator(new Long[] {1L, 0L, 1L, 2L, 3L}),
                        (Long i) -> i == 0L ? null : LongStream.of(i).spliterator(),
                        Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL,
                        4))
            .expect(1L, 1L, 2L, 3L);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/MathPreconditionsTest.java

      }
    
      public void testCheckPositive_zeroLong() {
        assertThrows(IllegalArgumentException.class, () -> MathPreconditions.checkPositive("long", 0L));
      }
    
      public void testCheckPositive_maxLong() {
        MathPreconditions.checkPositive("long", Long.MAX_VALUE);
      }
    
      public void testCheckPositive_minLong() {
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

                }
                if (!doc.containsKey(indexFieldFavoriteCount)) {
                    doc.put(indexFieldFavoriteCount, 0L);
                }
                if (!doc.containsKey(indexFieldClickCount)) {
                    doc.put(indexFieldClickCount, 0L);
                }
                if (!doc.containsKey(indexFieldBoost)) {
                    doc.put(indexFieldBoost, 1.0f);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

    import org.opensearch.index.query.TermsQueryBuilder;
    
    public class IndexingHelperTest extends UnitFessTestCase {
        private IndexingHelper indexingHelper;
    
        private long documentSizeByQuery = 0L;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            ComponentUtil.register(new SystemHelper(), "systemHelper");
            indexingHelper = new IndexingHelper() {
                @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 08:54:24 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top