Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 5,677 for an (0.22 sec)

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

        maybePropagateCancellationTo(delegateRef);
    
        Future<?> localTimer = timer;
        // Try to cancel the timer as an optimization.
        // timer may be null if this call to run was by the timer task since there is no happens-before
        // edge between the assignment to timer and an execution of the timer task.
        if (localTimer != null) {
          localTimer.cancel(false);
        }
    
        delegateRef = null;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/SuccessorsFunction.java

     *
     * <h3>Usage</h3>
     *
     * Given an algorithm, for example:
     *
     * <pre>{@code
     * public <N> someGraphAlgorithm(N startNode, SuccessorsFunction<N> successorsFunction);
     * }</pre>
     *
     * you will invoke it depending on the graph representation you're using.
     *
     * <p>If you have an instance of one of the primary {@code common.graph} types ({@link Graph},
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Bytes.java

       * @return a hash code for the value
       */
      public static int hashCode(byte value) {
        return value;
      }
    
      /**
       * Returns {@code true} if {@code target} is present as an element anywhere in {@code array}.
       *
       * @param array an array of {@code byte} values, possibly empty
       * @param target a primitive {@code byte} value
       * @return {@code true} if {@code array[i] == target} for some value of {@code i}
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RangeMap.java

       *
       * <p>The returned range map supports all optional operations that this range map supports, except
       * for {@code asMapOfRanges().iterator().remove()}.
       *
       * <p>The returned range map will throw an {@link IllegalArgumentException} on an attempt to
       * insert a range not {@linkplain Range#encloses(Range) enclosed} by {@code range}.
       */
      // TODO(cpovirk): Consider documenting that IAE on the various methods that can throw it.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheLoader.java

      /**
       * Computes or retrieves a replacement value corresponding to an already-cached {@code key}. This
       * method is called when an existing cache entry is refreshed by {@link
       * CacheBuilder#refreshAfterWrite}, or through a call to {@link LoadingCache#refresh}.
       *
       * <p>This implementation synchronously delegates to {@link #load}. It is recommended that it be
       * overridden with an asynchronous implementation when using {@link
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/SortedIterable.java

     *
     * http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software distributed under the
     * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
     * express or implied. See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 29 02:13:00 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Funnels.java

          return "Funnels.longFunnel()";
        }
      }
    
      /**
       * Wraps a {@code PrimitiveSink} as an {@link OutputStream}, so it is easy to {@link Funnel#funnel
       * funnel} an object to a {@code PrimitiveSink} if there is already a way to write the contents of
       * the object to an {@code OutputStream}.
       *
       * <p>The {@code close} and {@code flush} methods of the returned {@code OutputStream} do nothing,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 25 20:32:46 GMT 2022
    - 7.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/OverflowAvoidingLockSupport.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.util.concurrent.locks.LockSupport;
    import javax.annotation.CheckForNull;
    
    /**
     * Works around an android bug, where parking for more than INT_MAX seconds can produce an abort
     * signal on 32 bit devices running Android Q.
     */
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    final class OverflowAvoidingLockSupport {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ReaderInputStream.java

    import java.nio.charset.CodingErrorAction;
    import java.util.Arrays;
    
    /**
     * An {@link InputStream} that converts characters from a {@link Reader} into bytes using an
     * arbitrary Charset.
     *
     * <p>This is an alternative to copying the data to an {@code OutputStream} via a {@code Writer},
     * which is necessarily blocking. By implementing an {@code InputStream} it allows consumers to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/xml/XmlEscapers.java

      // For each xxxEscaper() method, please add links to external reference pages
      // that are considered authoritative for the behavior of that escaper.
    
      /**
       * Returns an {@link Escaper} instance that escapes special characters in a string so it can
       * safely be included in an XML document as element content. See section <a
       * href="http://www.w3.org/TR/2008/REC-xml-20081126/#syntax">2.4</a> of the XML specification.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.5K bytes
    - Viewed (0)
Back to top