Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 162 for checkstack (0.15 sec)

  1. android/guava/src/com/google/common/base/Preconditions.java

       * involving any parameters to the calling method.
       *
       * <p>See {@link #checkState(boolean, String, Object...)} for details.
       *
       * @since 20.0 (varargs overload since 2.0)
       */
      public static void checkState(boolean expression, String errorMessageTemplate, char p1) {
        if (!expression) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 11:52:14 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  2. platforms/software/platform-base/src/main/java/org/gradle/api/internal/AbstractBuildableComponentSpec.java

        }
    
        @Nullable
        @Override
        public Task getCheckTask() {
            return checkTask;
        }
    
        @Override
        public void setCheckTask(@Nullable Task checkTask) {
            this.checkTask = checkTask;
            if (checkTask != null) {
                checkTask.dependsOn(checkTaskDependencies);
            }
        }
    
        @Override
        public void checkedBy(Object... tasks) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

      public void testCheckState_simple_success() {
        Preconditions.checkState(true);
      }
    
      public void testCheckState_simple_failure() {
        try {
          Preconditions.checkState(false);
          fail("no exception thrown");
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testCheckState_simpleMessage_success() {
        Preconditions.checkState(true, IGNORE_ME);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/cache/SegmentBenchmark.java

                CacheBuilder.newBuilder().concurrencyLevel(1).initialCapacity(capacity), null);
        checkState(cache.segments.length == 1);
        segment = cache.segments[0];
        checkState(segment.table.length() == capacity);
        for (int i = 0; i < segment.threshold; i++) {
          cache.put(new Object(), new Object());
        }
        checkState(segment.table.length() == capacity);
      }
    
      @SuppressWarnings("GuardedBy")
      @Benchmark
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 23 16:59:39 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

       */
      public final double pearsonsCorrelationCoefficient() {
        checkState(count() > 1);
        if (isNaN(sumOfProductsOfDeltas)) {
          return NaN;
        }
        double xSumOfSquaresOfDeltas = xStats.sumOfSquaresOfDeltas();
        double ySumOfSquaresOfDeltas = yStats.sumOfSquaresOfDeltas();
        checkState(xSumOfSquaresOfDeltas > 0.0);
        checkState(ySumOfSquaresOfDeltas > 0.0);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

          checkPositive(++selfLoopCount);
        }
        N previousNode = inEdgeMap.put(edge, node);
        checkState(previousNode == null);
      }
    
      @Override
      public void addOutEdge(E edge, N node) {
        checkNotNull(edge);
        checkNotNull(node);
    
        N previousNode = outEdgeMap.put(edge, node);
        checkState(previousNode == null);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/UndirectedMultiNetworkConnections.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.graph.GraphConstants.INNER_CAPACITY;
    import static com.google.common.graph.GraphConstants.INNER_LOAD_FACTOR;
    
    import com.google.common.collect.HashMultiset;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CollectPreconditions.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkState;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    
    /** Precondition checks useful in collection implementations. */
    @GwtCompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 30 10:33:07 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/UndirectedMultiNetworkConnections.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.graph.GraphConstants.INNER_CAPACITY;
    import static com.google.common.graph.GraphConstants.INNER_LOAD_FACTOR;
    
    import com.google.common.collect.HashMultiset;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.util.concurrent.FuturesTest.pseudoTimedGetUninterruptibly;
    import static com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top