Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 384 for already (0.04 sec)

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

       */
      private void startTask() {
        synchronized (lock) {
          if (shutdown) {
            throw new RejectedExecutionException("Executor already shutdown");
          }
          runningTasks++;
        }
      }
    
      /** Decrements the running task count. */
      private void endTask() {
        synchronized (lock) {
          int numRunning = --runningTasks;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       * response, or null if this response wasn't triggered by an automatic retry. The body of the
       * returned response should not be read because it has already been consumed by the redirecting
       * client.
       */
      @get:JvmName("priorResponse") val priorResponse: Response?,
      /**
       * Returns a [timestamp][System.currentTimeMillis] taken immediately before OkHttp
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableTable.java

       * if the row, column, or value functions return null on any input.
       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
      @IgnoreJRERequirement // Users will use this only if they're already using streams.
      public static <T extends @Nullable Object, R, C, V>
          Collector<T, ?, ImmutableTable<R, C, V>> toImmutableTable(
              Function<? super T, ? extends R> rowFunction,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/RelationshipTester.java

        this.relationshipName = checkNotNull(relationshipName);
        this.hashName = checkNotNull(hashName);
        this.itemReporter = checkNotNull(itemReporter);
      }
    
      // TODO(cpovirk): should we reject null items, since the tests already check null automatically?
      @CanIgnoreReturnValue
      public RelationshipTester<T> addRelatedGroup(Iterable<? extends T> group) {
        groups.add(ImmutableList.copyOf(group));
        return this;
      }
    
      public void test() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Joiner.java

          }
    
          @Override
          public Joiner useForNull(String nullText) {
            throw new UnsupportedOperationException("already specified useForNull");
          }
    
          @Override
          public Joiner skipNulls() {
            throw new UnsupportedOperationException("already specified useForNull");
          }
        };
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/StatsAccumulator.java

       *
       * @param values a series of values
       * @since 33.4.0 (but since 28.2 in the JRE flavor)
       */
      @IgnoreJRERequirement // Users will use this only if they're already using streams.
      public void addAll(DoubleStream values) {
        addAll(values.collect(StatsAccumulator::new, StatsAccumulator::add, StatsAccumulator::addAll));
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/IteratorsTest.java

        List<String> alreadyThere = Lists.newArrayList("already", "there");
    
        boolean changed = Iterators.addAll(alreadyThere, Iterators.<String>emptyIterator());
        assertThat(alreadyThere).containsExactly("already", "there").inOrder();
        assertFalse(changed);
      }
    
      public void testAddAllToList() {
        List<String> alreadyThere = Lists.newArrayList("already", "there");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Route.kt

       *  * `example.com:443 via proxy [::1]:8888`
       *
       * This omits duplicate information when possible.
       */
      override fun toString(): String =
        buildString {
          val addressHostname = address.url.host // Already in canonical form.
          val socketHostname = socketAddress.address?.hostAddress?.toCanonicalHost()
    
          when {
            ':' in addressHostname -> append("[").append(addressHostname).append("]")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AbstractService.java

            notifyFailed(startupFailure);
          } finally {
            monitor.leave();
            dispatchListenerEvents();
          }
        } else {
          throw new IllegalStateException("Service " + this + " has already been started");
        }
        return this;
      }
    
      @CanIgnoreReturnValue
      @Override
      public final Service stopAsync() {
        if (monitor.enterIf(isStoppable)) {
          try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

        checkArgument(
            !DEFAULTS.containsKey(type), "A default value was already registered for %s", type);
        checkArgument(
            implementations.put(type, implementation) == null,
            "Implementation for %s was already registered",
            type);
      }
    
      static {
        setImplementation(Appendable.class, StringBuilder.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 20.9K bytes
    - Viewed (0)
Back to top