Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for hege (0.03 sec)

  1. guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

        for (int i = 0; i < reps; i++) {
          Stopwatch s = Stopwatch.createStarted();
          // here is where you would do something
          total += s.elapsed(NANOSECONDS);
        }
        return total;
      }
    
      @Benchmark
      long manual(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
          long start = System.nanoTime();
          // here is where you would do something
          total += System.nanoTime() - start;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

      /**
       * Do interruptible work here - do not complete Futures here, as their listeners could be
       * interrupted.
       */
      @ParametricNullness
      abstract T runInterruptibly() throws Exception;
    
      /**
       * Any interruption that happens as a result of calling interruptTask will arrive before this
       * method is called. Complete Futures here.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

        for (int i = 0; i < reps; i++) {
          Stopwatch s = Stopwatch.createStarted();
          // here is where you would do something
          total += s.elapsed(NANOSECONDS);
        }
        return total;
      }
    
      @Benchmark
      long manual(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
          long start = System.nanoTime();
          // here is where you would do something
          total += System.nanoTime() - start;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

        }
    
        public void test_determineValid_invalidExpressions() {
            assertFalse(validator.determineValid("invalid"));
            assertFalse(validator.determineValid("too many fields here * * * * * * *"));
            assertFalse(validator.determineValid("* * * *"));
        }
    
        public void test_isValid_basicInvalidCronExpression() {
            final ConstraintValidatorContext context = null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. guava-gwt/pom.xml

             its builds. Thus, GWT doesn't get j2objc-annotations transitively, in
             contrast to the other deps of `guava`, which it does get transitively.
             (Arguably we should redeclare *all* the `guava` deps here.) -->
        <dependency>
          <groupId>com.google.j2objc</groupId>
          <artifactId>j2objc-annotations</artifactId>
        </dependency>
        <dependency>
          <groupId>com.google.guava</groupId>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

            } while (oldHead != Waiter.TOMBSTONE);
          }
          // re-read valueField, if we get here then we must have observed a TOMBSTONE while trying to
          // add a waiter.
          // requireNonNull is safe because valueField is always set before TOMBSTONE.
          return getDoneValue(requireNonNull(valueField));
        }
        // If we get here then we have remainingNanos < SPIN_THRESHOLD_NANOS and there is no node on the
        // waiters list
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Striped.java

         *   lock.unlock();
         * }
         *
         * If we only held the int[] stripes, translating it on the fly to L's, the original locks might
         * be garbage collected after locking them, ending up in a huge mess.
         */
        @SuppressWarnings("unchecked") // we carefully replaced all keys with their respective L's
        List<L> asStripes = (List<L>) result;
        return Collections.unmodifiableList(asStripes);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

        Set<Throwable> seenExceptionsLocal = seenExceptionsField;
        if (seenExceptionsLocal == null) {
          // TODO(cpovirk): Should we use a simpler (presumably cheaper) data structure?
          /*
           * Using weak references here could let us release exceptions earlier, but:
           *
           * 1. On Android, querying a WeakReference blocks if the GC is doing an otherwise-concurrent
           * pass.
           *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

      // which overrides ImmutableSet & which ImmutableSortedSet extends.
      // It is necessary here because otherwise the builder() method
      // would be inherited from the emulated ImmutableSet.
      // TODO(cpovirk): should we be including other methods from the shim here and
      // in ImmutableSortedMap?
      @Deprecated
      public static <E> ImmutableSortedSet.Builder<E> builder() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java

        return unsafeDelegateList(delegateList().subList(fromIndex, toIndex));
      }
    
      @Override
      public Object[] toArray() {
        // Note that ArrayList.toArray() doesn't work here because it returns E[]
        // instead of Object[].
        return delegateList().toArray(new Object[size()]);
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return delegateList().equals(obj);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top