Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,227 for hong (0.17 sec)

  1. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private static final long SMALL_TIMEOUT_MILLIS = 10;
    
      /** How long to wait when determining that a thread is blocked if we expect it to be blocked. */
      private static final long EXPECTED_HANG_DELAY_MILLIS = 75;
    
      /**
       * How long to wait when determining that a thread is blocked if we DON'T expect it to be blocked.
       */
      private static final long UNEXPECTED_HANG_DELAY_MILLIS = 10000;
    
      /**
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private static final long SMALL_TIMEOUT_MILLIS = 10;
    
      /** How long to wait when determining that a thread is blocked if we expect it to be blocked. */
      private static final long EXPECTED_HANG_DELAY_MILLIS = 75;
    
      /**
       * How long to wait when determining that a thread is blocked if we DON'T expect it to be blocked.
       */
      private static final long UNEXPECTED_HANG_DELAY_MILLIS = 10000;
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 26.1K bytes
    - Viewed (0)
  3. 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)
  4. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

        protected void process(ByteBuffer bb) {
          long k1 = bb.getLong();
          long k2 = bb.getLong();
          bmix64(k1, k2);
          length += CHUNK_SIZE;
        }
    
        private void bmix64(long k1, long k2) {
          h1 ^= mixK1(k1);
    
          h1 = Long.rotateLeft(h1, 27);
          h1 += h2;
          h1 = h1 * 5 + 0x52dce729;
    
          h2 ^= mixK2(k2);
    
          h2 = Long.rotateLeft(h2, 31);
          h2 += h1;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        @Override
        protected List<Long> create(Long[] elements) {
          Long[] prefix = {Long.MIN_VALUE, Long.MAX_VALUE};
          Long[] suffix = {86L, 99L};
          Long[] all = concat(concat(prefix, elements), suffix);
          return makeArray(all).subArray(2, elements.length + 2).asList();
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
      private static Long[] concat(Long[] a, Long[] b) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 19K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/DiscreteDomain.java

        }
    
        @Override
        @CheckForNull
        public Long previous(Long value) {
          long l = value;
          return (l == Long.MIN_VALUE) ? null : l - 1;
        }
    
        @Override
        Long offset(Long origin, long distance) {
          checkNonnegative(distance, "distance");
          long result = origin + distance;
          if (result < 0) {
            checkArgument(origin < 0, "overflow");
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/MathTesting.java

      /* Helper function to make a Long value from an Integer. */
      private static final Function<Integer, Long> TO_LONG =
          new Function<Integer, Long>() {
            @Override
            public Long apply(Integer n) {
              return Long.valueOf(n);
            }
          };
    
      /* Helper function to make a BigInteger value from a Long. */
      private static final Function<Long, BigInteger> TO_BIGINTEGER =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

      /** Invokes {@code unit.}{@link TimeUnit#sleep(long) sleep(sleepFor)} uninterruptibly. */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public static void sleepUninterruptibly(long sleepFor, TimeUnit unit) {
        boolean interrupted = false;
        try {
          long remainingNanos = unit.toNanos(sleepFor);
          long end = System.nanoTime() + remainingNanos;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 14.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

                _src.align(4);
                int _pathp = _src.dec_ndr_long();
                int _commentp = _src.dec_ndr_long();
                this.state = _src.dec_ndr_long();
                this.num_stores = _src.dec_ndr_long();
                int _storesp = _src.dec_ndr_long();
    
                if ( _pathp != 0 ) {
                    _src = _src.deferred;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 16.4K bytes
    - Viewed (0)
Back to top