Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,910 for testLang (0.13 sec)

  1. 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)
  2. 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)
  3. src/crypto/ecdsa/ecdsa_test.go

    	}
    }
    
    func TestRandomPoint(t *testing.T) {
    	t.Run("P-224", func(t *testing.T) { testRandomPoint(t, p224()) })
    	t.Run("P-256", func(t *testing.T) { testRandomPoint(t, p256()) })
    	t.Run("P-384", func(t *testing.T) { testRandomPoint(t, p384()) })
    	t.Run("P-521", func(t *testing.T) { testRandomPoint(t, p521()) })
    }
    
    func testRandomPoint[Point nistPoint[Point]](t *testing.T, c *nistCurve[Point]) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:58 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. src/runtime/race/testdata/mop_test.go

    }
    
    func TestRaceIntRWGlobalFuncs(t *testing.T) {
    	go GlobalFunc1()
    	go GlobalFunc2()
    	<-GlobalCh
    	<-GlobalCh
    }
    
    func TestRaceIntRWClosures(t *testing.T) {
    	var x, y int
    	_ = y
    	ch := make(chan int, 2)
    
    	go func() {
    		y = x
    		ch <- 1
    	}()
    	go func() {
    		x = 1
    		ch <- 1
    	}()
    	<-ch
    	<-ch
    }
    
    func TestNoRaceIntRWClosures(t *testing.T) {
    	var x, y int
    	_ = y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 23 16:46:25 UTC 2023
    - 28.9K bytes
    - Viewed (0)
  5. src/encoding/json/bench_test.go

    func BenchmarkUnmarshalString(b *testing.B) {
    	b.ReportAllocs()
    	data := []byte(`"hello, world"`)
    	b.RunParallel(func(pb *testing.PB) {
    		var s string
    		for pb.Next() {
    			if err := Unmarshal(data, &s); err != nil {
    				b.Fatalf("Unmarshal error: %v", err)
    			}
    		}
    	})
    }
    
    func BenchmarkUnmarshalFloat64(b *testing.B) {
    	b.ReportAllocs()
    	data := []byte(`3.14`)
    	b.RunParallel(func(pb *testing.PB) {
    		var f float64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:00:17 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. src/runtime/pinner_test.go

    	}
    }
    
    func BenchmarkPinnerPinUnpinParallel(b *testing.B) {
    	b.RunParallel(func(pb *testing.PB) {
    		p := new(obj)
    		for pb.Next() {
    			var pinner runtime.Pinner
    			pinner.Pin(p)
    			pinner.Unpin()
    		}
    	})
    }
    
    func BenchmarkPinnerPinUnpinParallelTiny(b *testing.B) {
    	b.RunParallel(func(pb *testing.PB) {
    		p := new(bool)
    		for pb.Next() {
    			var pinner runtime.Pinner
    			pinner.Pin(p)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 18:36:12 UTC 2023
    - 11K bytes
    - Viewed (0)
  7. src/runtime/string_test.go

    	b.Run("range", func(b *testing.B) {
    		for _, sd := range stringdata {
    			b.Run(sd.name, func(b *testing.B) {
    				for i := 0; i < b.N; i++ {
    					for range sd.data {
    					}
    				}
    			})
    		}
    	})
    	b.Run("range1", func(b *testing.B) {
    		for _, sd := range stringdata {
    			b.Run(sd.name, func(b *testing.B) {
    				for i := 0; i < b.N; i++ {
    					for range sd.data {
    					}
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 13 14:05:23 UTC 2022
    - 13.3K bytes
    - Viewed (0)
  8. src/encoding/binary/binary_test.go

    			buf, err := enc.fn(order, s1)
    			checkResult(t, enc.name, order, err, buf, b)
    		})
    	}
    }
    
    func TestLittleEndianRead(t *testing.T)     { testRead(t, LittleEndian, little, s) }
    func TestLittleEndianWrite(t *testing.T)    { testWrite(t, LittleEndian, little, s) }
    func TestLittleEndianPtrWrite(t *testing.T) { testWrite(t, LittleEndian, little, &s) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  9. cmd/bucket-replication-metrics_gen_test.go

    package cmd
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"bytes"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalActiveWorkerStat(t *testing.T) {
    	v := ActiveWorkerStat{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. pkg/controlplane/reconcilers/endpointsadapter_test.go

    			}
    		})
    	}
    }
    
    func TestEndpointsAdapterUpdate(t *testing.T) {
    	endpoints1, epSlice1 := generateEndpointsAndSlice("foo", "testing", []int{80}, []string{"10.1.2.3", "10.1.2.4"})
    	endpoints2, epSlice2 := generateEndpointsAndSlice("foo", "testing", []int{80, 443}, []string{"10.1.2.3", "10.1.2.4", "10.1.2.5"})
    	endpoints3, _ := generateEndpointsAndSlice("bar", "testing", []int{80, 443}, []string{"10.1.2.3", "10.1.2.4", "10.1.2.5"})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top