Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for checkstack (0.35 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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
    - 51.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. guava/src/com/google/common/graph/InvalidatableSet.java

      // via delegate()); it seems inappropriate to throw ISE on this method.
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    
      private void validate() {
        // Don't use checkState(), because we don't want the overhead of generating the error message
        // unless it's actually going to be used; validate() is called for all set method calls, so it
        // needs to be fast.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/InvalidatableSet.java

      // via delegate()); it seems inappropriate to throw ISE on this method.
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    
      private void validate() {
        // Don't use checkState(), because we don't want the overhead of generating the error message
        // unless it's actually going to be used; validate() is called for all set method calls, so it
        // needs to be fast.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top