Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for suspend (0.16 sec)

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

        thread.awaitWaiting();
        thread.suspend();
        // Sleep for enough time to add 1500 milliseconds of overwait to the get() call.
        long toWaitMillis = 3500 - TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - thread.startTime);
        Thread.sleep(toWaitMillis);
        thread.setPriority(Thread.MAX_PRIORITY);
        thread.resume();
        thread.join();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/job/ExecJob.java

            this.useLocalFesen = useLocalFesen;
            return this;
        }
    
        public ExecJob remoteDebug() {
            return jvmOptions("-Xdebug", "-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=localhost:8000");
        }
    
        public ExecJob gcLogging() {
            final StringBuilder buf = new StringBuilder(100);
            buf.append("-Xlog:gc*,gc+age=trace,safepoint:file=");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        thread.awaitWaiting();
        thread.suspend();
        // Sleep for enough time to add 1500 milliseconds of overwait to the get() call.
        long toWaitMillis = 3500 - TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - thread.startTime);
        Thread.sleep(toWaitMillis);
        thread.setPriority(Thread.MAX_PRIORITY);
        thread.resume();
        thread.join();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Converter.java

      /** Constructor for use by subclasses. */
      protected Converter() {
        this(true);
      }
    
      /** Constructor used only by {@code LegacyConverter} to suspend automatic null-handling. */
      Converter(boolean handleNullAutomatically) {
        this.handleNullAutomatically = handleNullAutomatically;
      }
    
      // SPI methods (what subclasses must implement)
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/base/Converter.java

      /** Constructor for use by subclasses. */
      protected Converter() {
        this(true);
      }
    
      /** Constructor used only by {@code LegacyConverter} to suspend automatic null-handling. */
      Converter(boolean handleNullAutomatically) {
        this.handleNullAutomatically = handleNullAutomatically;
      }
    
      // SPI methods (what subclasses must implement)
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

      /**
       * Creates a TimeLimiter instance using the given executor service to execute method calls.
       *
       * <p><b>Warning:</b> using a bounded executor may be counterproductive! If the thread pool fills
       * up, any time callers spend waiting for a thread may count toward their time limit, and in this
       * case the call may even time out before the target method is ever invoked.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 27 14:21:11 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/LongMath.java

             * and increasing the threshold to 2^32 doesn't pay for itself, and adding another enum
             * constant hurts performance further -- I suspect because bimorphic implementation is a
             * sweet spot for the JVM.
             */
            return (a * b) % m;
          }
    
          @Override
          long squareMod(long a, long m) {
    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)
  8. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       *       the integral of our function, between X permits and X-K permits, assuming we want to
       *       spend K saved permits.
       * </ol>
       *
       * <p>In summary, the time it takes to move to the left (spend K permits), is equal to the area of
       * the function of width == K.
       *
       * <p>Assuming we have saturated demand, the time to go from maxPermits to thresholdPermits is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * CollectionRemoveTester.testRemove_nullAllowed, but it's not clear that it's
       * a good policy, especially because, in order for the test to pass, the
       * parameter must be misleadingly annotated as @Nullable. I suspect that
       * we'll want to remove @Nullable, add an eager checkNotNull, and loosen up
       * testRemove_nullAllowed.
       */
      @CanIgnoreReturnValue
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/GeneralRange.java

            upEnd = other.getUpperEndpoint();
            upType = other.getUpperBoundType();
          }
        }
    
        if (hasLowBound && hasUpBound) {
          int cmp = comparator.compare(lowEnd, upEnd);
          if (cmp > 0 || (cmp == 0 && lowType == OPEN && upType == OPEN)) {
            // force allowed empty range
            lowEnd = upEnd;
            lowType = OPEN;
            upType = CLOSED;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
Back to top