Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 73) sorted by relevance

123

/curl/tests/http/
H A Dtest_12_reuse.py50 count = 100
54 r.check_response(count=count, http_status=200)
58 assert (count/2 - delta) < r.total_connects < (count/2 + delta)
70 count = 5
76 r.check_response(count=count, http_status=200)
84 count = 2
97 r.check_response(count=count, http_status=200)
106 count = 2
119 r.check_response(count=count, http_status=200)
128 count = 2
[all …]
H A Dtest_02_download.py105 r.check_response(http_status=200, count=count)
125 r.check_response(http_status=200, count=count)
161 r.check_response(http_status=200, count=count)
178 r.check_response(count=count, http_status=200)
191 r.check_response(count=count, http_status=200)
204 r.check_response(count=count, http_status=200)
217 r.check_response(count=count, http_status=200)
234 r.check_response(count=count, http_status=200)
247 r.check_response(count=count, http_status=200)
260 r.check_response(count=count, http_status=200)
[all …]
H A Dtest_31_vsftpds.py96 count = 1
99 r.check_stats(count=count, http_status=226)
111 r.check_stats(count=count, http_status=226)
125 r.check_stats(count=count, http_status=226)
139 r.check_stats(count=count, http_status=226)
154 r.check_stats(count=count, http_status=226)
170 r.check_stats(count=count, http_status=226)
189 r.check_stats(count=count, http_status=226)
206 r.check_stats(count=count, http_status=226)
220 r.check_stats(count=count, http_status=226)
[all …]
H A Dtest_30_vsftpd.py89 count = 1
92 r.check_stats(count=count, http_status=226)
104 r.check_stats(count=count, http_status=226)
118 r.check_stats(count=count, http_status=226)
129 count = 1
132 r.check_stats(count=count, http_status=226)
144 count = 1
147 r.check_stats(count=count, http_status=226)
162 r.check_stats(count=count, http_status=226)
175 r.check_stats(count=count, http_status=226)
[all …]
H A Dtest_07_upload.py99 r.check_stats(count=count, http_status=200, exitcode=0)
118 r.check_stats(count=count, http_status=200, exitcode=0)
135 r.check_response(count=count, http_status=200)
137 r.check_stats(count=count, http_status=200, exitcode=0)
154 r.check_stats(count=count, http_status=200, exitcode=0)
260 r.check_response(count=count, http_status=200)
278 r.check_stats(count=count, exitcode=exp_exit)
295 r.check_response(count=count, http_status=200)
315 r.check_response(count=count, http_status=200)
623 r.check_response(count=count, http_status=200)
[all …]
H A Dtest_03_goaway.py51 count = 3
69 r.check_response(count=count, http_status=200)
77 assert r.duration >= timedelta(seconds=count)
87 count = 3
106 assert r.duration >= timedelta(seconds=count-1)
107 r.check_response(count=count, http_status=200, connect_count=2)
117 count = 3
138 r.check_response(count=count, http_status=200, connect_count=2)
145 assert r.duration >= timedelta(seconds=count)
H A Dtest_08_caddy.py90 count = 50
104 count = 20
110 r.check_response(count=count, http_status=200)
127 count = 40
143 count = 20
162 count = 50
168 r.check_response(count=count, http_status=200)
189 r.check_stats(count=count, http_status=200, exitcode=0)
202 count = 1
208 r.check_response(count=count, http_status=200)
[all …]
H A Dtest_19_shutdown.py64 r.check_response(http_status=200, count=2)
82 r.check_response(http_status=200, count=2)
91 count = 10
99 r.check_response(http_status=200, count=count)
102 assert len(shutdowns) == count, f'{shutdowns}'
110 count = 10
133 count = 10
146 r.check_response(http_status=200, count=count)
150 assert len(closings) == count, f'{closings}'
154 assert len(removes) == count, f'{removes}'
[all …]
H A Dscorecard.py136 sample_size = count
137 count = 1
156 'count': count,
185 'count': count,
233 if count > 1:
234 props['serial'] = self.transfer_serial(url=url, count=count)
235 props['parallel'] = self.transfer_parallel(url=url, count=count)
245 scores[label] = self.download_url(label=label, url=url, count=count)
263 count = 1
355 if count > 1:
[all …]
H A Dtest_16_info.py58 count = 2
62 r.check_stats(count=count, http_status=200, exitcode=0,
73 count = 2
79 r.check_stats(count=count, http_status=200, exitcode=0,
89 count = 2
98 r.check_response(count=count, http_status=200)
99 r.check_stats(count=count, http_status=200, exitcode=0,
108 count = 2
112 r.check_stats(count=count, http_status=200, exitcode=0,
H A Dtest_04_stuttered.py54 count = 1
60 r.check_response(count=1, http_status=200)
70 count = 50
79 r.check_response(count=warmups+count, http_status=200)
92 count = 50
101 r.check_response(count=warmups+count, http_status=200)
114 count = 50
123 r.check_response(count=warmups+count, http_status=200)
H A Dtest_18_methods.py54 count = 1
58 r.check_stats(count=count, http_status=204, exitcode=0)
66 count = 1
71 r.check_stats(count=count, http_status=204, exitcode=0)
H A Dtest_05_errors.py55 count = 1
78 count = 20
87 assert len(r.stats) == count, f'did not get all stats: {r}'
101 r.check_response(http_status=200, count=1)
106 r.check_response(http_status=200, count=1)
123 count = 10 if proto == 'h2' else 1
137 r.check_response(http_status=200, count=count)
H A Dtest_10_proxy.py67 r.check_response(count=1, http_status=200)
81 r.check_response(count=1, http_status=200,
98 count = fcount
105 r.check_response(count=count, http_status=200,
108 for i in range(count):
181 count = fcount
187 r.check_response(count=count, http_status=200,
192 for i in range(count):
211 count = fcount
220 r.check_response(count=count, http_status=200)
[all …]
H A Dtest_06_eyeballs.py51 r.check_response(count=1, http_status=200)
70 r.check_response(count=1, http_status=200)
80 r.check_response(count=1, http_status=200)
88 r.check_response(count=1, http_status=200)
99 r.check_response(count=1, http_status=0, exitcode=False)
110 r.check_response(count=1, http_status=None, exitcode=False)
H A Dtest_13_proxy_auth.py66 r.check_response(count=1, http_status=407)
76 r.check_response(count=1, http_status=200)
87 r.check_response(count=1, http_status=407)
99 r.check_response(count=1, http_status=200)
117 r.check_response(count=1, http_status=200)
151 r.check_response(count=1, http_status=200,
/curl/tests/libtest/
H A Dlib1947.c41 int count = 0; in test() local
64 h = curl_easy_nextheader(curl, origins, count, NULL); in test()
66 count++; in test()
68 printf("count = %u\n", count); in test()
80 count = 0; in test()
82 h = curl_easy_nextheader(curl, origins, count, NULL); in test()
84 count++; in test()
86 printf("count = %u\n", count); in test()
H A Dlib582.c36 int count; /* number of sockets actually stored in array */ member
54 for(i = 0; i < sockets->count; ++i) { in removeFd()
56 if(i < sockets->count - 1) in removeFd()
58 sizeof(curl_socket_t) * (sockets->count - (i + 1))); in removeFd()
59 --sockets->count; in removeFd()
84 else if(sockets->count >= sockets->max_count) { in addFd()
92 sockets->sockets[sockets->count] = fd; in addFd()
93 ++sockets->count; in addFd()
188 for(i = 0; i < sockets->count; ++i) { in updateFdSet()
214 for(i = 0; i < sockets->count; ++i) { in checkFdSet()
H A Dlib530.c43 int count; /* number of sockets actually stored in array */ member
61 for(i = 0; i < sockets->count; ++i) { in removeFd()
63 if(i < sockets->count - 1) in removeFd()
65 sizeof(curl_socket_t) * (sockets->count - (i + 1))); in removeFd()
66 --sockets->count; in removeFd()
92 else if(sockets->count + 1 > sockets->max_count) { in addFd()
104 sockets->sockets[sockets->count] = fd; in addFd()
105 ++sockets->count; in addFd()
220 for(i = 0; i < sockets->count; ++i) { in updateFdSet()
249 for(i = 0; i < sockets->count; ++i) { in checkFdSet()
/curl/lib/
H A Dwarnless.h66 ssize_t curlx_read(int fd, void *buf, size_t count);
68 ssize_t curlx_write(int fd, const void *buf, size_t count);
79 #define read(fd, buf, count) curlx_read(fd, buf, count) argument
81 #define write(fd, buf, count) curlx_write(fd, buf, count) argument
H A Dtimeval.c37 LARGE_INTEGER count; in Curl_now() local
38 QueryPerformanceCounter(&count); in Curl_now()
39 now.tv_sec = (time_t)(count.QuadPart / Curl_freq.QuadPart); in Curl_now()
40 now.tv_usec = (int)((count.QuadPart % Curl_freq.QuadPart) * 1000000 / in Curl_now()
/curl/.github/scripts/
H A Dverify-examples.pl94 my $count;
102 $count++;
105 print "Verified $count man pages ok\n";
/curl/tests/unit/
H A Dunit1309.c44 int count; in splayprint() local
58 for(count = 0, node = t->samen; node != t; node = node->samen, count++) in splayprint()
62 if(count) in splayprint()
63 printf(" [%d more]\n", count); in splayprint()
/curl/src/
H A Dtool_util.c42 LARGE_INTEGER count; in tvnow() local
43 QueryPerformanceCounter(&count); in tvnow()
44 now.tv_sec = (long)(count.QuadPart / tool_freq.QuadPart); in tvnow()
45 now.tv_usec = (long)((count.QuadPart % tool_freq.QuadPart) * 1000000 / in tvnow()
/curl/tests/data/
H A Dtest22926 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --ftp-account "one count"
35 ACCT one count

Completed in 54 milliseconds

123