Home
last modified time | relevance | path

Searched refs:time (Results 1 - 25 of 822) sorted by relevance

12345678910>>...33

/5.5.2/goproj/src/github.com/couchbase/indexing/secondary/queryport/client/
H A Dconn_pool_test.go10 "time"
56 readDeadline := time.Duration(30)
57 writeDeadline := time.Duration(40)
64 time.Sleep(1 * time.Second)
91 time.Sleep(2 * time.Second)
95 time.Sleep(1 * time.Second)
99 readDeadline := time
[all...]
/5.5.2/goproj/src/github.com/couchbase/goxdcr/base/
H A Dconstant.go15 "time"
113 var AdminportReadTimeout = 60 * time.Second
116 var AdminportWriteTimeout = 180 * time.Second
407 var HELOTimeout time.Duration = time.Duration(120) * time.Second
411 var RemoteMcRetryWaitTime = 200 * time.Millisecond
414 // The following will result in a max of 3 seconds of retry time before declaring failure
416 var BucketInfoOpWaitTime = 100 * time.Millisecond
452 var TimeoutRuntimeContextStop = 5 * time
[all...]
/5.5.2/godeps/src/github.com/blevesearch/bleve/cmd/bleve/vendor/github.com/spf13/pflag/
H A Dduration.go4 "time"
7 // -- time.Duration Value
8 type durationValue time.Duration
10 func newDurationValue(val time.Duration, p *time.Duration) *durationValue {
16 v, err := time.ParseDuration(s)
25 func (d *durationValue) String() string { return (*time.Duration)(d).String() }
28 return time.ParseDuration(sval)
32 func (f *FlagSet) GetDuration(name string) (time.Duration, error) {
37 return val.(time
[all...]
/5.5.2/godeps/src/github.com/couchbase/vellum/vendor/github.com/spf13/pflag/
H A Dduration.go4 "time"
7 // -- time.Duration Value
8 type durationValue time.Duration
10 func newDurationValue(val time.Duration, p *time.Duration) *durationValue {
16 v, err := time.ParseDuration(s)
25 func (d *durationValue) String() string { return (*time.Duration)(d).String() }
28 return time.ParseDuration(sval)
32 func (f *FlagSet) GetDuration(name string) (time.Duration, error) {
37 return val.(time
[all...]
/5.5.2/testrunner/scripts/
H A DrunSelectedTests.py8 import time
99 print time.asctime( time.localtime(time.time()) ), 'invalid server response', content
100 time.sleep(POLL_INTERVAL)
102 print time.asctime( time.localtime(time.time()) ), 'n
[all...]
H A DtestDispatcher.py7 import time
272 print time.asctime( time.localtime(time.time()) ), 'invalid server response', content
273 time.sleep(POLL_INTERVAL)
275 print time.asctime( time.localtime(time.time()) ), 'n
[all...]
/5.5.2/platform/src/
H A Dtimeutils.cc23 auto time = time2convert.count(); in time2text() local
25 while (time > 9999) { in time2text()
27 time /= 1000; in time2text()
34 if (extensions[id + 1] == NULL && time > 599) { in time2text()
35 int hour = static_cast<int>(time / 3600); in time2text()
36 time -= hour * 3600; in time2text()
37 int min = static_cast<int>(time / 60); in time2text()
38 time -= min * 60; in time2text()
42 std::to_string(time) + "s"; in time2text()
44 ret = std::to_string(min) + "m:" + std::to_string(time) in time2text()
[all...]
/5.5.2/godeps/src/github.com/couchbase/gocb/
H A Dthresholdlogtracer_test.go5 "time"
9 time.Sleep(100 * time.Millisecond)
12 grp.init("Test", 2*time.Millisecond, 3)
13 grp.recordOp(&thresholdLogSpan{duration: 1 * time.Millisecond})
14 grp.recordOp(&thresholdLogSpan{duration: 2 * time.Millisecond})
20 grp.recordOp(&thresholdLogSpan{duration: 6 * time.Millisecond})
21 grp.recordOp(&thresholdLogSpan{duration: 4 * time.Millisecond})
22 grp.recordOp(&thresholdLogSpan{duration: 5 * time.Millisecond})
23 grp.recordOp(&thresholdLogSpan{duration: 2 * time
[all...]
H A Dbucket.go5 "time"
21 opTimeout time.Duration
22 bulkOpTimeout time.Duration
23 duraTimeout time.Duration
24 duraPollTimeout time.Duration
25 viewTimeout time.Duration
26 n1qlTimeout time.Duration
27 ftsTimeout time.Duration
53 opTimeout: 2500 * time.Millisecond,
54 bulkOpTimeout: 10000 * time
[all...]
H A Dthresholdlogtracer.go8 "time"
18 floor time.Duration
23 func (g *thresholdLogGroup) init(name string, floor time.Duration, size uint32) {
35 // this is a performance improvement measure to avoid locking the mutex all the time.
127 TotalTimeUs: uint64(op.duration / time.Microsecond),
128 DispatchDurationUs: uint64(op.totalDispatchDuration / time.Microsecond),
129 ServerDurationUs: uint64(op.totalServerDuration / time.Microsecond),
130 EncodeDurationUs: uint64(op.totalEncodeDuration / time.Microsecond),
131 DecodeDurationUs: uint64(op.totalDecodeDuration / time.Microsecond),
133 LastDispatchDurationUs: uint64(op.lastDispatchDuration / time
[all...]
/5.5.2/goproj/src/github.com/couchbase/indexing/secondary/manager/test/
H A Dcoordinator_test.go18 "time"
47 time.Sleep(time.Duration(1000) * time.Millisecond)
50 time.Sleep(time.Duration(1000) * time.Millisecond)
68 time.Sleep(time.Duration(1000) * time
[all...]
H A Devent_test.go19 "time"
52 time.Sleep(time.Duration(1000) * time.Millisecond)
99 time.Sleep(time.Duration(1000) * time.Millisecond)
104 time.Sleep(time.Duration(1000) * time
[all...]
H A Dmeta_repo_test.go20 "time"
62 time.Sleep(time.Duration(1000) * time.Millisecond)
80 time.Sleep(time.Duration(1000) * time.Millisecond)
97 time.Sleep(time.Duration(1000) * time
[all...]
H A Drequest_handler_test.go22 "time"
49 time.Sleep(time.Duration(1000) * time.Millisecond)
60 time.Sleep(time.Duration(1000) * time.Millisecond)
70 time.Sleep(time.Duration(1000) * time
[all...]
/5.5.2/goproj/src/github.com/couchbase/gometa/common/
H A Dconstant.go20 "time"
36 var BALLOT_TIMEOUT time.Duration = 50 // timeout for a ballot (millisecond)
37 var BALLOT_MAX_TIMEOUT time.Duration = 500 // max timeout for a ballot (millisecond)
38 var BALLOT_FINALIZE_WAIT time.Duration = 200 // wait this much for new votes before completing leader election
39 var SYNC_TIMEOUT time.Duration = 300000 // timeout for synchronization (millisecond)
40 var LEADER_TIMEOUT time.Duration = 100000 // timeout for leader (millisecond)
41 var RETRY_BACKOFF time.Duration = 1000 // backoff time for retry (millisecond)
42 var MAX_RETRY_BACKOFF time.Duration = 30000 // max backoff time fo
[all...]
H A Dutil.go20 "time"
72 timer *time.Timer
74 duration time.Duration
75 maxDuration time.Duration
78 currentDuration time.Duration
81 func NewBackoffTimer(duration time.Duration,
82 maxDuration time.Duration, factor int) *BackoffTimer {
85 timer: time.NewTimer(duration),
95 func (t *BackoffTimer) GetChannel() <-chan time.Time {
109 t.currentDuration *= time
[all...]
/5.5.2/goproj/src/github.com/couchbase/query/util/
H A Dinterval_test.go14 "time"
18 duration time.Duration
29 {time.Duration(1), HOUR, DAY, 9, false, ""},
30 {time.Duration(1), YEAR, DAY, 9, false, ""},
33 {time.Duration(-1), HOUR, FRACTION, 9, false, "-0:00:00.000000001"},
36 {time.Duration(1), HOUR, FRACTION, 9, false, "0:00:00.000000001"},
37 {time.Duration(14582000000001), HOUR, FRACTION, 9, false, "4:03:02.000000001"},
38 {time.Duration(532982000000001), DAY, FRACTION, 9, false, "6 04:03:02.000000001"},
39 {time.Duration(532982000000001), HOUR, FRACTION, 9, false, "148:03:02.000000001"},
40 {time
[all...]
/5.5.2/goproj/src/github.com/couchbase/cbft/cmd/cbft/
H A Dhttp_flags.go18 "time"
26 var httpTransportDialContextTimeout = 30 * time.Second // Go's default is 30 secs.
27 var httpTransportDialContextKeepAlive = 30 * time.Second // Go's default is 30 secs.
30 var httpTransportIdleConnTimeout = 90 * time.Second // Go's default is 90 secs.
31 var httpTransportTLSHandshakeTimeout = 10 * time.Second // Go's default is 10 secs.
32 var httpTransportExpectContinueTimeout = 1 * time.Second // Go's default is 1 secs.
37 var httpReadTimeout = 20 * time.Second
38 var httpWriteTimeout = 60 * time.Second
43 v, err := time.ParseDuration(s)
52 v, err := time
[all...]
/5.5.2/goproj/src/github.com/couchbase/indexing/secondary/tests/functionaltests/
H A Dseti_n1qlclient_test.go22 "time"
34 time.Sleep(5 * time.Second)
99 now := time.Now()
102 time.Sleep(1 * time.Millisecond)
107 count, time.Since(now))
108 time.Sleep(1 * time.Second)
124 now = time
[all...]
/5.5.2/godeps/src/gopkg.in/couchbase/gocbcore.v7/
H A Dagent.go15 "time"
55 serverFailures map[string]time.Time
59 confHttpRedialPeriod time.Duration
60 confHttpRetryDelay time.Duration
61 confCccpMaxWait time.Duration
62 confCccpPollPeriod time.Duration
64 serverConnectTimeout time.Duration
65 serverWaitTimeout time.Duration
66 nmvRetryDelay time.Duration
76 func (agent *Agent) ServerConnectTimeout() time
[all...]
H A Derrmap_test.go5 "time"
18 if constant.CalculateRetryDelay(0) != 2000*time.Millisecond {
21 if constant.CalculateRetryDelay(1) != 1000*time.Millisecond {
24 if constant.CalculateRetryDelay(3) != 1000*time.Millisecond {
27 if constant.CalculateRetryDelay(15000) != 1000*time.Millisecond {
40 if linear.CalculateRetryDelay(0) != 2000*time.Millisecond {
43 if linear.CalculateRetryDelay(1) != 1000*time.Millisecond {
46 if linear.CalculateRetryDelay(3) != 3000*time.Millisecond {
49 if linear.CalculateRetryDelay(150) != 60000*time.Millisecond {
62 if exponential.CalculateRetryDelay(0) != 1000*time
[all...]
/5.5.2/testrunner/lib/membase/performance/
H A Dstats.py4 import time
66 "time": time.time(), "ops": [], "totalops": [],
126 self._task["time"] = time.time() - self._task["time"]
161 time = histo['time']
[all...]
/5.5.2/godeps/src/github.com/blevesearch/bleve/search/query/
H A Ddate_range_test.go20 "time"
24 testTimes := []time.Time{
25 time.Now(),
26 time.Time{},
43 if bqt.Time.Format(time.RFC3339) != bqt2.Time.Format(time.RFC3339) {
44 t.Errorf("test %d - expected same time, %#v != %#v", i, bqt.Time, bqt2.Time)
47 if testTime.Format(time.RFC3339) != bqt2.Time.Format(time.RFC3339) {
48 t.Errorf("test %d - expected orig time,
[all...]
/5.5.2/goproj/src/github.com/couchbase/goxdcr/pipeline_manager/
H A DpipelineOpSerializer_test.go11 "time"
23 var serializerSleepTime = time.Millisecond * 100
31 time.Sleep(serializerSleepTime)
33 time.Sleep(serializerSleepTime)
45 time.Sleep(serializerSleepTime)
47 time.Sleep(serializerSleepTime)
59 time.Sleep(serializerSleepTime)
62 time.Sleep(serializerSleepTime)
74 time.Sleep(serializerSleepTime)
77 time
[all...]
/5.5.2/goproj/src/github.com/couchbase/goxdcr/replication_manager/
H A Dreplication_manager.go39 "time"
43 var StatsUpdateIntervalForPausedReplications = 60 * time.Second
203 base.InitConstants(time.Duration(internal_settings.Values[metadata.TopologyChangeCheckIntervalKey].(int))*time.Second,
207 time.Duration(internal_settings.Values[metadata.TimeoutCheckpointBeforeStopKey].(int))*time.Second,
209 time.Duration(internal_settings.Values[metadata.RefreshRemoteClusterRefIntervalKey].(int))*time.Second,
212 time.Duration(internal_settings.Values[metadata.CapiBatchTimeoutKey].(int))*time
[all...]

Completed in 43 milliseconds

12345678910>>...33