mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-11-01 01:42:25 -05:00 
			
		
		
		
	bump modernc.org/sqlite to v1.35.0-concurrency-workaround (#3797)
This commit is contained in:
		
					parent
					
						
							
								879ca2d2f8
							
						
					
				
			
			
				commit
				
					
						ebbdeee0bb
					
				
			
		
					 114 changed files with 891873 additions and 192475 deletions
				
			
		
							
								
								
									
										24
									
								
								vendor/modernc.org/libc/builtin64.go
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								vendor/modernc.org/libc/builtin64.go
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,24 @@ | |||
| // Copyright 2024 The Libc Authors. All rights reserved. | ||||
| // Use of this source code is governed by a BSD-style | ||||
| // license that can be found in the LICENSE file. | ||||
| 
 | ||||
| //go:build linux && (amd64 || arm64 || loong64 || ppc64le || s390x || riscv64) | ||||
| 
 | ||||
| package libc // import "modernc.org/libc" | ||||
| 
 | ||||
| import ( | ||||
| 	mbits "math/bits" | ||||
| ) | ||||
| 
 | ||||
| func X__builtin_ctzl(tls *TLS, x ulong) int32 { | ||||
| 	return int32(mbits.TrailingZeros64(x)) | ||||
| } | ||||
| 
 | ||||
| func X__builtin_clzl(t *TLS, n ulong) int32 { | ||||
| 	return int32(mbits.LeadingZeros64(n)) | ||||
| } | ||||
| 
 | ||||
| // int __builtin_popcountl (unsigned long x) | ||||
| func X__builtin_popcountl(t *TLS, x ulong) int32 { | ||||
| 	return int32(mbits.OnesCount64(x)) | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue