Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 195 for Lankes (0.14 sec)

  1. guava-testlib/test/com/google/common/testing/TearDownStackTest.java

          runTest();
        } finally {
          tearDown();
        }
      }
    
      @Override
      protected void tearDown() {
        tearDownStack.runTearDown();
      }
    
      /** Builds a {@link TearDownStack} that makes sure it's clear by the end of this test. */
      private TearDownStack buildTearDownStack() {
        final TearDownStack result = new TearDownStack();
        tearDownStack.addTearDown(
            new TearDown() {
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

       * on the fields of TimeoutFuture. This field is slightly different from the fields discussed
       * there: cancel() never reads this field, only writes to it. That makes the race here completely
       * harmless, rather than just 99.99% harmless.
       */
      @CheckForNull @LazyInit private List<@Nullable Present<V>> values;
    
      CollectionFuture(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/HashBasedTable.java

     * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs
     * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer,
     * since an iteration across all row keys occurs.
     *
     * <p>Note that this implementation is not synchronized. If multiple threads access this table
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

                SerializableTester.reserialize(newDelegatingListWithEquals(LIST1)))
            .addEqualityGroup(
                newDelegatingListWithEquals(LIST2),
                newProxyWithSubHandler1(LIST2), // Makes sure type of handler doesn't affect equality
                newProxyWithSubHandler2(LIST2))
            .addEqualityGroup(newDelegatingIterableWithEquals(LIST2)) // different interface
            .testEquals();
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/EnumHashBiMap.java

        /*
         * TODO: cpovirk - Pre-size the HashMap based on the number of enum values? (But *not* based on
         * the number of entries in the map, as that makes it easy for hostile inputs to trigger lots of
         * allocation—not that any program should be deserializing hostile inputs to begin with!)
         */
        setDelegates(new EnumMap<K, V>(keyTypeOrObjectUnderJ2cl), new HashMap<V, K>());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

         *   available.
         * 3. We expect the client's get() to throw an InterruptedException.
         * 4. We expect the client thread's interrupt state to be false.
         * 5. The client thread again makes a blocking call to get().
         * 6. Now the result becomes available.
         * 7. We expect get() to return this result.
         * 8. We expect the test thread's interrupt state to be false.
         */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Throwables.java

       * by delaying the per-stack-frame work until each element is accessed. Roughly speaking:
       *
       * <ul>
       *   <li>{@code getStackTrace} takes {@code stackSize} time to return but then negligible time to
       *       retrieve each element of the returned list.
       *   <li>{@code lazyStackTrace} takes negligible time to return but then {@code 1/stackSize} time
       *       to retrieve each element of the returned list (probably slightly more than {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Throwables.java

       * by delaying the per-stack-frame work until each element is accessed. Roughly speaking:
       *
       * <ul>
       *   <li>{@code getStackTrace} takes {@code stackSize} time to return but then negligible time to
       *       retrieve each element of the returned list.
       *   <li>{@code lazyStackTrace} takes negligible time to return but then {@code 1/stackSize} time
       *       to retrieve each element of the returned list (probably slightly more than {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       * object behaves appropriately when its thread is interrupted.
       *
       * <p>For example, to return the value of {@code target.someMethod()}, but substitute {@code
       * DEFAULT_VALUE} if this method call takes over 50 ms, you can use this code:
       *
       * <pre>
       *   TimeLimiter limiter = . . .;
       *   TargetType proxy = limiter.newProxy(
       *       target, TargetType.class, 50, TimeUnit.MILLISECONDS);
       *   try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

      /** Use {@link MoreExecutors#newSequentialExecutor} */
      SequentialExecutor(Executor executor) {
        this.executor = Preconditions.checkNotNull(executor);
      }
    
      /**
       * Adds a task to the queue and makes sure a worker thread is running.
       *
       * <p>If this method throws, e.g. a {@code RejectedExecutionException} from the delegate executor,
       * execution of tasks will stop until a call to this method is made.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
Back to top