Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 124 for mocked (0.14 sec)

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

        }
    
        /**
         * Returns a new immutable array. The builder can continue to be used after this call, to append
         * more values and build again.
         *
         * <p><b>Performance note:</b> the returned array is backed by the same array as the builder, so
         * no data is copied as part of this step, but this may occupy more memory than strictly
         * necessary. To copy the data to a right-sized backing array, use {@code .build().trimmed()}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/HashBiMap.java

    import java.util.Set;
    import java.util.function.BiConsumer;
    import java.util.function.BiFunction;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link BiMap} backed by two hash tables. This implementation allows null keys and values. A
     * {@code HashBiMap} and its inverse are both serializable.
     *
     * <p>This implementation guarantees insertion-based iteration order of its keys.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

        }
    
        /**
         * Returns a new immutable array. The builder can continue to be used after this call, to append
         * more values and build again.
         *
         * <p><b>Performance note:</b> the returned array is backed by the same array as the builder, so
         * no data is copied as part of this step, but this may occupy more memory than strictly
         * necessary. To copy the data to a right-sized backing array, use {@code .build().trimmed()}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          ArrayList<LockGraphNode> acquiredLockList = requireNonNull(acquiredLocks.get());
          LockGraphNode node = lock.getLockGraphNode();
          // Iterate in reverse because locks are usually locked/unlocked in a
          // LIFO order.
          for (int i = acquiredLockList.size() - 1; i >= 0; i--) {
            if (acquiredLockList.get(i) == node) {
              acquiredLockList.remove(i);
              break;
            }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/HashBiMap.java

        }
      }
    
      /**
       * An {@code Entry} implementation that attempts to follow its key around the map -- that is, if
       * the key is moved, deleted, or reinserted, it will account for that -- while not doing any extra
       * work if the key has not moved. One quirk: The {@link #getValue()} method can return {@code
       * null} even for a map which supposedly does not contain null elements, if the key is not present
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    wondered at this, but at the time it all seemed quite natural);
    but when the Rabbit actually TOOK A WATCH OUT OF ITS WAISTCOAT-
    POCKET, and looked at it, and then hurried on, Alice started to
    her feet, for it flashed across her mind that she had never
    before seen a rabbit with either a waistcoat-pocket, or a watch to
    take out of it, and burning with curiosity, she ran across the
    field after it, and fortunately was just in time to see it pop
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/RegularImmutableMapWithUnhashableValuesMapInterfaceTest.java

    import com.google.common.collect.testing.SampleElements.Unhashables;
    import com.google.common.collect.testing.UnhashableObject;
    import java.util.Map;
    
    @GwtIncompatible // GWT's ImmutableMap emulation is backed by java.util.HashMap.
    public class RegularImmutableMapWithUnhashableValuesMapInterfaceTest
        extends AbstractImmutableMapMapInterfaceTest<Integer, UnhashableObject> {
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 09 02:18:08 GMT 2022
    - 1.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/JdkPattern.java

    package com.google.common.base;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.io.Serializable;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /** A regex pattern implementation which is backed by the {@link Pattern}. */
    @ElementTypesAreNonnullByDefault
    @GwtIncompatible
    final class JdkPattern extends CommonPattern implements Serializable {
      private final Pattern pattern;
    
      JdkPattern(Pattern pattern) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

                throw new RejectedExecutionException();
              }
            };
        final SequentialExecutor executor = new SequentialExecutor(delegate);
        final ExecutorService blocked = Executors.newCachedThreadPool();
        Future<?> first =
            blocked.submit(
                new Runnable() {
                  @Override
                  public void run() {
                    executor.execute(Runnables.doNothing());
                  }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/ForwardingGraph.java

     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import java.util.Set;
    
    /**
     * A class to allow {@link Graph} implementations to be backed by a {@link BaseGraph}. This is not
     * currently planned to be released as a general-purpose forwarding class.
     *
     * @author James Sexton
     */
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 2.5K bytes
    - Viewed (0)
Back to top