Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 492 for sanity (0.16 sec)

  1. src/cmd/go/testdata/script/test_benchmark_chatty_fail.txt

    # Run chatty tests. Assert on CONT lines.
    ! go test chatty_test.go -v -bench . chatty_bench
    
    # Sanity check that output occurs.
    stdout -count=2 'this is sub-0'
    stdout -count=2 'this is sub-1'
    stdout -count=2 'this is sub-2'
    stdout -count=1 'error from sub-0'
    stdout -count=1 'error from sub-1'
    stdout -count=1 'error from sub-2'
    
    # Benchmarks should not print CONT.
    ! stdout CONT
    
    -- chatty_test.go --
    package chatty_bench
    
    import (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 21 18:28:05 UTC 2020
    - 739 bytes
    - Viewed (0)
  2. src/internal/runtime/atomic/atomic_test.go

    	shouldPanic(t, "Xchg64", func() { atomic.Xchg64(up64, 1) })
    	shouldPanic(t, "Cas64", func() { atomic.Cas64(up64, 1, 2) })
    }
    
    func TestAnd8(t *testing.T) {
    	// Basic sanity check.
    	x := uint8(0xff)
    	for i := uint8(0); i < 8; i++ {
    		atomic.And8(&x, ^(1 << i))
    		if r := uint8(0xff) << (i + 1); x != r {
    			t.Fatalf("clearing bit %#x: want %#x, got %#x", uint8(1<<i), r, x)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. 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)
  4. android/guava-tests/test/com/google/common/util/concurrent/UntrustedInputFutureTest.java

      @Override
      AbstractFuture<Integer> newDelegate() {
        AbstractFuture<Integer> future = new AbstractFuture<Integer>() {};
        assertFalse(future instanceof TrustedFuture); // sanity check
        return future;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/PackageSanityTests.java

     * limitations under the License.
     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.testing.AbstractPackageSanityTests;
    
    /** Basic sanity tests for classes in {@code common.base}. */
    
    @GwtIncompatible
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 10 08:40:05 UTC 2023
    - 1K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/work_sync_sum.txt

    # Test that the sum file data state is properly reset between modules in
    # go work sync so that the sum file that's written is correct.
    # Exercises the fix to #50038.
    
    cp b/go.sum b/go.sum.want
    
    # As a sanity check, verify b/go.sum is tidy.
    cd b
    go mod tidy
    cd ..
    cmp b/go.sum b/go.sum.want
    
    # Run go work sync and verify it doesn't change b/go.sum.
    go work sync
    cmp b/go.sum b/go.sum.want
    
    -- b/go.sum --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 13 19:25:50 UTC 2022
    - 864 bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/TrustedInputFutureTest.java

      @Override
      AbstractFuture<Integer> newDelegate() {
        AbstractFuture<Integer> future = new TrustedFuture<Integer>() {};
        assertTrue(future instanceof TrustedFuture); // sanity check
        return future;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/PackageSanityTests.java

     * limitations under the License.
     */
    
    package com.google.common.net;
    
    import com.google.common.testing.AbstractPackageSanityTests;
    
    /**
     * Basic sanity tests for the entire package.
     *
     * @author Ben Yu
     */
    
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 15 20:25:06 UTC 2018
    - 960 bytes
    - Viewed (0)
  9. .github/workflows/contributor-pr.yml

        outputs:
          matrix: ${{ steps.setup-matrix.outputs.matrix }}
          sys-prop-args: ${{ steps.determine-sys-prop-args.outputs.sys-prop-args }}
    
      sanity-check:
        name: "Sanity Check on Linux"
        permissions:
          contents: read
        runs-on: ubuntu-latest
        needs: build
        steps:
          - name: git clone
            uses: actions/checkout@v4
          - name: setup java
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/PackageSanityTests.java

    import com.google.common.testing.AbstractPackageSanityTests;
    import java.lang.reflect.Method;
    import java.nio.channels.FileChannel.MapMode;
    import java.nio.charset.CharsetEncoder;
    
    /**
     * Basic sanity tests for the entire package.
     *
     * @author Ben Yu
     */
    
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
        setDefault(BaseEncoding.class, BaseEncoding.base64());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1.3K bytes
    - Viewed (0)
Back to top