Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 349 for 1L (0.33 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

        val header = peekedHeader!!
        peekedHeader = null
    
        val pushedLimit = limit
        val pushedConstructed = constructed
    
        val newLimit = if (header.length != -1L) byteCount + header.length else -1L
        if (pushedLimit != -1L && newLimit > pushedLimit) {
          throw ProtocolException("enclosed object too large")
        }
    
        limit = newLimit
        constructed = header.constructed
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        assertEquals(0L, map.get(key));
        assertFalse(map.containsKey(key));
    
        assertEquals(1L, map.incrementAndGet(key));
        assertEquals(1L, map.get(key));
    
        assertEquals(0L, map.decrementAndGet(key));
        assertEquals(0L, map.get(key));
        assertTrue(map.containsKey(key));
    
        assertEquals(1L, map.incrementAndGet(key));
        assertEquals(1L, map.get(key));
      }
    
      public void testGetAndIncrement() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/LongMath.java

      static final long[] factorials = {
        1L,
        1L,
        1L * 2,
        1L * 2 * 3,
        1L * 2 * 3 * 4,
        1L * 2 * 3 * 4 * 5,
        1L * 2 * 3 * 4 * 5 * 6,
        1L * 2 * 3 * 4 * 5 * 6 * 7,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11 * 12,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
      public static class SampleLongs extends SampleElements<Long> {
        public SampleLongs() {
          super(1L << 31, 1L << 33, 1L << 36, 1L << 40, 1L << 45);
        }
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

        new RoundToDoubleTester(BigDecimal.valueOf((1L << 54) + 3))
            .setExpectation(twoToThe54, DOWN, FLOOR)
            .setExpectation(Math.nextUp(twoToThe54), CEILING, UP, HALF_DOWN, HALF_UP, HALF_EVEN)
            .roundUnnecessaryShouldThrow()
            .test();
      }
    
      public void testRoundToDouble_twoToThe54PlusFour() {
        new RoundToDoubleTester(BigDecimal.valueOf((1L << 54) + 4))
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        assertEquals(0L, map.get(key));
        assertFalse(map.containsKey(key));
    
        assertEquals(1L, map.incrementAndGet(key));
        assertEquals(1L, map.get(key));
    
        assertEquals(0L, map.decrementAndGet(key));
        assertEquals(0L, map.get(key));
        assertTrue(map.containsKey(key));
    
        assertEquals(1L, map.incrementAndGet(key));
        assertEquals(1L, map.get(key));
      }
    
      public void testGetAndIncrement() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

            Arrays.asList(
                new int[] {},
                new int[] {LEAST},
                new int[] {LEAST, LEAST},
                new int[] {LEAST, (int) 1L},
                new int[] {(int) 1L},
                new int[] {(int) 1L, LEAST},
                new int[] {GREATEST, (GREATEST - (int) 1L)},
                new int[] {GREATEST, GREATEST},
                new int[] {GREATEST, GREATEST, GREATEST});
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
      public static class SampleLongs extends SampleElements<Long> {
        public SampleLongs() {
          super(1L << 31, 1L << 33, 1L << 36, 1L << 40, 1L << 45);
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 19K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/BigDecimalMathTest.java

        new RoundToDoubleTester(BigDecimal.valueOf((1L << 54) + 3))
            .setExpectation(twoToThe54, DOWN, FLOOR)
            .setExpectation(Math.nextUp(twoToThe54), CEILING, UP, HALF_DOWN, HALF_UP, HALF_EVEN)
            .roundUnnecessaryShouldThrow()
            .test();
      }
    
      public void testRoundToDouble_twoToThe54PlusFour() {
        new RoundToDoubleTester(BigDecimal.valueOf((1L << 54) + 4))
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/concurrent/Task.kt

    ) {
      // Guarded by the TaskRunner.
      internal var queue: TaskQueue? = null
    
      /** Undefined unless this is in [TaskQueue.futureTasks]. */
      internal var nextExecuteNanoTime = -1L
    
      /** Returns the delay in nanoseconds until the next execution, or -1L to not reschedule. */
      abstract fun runOnce(): Long
    
      internal fun initQueue(queue: TaskQueue) {
        if (this.queue === queue) return
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Viewed (0)
Back to top