Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 202 for sanity (0.12 sec)

  1. src/compress/flate/inflate.go

    			reverse >>= huffmanChunkBits
    			for off := reverse; off < len(linktab); off += 1 << uint(n-huffmanChunkBits) {
    				if sanity && linktab[off] != 0 {
    					panic("impossible: overwriting existing chunk")
    				}
    				linktab[off] = chunk
    			}
    		}
    	}
    
    	if sanity {
    		// Above we've sanity checked that we never overwrote
    		// an existing entry. Here we additionally check that
    		// we filled the tables completely.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

    import java.util.logging.Level;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.junit.Test;
    
    /**
     * Automatically runs sanity checks against top level classes in the same package of the test that
     * extends {@code AbstractPackageSanityTests}. Currently sanity checks include {@link
     * NullPointerTester}, {@link EqualsTester} and {@link SerializableTester}. For example:
     *
     * <pre>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

    `git push --force origin test-branch`
    
    ### Fixing sanity check failures after public API changes
    
    If your PR includes any changes to the Gradle Public API, it will cause the binary compatibility check to fail.
    The binary compatibility check runs as a part of the broader sanity check.
    The latter runs on every PR and is a prerequisite for merging.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 01:39:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. pkg/controller/certificates/signer/signer.go

    		TTL:      s.duration(expirationSeconds),
    		Usages:   usages,
    		Backdate: 5 * time.Minute, // this must always be less than the minimum TTL requested by a user (see sanity check requestedDuration below)
    		Short:    8 * time.Hour,   // 5 minutes of backdating is roughly 1% of 8 hours
    		Now:      now,
    	})
    	if err != nil {
    		return nil, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 03:26:08 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

    import java.util.logging.Level;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.junit.Test;
    
    /**
     * Automatically runs sanity checks against top level classes in the same package of the test that
     * extends {@code AbstractPackageSanityTests}. Currently sanity checks include {@link
     * NullPointerTester}, {@link EqualsTester} and {@link SerializableTester}. For example:
     *
     * <pre>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  6. cmd/sftp-server-driver.go

    	// This is not timing the actual read operation, but the time it takes to prepare the reader.
    	stopFn := globalSftpMetrics.log(r, f.AccessKey())
    	defer stopFn(0, err)
    
    	flags := r.Pflags()
    	if !flags.Read {
    		// sanity check
    		return nil, os.ErrInvalid
    	}
    
    	bucket, object := path2BucketObject(r.Filepath)
    	if bucket == "" {
    		return nil, errors.New("bucket name cannot be empty")
    	}
    
    	clnt, err := f.getMinIOClient()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_initializer_function_ops_to_main.mlir

          tf_executor.fetch %out_1 : tensor<*xi64>
        }
        return %0 : tensor<*xi64>
      }
    // Sanity check: The contents of @serving_default is untouched.
    // CHECK: func.func private @serving_default(%[[ARG_0:.*]]: tensor<?x!tf_type.string>) -> tensor<*xi64>
    // CHECK-NEXT: %[[RES:.*]] = tf_executor.graph
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  8. pkg/util/iptables/testing/fake_test.go

    	if err != nil {
    		t.Errorf("unexpected error creating rule: %v", err)
    	} else if !existed {
    		t.Errorf("wrong return value from EnsureRule with already-existing rule")
    	}
    
    	// Sanity-check...
    	buf.Reset()
    	err = fake.SaveInto("", buf)
    	if err != nil {
    		t.Fatalf("unexpected error from SaveInto: %v", err)
    	}
    	expected = dedent.Dedent(strings.Trim(`
    		*nat
    		:PREROUTING - [0:0]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        Function<String, @Nullable Integer> function = Functions.forMap(map, null);
    
        assertEquals((Integer) 1, function.apply("One"));
        assertNull(function.apply("Two"));
    
        // check basic sanity of equals and hashCode
        new EqualsTester()
            .addEqualityGroup(function)
            .addEqualityGroup(Functions.forMap(map, 1))
            .testEquals();
      }
    
      @J2ktIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. pkg/util/iptree/iptree.go

    func (t *Tree[T]) GetPrefix(prefix netip.Prefix) (T, bool) {
    	var zeroT T
    
    	n := t.rootV4
    	if prefix.Addr().Is6() {
    		n = t.rootV6
    	}
    	bitPosition := 0
    	// mask the address for sanity
    	address := prefix.Masked().Addr()
    	// we can't check longer than the request mask
    	mask := prefix.Bits()
    	// walk the network bits of the prefix
    	for bitPosition < mask {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17.7K bytes
    - Viewed (0)
Back to top