Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 365 for couldn (0.17 sec)

  1. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           *   or it had already failed. (It couldn't have completed *successfully* or even had
           *   setFuture called on it: Neither of those can happen until we've finished processing all
           *   the completed inputs. And we're still processing at least one input, the one that
           *   triggered handleException.)
           *
           * TODO(cpovirk): Think about whether we could/should use Verify to check the return value of
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                                    // MNG-3769: the [probably relocated] artifact is excluded.
                                    // We could process exclusions on relocated artifact details in the
                                    // MavenMetadataSource.createArtifacts(..) step, BUT that would
                                    // require resolving the POM from the repository very early on in
                                    // the build.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 36.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

                  .getMethod("currentRequestThreadFactory")
                  .invoke(null);
        } catch (IllegalAccessException | ClassNotFoundException | NoSuchMethodException e) {
          throw new RuntimeException("Couldn't invoke ThreadManager.currentRequestThreadFactory", e);
        } catch (InvocationTargetException e) {
          throw Throwables.propagate(e.getCause());
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // TODO
    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/src/com/google/common/util/concurrent/Striped.java

     * and memory footprint. For example, if a set of tasks are CPU-bound, one could easily create a
     * very compact {@code Striped<Lock>} of {@code availableProcessors() * 4} stripes, instead of
     * possibly thousands of locks which could be created in a {@code Map<K, Lock>} structure.
     *
     * @author Dimitris Andreou
     * @since 13.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 20:55:18 GMT 2023
    - 20.3K bytes
    - Viewed (1)
  5. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

      }
    
      /**
       * Catches a bug where when constructing a service manager failed, later interactions with the
       * service could cause IllegalStateExceptions inside the partially constructed ServiceManager.
       * This ISE wouldn't actually bubble up but would get logged by ExecutionQueue. This obfuscated
       * the original error (which was not constructing ServiceManager correctly).
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/TempFileCreator.java

     * a file or directory that would be more accessible.
     */
    @J2ktIncompatible
    @GwtIncompatible
    @J2ObjCIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class TempFileCreator {
      static final TempFileCreator INSTANCE = pickSecureCreator();
    
      /**
       * @throws IllegalStateException if the directory could not be created (to implement the contract
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        stopwatch.sleepMillis(4000); // #3: becomes cold again
        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // // #4
        }
        stopwatch.sleepMillis(500); // #5: to repay for the last acquire
        stopwatch.sleepMillis(2000); // #6: didn't get cold! It would take another 2 seconds to go cold
        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // #7
        }
        assertEvents(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      }
    
      @Generates
      static <R, C, V> Table<R, C, V> generateTable(R row, C column, V value) {
        return generateHashBasedTable(row, column, value);
      }
    
      @Generates
      static <R, C, V> HashBasedTable<R, C, V> generateHashBasedTable(R row, C column, V value) {
        HashBasedTable<R, C, V> table = HashBasedTable.create();
        table.put(row, column, value);
        return table;
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

         *
         * <p>Since the last element of the array is actually in the middle of the sorted structure, a
         * childless aunt node could be smaller, which would corrupt the invariant if this element
         * becomes the new parent of the aunt node. In that case, we first switch the last element with
         * its aunt node, before returning.
         */
        int swapWithConceptuallyLastElement(E actualLastElement) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ByteSource.java

       *
       * <p>Note that the given byte array may be passed directly to methods on, for example, {@code
       * OutputStream} (when {@code copyTo(OutputStream)} is called on the resulting {@code
       * ByteSource}). This could allow a malicious {@code OutputStream} implementation to modify the
       * contents of the array, but provides better performance in the normal case.
       *
       * @since 15.0 (since 14.0 as {@code ByteStreams.asByteSource(byte[])}).
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
Back to top