Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 50 for checkers (0.44 sec)

  1. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        public FactoryMethodReturnValueTester testSerializable() throws Exception {
          for (Invokable<?, ?> factory : getFactoriesToTest()) {
            Object instance = instantiate(factory);
            if (instance != null) {
              try {
                SerializableTester.reserialize(instance);
              } catch (Exception e) { // sneaky checked exception
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        public FactoryMethodReturnValueTester testSerializable() throws Exception {
          for (Invokable<?, ?> factory : getFactoriesToTest()) {
            Object instance = instantiate(factory);
            if (instance != null) {
              try {
                SerializableTester.reserialize(instance);
              } catch (Exception e) { // sneaky checked exception
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods.go

    		dirPath, volName := vol.BlockVolumeMapper.GetPodDeviceMapPath()
    		symlinkPath := filepath.Join(dirPath, volName)
    		if islinkExist, checkErr := blkutil.IsSymlinkExist(symlinkPath); checkErr != nil {
    			return nil, checkErr
    		} else if islinkExist {
    			// Check readOnly in PVCVolumeSource and set read only permission if it's true.
    			permission := "mrw"
    			if vol.ReadOnly {
    				permission = "r"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

    import java.util.concurrent.atomic.AtomicReference;
    import java.util.concurrent.locks.LockSupport;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link AbstractFuture}.
     *
     * @author Brian Stoler
     */
    public class AbstractFutureTest extends TestCase {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

    import java.lang.reflect.Method;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Set;
    import java.util.SortedSet;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link NullPointerTester}.
     *
     * @author Kevin Bourrillion
     * @author Mick Killianey
     */
    @SuppressWarnings("CheckReturnValue")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  6. src/go/types/unify.go

    	if _, ok := Unalias(x).(*TypeParam); !ok {
    		i, _ = under(x).(*Interface)
    	}
    	return i
    }
    
    // nify implements the core unification algorithm which is an
    // adapted version of Checker.identical. For changes to that
    // code the corresponding changes should be made here.
    // Must not be called directly from outside the unifier.
    func (u *unifier) nify(x, y Type, mode unifyMode, p *ifacePair) (result bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

    import java.util.concurrent.atomic.AtomicReference;
    import java.util.concurrent.locks.LockSupport;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link AbstractFuture}.
     *
     * @author Brian Stoler
     */
    public class AbstractFutureTest extends TestCase {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/unify.go

    	if _, ok := Unalias(x).(*TypeParam); !ok {
    		i, _ = under(x).(*Interface)
    	}
    	return i
    }
    
    // nify implements the core unification algorithm which is an
    // adapted version of Checker.identical. For changes to that
    // code the corresponding changes should be made here.
    // Must not be called directly from outside the unifier.
    func (u *unifier) nify(x, y Type, mode unifyMode, p *ifacePair) (result bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	if opts.SendInitialEvents != nil && *opts.SendInitialEvents {
    		// Here be dragons:
    		// Since the etcd feature checker needs to check all members
    		// to determine whether a given feature is supported,
    		// we may receive a positive response even if the feature is not supported.
    		//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  10. 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)
Back to top