Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for tst (0.18 sec)

  1. pkg/test/framework/integration/framework_test.go

    }
    
    func (tst *test) doCheck() error {
    	// Make sure the component was closed after the test's run method exited.
    	if tst.componentCloseStart.Before(tst.runEnd) {
    		return fmt.Errorf("test %s: componentCloseStart (%v) occurred before runEnd (%v)",
    			tst.name, tst.componentCloseStart, tst.runEnd)
    	}
    
    	// Make sure the component was closed before the cleanup for this test was performed.
    	if tst.cleanupStart.Before(tst.componentCloseEnd) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. src/syscall/syscall_windows_test.go

    	f.Add("\xe3\xc1\x81") // invalid middle byte
    
    	f.Fuzz(func(t *testing.T, tst string) {
    		res, err := syscall.UTF16FromString(tst)
    		if err != nil {
    			if strings.Contains(tst, "\x00") {
    				t.Skipf("input %q contains a NUL byte", tst)
    			}
    			t.Fatalf("UTF16FromString(%q): %v", tst, err)
    		}
    		t.Logf("UTF16FromString(%q) = %04x", tst, res)
    
    		if len(res) < 1 || res[len(res)-1] != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 16:33:09 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. src/maps/maps_test.go

    	// See issue 64474.
    	type K [17]float64 // > 128 bytes
    	type V [17]float64
    
    	var zero float64
    	negZero := -zero
    
    	for tst := 0; tst < 3; tst++ {
    		// Initialize m with a key and value.
    		m := map[K]V{}
    		var k1 K
    		var v1 V
    		m[k1] = v1
    
    		switch tst {
    		case 0: // nothing, just a 1-entry map
    		case 1:
    			// Add more entries to make it 2 buckets
    			// 1 entry already
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 17:05:56 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. tests/integration/security/authz_test.go

    									Headers(c.headers).
    									Allow(c.allow).
    									BuildForPorts(t, c.ports...).
    									Filter(func(tst authzTest) bool {
    										return provider.IsProtocolSupported(tst.opts.Port.Protocol)
    									})
    								for _, tst := range tsts {
    									tst := tst
    									params := ""
    									if c.headers != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/flags_arm64_test.s

    	CMP	R1, R0
    	WORD	$0xd53b4200 //	MOVD	NZCV, R0
    	MOVD	R0, ret+16(FP)
    	RET
    
    TEXT ·asmAndFlags(SB),NOSPLIT,$0-24
    	MOVD	x+0(FP), R0
    	MOVD	y+8(FP), R1
    	TST	R1, R0
    	WORD	$0xd53b4200 //	MOVD	NZCV, R0
    	BIC	$0x30000000, R0 // clear C, V bits, as TST does not change those flags
    	MOVD	R0, ret+16(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 13 09:12:17 UTC 2021
    - 699 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/value_test.go

    	}
    	for i, tc := range tests {
    		idx := i
    		tst := tc
    		t.Run(fmt.Sprintf("[%d]", i), func(t *testing.T) {
    			dv := testValue(t, int64(idx), tst.val)
    			ev := dv.ExprValue()
    			if ev.ConvertToType(types.TypeType).(ref.Type).TypeName() != tst.typ.TypeName() {
    				t.Errorf("got %v, wanted %v type", ev.ConvertToType(types.TypeType), tst.typ)
    			}
    			if ev.ConvertToType(tst.typ).Equal(ev) != types.True {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/ppc64/asm_test.go

    	for _, tst := range tsts {
    		var expect []int
    		switch tst.output.(type) {
    		case cmplx:
    			v := tst.output.(cmplx)
    			expect = []int{v.pic, v.pic_dyn, v.dyn, v.nonpic}
    		case int:
    			expect = []int{tst.output.(int), tst.output.(int), tst.output.(int), tst.output.(int)}
    		}
    		for i := range ctxts {
    			if output := ctxts[i].aclass(&tst.arg); output != expect[i] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 22:14:57 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. test/fixedbugs/issue26438.go

    // run
    
    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 26438: arm64 backend may use 64-bit TST for
    // "if uint32(a)&uint32(b) == 0", which should be
    // 32-bit TSTW
    
    package main
    
    //go:noinline
    func tstw(a, b uint64) uint64 {
    	if uint32(a)&uint32(b) == 0 {
    		return 100
    	} else {
    		return 200
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 18 14:15:05 UTC 2018
    - 507 bytes
    - Viewed (0)
  9. tests/integration/pilot/validation_test.go

    					continue
    				}
    				if !tested.Contains(rec) {
    					t.Errorf("CRD does not have a validation test: %v", rec)
    				}
    			}
    
    			for tst := range tested {
    				if _, found := recognized[tst]; !found {
    					t.Errorf("Unrecognized validation test data found: %v", tst)
    				}
    			}
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 13 15:19:36 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/test/integration/defaulting_test.go

    	if err := yaml.Unmarshal([]byte(metaDefaultingFooInstance), &returnedFoo.Object); err != nil {
    		t.Fatal(err)
    	}
    	for _, tst := range tests {
    		if tst.value != nil {
    			if err := unstructured.SetNestedField(returnedFoo.Object, tst.value, tst.path...); err != nil {
    				t.Fatal(err)
    			}
    		}
    	}
    	returnedFoo, err = fooClient.Create(context.TODO(), returnedFoo, metav1.CreateOptions{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 05:32:34 UTC 2023
    - 21.2K bytes
    - Viewed (0)
Back to top