Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,756 for testLang (0.16 sec)

  1. src/cmd/cgo/internal/testplugin/plugin_test.go

    	}
    	fmt.Print(s)
    }
    
    func testMain(m *testing.M) int {
    	if testing.Short() && os.Getenv("GO_BUILDER_NAME") == "" {
    		globalSkip = func(t *testing.T) { t.Skip("short mode and $GO_BUILDER_NAME not set") }
    		return m.Run()
    	}
    	if !platform.BuildModeSupported(runtime.Compiler, "plugin", runtime.GOOS, runtime.GOARCH) {
    		globalSkip = func(t *testing.T) { t.Skip("plugin build mode not supported") }
    		return m.Run()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/core-plugins/jacoco_plugin.adoc

    .Configuring JaCoCo plugin settings
    ====
    include::sample[dir="snippets/testing/jacoco-quickstart/kotlin",files="build.gradle.kts[tags=jacoco-configuration]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  3. .github/CODEOWNERS

    subprojects/internal-build-reports/         @gradle/bt-developer-productivity
    testing/internal-architecture-testing/      @gradle/bt-developer-productivity
    testing/internal-integ-testing/             @gradle/bt-developer-productivity
    testing/internal-performance-testing/       @gradle/bt-developer-productivity
    testing/internal-testing/                   @gradle/bt-developer-productivity
    
    # Release coordination
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:44:59 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. src/runtime/race/testdata/chan_test.go

    // license that can be found in the LICENSE file.
    
    package race_test
    
    import (
    	"runtime"
    	"testing"
    	"time"
    )
    
    func TestNoRaceChanSync(t *testing.T) {
    	v := 0
    	_ = v
    	c := make(chan int)
    	go func() {
    		v = 1
    		c <- 0
    	}()
    	<-c
    	v = 2
    }
    
    func TestNoRaceChanSyncRev(t *testing.T) {
    	v := 0
    	_ = v
    	c := make(chan int)
    	go func() {
    		c <- 0
    		v = 2
    	}()
    	v = 1
    	<-c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 19:55:29 UTC 2023
    - 11K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    		}
    	}
    }
    
    func TestCreate(t *testing.T) {
    	ctx, store, etcdClient := testSetup(t)
    	storagetesting.RunTestCreate(ctx, t, store, checkStorageInvariants(etcdClient, store.codec))
    }
    
    func TestCreateWithTTL(t *testing.T) {
    	ctx, store, _ := testSetup(t)
    	storagetesting.RunTestCreateWithTTL(ctx, t, store)
    }
    
    func TestCreateWithKeyExist(t *testing.T) {
    	ctx, store, _ := testSetup(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  6. src/math/rand/rand_test.go

    			}
    		})
    	}
    }
    
    // Benchmarks
    
    func BenchmarkInt63Threadsafe(b *testing.B) {
    	for n := b.N; n > 0; n-- {
    		Int63()
    	}
    }
    
    func BenchmarkInt63ThreadsafeParallel(b *testing.B) {
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			Int63()
    		}
    	})
    }
    
    func BenchmarkInt63Unthreadsafe(b *testing.B) {
    	r := New(NewSource(1))
    	for n := b.N; n > 0; n-- {
    		r.Int63()
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. src/runtime/map_test.go

    				break
    			}
    		}
    	}
    }
    
    func BenchmarkMapPop100(b *testing.B)   { benchmarkMapPop(b, 100) }
    func BenchmarkMapPop1000(b *testing.B)  { benchmarkMapPop(b, 1000) }
    func BenchmarkMapPop10000(b *testing.B) { benchmarkMapPop(b, 10000) }
    
    var testNonEscapingMapVariable int = 8
    
    func TestNonEscapingMap(t *testing.T) {
    	n := testing.AllocsPerRun(1000, func() {
    		m := map[int]int{}
    		m[0] = 0
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  8. src/os/readfrom_linux_test.go

    				testSpliceFile(t, "unix", int64(size), -1)
    			})
    		}
    	})
    	t.Run("TCP-To-TTY", func(t *testing.T) {
    		testSpliceToTTY(t, "tcp", 32768)
    	})
    	t.Run("Unix-To-TTY", func(t *testing.T) {
    		testSpliceToTTY(t, "unix", 32768)
    	})
    	t.Run("Limited", func(t *testing.T) {
    		t.Run("OneLess-TCP", func(t *testing.T) {
    			for _, size := range sizes {
    				t.Run(strconv.Itoa(size), func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/dra/claiminfo_test.go

    				},
    			},
    		},
    	} {
    		t.Run(test.description, func(t *testing.T) {
    			result := newClaimInfoFromClaim(test.claim)
    			if reflect.DeepEqual(result, test.expectedResult) {
    				t.Errorf("Expected %v, but got %v", test.expectedResult, result)
    			}
    		})
    	}
    }
    
    func TestNewClaimInfoFromState(t *testing.T) {
    	for _, test := range []struct {
    		description    string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 21K bytes
    - Viewed (0)
  10. cmd/erasure-encode_test.go

    	b.Run(" 00|X0 ", func(b *testing.B) { benchmarkErasureEncode(2, 2, 0, 1, size, b) })
    	b.Run(" X0|00 ", func(b *testing.B) { benchmarkErasureEncode(2, 2, 1, 0, size, b) })
    }
    
    func BenchmarkErasureEncode_8_20MB(b *testing.B) {
    	const size = 20 * 1024 * 1024
    	b.Run(" 0000|0000 ", func(b *testing.B) { benchmarkErasureEncode(4, 4, 0, 0, size, b) })
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top