Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for trac (0.15 sec)

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

      int recursionCount;
    
      private static final Object duh = new Object();
    
      @Param Mode mode;
    
      enum Mode {
        LAZY_STACK_TRACE {
          @Override
          List<StackTraceElement> getStackTrace(Throwable t) {
            return lazyStackTrace(t);
          }
        },
        GET_STACK_TRACE {
          @Override
          List<StackTraceElement> getStackTrace(Throwable t) {
            return asList(t.getStackTrace());
          }
        };
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        thread.start();
    
        boolean done = doneSignal.await(1, TimeUnit.SECONDS);
        if (!done) {
          StringBuilder builder = new StringBuilder();
          for (StackTraceElement trace : thread.getStackTrace()) {
            builder.append("\tat ").append(trace).append('\n');
          }
          fail(builder.toString());
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    
    /**
     * Basher test for {@link ConcurrentHashMultiset}: start a bunch of threads, have each of them do
     * operations at random. Each thread keeps track of the per-key deltas that it's directly
     * responsible for; after all threads have completed, we sum the per-key deltas and compare to the
     * existing multiset values.
     *
     * @author mike nonemacher
     */
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/internal/Finalizer.java

          ReferenceQueue<Object> queue,
          PhantomReference<Object> frqReference) {
        this.queue = queue;
    
        this.finalizableReferenceClassReference = new WeakReference<>(finalizableReferenceClass);
    
        // Keep track of the FRQ that started us so we know when to stop.
        this.frqReference = frqReference;
      }
    
      /** Loops continuously, pulling references off the queue and cleaning them up. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompactHashSet.java

      @VisibleForTesting @CheckForNull transient @Nullable Object[] elements;
    
      /**
       * Keeps track of metadata like the number of hash table bits and modifications of this data
       * structure (to make it possible to throw ConcurrentModificationException in the iterator). Note
       * that we choose not to make this volatile, so we do less of a "best effort" to track such
       * errors, for better performance.
       */
      private transient int metadata;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                        }
                      },
                      service);
            } else if (i % DIRECT_EXECUTIONS_PER_THREAD == DIRECT_EXECUTIONS_PER_THREAD - 1) {
              // When at max depth, record stack trace depth
              lengthChecks.add(
                  serializer.submit(
                      new Callable<Integer>() {
                        @Override
                        public Integer call() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                        }
                      },
                      service);
            } else if (i % DIRECT_EXECUTIONS_PER_THREAD == DIRECT_EXECUTIONS_PER_THREAD - 1) {
              // When at max depth, record stack trace depth
              lengthChecks.add(
                  serializer.submit(
                      new Callable<Integer>() {
                        @Override
                        public Integer call() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/HttpHeaders.java

       * a request itself.
       *
       * @since 31.0
       */
      public static final String X_DEVICE_REQUESTED_WITH = "X-Device-Requested-With";
      /** The HTTP {@code X-Do-Not-Track} header field name. */
      public static final String X_DO_NOT_TRACK = "X-Do-Not-Track";
      /** The HTTP {@code X-Forwarded-For} header field name (superseded by {@code Forwarded}). */
      public static final String X_FORWARDED_FOR = "X-Forwarded-For";
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CompactHashMap.java

      @VisibleForTesting @CheckForNull transient @Nullable Object[] values;
    
      /**
       * Keeps track of metadata like the number of hash table bits and modifications of this data
       * structure (to make it possible to throw ConcurrentModificationException in the iterator). Note
       * that we choose not to make this volatile, so we do less of a "best effort" to track such
       * errors, for better performance.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 39.8K bytes
    - Viewed (0)
  10. guava-gwt/pom.xml

                  [INFO] Validating units:
                  [INFO]    Ignored 53 units with compilation errors in first pass.
                  [INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
    
                Turning up the log level, we see that GWT is trying to compile classes from other
                packages, like RangeTest. The reason for this is that GWT doesn't distinguish between
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 15:00:55 GMT 2024
    - 19.8K bytes
    - Viewed (0)
Back to top