Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 5,677 for an (0.13 sec)

  1. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        lockA.lock();
      }
    
      // Tests transitive deadlock detection.
      public void testDeadlock_threeLocks() {
        // Establish an ordering from lockA -> lockB.
        lockA.lock();
        lockB.lock();
        lockB.unlock();
        lockA.unlock();
    
        // Establish an ordering from lockB -> lockC.
        lockB.lock();
        lockC.lock();
        lockB.unlock();
    
        // lockC -> lockA should fail.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/Escaper.java

    import com.google.errorprone.annotations.DoNotMock;
    
    /**
     * An object that converts literal text into a format safe for inclusion in a particular context
     * (such as an XML document). Typically (but not always), the inverse process of "unescaping" the
     * text is performed automatically by the relevant parser.
     *
     * <p>For example, an XML escaper would convert the literal string {@code "Foo<Bar>"} into {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 16:02:17 GMT 2021
    - 4.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteStreams.java

       * @param in the input stream to read from.
       * @param b the buffer into which the data is read.
       * @param off an int specifying the offset into the data.
       * @param len an int specifying the number of bytes to read.
       * @throws EOFException if this stream reaches the end before reading all the bytes.
       * @throws IOException if an I/O error occurs.
       */
      public static void readFully(InputStream in, byte[] b, int off, int len) throws IOException {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainManager.java

         * @throws ToolchainManagerException if an exception occurs
         */
        @Nonnull
        List<Toolchain> getToolchains(@Nonnull Session session, String type, Map<String, String> requirements);
    
        /**
         *
         * @param session
         * @param type
         * @return the selected {@link Toolchain}
         * @throws ToolchainManagerException if an exception occurs
         */
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/Traverser.java

       * info.
       *
       * @throws IllegalArgumentException if {@code startNode} is not an element of the graph
       */
      public final Iterable<N> breadthFirst(N startNode) {
        return breadthFirst(ImmutableSet.of(startNode));
      }
    
      /**
       * Returns an unmodifiable {@code Iterable} over the nodes reachable from any of the {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         * In a module hierarchy, the descriptors map may have an arbitrary number of entries,
         * including one (so the map size cannot be used as a criterion).
         *
         * @see #isModuleHierarchy()
         */
        private final boolean isModuleHierarchy;
    
        /**
         * Constructs an empty instance for non-modular dependencies.
         *
         * @see #NONE
         */
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ByteSource.java

    import java.util.Iterator;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A readable source of bytes, such as a file. Unlike an {@link InputStream}, a {@code ByteSource}
     * is not an open, stateful stream for input that can be read and closed. Instead, it is an
     * immutable <i>supplier</i> of {@code InputStream} instances.
     *
     * <p>{@code ByteSource} provides two kinds of methods:
     *
     * <ul>
    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)
  8. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

        stack.push(reverse(encoded.subSequence(start, idx)));
    
        if (c == '!' || c == '?' || c == ':' || c == ',') {
          // '!' represents an interior node that represents a REGISTRY entry in the map.
          // '?' represents a leaf node, which represents a REGISTRY entry in map.
          // ':' represents an interior node that represents a private entry in the map
          // ',' represents a leaf node, which represents a private entry in the map.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Oct 13 19:20:43 GMT 2022
    - 4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

     *     unless it is constrained by using a method like {@link #nodeOrder}, or the builder is
     *     constructed based on an existing {@code ValueGraph} using {@link #from(ValueGraph)}.
     * @param <V> The most general value type this builder will support. This is normally {@code Object}
     *     unless the builder is constructed based on an existing {@code Graph} using {@link
     *     #from(ValueGraph)}.
     * @since 20.0
     */
    @Beta
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ObjectArrays.java

       *
       * @param c the collection for which to return an array of elements
       */
      static @Nullable Object[] toArrayImpl(Collection<?> c) {
        return fillArray(c, new Object[c.size()]);
      }
    
      /**
       * Returns a copy of the specified subrange of the specified array that is literally an Object[],
       * and not e.g. a {@code String[]}.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
Back to top