Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for occupy (0.08 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       * value slightly too high than slightly too low. If the value is not exact, the {@link
       * ImmutableLongArray} that is built will very likely occupy more memory than strictly necessary;
       * to trim memory usage, build using {@code builder.build().trimmed()}.
       */
      public static Builder builder(int initialCapacity) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/ImmutableIntArray.java

       * value slightly too high than slightly too low. If the value is not exact, the {@link
       * ImmutableIntArray} that is built will very likely occupy more memory than strictly necessary;
       * to trim memory usage, build using {@code builder.build().trimmed()}.
       */
      public static Builder builder(int initialCapacity) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        // (b) Waiting for the single guard to become satisfied.
        // (c) Occupying the monitor and awaiting the tearDownLatch.
        //
        // Except for (c), every thread should occupy the monitor very briefly, and every thread leaves
        // the monitor with the guard satisfied. Therefore as soon as tearDownLatch is triggered, we
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Monitor.java

     * (no "hangs" due to incorrect use of {@link java.util.concurrent.locks.Condition#signal
     * Condition.signal}).
     *
     * <p>A thread is said to <i>occupy</i> a monitor if it has <i>entered</i> the monitor but not yet
     * <i>left</i>. Only one thread may occupy a given monitor at any moment. A monitor is also
     * reentrant, so a thread may enter a monitor any number of times, and then must leave the same
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Service.java

         * State#STARTING STARTING}. This occurs when {@link Service#startAsync} is called the first
         * time.
         */
        public void starting() {}
    
        /**
         * Called when the service transitions from {@linkplain State#STARTING STARTING} to {@linkplain
         * State#RUNNING RUNNING}. This occurs when a service has successfully started.
         */
        public void running() {}
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/Service.java

         * State#STARTING STARTING}. This occurs when {@link Service#startAsync} is called the first
         * time.
         */
        public void starting() {}
    
        /**
         * Called when the service transitions from {@linkplain State#STARTING STARTING} to {@linkplain
         * State#RUNNING RUNNING}. This occurs when a service has successfully started.
         */
        public void running() {}
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/CharStreams.java

       * close or flush either object.
       *
       * @param from the object to read from
       * @param to the object to write to
       * @return the number of characters copied
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue
      public static long copy(Readable from, Appendable to) throws IOException {
        // The most common case is that from is a Reader (like InputStreamReader or StringReader) so
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/CharSource.java

       * reader each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned reader is closed.
       *
       * @throws IOException if an I/O error occurs while opening the reader
       */
      public abstract Reader openStream() throws IOException;
    
      /**
       * Opens a new {@link BufferedReader} for reading from this source. This method returns a new,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/CharSource.java

       * reader each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned reader is closed.
       *
       * @throws IOException if an I/O error occurs while opening the reader
       */
      public abstract Reader openStream() throws IOException;
    
      /**
       * Opens a new {@link BufferedReader} for reading from this source. This method returns a new,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Files.java

       * @return a byte array containing all the bytes from file
       * @throws IllegalArgumentException if the file is bigger than the largest possible byte array
       *     (2^31 - 1)
       * @throws IOException if an I/O error occurs
       */
      public static byte[] toByteArray(File file) throws IOException {
        return asByteSource(file).read();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top