Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 43 for testAll (0.13 sec)

  1. src/math/big/calibrate_test.go

    		karatsubaSqrThreshold = words - 1
    	}
    
    	var testval int64
    	for i := 0; i < nruns; i++ {
    		res := testing.Benchmark(func(b *testing.B) { benchmarkNatSqr(b, words) })
    		testval += res.NsPerOp()
    	}
    	testval /= int64(nruns)
    
    	basicSqrThreshold, karatsubaSqrThreshold = initBasicSqr, initKaratsubaSqr
    
    	return time.Duration(testval)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. test/fixedbugs/issue66066.go

    	}
    
    }
    
    //go:noinline
    func mul3(a uint32) uint64 {
    	return uint64(a * 3)
    }
    
    func testMul() {
    	got := mul3(1<<32 - 1)
    	want := uint64((1<<32-1)*3 - 2<<32)
    	if got != want {
    		fmt.Printf("testMul: got %x want %x\n", got, want)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 677 bytes
    - Viewed (0)
  3. pkg/controller/volume/persistentvolume/framework_test.go

    //   - configures controller with recycler or deleter which will return provided
    //     errors when a volume is deleted or recycled
    //   - calls given testCall
    func wrapTestWithReclaimCalls(operation operationType, expectedOperationCalls []error, toWrap testCall) testCall {
    	if operation == operationDelete {
    		return wrapTestWithPluginCalls(nil, expectedOperationCalls, nil, toWrap)
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 09:54:00 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  4. pilot/pkg/networking/util/util_test.go

    	for i := 0; i < b.N; i++ {
    		cpy := CloneClusterLoadAssignment(testCla)
    		_ = cpy
    	}
    }
    
    func TestCloneClusterLoadAssignment(t *testing.T) {
    	cloned := CloneClusterLoadAssignment(testCla)
    	cloned2 := CloneClusterLoadAssignment(testCla)
    	if !cmp.Equal(testCla, cloned, protocmp.Transform()) {
    		t.Fatalf("expected %v to be the same as %v", testCla, cloned)
    	}
    	cloned.ClusterName = "foo"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  5. src/os/executable_test.go

    	case "openbsd", "freebsd", "aix":
    		t.Skipf("%v does not support reading deleted binary name", runtime.GOOS)
    	}
    	t.Parallel()
    
    	dir := t.TempDir()
    
    	src := filepath.Join(dir, "testdel.go")
    	exe := filepath.Join(dir, "testdel.exe")
    
    	err := os.WriteFile(src, []byte(testExecutableDeletion), 0666)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. pkg/url/url_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package url
    
    import (
    	"testing"
    
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestURL(t *testing.T) {
    	assert.Equal(t, BaseURL, "https://istio.io/", "base url should be equal")
    	assert.Equal(t, DocsURL, "https://istio.io/"+DocsVersion+"/docs/", "docs url should be equal")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 11:12:37 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/schema/validation_test.go

    				},
    				Origin: fakeOrigin{},
    			},
    		},
    	}
    	a := ValidationAnalyzer{s: testSchema}
    	a.Analyze(ctx)
    }
    
    func TestSchemaValidationWrapper(t *testing.T) {
    	testCol := gvk.VirtualService
    
    	m1 := &v1alpha3.VirtualService{}
    	m2 := &v1alpha3.VirtualService{}
    	m3 := &v1alpha3.VirtualService{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. src/net/http/cookiejar/jar_test.go

    var tNow = time.Date(2013, 1, 1, 12, 0, 0, 0, time.UTC)
    
    // testPSL implements PublicSuffixList with just two rules: "co.uk"
    // and the default rule "*".
    // The implementation has two intentional bugs:
    //
    //	PublicSuffix("www.buggy.psl") == "xy"
    //	PublicSuffix("www2.buggy.psl") == "com"
    type testPSL struct{}
    
    func (testPSL) String() string {
    	return "testPSL"
    }
    func (testPSL) PublicSuffix(d string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 34K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/test/testdata/ctl_test.go

    	s.step = 0
    	return 3
    }
    
    func testFlagOverwrite(t *testing.T) {
    	j := junk{}
    	if got := flagOverwrite_ssa(&j, ' '); got != 3 {
    		t.Errorf("flagOverwrite_ssa = %d, wanted 3", got)
    	}
    }
    
    func TestCtl(t *testing.T) {
    	testPhiControl(t)
    	testEmptyRange(t)
    
    	testSwitch(t)
    	testFallthrough(t)
    
    	testFlagOverwrite(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/swig/swig_test.go

    	"path/filepath"
    	"regexp"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    )
    
    func TestStdio(t *testing.T) {
    	testenv.MustHaveCGO(t)
    	mustHaveSwig(t)
    	run(t, "testdata/stdio", false)
    }
    
    func TestCall(t *testing.T) {
    	testenv.MustHaveCGO(t)
    	mustHaveSwig(t)
    	mustHaveCxx(t)
    	run(t, "testdata/callback", false, "Call")
    	t.Run("lto", func(t *testing.T) { run(t, "testdata/callback", true, "Call") })
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top