| CARVIEW |
Select Language
HTTP/2 200
date: Tue, 30 Dec 2025 12:03:15 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/vlang/v.git
etag: W/"010fc868baa2bfa950f534b03ded60a4"
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 github.githubassets.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 wss://alive-staging.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 marketplace-screenshots.githubusercontent.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 github.githubassets.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=otl5iMo8ZkEzxvxWHWRJcuVdtNI4Go0N05MwLcynHZxO%2BX4IJJ3DVL4elKf8l9ky3K5a%2BaI2hOmN4hGvjg26JijWNQ6D%2B1l4fqesfkVTOarVxAGtbpMXLP3pEGKPuUsE5tu1Ani8EsdoZgS%2BBw%2BPbO1Bkptsnpgbeu4RkeDllq7jesdvc4cPya%2BDP8bpyjwapS2IhW2cgoRd3PMPuP6dXlirMe%2FbI94jv1qQHRKTsq5rMH3Sej3U%2Fq2GFmTJjS1m72Q%2FoGoGEFib8xd24olpIw%3D%3D--0XMePKTS8YAyr%2F%2BY--Gf8cZc2rgquydRV6VBooBQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.305303254.1767096194; Path=/; Domain=github.com; Expires=Wed, 30 Dec 2026 12:03:14 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 30 Dec 2026 12:03:14 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: DE98:223E62:931491:A09976:6953BF82
sync.stdatomic: fix bug with add() and sub() returning the new values… · vlang/v@0c495d0 · GitHub
Copy file name to clipboardExpand all lines: thirdparty/stdatomic/nix/atomic.h
Copy file name to clipboardExpand all lines: thirdparty/stdatomic/win/atomic.h
Copy file name to clipboardExpand all lines: vlib/sync/stdatomic/atomic.c.v
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit 0c495d0
File tree
Expand file treeCollapse file tree
5 files changed
+321
-91
lines changedOpen diff view settings
Filter options
- thirdparty/stdatomic
- nix
- win
- vlib
- sync/stdatomic
- v/checker/tests
Expand file treeCollapse file tree
5 files changed
+321
-91
lines changedOpen diff view settings
Collapse file
thirdparty/stdatomic/nix/atomic.h
Copy file name to clipboardExpand all lines: thirdparty/stdatomic/nix/atomic.h+20-20Lines changed: 20 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
693 | 693 | | |
694 | 694 | | |
695 | 695 | | |
696 | | - | |
697 | | - | |
| 696 | + | |
| 697 | + | |
698 | 698 | | |
699 | | - | |
700 | | - | |
| 699 | + | |
| 700 | + | |
701 | 701 | | |
702 | | - | |
703 | | - | |
| 702 | + | |
| 703 | + | |
704 | 704 | | |
705 | | - | |
706 | | - | |
| 705 | + | |
| 706 | + | |
707 | 707 | | |
708 | | - | |
709 | | - | |
| 708 | + | |
| 709 | + | |
710 | 710 | | |
711 | | - | |
712 | | - | |
| 711 | + | |
| 712 | + | |
713 | 713 | | |
714 | | - | |
715 | | - | |
| 714 | + | |
| 715 | + | |
716 | 716 | | |
717 | | - | |
718 | | - | |
| 717 | + | |
| 718 | + | |
719 | 719 | | |
720 | | - | |
721 | | - | |
| 720 | + | |
| 721 | + | |
722 | 722 | | |
723 | | - | |
724 | | - | |
| 723 | + | |
| 724 | + | |
725 | 725 | | |
726 | 726 | | |
727 | 727 | | |
| |||
Collapse file
thirdparty/stdatomic/win/atomic.h
Copy file name to clipboardExpand all lines: thirdparty/stdatomic/win/atomic.h+23Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| 297 | + | |
297 | 298 | | |
298 | 299 | | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
299 | 311 | | |
300 | 312 | | |
301 | 313 | | |
| |||
385 | 397 | | |
386 | 398 | | |
387 | 399 | | |
| 400 | + | |
388 | 401 | | |
389 | 402 | | |
390 | 403 | | |
391 | 404 | | |
392 | 405 | | |
393 | 406 | | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
394 | 417 | | |
395 | 418 | | |
396 | 419 | | |
| |||
Collapse file
vlib/sync/stdatomic/atomic.c.v
Copy file name to clipboardExpand all lines: vlib/sync/stdatomic/atomic.c.v+166-42Lines changed: 166 additions & 42 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | 72 | | |
75 | 73 | | |
76 | 74 | | |
| |||
79 | 77 | | |
80 | 78 | | |
81 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
82 | 84 | | |
83 | | - | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| |||
99 | 101 | | |
100 | 102 | | |
101 | 103 | | |
102 | | - | |
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
109 | | - | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
115 | 122 | | |
116 | 123 | | |
117 | 124 | | |
| |||
120 | 127 | | |
121 | 128 | | |
122 | 129 | | |
123 | | - | |
| 130 | + | |
124 | 131 | | |
125 | | - | |
| 132 | + | |
126 | 133 | | |
127 | | - | |
| 134 | + | |
128 | 135 | | |
129 | | - | |
| 136 | + | |
130 | 137 | | |
131 | | - | |
| 138 | + | |
132 | 139 | | |
133 | | - | |
134 | 140 | | |
135 | | - | |
| 141 | + | |
136 | 142 | | |
137 | | - | |
| 143 | + | |
138 | 144 | | |
139 | 145 | | |
140 | | - | |
141 | 146 | | |
142 | | - | |
| 147 | + | |
143 | 148 | | |
144 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
145 | 157 | | |
146 | 158 | | |
147 | 159 | | |
148 | 160 | | |
149 | | - | |
| 161 | + | |
150 | 162 | | |
151 | 163 | | |
152 | 164 | | |
153 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
154 | 168 | | |
155 | | - | |
| 169 | + | |
| 170 | + | |
156 | 171 | | |
157 | | - | |
| 172 | + | |
| 173 | + | |
158 | 174 | | |
159 | | - | |
| 175 | + | |
| 176 | + | |
160 | 177 | | |
161 | | - | |
| 178 | + | |
| 179 | + | |
162 | 180 | | |
163 | | - | |
164 | 181 | | |
165 | | - | |
| 182 | + | |
| 183 | + | |
166 | 184 | | |
167 | | - | |
| 185 | + | |
| 186 | + | |
168 | 187 | | |
169 | 188 | | |
170 | | - | |
171 | 189 | | |
172 | | - | |
| 190 | + | |
| 191 | + | |
173 | 192 | | |
174 | | - | |
| 193 | + | |
| 194 | + | |
175 | 195 | | |
176 | 196 | | |
177 | | - | |
| 197 | + | |
178 | 198 | | |
179 | 199 | | |
180 | | - | |
| 200 | + | |
181 | 201 | | |
182 | 202 | | |
183 | 203 | | |
184 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
185 | 207 | | |
186 | | - | |
| 208 | + | |
| 209 | + | |
187 | 210 | | |
188 | | - | |
| 211 | + | |
| 212 | + | |
189 | 213 | | |
190 | | - | |
| 214 | + | |
| 215 | + | |
191 | 216 | | |
192 | | - | |
| 217 | + | |
| 218 | + | |
193 | 219 | | |
194 | | - | |
195 | 220 | | |
196 | | - | |
| 221 | + | |
| 222 | + | |
197 | 223 | | |
198 | | - | |
| 224 | + | |
| 225 | + | |
199 | 226 | | |
200 | 227 | | |
201 | | - | |
202 | 228 | | |
203 | | - | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
204 | 261 | | |
205 | | - | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
206 | 330 | | |
207 | 331 | | |
208 | | - | |
| 332 | + | |
209 | 333 | | |
You can’t perform that action at this time.
0 commit comments