mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 05:42:25 -05:00 
			
		
		
		
	[chore] update go dependencies (#4304)
- github.com/KimMachineGun/automemlimit v0.7.2 => v0.7.3
- github.com/gin-contrib/cors v1.7.5 => v1.7.6
- github.com/minio/minio-go/v7 v7.0.92 => v7.0.94
- github.com/spf13/cast v1.8.0 => v1.9.2
- github.com/uptrace/bun{,/*} v1.2.11 => v1.2.14
- golang.org/x/image v0.27.0 => v0.28.0
- golang.org/x/net v0.40.0 => v0.41.0
- code.superseriousbusiness.org/go-swagger v0.31.0-gts-go1.23-fix => v0.32.3-gts-go1.23-fix
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4304
Co-authored-by: kim <grufwub@gmail.com>
Co-committed-by: kim <grufwub@gmail.com>
	
	
This commit is contained in:
		
					parent
					
						
							
								7712885038
							
						
					
				
			
			
				commit
				
					
						8b0ea56027
					
				
			
		
					 294 changed files with 139999 additions and 21873 deletions
				
			
		
							
								
								
									
										13
									
								
								vendor/github.com/bytedance/sonic/internal/encoder/alg/mapiter.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								vendor/github.com/bytedance/sonic/internal/encoder/alg/mapiter.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -97,17 +97,18 @@ func (self *MapIterator) append(t *rt.GoType, k unsafe.Pointer, v unsafe.Pointer | |||
| 
 | ||||
| func (self *MapIterator) appendGeneric(p *_MapPair, t *rt.GoType, v reflect.Kind, k unsafe.Pointer) error { | ||||
|     switch v { | ||||
|         case reflect.Int       : p.k = rt.Mem2Str(strconv.AppendInt(p.m[:0], int64(*(*int)(k)), 10))      ; return nil | ||||
|         case reflect.Int8      : p.k = rt.Mem2Str(strconv.AppendInt(p.m[:0], int64(*(*int8)(k)), 10))     ; return nil | ||||
|         case reflect.Int16     : p.k = rt.Mem2Str(strconv.AppendInt(p.m[:0], int64(*(*int16)(k)), 10))    ; return nil | ||||
|         case reflect.Int32     : p.k = rt.Mem2Str(strconv.AppendInt(p.m[:0], int64(*(*int32)(k)), 10))    ; return nil | ||||
|         case reflect.Int64     : p.k = rt.Mem2Str(strconv.AppendInt(p.m[:0], int64(*(*int64)(k)), 10))           ; return nil | ||||
|         case reflect.Int       : p.k = rt.Mem2Str(strconv.AppendInt(p.m[:0], int64(*(*int)(k)), 10))       ; return nil | ||||
|         case reflect.Int8      : p.k = rt.Mem2Str(strconv.AppendInt(p.m[:0], int64(*(*int8)(k)), 10))      ; return nil | ||||
|         case reflect.Int16     : p.k = rt.Mem2Str(strconv.AppendInt(p.m[:0], int64(*(*int16)(k)), 10))     ; return nil | ||||
|         case reflect.Int32     : p.k = rt.Mem2Str(strconv.AppendInt(p.m[:0], int64(*(*int32)(k)), 10))     ; return nil | ||||
|         case reflect.Int64     : p.k = rt.Mem2Str(strconv.AppendInt(p.m[:0], int64(*(*int64)(k)), 10))     ; return nil | ||||
|         case reflect.Uint      : p.k = rt.Mem2Str(strconv.AppendUint(p.m[:0], uint64(*(*uint)(k)), 10))    ; return nil | ||||
|         case reflect.Uint8     : p.k = rt.Mem2Str(strconv.AppendUint(p.m[:0], uint64(*(*uint8)(k)), 10))   ; return nil | ||||
|         case reflect.Uint16    : p.k = rt.Mem2Str(strconv.AppendUint(p.m[:0], uint64(*(*uint16)(k)), 10))  ; return nil | ||||
|         case reflect.Uint32    : p.k = rt.Mem2Str(strconv.AppendUint(p.m[:0], uint64(*(*uint32)(k)), 10))  ; return nil | ||||
|         case reflect.Uint64    : p.k = rt.Mem2Str(strconv.AppendUint(p.m[:0], uint64(*(*uint64)(k)), 10))          ; return nil | ||||
|         case reflect.Uint64    : p.k = rt.Mem2Str(strconv.AppendUint(p.m[:0], uint64(*(*uint64)(k)), 10))  ; return nil | ||||
|         case reflect.Uintptr   : p.k = rt.Mem2Str(strconv.AppendUint(p.m[:0], uint64(*(*uintptr)(k)), 10)) ; return nil | ||||
|         case reflect.Bool      : if *(*bool)(k) { p.k = "true" } else { p.k = "false" }; return nil | ||||
|         case reflect.Interface : return self.appendInterface(p, t, k) | ||||
|         case reflect.Struct, reflect.Ptr : return self.appendConcrete(p, t, k) | ||||
|         default                : panic("unexpected map key type") | ||||
|  |  | |||
							
								
								
									
										18
									
								
								vendor/github.com/bytedance/sonic/internal/encoder/alg/spec.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								vendor/github.com/bytedance/sonic/internal/encoder/alg/spec.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -21,6 +21,7 @@ package alg | |||
| 
 | ||||
| import ( | ||||
| 	"runtime" | ||||
| 	"strconv" | ||||
| 	"unsafe" | ||||
| 
 | ||||
| 	"github.com/bytedance/sonic/internal/native" | ||||
|  | @ -177,22 +178,9 @@ func F32toa(buf []byte, v float32) ([]byte) { | |||
| } | ||||
| 
 | ||||
| func I64toa(buf []byte, v int64) ([]byte) { | ||||
| 	buf = rt.GuardSlice2(buf, 32) | ||||
| 	ret := native.I64toa((*byte)(rt.IndexByte(buf, len(buf))), v) | ||||
| 	if ret > 0 { | ||||
| 		return buf[:len(buf)+ret] | ||||
| 	} else { | ||||
| 		return buf | ||||
| 	} | ||||
| 	return strconv.AppendInt(buf, v, 10) | ||||
| } | ||||
| 
 | ||||
| func U64toa(buf []byte, v uint64) ([]byte) { | ||||
| 	buf = rt.GuardSlice2(buf, 32) | ||||
| 	ret := native.U64toa((*byte)(rt.IndexByte(buf, len(buf))), v) | ||||
| 	if ret > 0 { | ||||
| 		return buf[:len(buf)+ret] | ||||
| 	} else { | ||||
| 		return buf | ||||
| 	} | ||||
| 	return strconv.AppendUint(buf, v, 10) | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue