Home
last modified time | relevance | path

Searched defs:harness (Results 1 – 25 of 1045) sorted by relevance

12345678910>>...42

/dports/net-mgmt/carbonzipper/carbonzipper-0.74/vendor/github.com/facebookgo/grace/gracehttp/
H A Dhttp_test.go37 type harness struct { struct
45 requestCount int
46 requestCountMutex sync.Mutex
47 serveOption int
51 func (h *harness) setupAddr() {
67 func (h *harness) Start() {
113 func (h *harness) Restart() {
122 func (h *harness) Stop() {
141 func (h *harness) RequestCount() int {
192 func (h *harness) SendRequest() {
[all …]
/dports/devel/gn/gn-1962/src/base/posix/
H A Deintr_wrapper.h15 // value of close is significant. See http://crbug.com/269623.
17 #ifndef BASE_POSIX_EINTR_WRAPPER_H_
18 #define BASE_POSIX_EINTR_WRAPPER_H_
20 #include "util/build_config.h"
32 eintr_wrapper_result = (x); \
39 #define HANDLE_EINTR(x) \
42 decltype(x) eintr_wrapper_result; \
52 #define IGNORE_EINTR(x) \
57 if (eintr_wrapper_result == -1 && errno == EINTR) { \
67 #define IGNORE_EINTR(x) (x)
/dports/sysutils/aptly/aptly-1.4.0/vendor/github.com/syndtr/goleveldb/leveldb/filter/
H A Dbloom_test.go15 type harness struct { struct
16 t *testing.T
18 bloom Filter
19 generator FilterGenerator
20 filter []byte
32 func (h *harness) add(key []byte) {
36 func (h *harness) addNum(key uint32) {
42 func (h *harness) build() {
48 func (h *harness) reset() {
52 func (h *harness) filterLen() int {
[all …]
/dports/net-p2p/bitmark-daemon/bitmarkd-0.13.3/vendor/github.com/syndtr/goleveldb/leveldb/filter/
H A Dbloom_test.go15 type harness struct { struct
16 t *testing.T
18 bloom Filter
19 generator FilterGenerator
20 filter []byte
32 func (h *harness) add(key []byte) {
36 func (h *harness) addNum(key uint32) {
42 func (h *harness) build() {
48 func (h *harness) reset() {
52 func (h *harness) filterLen() int {
[all …]
/dports/net-p2p/bitmark-recorder/bitmarkd-0.13.3/vendor/github.com/syndtr/goleveldb/leveldb/filter/
H A Dbloom_test.go15 type harness struct { struct
16 t *testing.T
18 bloom Filter
19 generator FilterGenerator
20 filter []byte
32 func (h *harness) add(key []byte) {
36 func (h *harness) addNum(key uint32) {
42 func (h *harness) build() {
48 func (h *harness) reset() {
52 func (h *harness) filterLen() int {
[all …]
/dports/net-p2p/bitmark-cli/bitmarkd-0.13.3/vendor/github.com/syndtr/goleveldb/leveldb/filter/
H A Dbloom_test.go15 type harness struct { struct
16 t *testing.T
18 bloom Filter
19 generator FilterGenerator
20 filter []byte
32 func (h *harness) add(key []byte) {
36 func (h *harness) addNum(key uint32) {
42 func (h *harness) build() {
48 func (h *harness) reset() {
52 func (h *harness) filterLen() int {
[all …]
/dports/net-p2p/bitmark/bitmarkd-0.13.3/vendor/github.com/syndtr/goleveldb/leveldb/filter/
H A Dbloom_test.go15 type harness struct { struct
16 t *testing.T
18 bloom Filter
19 generator FilterGenerator
20 filter []byte
32 func (h *harness) add(key []byte) {
36 func (h *harness) addNum(key uint32) {
42 func (h *harness) build() {
48 func (h *harness) reset() {
52 func (h *harness) filterLen() int {
[all …]
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/syndtr/goleveldb/leveldb/filter/
H A Dbloom_test.go15 type harness struct { struct
16 t *testing.T
18 bloom Filter
19 generator FilterGenerator
20 filter []byte
32 func (h *harness) add(key []byte) {
36 func (h *harness) addNum(key uint32) {
42 func (h *harness) build() {
48 func (h *harness) reset() {
52 func (h *harness) filterLen() int {
[all …]
/dports/www/tusc/tusc-0.4.7/vendor/github.com/syndtr/goleveldb/leveldb/filter/
H A Dbloom_test.go15 type harness struct { struct
16 t *testing.T
18 bloom Filter
19 generator FilterGenerator
20 filter []byte
32 func (h *harness) add(key []byte) {
36 func (h *harness) addNum(key uint32) {
42 func (h *harness) build() {
48 func (h *harness) reset() {
52 func (h *harness) filterLen() int {
[all …]
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/syndtr/goleveldb/leveldb/filter/
H A Dbloom_test.go15 type harness struct { struct
16 t *testing.T
18 bloom Filter
19 generator FilterGenerator
20 filter []byte
32 func (h *harness) add(key []byte) {
36 func (h *harness) addNum(key uint32) {
42 func (h *harness) build() {
48 func (h *harness) reset() {
52 func (h *harness) filterLen() int {
[all …]
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/libp2p/go-libp2p/p2p/protocol/identify/
H A Dobsaddr_test.go21 type harness struct { struct
22 t *testing.T
24 mocknet mocknet.Mocknet
25 host host.Host
27 oas *identify.ObservedAddrManager
30 func (h *harness) add(observer ma.Multiaddr) peer.ID {
47 func (h *harness) conn(observer peer.ID) network.Conn {
58 func (h *harness) connInbound(observer peer.ID) network.Conn {
71 func (h *harness) observe(observed ma.Multiaddr, observer peer.ID) network.Conn {
78 func (h *harness) observeInbound(observed ma.Multiaddr, observer peer.ID) network.Conn {
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/workhorse/vendor/gocloud.dev/pubsub/mempubsub/
H A Dconformance_test.go26 type harness struct{} struct
32 …s) CreateTopic(ctx context.Context, testName string) (dt driver.Topic, cleanup func(), err error) {
37 func (h *harness) MakeNonexistentTopic(ctx context.Context) (driver.Topic, error) {
42 …xt.Context, dt driver.Topic, testName string) (ds driver.Subscription, cleanup func(), err error) {
48 …h *harness) MakeNonexistentSubscription(ctx context.Context) (driver.Subscription, func(), error) {
52 func (h *harness) Close() {}
54 func (h *harness) MaxBatchSizes() (int, int) { return 0, 0 }
56 func (*harness) SupportsMultipleSubscriptions() bool { return true }
/dports/www/gohugo/hugo-0.91.2/vendor/gocloud.dev/pubsub/mempubsub/
H A Dconformance_test.go26 type harness struct{} struct
32 …s) CreateTopic(ctx context.Context, testName string) (dt driver.Topic, cleanup func(), err error) {
37 func (h *harness) MakeNonexistentTopic(ctx context.Context) (driver.Topic, error) {
42 …xt.Context, dt driver.Topic, testName string) (ds driver.Subscription, cleanup func(), err error) {
48 func (h *harness) MakeNonexistentSubscription(ctx context.Context) (driver.Subscription, error) {
52 func (h *harness) Close() {}
54 func (h *harness) MaxBatchSizes() (int, int) { return 0, 0 }
56 func (*harness) SupportsMultipleSubscriptions() bool { return true }
/dports/sysutils/gomplate/gomplate-3.9.0/vendor/gocloud.dev/pubsub/mempubsub/
H A Dconformance_test.go26 type harness struct{} struct
32 …s) CreateTopic(ctx context.Context, testName string) (dt driver.Topic, cleanup func(), err error) {
37 func (h *harness) MakeNonexistentTopic(ctx context.Context) (driver.Topic, error) {
42 …xt.Context, dt driver.Topic, testName string) (ds driver.Subscription, cleanup func(), err error) {
48 …h *harness) MakeNonexistentSubscription(ctx context.Context) (driver.Subscription, func(), error) {
52 func (h *harness) Close() {}
54 func (h *harness) MaxBatchSizes() (int, int) { return 0, 0 }
56 func (*harness) SupportsMultipleSubscriptions() bool { return true }
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/gocloud.dev/go-cloud-5094f54ed8bb/pubsub/mempubsub/
H A Dconformance_test.go26 type harness struct{} struct
32 …s) CreateTopic(ctx context.Context, testName string) (dt driver.Topic, cleanup func(), err error) {
37 func (h *harness) MakeNonexistentTopic(ctx context.Context) (driver.Topic, error) {
42 …xt.Context, dt driver.Topic, testName string) (ds driver.Subscription, cleanup func(), err error) {
48 …h *harness) MakeNonexistentSubscription(ctx context.Context) (driver.Subscription, func(), error) {
52 func (h *harness) Close() {}
54 func (h *harness) MaxBatchSizes() (int, int) { return 0, 0 }
56 func (*harness) SupportsMultipleSubscriptions() bool { return true }
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/workhorse/vendor/gocloud.dev/runtimevar/blobvar/
H A Dblobvar_test.go36 type harness struct { struct
37 dir string
38 bucket *blob.Bucket
53 …akeWatcher(ctx context.Context, name string, decoder *runtimevar.Decoder) (driver.Watcher, error) {
57 func (h *harness) CreateVariable(ctx context.Context, name string, val []byte) error {
61 func (h *harness) UpdateVariable(ctx context.Context, name string, val []byte) error {
65 func (h *harness) DeleteVariable(ctx context.Context, name string) error {
69 func (h *harness) Close() {
74 func (h *harness) Mutable() bool { return true }
/dports/www/gohugo/hugo-0.91.2/vendor/gocloud.dev/runtimevar/blobvar/
H A Dblobvar_test.go36 type harness struct { struct
37 dir string
38 bucket *blob.Bucket
53 …akeWatcher(ctx context.Context, name string, decoder *runtimevar.Decoder) (driver.Watcher, error) {
57 func (h *harness) CreateVariable(ctx context.Context, name string, val []byte) error {
61 func (h *harness) UpdateVariable(ctx context.Context, name string, val []byte) error {
65 func (h *harness) DeleteVariable(ctx context.Context, name string) error {
69 func (h *harness) Close() {
74 func (h *harness) Mutable() bool { return true }
/dports/sysutils/gomplate/gomplate-3.9.0/vendor/gocloud.dev/runtimevar/blobvar/
H A Dblobvar_test.go36 type harness struct { struct
37 dir string
38 bucket *blob.Bucket
53 …akeWatcher(ctx context.Context, name string, decoder *runtimevar.Decoder) (driver.Watcher, error) {
57 func (h *harness) CreateVariable(ctx context.Context, name string, val []byte) error {
61 func (h *harness) UpdateVariable(ctx context.Context, name string, val []byte) error {
65 func (h *harness) DeleteVariable(ctx context.Context, name string) error {
69 func (h *harness) Close() {
74 func (h *harness) Mutable() bool { return true }
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/gocloud.dev/go-cloud-5094f54ed8bb/runtimevar/blobvar/
H A Dblobvar_test.go36 type harness struct { struct
37 dir string
38 bucket *blob.Bucket
53 …akeWatcher(ctx context.Context, name string, decoder *runtimevar.Decoder) (driver.Watcher, error) {
57 func (h *harness) CreateVariable(ctx context.Context, name string, val []byte) error {
61 func (h *harness) UpdateVariable(ctx context.Context, name string, val []byte) error {
65 func (h *harness) DeleteVariable(ctx context.Context, name string) error {
69 func (h *harness) Close() {
74 func (h *harness) Mutable() bool { return true }
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/nomad/e2e/vault/
H A Dvault_test.go33 type harness struct { struct
34 t *testing.T
35 binDir string
36 os string
37 arch string
52 func (h *harness) reconcile() map[string]string {
81 func (h *harness) createBinDir() {
106 func (h *harness) diff() (missing []string) {
134 func (h *harness) get(version string) error {
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/workhorse/vendor/gocloud.dev/runtimevar/awsparamstore/
H A Dawsparamstore_test.go41 type harness struct { struct
42 session client.ConfigProvider
43 closer func()
51 …akeWatcher(ctx context.Context, name string, decoder *runtimevar.Decoder) (driver.Watcher, error) {
55 func (h *harness) CreateVariable(ctx context.Context, name string, val []byte) error {
66 func (h *harness) UpdateVariable(ctx context.Context, name string, val []byte) error {
70 func (h *harness) DeleteVariable(ctx context.Context, name string) error {
76 func (h *harness) Close() {
80 func (h *harness) Mutable() bool { return true }
/dports/www/gohugo/hugo-0.91.2/vendor/gocloud.dev/runtimevar/awsparamstore/
H A Dawsparamstore_test.go41 type harness struct { struct
42 session client.ConfigProvider
43 closer func()
51 …akeWatcher(ctx context.Context, name string, decoder *runtimevar.Decoder) (driver.Watcher, error) {
55 func (h *harness) CreateVariable(ctx context.Context, name string, val []byte) error {
66 func (h *harness) UpdateVariable(ctx context.Context, name string, val []byte) error {
70 func (h *harness) DeleteVariable(ctx context.Context, name string) error {
76 func (h *harness) Close() {
80 func (h *harness) Mutable() bool { return true }
/dports/sysutils/gomplate/gomplate-3.9.0/vendor/gocloud.dev/runtimevar/awsparamstore/
H A Dawsparamstore_test.go41 type harness struct { struct
42 session client.ConfigProvider
43 closer func()
51 …akeWatcher(ctx context.Context, name string, decoder *runtimevar.Decoder) (driver.Watcher, error) {
55 func (h *harness) CreateVariable(ctx context.Context, name string, val []byte) error {
66 func (h *harness) UpdateVariable(ctx context.Context, name string, val []byte) error {
70 func (h *harness) DeleteVariable(ctx context.Context, name string) error {
76 func (h *harness) Close() {
80 func (h *harness) Mutable() bool { return true }
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/gocloud.dev/go-cloud-5094f54ed8bb/runtimevar/awsparamstore/
H A Dawsparamstore_test.go41 type harness struct { struct
42 session client.ConfigProvider
43 closer func()
51 …akeWatcher(ctx context.Context, name string, decoder *runtimevar.Decoder) (driver.Watcher, error) {
55 func (h *harness) CreateVariable(ctx context.Context, name string, val []byte) error {
66 func (h *harness) UpdateVariable(ctx context.Context, name string, val []byte) error {
70 func (h *harness) DeleteVariable(ctx context.Context, name string) error {
76 func (h *harness) Close() {
80 func (h *harness) Mutable() bool { return true }
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/workhorse/vendor/gocloud.dev/runtimevar/filevar/
H A Dfilevar_test.go36 type harness struct { struct
37 dir string
38 closer func()
52 …akeWatcher(ctx context.Context, name string, decoder *runtimevar.Decoder) (driver.Watcher, error) {
58 func (h *harness) CreateVariable(ctx context.Context, name string, val []byte) error {
73 func (h *harness) UpdateVariable(ctx context.Context, name string, val []byte) error {
77 func (h *harness) DeleteVariable(ctx context.Context, name string) error {
82 func (h *harness) Close() {
86 func (h *harness) Mutable() bool { return true }

12345678910>>...42