Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for testAnd (0.29 sec)

  1. src/cmd/internal/obj/x86/asm6.go

    	testAnd := p.As == ATESTB || p.As == ATESTL || p.As == ATESTQ || p.As == ATESTW ||
    		p.As == AANDB || p.As == AANDL || p.As == AANDQ || p.As == AANDW
    
    	incDec := p.As == AINCB || p.As == AINCL || p.As == AINCQ || p.As == AINCW ||
    		p.As == ADECB || p.As == ADECL || p.As == ADECQ || p.As == ADECW
    
    	if !cmpAddSub && !testAnd && !incDec {
    		return false, 0
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  2. src/net/http/serve_test.go

    		}
    	}
    }
    
    func TestHandlerPanicNil(t *testing.T) {
    	run(t, func(t *testing.T, mode testMode) {
    		testHandlerPanic(t, false, mode, nil, nil)
    	}, testNotParallel)
    }
    
    func TestHandlerPanic(t *testing.T) {
    	run(t, func(t *testing.T, mode testMode) {
    		testHandlerPanic(t, false, mode, nil, "intentional death for testing")
    	}, testNotParallel)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  3. src/crypto/x509/x509_test.go

    	}
    
    	// Can't check the signature here without a package cycle.
    }
    
    func TestImports(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping in -short mode")
    	}
    	testenv.MustHaveGoRun(t)
    
    	if out, err := exec.Command(testenv.GoToolPath(t), "run", "x509_test_import.go").CombinedOutput(); err != nil {
    		t.Errorf("failed to run x509_test_import.go: %s\n%s", err, out)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  4. 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)
  5. src/crypto/x509/verify_test.go

    	},
    }
    
    func expectHostnameError(msg string) func(*testing.T, error) {
    	return func(t *testing.T, err error) {
    		if _, ok := err.(HostnameError); !ok {
    			t.Fatalf("error was not a HostnameError: %v", err)
    		}
    		if !strings.Contains(err.Error(), msg) {
    			t.Fatalf("HostnameError did not contain %q: %v", msg, err)
    		}
    	}
    }
    
    func expectExpired(t *testing.T, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/testdata/copy_test.go

    // Code generated by gen/copyGen.go. DO NOT EDIT.
    
    package main
    
    import "testing"
    
    type T1 struct {
    	pre  [8]byte
    	mid  [1]byte
    	post [8]byte
    }
    
    //go:noinline
    func t1copy_ssa(y, x *[1]byte) {
    	*y = *x
    }
    func testCopy1(t *testing.T) {
    	a := T1{[8]byte{201, 202, 203, 204, 205, 206, 207, 208}, [1]byte{0}, [8]byte{211, 212, 213, 214, 215, 216, 217, 218}}
    	x := [1]byte{100}
    	t1copy_ssa(&a.mid, &x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 150.2K bytes
    - Viewed (0)
  7. src/net/http/transport_test.go

    			}
    		},
    	})
    }
    
    func runCancelTest(t *testing.T, f func(t *testing.T, test cancelTest), opts ...any) {
    	run(t, func(t *testing.T, mode testMode) {
    		if mode == http1Mode {
    			t.Run("TransportCancel", func(t *testing.T) {
    				runCancelTestTransport(t, mode, f)
    			})
    		}
    		t.Run("RequestCancel", func(t *testing.T) {
    			runCancelTestChannel(t, mode, f)
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  8. src/reflect/all_test.go

    type R23 R21
    type R24 R21
    
    func TestEmbed(t *testing.T) {
    	typ := TypeOf(R0{})
    	f, ok := typ.FieldByName("X")
    	if ok {
    		t.Fatalf(`FieldByName("X") should fail, returned %v`, f.Index)
    	}
    }
    
    func TestAllocsInterfaceBig(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping malloc count in short mode")
    	}
    	v := ValueOf(S{})
    	if allocs := testing.AllocsPerRun(100, func() { v.Interface() }); allocs > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  9. pkg/controller/podautoscaler/horizontal_test.go

    		requested += int(req.MilliValue())
    	}
    	tc.CPUCurrent = int32(100 * reported / requested)
    }
    
    func init() {
    	// set this high so we don't accidentally run into it when testing
    	scaleUpLimitFactor = 8
    }
    
    func (tc *testCase) prepareTestClient(t *testing.T) (*fake.Clientset, *metricsfake.Clientset, *cmfake.FakeCustomMetricsClient, *emfake.FakeExternalMetricsClient, *scalefake.FakeScaleClient) {
    	namespace := "test-namespace"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_test.go

    	cadvisortest "k8s.io/kubernetes/pkg/kubelet/cadvisor/testing"
    	"k8s.io/kubernetes/pkg/kubelet/clustertrustbundle"
    	"k8s.io/kubernetes/pkg/kubelet/cm"
    	"k8s.io/kubernetes/pkg/kubelet/config"
    	"k8s.io/kubernetes/pkg/kubelet/configmap"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	containertest "k8s.io/kubernetes/pkg/kubelet/container/testing"
    	"k8s.io/kubernetes/pkg/kubelet/eviction"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
Back to top