Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 84 for injection (0.15 sec)

  1. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

      @Param("false")
      boolean forceSlow;
    
      // Use web-derived sampler.
      @Param("false")
      boolean web;
    
      private CharMatcher matcher;
      private String string;
    
      // Caliper invokes setUp() after injecting params
      @BeforeExperiment
      void setUp() {
        this.matcher = precomputed ? config.matcher.precomputed() : config.matcher;
        if (size == Size.SMALL) {
          BitSet tmp = new BitSet();
          matcher.setBits(tmp);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * specified access policy.
       *
       * @param capacity the capacity of this queue
       * @param fair if {@code true} then queue accesses for threads blocked on insertion or removal,
       *     are processed in FIFO order; if {@code false} the access order is unspecified.
       * @throws IllegalArgumentException if {@code capacity} is less than 1
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

          // already started execution. Because each task on a TaskNonReentrantExecutor can only produce
          // one execute() call to another instance from the same ExecutionSequencer, we know by
          // induction that the task that launched this one must not have added any other runnables to
          // that thread's queue, and thus we cannot be replacing a TaskAndThread object that would
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InternetDomainName.java

     * but given that any public suffix may become a host without warning, it is better to err on the
     * side of permissiveness and thus avoid spurious rejection of valid sites. Of course, to actually
     * determine addressability of any host, clients of this class will need to perform their own DNS
     * lookups.
     *
     * <p>During construction, names are normalized in two ways:
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMap.java

      /**
       * Returns an immutable set of the mappings in this map. The iteration order is specified by the
       * method used to create this map. Typically, this is insertion order.
       */
      @Override
      public ImmutableSet<Entry<K, V>> entrySet() {
        ImmutableSet<Entry<K, V>> result = entrySet;
        return (result == null) ? entrySet = createEntrySet() : result;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java

        return Arrays.asList(
            new Object[][] {
              {false, false, ElementOrder.insertion(), ElementOrder.insertion()},
              {true, false, ElementOrder.insertion(), ElementOrder.insertion()},
              {false, false, naturalElementOrder, naturalElementOrder},
              {true, true, ElementOrder.insertion(), ElementOrder.insertion()},
            });
      }
    
      private final boolean allowsSelfLoops;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Apr 09 17:01:22 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java

        return Arrays.asList(
            new Object[][] {
              {false, false, ElementOrder.insertion(), ElementOrder.insertion()},
              {true, false, ElementOrder.insertion(), ElementOrder.insertion()},
              {false, false, naturalElementOrder, naturalElementOrder},
              {true, true, ElementOrder.insertion(), ElementOrder.insertion()},
            });
      }
    
      private final boolean allowsSelfLoops;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 09 17:01:22 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableCollection.java

        copyIntoArray(other, 0);
        return other;
      }
    
      /** If this collection is backed by an array of its elements in insertion order, returns it. */
      @CheckForNull
      Object[] internalArray() {
        return null;
      }
    
      /**
       * If this collection is backed by an array of its elements in insertion order, returns the offset
       * where this collection's elements start.
       */
      int internalArrayStart() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/collect/ImmutableCollection.java

        return other;
      }
    
      /** If this collection is backed by an array of its elements in insertion order, returns it. */
      @CheckForNull
      @Nullable
      Object[] internalArray() {
        return null;
      }
    
      /**
       * If this collection is backed by an array of its elements in insertion order, returns the offset
       * where this collection's elements start.
       */
      int internalArrayStart() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableMultiset.java

            // we need ObjectCountHashMap-backed contents, with its keys and values array in direct
            // insertion order
            contents = new ObjectCountHashMap<E>(contents);
            isLinkedHash = false;
          }
          buildInvoked = true;
          // contents is now ObjectCountHashMap, but still guaranteed to be in insertion order!
          return new RegularImmutableMultiset<E>(contents);
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top