Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 4,763 for testLang (0.18 sec)

  1. src/internal/runtime/atomic/bench_test.go

    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			atomic.Xadd(ptr, 1)
    		}
    	})
    }
    
    func BenchmarkXadd64(b *testing.B) {
    	var x uint64
    	ptr := &x
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			atomic.Xadd64(ptr, 1)
    		}
    	})
    }
    
    func BenchmarkCas(b *testing.B) {
    	var x uint32
    	x = 1
    	ptr := &x
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/BuildScriptBuilder.java

                return spec;
            }
    
            @Override
            public SuiteSpec testNG(String name, TemplateLibraryVersionProvider libraryVersionProvider) {
                final SuiteSpec spec = new SuiteSpec(null, name, SuiteSpec.TestSuiteFramework.TEST_NG, libraryVersionProvider.getVersion("testng"), builder);
                suites.add(spec);
                return spec;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 12:02:29 UTC 2023
    - 90K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_fail_fast.txt

    package failfast
    
    import "testing"
    
    func TestA(t *testing.T) {
    	// Edge-case testing, mixing unparallel tests too
    	t.Logf("LOG: %s", t.Name())
    }
    
    func TestFailingA(t *testing.T) {
    	t.Errorf("FAIL - %s", t.Name())
    }
    
    func TestB(t *testing.T) {
    	// Edge-case testing, mixing unparallel tests too
    	t.Logf("LOG: %s", t.Name())
    }
    
    func TestParallelFailingA(t *testing.T) {
    	t.Parallel()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. src/testing/testing_test.go

    var testingTrueInPackageVarInit = testing.Testing()
    
    // init is part of TestTesting.
    func init() {
    	if testing.Testing() {
    		testingTrueInInit = true
    	}
    }
    
    var testingProg = `
    package main
    
    import (
    	"fmt"
    	"testing"
    )
    
    func main() {
    	fmt.Println(testing.Testing())
    }
    `
    
    func TestTesting(t *testing.T) {
    	if !testing.Testing() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

    import com.google.common.collect.testing.features.Feature;
    import com.google.common.collect.testing.testers.CollectionSerializationEqualTester;
    import com.google.common.collect.testing.testers.ListAddAllAtIndexTester;
    import com.google.common.collect.testing.testers.ListAddAllTester;
    import com.google.common.collect.testing.testers.ListAddAtIndexTester;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTestSuiteBuilder.java

    import com.google.common.collect.testing.testers.CollectionCreationTester;
    import com.google.common.collect.testing.testers.CollectionEqualsTester;
    import com.google.common.collect.testing.testers.CollectionIsEmptyTester;
    import com.google.common.collect.testing.testers.CollectionIteratorTester;
    import com.google.common.collect.testing.testers.CollectionRemoveAllTester;
    import com.google.common.collect.testing.testers.CollectionRemoveTester;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.Feature;
    import com.google.common.collect.testing.features.MapFeature;
    import com.google.common.collect.testing.testers.MapClearTester;
    import com.google.common.collect.testing.testers.MapComputeIfAbsentTester;
    import com.google.common.collect.testing.testers.MapComputeIfPresentTester;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. src/runtime/map_benchmark_test.go

    }
    
    func BenchmarkMapStringKeysEight_16(b *testing.B) { benchmarkMapStringKeysEight(b, 16) }
    func BenchmarkMapStringKeysEight_32(b *testing.B) { benchmarkMapStringKeysEight(b, 32) }
    func BenchmarkMapStringKeysEight_64(b *testing.B) { benchmarkMapStringKeysEight(b, 64) }
    func BenchmarkMapStringKeysEight_1M(b *testing.B) { benchmarkMapStringKeysEight(b, 1<<20) }
    
    func benchmarkMapStringKeysEight(b *testing.B, keySize int) {
    	m := make(map[string]bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 09 16:41:16 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. src/database/sql/sql_test.go

    }
    
    type concurrentTest interface {
    	init(t testing.TB, db *DB)
    	finish(t testing.TB)
    	test(t testing.TB) error
    }
    
    type concurrentDBQueryTest struct {
    	db *DB
    }
    
    func (c *concurrentDBQueryTest) init(t testing.TB, db *DB) {
    	c.db = db
    }
    
    func (c *concurrentDBQueryTest) finish(t testing.TB) {
    	c.db = nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  10. src/internal/saferio/io_test.go

    // license that can be found in the LICENSE file.
    
    package saferio
    
    import (
    	"bytes"
    	"io"
    	"testing"
    )
    
    func TestReadData(t *testing.T) {
    	const count = 100
    	input := bytes.Repeat([]byte{'a'}, count)
    
    	t.Run("small", func(t *testing.T) {
    		got, err := ReadData(bytes.NewReader(input), count)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if !bytes.Equal(got, input) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 00:34:05 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top