Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 1,909 for Long (0.03 sec)

  1. 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
        public boolean equals(@Nullable Object other) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ForwardingBlockingQueue.java

      }
    
      @CanIgnoreReturnValue // TODO(kak): consider removing this
      @Override
      public boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().offer(e, timeout, unit);
      }
    
      @CanIgnoreReturnValue // TODO(kak): consider removing this
      @Override
      @CheckForNull
      public E poll(long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().poll(timeout, unit);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/Smb2CancelRequest.java

        /**
         * @param config
         * @param mid
         * @param asyncId
         */
        public Smb2CancelRequest ( Configuration config, long mid, long asyncId ) {
            super(config, SMB2_CANCEL);
            setMid(mid);
            setAsyncId(asyncId);
            if ( asyncId != 0 ) {
                addFlags(SMB2_FLAGS_ASYNC_COMMAND);
            }
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java

        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += BigIntegerMath.divide(nonzero1[j], nonzero2[j], mode).intValue();
        }
        return tmp;
      }
    
      @Benchmark
      long roundToDouble(int reps) {
        long tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += Double.doubleToRawLongBits(BigIntegerMath.roundToDouble(nonzero1[j], mode));
        }
        return tmp;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 30 13:06:20 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

            // delete all files
            runner.clean();
        }
    
        public void test_insert_deleteTx() {
            final OpenSearchAccessResult accessResult1 = new OpenSearchAccessResult();
            accessResult1.setContentLength(Long.valueOf(10));
            accessResult1.setCreateTime(System.currentTimeMillis());
            accessResult1.setExecutionTime(10);
            accessResult1.setHttpStatusCode(200);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

        }
    
        protected long getReadInterval(final DataStoreParams paramMap) {
            long readInterval = 0;
            final String value = paramMap.getAsString("readInterval");
            if (StringUtil.isNotBlank(value)) {
                try {
                    readInterval = Long.parseLong(value);
                } catch (final NumberFormatException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        }
      }
    
      static class SerializableCountingSupplier extends CountingSupplier implements Serializable {
        private static final long serialVersionUID = 0L;
      }
    
      static class SerializableThrowingSupplier extends ThrowingSupplier implements Serializable {
        private static final long serialVersionUID = 0L;
      }
    
      static void checkMemoize(CountingSupplier countingSupplier, Supplier<Integer> memoizedSupplier) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/SuppliersTest.java

        }
      }
    
      static class SerializableCountingSupplier extends CountingSupplier implements Serializable {
        private static final long serialVersionUID = 0L;
      }
    
      static class SerializableThrowingSupplier extends ThrowingSupplier implements Serializable {
        private static final long serialVersionUID = 0L;
      }
    
      static void checkMemoize(CountingSupplier countingSupplier, Supplier<Integer> memoizedSupplier) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/BloomFilterTest.java

       * value.
       */
      private static void assertApproximateElementCountGuess(BloomFilter<?> bf, int sizeGuess) {
        assertThat(bf.approximateElementCount()).isAtLeast((long) (sizeGuess * 0.99));
        assertThat(bf.approximateElementCount()).isAtMost((long) (sizeGuess * 1.01));
      }
    
      public void testCreateAndCheckMitz32BloomFilterWithKnownFalsePositives() {
        int numInsertions = 1000000;
        BloomFilter<String> bf =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Cache.kt

     */
    class Cache internal constructor(
      directory: Path,
      maxSize: Long,
      fileSystem: FileSystem,
      taskRunner: TaskRunner,
    ) : Closeable, Flushable {
      /** Create a cache of at most [maxSize] bytes in [directory]. */
      constructor(
        fileSystem: FileSystem,
        directory: Path,
        maxSize: Long,
      ) : this(
        directory,
        maxSize,
        fileSystem,
        TaskRunner.INSTANCE,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top