Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for checkers (0.21 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.logging.LogRecord;
    import java.util.logging.Logger;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit tests for {@link Futures}.
     *
     * @author Nishant Thakkar
     */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  2. pkg/config/validation/validation.go

    	return nil
    }
    
    // validateWeight checks if weight is valid
    func validateWeight(weight int32) error {
    	if weight < 0 {
    		return fmt.Errorf("weight %d < 0", weight)
    	}
    	return nil
    }
    
    // ValidatePercent checks that percent is in range
    func ValidatePercent(val int32) error {
    	if val < 0 || val > 100 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    LogicalResult ParseExampleV2Op::verify() {
      ParseExampleV2Op op = *this;
      // NOTE(mrry): This validates properties of an op that would previously be
      // validated by the TensorFlow OpDef type checker. In addition to these
      // checks, the shape inference function for ParseExampleV2 validates the
      // consistency of the argument and result types.
    
      // Validate dense variadic input and output lengths.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

    import java.util.function.Function;
    import java.util.function.Predicate;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * The concurrent hash map implementation built by {@link CacheBuilder}.
     *
     * <p>This implementation is heavily derived from revision 1.96 of <a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  5. src/runtime/proc.go

    	goto top
    }
    
    // pollWork reports whether there is non-background work this P could
    // be doing. This is a fairly lightweight check to be used for
    // background work loops, like idle GC. It checks a subset of the
    // conditions checked by the actual scheduler.
    func pollWork() bool {
    	if sched.runqsize != 0 {
    		return true
    	}
    	p := getg().m.p.ptr()
    	if !runqempty(p) {
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top