Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 931 for Fong (0.13 sec)

  1. android/guava/src/com/google/common/cache/Striped64.java

       * provided.
       */
      static final class Cell {
        volatile long p0, p1, p2, p3, p4, p5, p6;
        volatile long value;
        volatile long q0, q1, q2, q3, q4, q5, q6;
    
        Cell(long x) {
          value = x;
        }
    
        final boolean cas(long cmp, long val) {
          return UNSAFE.compareAndSwapLong(this, valueOffset, cmp, val);
        }
    
        // Unsafe mechanics
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteStreams.java

       * happens first. Returns the total number of bytes skipped.
       */
      static long skipUpTo(InputStream in, long n) throws IOException {
        long totalSkipped = 0;
        // A buffer is allocated if skipSafely does not skip any bytes.
        byte[] buf = null;
    
        while (totalSkipped < n) {
          long remaining = n - totalSkipped;
          long skipped = skipSafely(in, remaining);
    
          if (skipped == 0) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/CharSource.java

        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      private long countBySkipping(Reader reader) throws IOException {
        long count = 0;
        long read;
        while ((read = reader.skip(Long.MAX_VALUE)) != 0) {
          count += read;
        }
        return count;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/DiscreteDomainTest.java

        assertEquals(Long.MAX_VALUE, DiscreteDomain.longs().offset(0L, Long.MAX_VALUE).longValue());
      }
    
      public void testLongsOffsetExceptions() {
        assertThrows(IllegalArgumentException.class, () -> DiscreteDomain.longs().offset(0L, -1));
        assertThrows(
            IllegalArgumentException.class, () -> DiscreteDomain.longs().offset(Long.MAX_VALUE, 1));
      }
    
      public void testBigIntegersOffset() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/bsentity/BsKeyMatch.java

        protected String createdBy;
    
        /** createdTime */
        protected Long createdTime;
    
        /** maxSize */
        protected Integer maxSize;
    
        /** query */
        protected String query;
    
        /** term */
        protected String term;
    
        /** updatedBy */
        protected String updatedBy;
    
        /** updatedTime */
        protected Long updatedTime;
    
        /** virtualHost */
        protected String virtualHost;
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        SettableFuture<Long> future1 = SettableFuture.create();
        SettableFuture<Long> future2 = SettableFuture.create();
        SettableFuture<Long> future3 = SettableFuture.create();
        SettableFuture<Long> future4 = SettableFuture.create();
        SettableFuture<Long> future5 = SettableFuture.create();
    
        ImmutableList<ListenableFuture<Long>> futures =
            inCompletionOrder(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

        @Override
        public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException {
          long nanos = unit.toNanos(timeout);
          synchronized (lock) {
            while (true) {
              if (shutdown && runningTasks == 0) {
                return true;
              } else if (nanos <= 0) {
                return false;
              } else {
                long now = System.nanoTime();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ContiguousSet.java

       * Returns a nonempty contiguous set containing all {@code long} values from {@code lower}
       * (inclusive) to {@code upper} (inclusive). (These are the same values contained in {@code
       * Range.closed(lower, upper)}.)
       *
       * @throws IllegalArgumentException if {@code lower} is greater than {@code upper}
       * @since 23.0
       */
      public static ContiguousSet<Long> closed(long lower, long upper) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/user/allcommon/EsPagingResultBean.java

    /**
     * @param <ENTITY> The type of entity.
     * @author ESFlute (using FreeGen)
     */
    public class EsPagingResultBean<ENTITY> extends PagingResultBean<ENTITY> {
    
        private static final long serialVersionUID = 1L;
    
        protected long took;
        private int totalShards;
        private int successfulShards;
        private int failedShards;
        private TotalHits totalHits;
        private Aggregations aggregations;
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertEquals(expected4, DocumentUtil.getValue(doc, "key4", Date.class));
        }
    
        public void test_long() {
            Map<String, Object> doc = new HashMap<>();
    
            long expected5 = 999999999999999999L;
            doc.put("key5", expected5);
            assertEquals(expected5, DocumentUtil.getValue(doc, "key5", Long.class).longValue());
        }
    
        public void test_double() {
            Map<String, Object> doc = new HashMap<>();
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4K bytes
    - Viewed (0)
Back to top