Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for checkstack (0.17 sec)

  1. src/internal/trace/testtrace/validation.go

    		if ev.Time() <= v.lastTs {
    			e.Errorf("timestamp out-of-order for %+v", ev)
    		} else {
    			v.lastTs = ev.Time()
    		}
    	} else {
    		v.lastTs = ev.Time()
    	}
    
    	// Validate event stack.
    	checkStack(e, ev.Stack())
    
    	switch ev.Kind() {
    	case trace.EventSync:
    		// Just record that we've seen a Sync at some point.
    		v.seenSync = true
    	case trace.EventMetric:
    		m := ev.Metric()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. 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)
  3. android/guava/src/com/google/common/cache/CacheBuilder.java

      @CanIgnoreReturnValue
      public CacheBuilder<K, V> maximumSize(long maximumSize) {
        checkState(
            this.maximumSize == UNSET_INT, "maximum size was already set to %s", this.maximumSize);
        checkState(
            this.maximumWeight == UNSET_INT,
            "maximum weight was already set to %s",
            this.maximumWeight);
        checkState(this.weigher == null, "maximum size can not be combined with weigher");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/Stats.java

     */
    
    package com.google.common.math;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.math.DoubleUtils.ensureNonNegative;
    import static com.google.common.math.StatsAccumulator.calculateNewMeanNonFinite;
    import static com.google.common.primitives.Doubles.isFinite;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 22K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/Stats.java

     */
    
    package com.google.common.math;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.math.DoubleUtils.ensureNonNegative;
    import static com.google.common.math.StatsAccumulator.calculateNewMeanNonFinite;
    import static com.google.common.primitives.Doubles.isFinite;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeMultiset.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static java.util.Objects.requireNonNull;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

            transitioned = true;
            if (!ready) {
              return;
            }
            // Update state.
            checkState(
                servicesByState.remove(from, service),
                "Service %s not at the expected location in the state map %s",
                service,
                from);
            checkState(
                servicesByState.put(to, service),
                "Service %s in the state map unexpectedly at %s",
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:41:16 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TreeMultiset.java

    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static java.util.Objects.requireNonNull;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ServiceManager.java

            transitioned = true;
            if (!ready) {
              return;
            }
            // Update state.
            checkState(
                servicesByState.remove(from, service),
                "Service %s not at the expected location in the state map %s",
                service,
                from);
            checkState(
                servicesByState.put(to, service),
                "Service %s in the state map unexpectedly at %s",
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:41:16 UTC 2024
    - 33K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/LinkedHashMultimap.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 static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top