Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,445 for Another (0.06 sec)

  1. android/guava/src/com/google/common/io/Files.java

      }
    
      /**
       * Copies all the bytes from one file to another.
       *
       * <p>Copying is not an atomic operation - in the case of an I/O error, power loss, process
       * termination, or other problems, {@code to} may not be a complete copy of {@code from}. If you
       * need to guard against those conditions, you should employ other file-level synchronization.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/StringUtil.java

         */
        public static final boolean isNotEmpty(final String text) {
            return !isEmpty(text);
        }
    
        /**
         * Replaces all occurrences of a substring within a string with another string.
         *
         * @param text
         *            The original string.
         * @param fromText
         *            The substring to be replaced.
         * @param toText
         *            The replacement substring.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

          taskFaker.sleep(100.µs)
          log += "blue:finishing@${taskFaker.nanoTime}"
        }
        assertThat(taskFaker.executeCallCount).isEqualTo(1)
    
        // Running the red task starts another thread, so the two can run in parallel.
        taskFaker.runNextTask()
        assertThat(log).containsExactly("red:starting@0")
        assertThat(taskFaker.executeCallCount).isEqualTo(2)
    
        // Next the blue task starts.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 23K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Suppliers.java

        }
    
        @Override
        @ParametricNullness
        // We set the field only once (during construction or deserialization).
        @SuppressWarnings("SynchronizeOnNonFinalField")
        public T get() {
          // Another variant of Double Checked Locking.
          //
          // We use two volatile reads. We could reduce this to one by
          // putting our fields into a holder class, but (at least on x86)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

                return lastResponseData;
            }
    
            public void resetCounters() {
                matchCallCount = 0;
                lastResponseData = null;
            }
        }
    
        /**
         * Another concrete implementation for testing different scenarios
         */
        public static class ConditionalAbstractRule extends AbstractRule {
            private static final long serialVersionUID = 1L;
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       *
       * <p>Note that you cannot always tell if an attempt to insert an element will succeed by
       * inspecting {@code remainingCapacity} because it may be the case that another thread is about to
       * insert or remove an element.
       */
      @CanIgnoreReturnValue
      @Override
      public int remainingCapacity() {
        Monitor monitor = this.monitor;
        monitor.enter();
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

    import java.util.NavigableSet;
    import java.util.NoSuchElementException;
    import java.util.SortedMap;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A navigable map which forwards all its method calls to another navigable map. Subclasses should
     * override one or more methods to modify the behavior of the backing map as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ForwardingNavigableMap.java

    import java.util.NoSuchElementException;
    import java.util.SortedMap;
    import java.util.function.BiFunction;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A navigable map which forwards all its method calls to another navigable map. Subclasses should
     * override one or more methods to modify the behavior of the backing map as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        allTasks.add(setFutureCancelRunnable);
        for (int k = 0; k < 50; k++) {
          // For each listener we add a task that submits it to the executor directly for the blocking
          // get use case and another task that adds it as a listener to the future to exercise both
          // racing addListener calls and addListener calls completing after the future completes.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

         * wordCount member DOES store the number of words)) we
         * actually read. Incedentally this is important to the
         * AndXServerMessageBlock class that needs to potentially
         * read in another smb's parameter words and bytes based on
         * information in it's andxCommand, andxOffset, ...etc.
         */
    
        abstract int writeParameterWordsWireFormat(byte[] dst, int dstIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
Back to top