/dports/devel/py-testoob/testoob-1.15/tests/ |
H A D | mock.py | 363 return testFn 368 return testFn 373 return testFn 378 return testFn 383 return testFn 388 return testFn 396 return testFn 404 return testFn 409 return testFn 415 return testFn [all …]
|
/dports/net-im/gajim/gajim-gajim-1.3.3/test/lib/ |
H A D | mock.py | 367 return testFn 372 return testFn 377 return testFn 382 return testFn 387 return testFn 392 return testFn 400 return testFn 408 return testFn 413 return testFn 419 return testFn [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/js/test/unit/ipc/ |
H A D | helpers.ts | 51 buffer(testFn: (buffer: Uint8Array) => void | Promise<void>) { 54 await testFn(await this.writer(this.table).toUint8Array()); 57 iterable(testFn: (iterable: Generator<Uint8Array>) => void | Promise<void>) { 60 await testFn(chunkedIterable(await this.writer(this.table).toUint8Array())); 69 fsFileHandle(testFn: (handle: fs.promises.FileHandle) => void | Promise<void>) { 73 await testFn(<any> await memfs.promises.open(path, 'r')); 77 fsReadableStream(testFn: (stream: fs.ReadStream) => void | Promise<void>) { 81 await testFn(<any> memfs.createReadStream(path)); 90 await testFn(sink); 93 whatwgReadableStream(testFn: (stream: ReadableStream) => void | Promise<void>) { [all …]
|
/dports/databases/arrow/apache-arrow-6.0.1/js/test/unit/ipc/ |
H A D | helpers.ts | 49 buffer(testFn: (buffer: Uint8Array) => void | Promise<void>) { 52 await testFn(await this.writer(this.table).toUint8Array()); 55 iterable(testFn: (iterable: Generator<Uint8Array>) => void | Promise<void>) { 58 await testFn(chunkedIterable(await this.writer(this.table).toUint8Array())); 67 fsFileHandle(testFn: (handle: fs.promises.FileHandle) => void | Promise<void>) { 71 await testFn(<any> await memfs.promises.open(path, 'r')); 75 fsReadableStream(testFn: (stream: fs.ReadStream) => void | Promise<void>) { 79 await testFn(<any> memfs.createReadStream(path)); 88 await testFn(sink); 91 whatwgReadableStream(testFn: (stream: ReadableStream) => void | Promise<void>) { [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/js/test/unit/ipc/ |
H A D | helpers.ts | 51 buffer(testFn: (buffer: Uint8Array) => void | Promise<void>) { 54 await testFn(await this.writer(this.table).toUint8Array()); 57 iterable(testFn: (iterable: Iterable<Uint8Array>) => void | Promise<void>) { 60 await testFn(chunkedIterable(await this.writer(this.table).toUint8Array())); 69 fsFileHandle(testFn: (handle: fs.promises.FileHandle) => void | Promise<void>) { 73 await testFn(<any> await memfs.promises.open(path, 'r')); 77 fsReadableStream(testFn: (stream: fs.ReadStream) => void | Promise<void>) { 81 await testFn(<any> memfs.createReadStream(path)); 90 await testFn(sink); 93 whatwgReadableStream(testFn: (stream: ReadableStream) => void | Promise<void>) { [all …]
|
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/les/utils/ |
H A D | weighted_select_test.go | 39 testFn := func(cnt int) { 61 testFn(1) 62 testFn(10) 63 testFn(100) 64 testFn(1000) 65 testFn(10000) 66 testFn(100000) 67 testFn(1000000)
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/mysql-test/r/ |
H A D | roles-sp-case.result | 8 CREATE FUNCTION `B30896461`.`testFn`() RETURNS INTEGER DETERMINISTIC RETURN 1; 10 GRANT EXECUTE ON FUNCTION `B30896461`.`testFn` TO b30896461_test1@localhost; 14 SELECT `B30896461`.`testFn`(); 15 `B30896461`.`testFn`() 25 GRANT EXECUTE ON FUNCTION `B30896461`.`testFn` TO `B30896461_test1`@`localhost` 27 SELECT `B30896461`.`testFn`(); 28 `B30896461`.`testFn`() 40 GRANT EXECUTE ON FUNCTION `B30896461`.`testFn` TO `B30896461_test2`@`localhost`
|
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/thanos-io/thanos/pkg/objstore/objtesting/ |
H A D | foreach.go | 45 func ForeachStore(t *testing.T, testFn func(t *testing.T, bkt objstore.Bucket)) { 50 testFn(t, objstore.NewInMemBucket()) 65 testFn(t, b) 78 testFn(t, bkt) 96 testFn(t, bkt) 109 testFn(t, bkt) 122 testFn(t, container) 135 testFn(t, bkt) 148 testFn(t, bkt)
|
/dports/net-mgmt/thanos/thanos-0.11.0/pkg/objstore/objtesting/ |
H A D | foreach.go | 46 func ForeachStore(t *testing.T, testFn func(t *testing.T, bkt objstore.Bucket)) { 51 testFn(t, inmem.NewBucket()) 66 testFn(t, b) 79 testFn(t, bkt) 97 testFn(t, bkt) 110 testFn(t, bkt) 123 testFn(t, container) 136 testFn(t, bkt) 146 testFn(t, bkt)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webgpu-cts/src/src/common/framework/ |
H A D | test_group.ts | 112 private testFn: TestFn<F, P> | undefined; property in TestBuilder 128 assert(this.testFn === undefined); 129 this.testFn = fn; 133 assert(this.testFn === undefined); 134 this.testFn = () => { 141 assert(this.testFn !== undefined, () => { 176 assert(this.testFn !== undefined, 'No test function (.fn()) for test'); 178 yield new RunCaseSpecific(this.testPath, params, this.fixture, this.testFn);
|
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/util/iptables/ |
H A D | save_restore_test.go | 24 testFn := func(byteArray []byte, expected []string) { 44 testFn(byteArray1, expected1) 48 testFn(byteArray1, expected1) 52 testFn(byteArray1, expected1)
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/mysql-test/t/ |
H A D | roles-sp-case.test | 13 CREATE FUNCTION `B30896461`.`testFn`() RETURNS INTEGER DETERMINISTIC RETURN 1; 16 GRANT EXECUTE ON FUNCTION `B30896461`.`testFn` TO b30896461_test1@localhost; 22 SELECT `B30896461`.`testFn`(); 43 --replace_result b30896461 B30896461 testfn testFn 48 SELECT `B30896461`.`testFn`(); 70 --replace_result b30896461 B30896461 testfn testFn
|
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/nomad/api/internal/testutil/ |
H A D | wait.go | 8 type testFn func() (bool, error) type 11 func WaitForResult(test testFn, error errorFn) { argument 15 func WaitForResultRetries(retries int64, test testFn, error errorFn) { argument 33 func AssertUntil(until time.Duration, test testFn, error errorFn) { argument
|
/dports/sysutils/nomad/nomad-1.1.0/api/internal/testutil/ |
H A D | wait.go | 8 type testFn func() (bool, error) type 11 func WaitForResult(test testFn, error errorFn) { argument 15 func WaitForResultRetries(retries int64, test testFn, error errorFn) { argument 33 func AssertUntil(until time.Duration, test testFn, error errorFn) { argument
|
/dports/security/zeronet/ZeroNet-0.7.1/src/Test/ |
H A D | TestFlag.py | 12 def testFn(anything): function 23 def testFn(anything): member in TestFlag.testSubclassedFlagging.Test 37 def testFn(anything): function
|
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/flimzy/testy/ |
H A D | table.go | 92 func (tb *Table) Run(t *testing.T, testFn interface{}) { 94 testFnT := reflect.TypeOf(testFn) 101 testType := reflect.TypeOf(testFn).In(1) 102 testFnV := reflect.ValueOf(testFn)
|
/dports/lang/gcc48/gcc-4.8.5/libgo/go/math/rand/ |
H A D | rand_test.go | 205 func initNorm() (testKn []uint32, testWn, testFn []float32) { 215 testFn = make([]float32, 128) 222 testFn[0] = 1.0 223 testFn[127] = float32(math.Exp(-0.5 * dn * dn)) 228 testFn[i] = float32(math.Exp(-0.5 * dn * dn)) 300 testKn, testWn, testFn := initNorm() 307 if i := compareFloat32Slices(fn[0:], testFn); i >= 0 { 308 t.Errorf("fn disagrees at index %v; %v != %v", i, fn[i], testFn[i])
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libgo/go/math/rand/ |
H A D | rand_test.go | 205 func initNorm() (testKn []uint32, testWn, testFn []float32) { 215 testFn = make([]float32, 128) 222 testFn[0] = 1.0 223 testFn[127] = float32(math.Exp(-0.5 * dn * dn)) 228 testFn[i] = float32(math.Exp(-0.5 * dn * dn)) 300 testKn, testWn, testFn := initNorm() 307 if i := compareFloat32Slices(fn[0:], testFn); i >= 0 { 308 t.Errorf("fn disagrees at index %v; %v != %v", i, fn[i], testFn[i])
|
/dports/devel/mingw32-gcc/gcc-4.8.1/libgo/go/math/rand/ |
H A D | rand_test.go | 205 func initNorm() (testKn []uint32, testWn, testFn []float32) { 215 testFn = make([]float32, 128) 222 testFn[0] = 1.0 223 testFn[127] = float32(math.Exp(-0.5 * dn * dn)) 228 testFn[i] = float32(math.Exp(-0.5 * dn * dn)) 300 testKn, testWn, testFn := initNorm() 307 if i := compareFloat32Slices(fn[0:], testFn); i >= 0 { 308 t.Errorf("fn disagrees at index %v; %v != %v", i, fn[i], testFn[i])
|
/dports/www/gitlab-pages/gitlab-pages-f8512edbec4ec83b426c8ca2dda467de424685e4/internal/ratelimiter/ |
H A D | ratelimiter_test.go | 90 testFn := func(ip string) func(t *testing.T) { 108 t.Run(first, testFn(first)) 111 t.Run(second, testFn(second)) 114 t.Run(third, testFn(third))
|
/dports/cad/xcircuit/xcircuit-3.10.30/asg/ |
H A D | list.c | 121 list *delete_if(lptr, testFn) in delete_if() argument 128 else if ((*testFn)(ll->this) == TRUE) /* The first list item should go */ 131 return(delete_if(lptr, testFn)); 137 ll->next = delete_if(&ll->next, testFn); 366 int member_p(e, l, testFn) in member_p() argument 369 int (*testFn)(); /* Should take two *int's as args, return TRUE/FALSE */ 375 if ((*testFn)(e, ll->this) == TRUE) return(TRUE); 385 list *member(e, l, testFn) in member() argument 394 if ((*testFn)(e, ll->this) == TRUE) return(ll); 445 list *delete_duplicates(l, testFn) in delete_duplicates() argument [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llgo/third_party/gofrontend/libgo/go/math/rand/ |
H A D | rand_test.go | 207 func initNorm() (testKn []uint32, testWn, testFn []float32) { 217 testFn = make([]float32, 128) 224 testFn[0] = 1.0 225 testFn[127] = float32(math.Exp(-0.5 * dn * dn)) 230 testFn[i] = float32(math.Exp(-0.5 * dn * dn)) 302 testKn, testWn, testFn := initNorm() 309 if i := compareFloat32Slices(fn[0:], testFn); i >= 0 { 310 t.Errorf("fn disagrees at index %v; %v != %v", i, fn[i], testFn[i])
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/node/node_modules/polymer-css-build/node_modules/find-replace/ |
H A D | index.mjs | 26 …* @param {testFn} - A predicate function which, if returning `true` causes the current item to be … 31 function findReplace (array, testFn) { argument 46 if (testFn(value)) {
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/node/node_modules/polymer-bundler/node_modules/find-replace/ |
H A D | index.mjs | 26 …* @param {testFn} - A predicate function which, if returning `true` causes the current item to be … 31 function findReplace (array, testFn) { argument 46 if (testFn(value)) {
|
/dports/lang/gcc6-aux/gcc-6-20180516/libgo/go/math/rand/ |
H A D | rand_test.go | 208 func initNorm() (testKn []uint32, testWn, testFn []float32) { 218 testFn = make([]float32, 128) 225 testFn[0] = 1.0 226 testFn[127] = float32(math.Exp(-0.5 * dn * dn)) 231 testFn[i] = float32(math.Exp(-0.5 * dn * dn)) 303 testKn, testWn, testFn := initNorm() 310 if i := compareFloat32Slices(fn[0:], testFn); i >= 0 { 311 t.Errorf("fn disagrees at index %v; %v != %v", i, fn[i], testFn[i])
|