Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,066 for Long (0.17 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java

      }
    
      @Benchmark
      public long timeGetWith0Timeout(long reps) throws Exception {
        Facade<?> f = notDoneFuture;
        long r = 0;
        for (int i = 0; i < reps; i++) {
          try {
            f.get(0, TimeUnit.SECONDS);
            r += 1;
          } catch (TimeoutException e) {
            r += 2;
          }
        }
        return r;
      }
    
      @Benchmark
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jul 16 17:22:27 GMT 2019
    - 3.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheStats.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class CacheStats {
      private final long hitCount;
      private final long missCount;
      private final long loadSuccessCount;
      private final long loadExceptionCount;
    
      @SuppressWarnings("GoodTime") // should be a java.time.Duration
      private final long totalLoadTime;
    
      private final long evictionCount;
    
      /**
       * Constructs a new {@code CacheStats} instance.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/CacheStats.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class CacheStats {
      private final long hitCount;
      private final long missCount;
      private final long loadSuccessCount;
      private final long loadExceptionCount;
    
      @SuppressWarnings("GoodTime") // should be a java.time.Duration
      private final long totalLoadTime;
    
      private final long evictionCount;
    
      /**
       * Constructs a new {@code CacheStats} instance.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

        @Resource
        protected SystemHelper systemHelper;
    
        @Resource
        protected IndexingHelper indexingHelper;
    
        protected boolean finishCrawling = false;
    
        protected long executeTime;
    
        protected long documentSize;
    
        protected int maxIndexerErrorCount = 0;
    
        protected int maxErrorCount = 2;
    
        protected List<String> finishedSessionIdList = new ArrayList<>();
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/MemoryUtil.java

        }
    
        public static String getMemoryUsageLog() {
            final Runtime runtime = Runtime.getRuntime();
            final long freeBytes = runtime.freeMemory();
            final long maxBytes = runtime.maxMemory();
            final long totalBytes = runtime.totalMemory();
            final long usedBytes = totalBytes - freeBytes;
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        testSort(new long[] {2}, 0, 1, new long[] {2});
        testSort(new long[] {2, 1, 0}, 0, 2, new long[] {1, 2, 0});
        testSort(new long[] {2, GREATEST, 1, LEAST}, 1, 4, new long[] {2, LEAST, 1, GREATEST});
      }
    
      public void testSortDescending() {
        testSortDescending(new long[] {}, new long[] {});
        testSortDescending(new long[] {1}, new long[] {1});
        testSortDescending(new long[] {1, 2}, new long[] {2, 1});
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsDuplicateHostCQ.java

            return this;
        }
    
        public void setCreatedTime_Equal(Long createdTime) {
            setCreatedTime_Term(createdTime, null);
        }
    
        public void setCreatedTime_Equal(Long createdTime, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setCreatedTime_Term(createdTime, opLambda);
        }
    
        public void setCreatedTime_Term(Long createdTime) {
            setCreatedTime_Term(createdTime, null);
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 58.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/rpc.java

                this.maximum_length = (short) _src.dec_ndr_short();
                int _bufferp = _src.dec_ndr_long();
    
                if ( _bufferp != 0 ) {
                    _src = _src.deferred;
                    int _buffers = _src.dec_ndr_long();
                    _src.dec_ndr_long();
                    int _bufferl = _src.dec_ndr_long();
                    int _bufferi = _src.index;
                    _src.advance(2 * _bufferl);
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

        String lastMethodCalled = "";
        long lastInitialDelay;
        long lastDelay;
        TimeUnit lastUnit;
    
        void assertLastMethodCalled(String method, long delay, TimeUnit unit) {
          assertEquals(method, lastMethodCalled);
          assertEquals(delay, lastDelay);
          assertEquals(unit, lastUnit);
        }
    
        void assertLastMethodCalled(String method, long initialDelay, long delay, TimeUnit unit) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 7.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ByteSource.java

        }
      }
    
      /** A view of a subsection of the containing byte source. */
      private final class SlicedByteSource extends ByteSource {
    
        final long offset;
        final long length;
    
        SlicedByteSource(long offset, long length) {
          checkArgument(offset >= 0, "offset (%s) may not be negative", offset);
          checkArgument(length >= 0, "length (%s) may not be negative", length);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
Back to top