CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 12:54:59 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/alibaba/sentinel-golang.git
etag: W/"349a14ebbb939ed685d55e43eab08ada"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=O4BeJhe0OgXuKLc8eNMVEZdJ78JyAsf1t3D9TQ9usLWWWMEWdNOut2uR2LKmFgGwetGvFkfI6plEa3JnRaKN0CrXqSjeOm4uCP8VY7m6pE%2F5OG7xHmGQQQHxDzFjYtk70FFlnG58NCbM%2F%2BTfU3P%2BwVHIMFBRk9vHUVF8%2FxtqyiR7LKOTzNE%2BR5d4sZ%2BuVK5NrRzwEPpeFKCuqWMUKg6YYV%2BnvRUkDX01V3rdgDrqApsddEdPGDuL6e6CGjF%2BM9hjZew7ItZjDQ6TvUHq62rCPg%3D%3D--2%2Bz4z6maM4d%2FSqT2--nZKJ5eVXDWt%2BXgAMfgwwig%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.17071558.1753620899; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 12:54:59 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 12:54:59 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BB42:3467EF:E560D5:12E0EA6:688621A3
Using sync.Pool to optimize TokenResult creation (#137) (#142) · alibaba/sentinel-golang@975debd · GitHub
Copy file name to clipboard
Copy file name to clipboardExpand all lines: core/circuit_breaker/slot.go
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 445
Commit 975debd
File tree
Expand file treeCollapse file tree
8 files changed
+101
-18
lines changedFilter options
- api
- core
- base
- circuit_breaker
- flow
Expand file treeCollapse file tree
8 files changed
+101
-18
lines changed+8-2Lines changed: 8 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
90 | 97 |
| |
91 | 98 |
| |
92 | 99 |
| |
| |||
104 | 111 |
| |
105 | 112 |
| |
106 | 113 |
| |
107 |
| - | |
108 |
| - | |
| 114 | + | |
109 | 115 |
| |
110 | 116 |
| |
111 | 117 |
| |
|
+38-12Lines changed: 38 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| 5 | + | |
5 | 6 |
| |
6 | 7 |
| |
7 | 8 |
| |
| |||
13 | 14 |
| |
14 | 15 |
| |
15 | 16 |
| |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
16 | 23 |
| |
17 | 24 |
| |
18 | 25 |
| |
| |||
73 | 80 |
| |
74 | 81 |
| |
75 | 82 |
| |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
76 | 91 |
| |
77 |
| - | |
| 92 | + | |
78 | 93 |
| |
79 | 94 |
| |
80 | 95 |
| |
81 |
| - | |
82 |
| - | |
83 |
| - | |
84 |
| - | |
85 |
| - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
86 | 100 |
| |
87 | 101 |
| |
88 | 102 |
| |
89 |
| - | |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
94 | 107 |
| |
95 | 108 |
| |
96 | 109 |
| |
97 |
| - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
98 | 124 |
|
core/base/result_test.go
Copy file name to clipboard+29Lines changed: 29 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + |
+9-3Lines changed: 9 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
136 | 136 |
| |
137 | 137 |
| |
138 | 138 |
| |
139 |
| - | |
| 139 | + | |
140 | 140 |
| |
141 | 141 |
| |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
142 | 146 |
| |
143 |
| - | |
| 147 | + | |
144 | 148 |
| |
145 | 149 |
| |
146 |
| - | |
147 | 150 |
| |
148 | 151 |
| |
149 | 152 |
| |
150 | 153 |
| |
151 | 154 |
| |
152 | 155 |
| |
| 156 | + | |
| 157 | + | |
| 158 | + | |
153 | 159 |
| |
154 | 160 |
| |
155 | 161 |
| |
|
core/circuit_breaker/slot.go
Copy file name to clipboardExpand all lines: core/circuit_breaker/slot.go+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
| 32 | + | |
32 | 33 |
| |
33 | 34 |
| |
| 35 | + | |
34 | 36 |
| |
35 | 37 |
| |
36 | 38 |
|
+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
| 36 | + | |
36 | 37 |
| |
37 | 38 |
| |
| 39 | + | |
38 | 40 |
| |
39 | 41 |
| |
40 | 42 |
| |
|
+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
13 | 12 |
| |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| 18 | + | |
18 | 19 |
| |
19 | 20 |
| |
20 | 21 |
|
+11Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
340 | 340 |
| |
341 | 341 |
| |
342 | 342 |
| |
| 343 | + | |
343 | 344 |
| |
344 | 345 |
| |
345 | 346 |
| |
| |||
360 | 361 |
| |
361 | 362 |
| |
362 | 363 |
| |
| 364 | + | |
363 | 365 |
| |
364 | 366 |
| |
365 | 367 |
| |
366 | 368 |
| |
367 | 369 |
| |
368 | 370 |
| |
369 | 371 |
| |
| 372 | + | |
| 373 | + | |
370 | 374 |
| |
371 | 375 |
| |
372 | 376 |
| |
| |||
388 | 392 |
| |
389 | 393 |
| |
390 | 394 |
| |
| 395 | + | |
391 | 396 |
| |
392 | 397 |
| |
393 | 398 |
| |
| |||
422 | 427 |
| |
423 | 428 |
| |
424 | 429 |
| |
| 430 | + | |
| 431 | + | |
| 432 | + | |
425 | 433 |
| |
| 434 | + | |
| 435 | + | |
| 436 | + | |
426 | 437 |
| |
427 | 438 |
| |
428 | 439 |
| |
|
You can’t perform that action at this time.
0 commit comments