mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-11-04 09:12:24 -06:00 
			
		
		
		
	[chore]: Bump github.com/gin-contrib/gzip from 1.0.1 to 1.1.0 (#3639)
Bumps [github.com/gin-contrib/gzip](https://github.com/gin-contrib/gzip) from 1.0.1 to 1.1.0. - [Release notes](https://github.com/gin-contrib/gzip/releases) - [Changelog](https://github.com/gin-contrib/gzip/blob/master/.goreleaser.yaml) - [Commits](https://github.com/gin-contrib/gzip/compare/v1.0.1...v1.1.0) --- updated-dependencies: - dependency-name: github.com/gin-contrib/gzip dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
		
					parent
					
						
							
								8cfae010a9
							
						
					
				
			
			
				commit
				
					
						4d423102c1
					
				
			
		
					 519 changed files with 156968 additions and 132058 deletions
				
			
		
							
								
								
									
										55
									
								
								vendor/github.com/bytedance/sonic/internal/rt/gcwb.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										55
									
								
								vendor/github.com/bytedance/sonic/internal/rt/gcwb.go
									
										
									
										generated
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -1,3 +1,5 @@
 | 
			
		|||
// +build go1.21
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright 2021 ByteDance Inc.
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			@ -17,13 +19,18 @@
 | 
			
		|||
package rt
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
    `os`
 | 
			
		||||
    `sync/atomic`
 | 
			
		||||
    `unsafe`
 | 
			
		||||
 | 
			
		||||
    `golang.org/x/arch/x86/x86asm`
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
//go:linkname GcWriteBarrier2 runtime.gcWriteBarrier2
 | 
			
		||||
func GcWriteBarrier2()
 | 
			
		||||
 | 
			
		||||
//go:linkname RuntimeWriteBarrier runtime.writeBarrier
 | 
			
		||||
var RuntimeWriteBarrier uintptr
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
    _MaxInstr = 15
 | 
			
		||||
)
 | 
			
		||||
| 
						 | 
				
			
			@ -76,49 +83,3 @@ func GcwbAddr() uintptr {
 | 
			
		|||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// StopProfiling is used to stop traceback introduced by SIGPROF while native code is running.
 | 
			
		||||
// WARN: this option is only a workaround for traceback issue (https://github.com/bytedance/sonic/issues/310),
 | 
			
		||||
// and will be dropped when the issue is fixed.
 | 
			
		||||
var StopProfiling = os.Getenv("SONIC_STOP_PROFILING") != ""
 | 
			
		||||
 | 
			
		||||
// WARN: must be aligned with runtime.Prof
 | 
			
		||||
// type Prof struct {
 | 
			
		||||
//     signalLock uint32
 | 
			
		||||
// 	hz int32
 | 
			
		||||
// }
 | 
			
		||||
 | 
			
		||||
var (
 | 
			
		||||
    // // go:linkname runtimeProf runtime.prof
 | 
			
		||||
    // runtimeProf Prof
 | 
			
		||||
 | 
			
		||||
    // count of native-C calls
 | 
			
		||||
    yieldCount uint32
 | 
			
		||||
 | 
			
		||||
    // previous value of runtimeProf.hz
 | 
			
		||||
    oldHz int32
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
//go:nosplit
 | 
			
		||||
func MoreStack(size uintptr)
 | 
			
		||||
 | 
			
		||||
func StopProf()
 | 
			
		||||
 | 
			
		||||
// func StopProf() {
 | 
			
		||||
//     atomic.AddUint32(&yieldCount, 1)
 | 
			
		||||
//     if runtimeProf.hz != 0 {
 | 
			
		||||
//         oldHz = runtimeProf.hz
 | 
			
		||||
//         runtimeProf.hz = 0
 | 
			
		||||
//     }
 | 
			
		||||
// }
 | 
			
		||||
 | 
			
		||||
func StartProf()
 | 
			
		||||
 | 
			
		||||
// func StartProf() {
 | 
			
		||||
//     atomic.AddUint32(&yieldCount, ^uint32(0))
 | 
			
		||||
//     if yieldCount == 0 && runtimeProf.hz == 0 {
 | 
			
		||||
//         if oldHz == 0 {
 | 
			
		||||
//             oldHz = 100
 | 
			
		||||
//         }
 | 
			
		||||
//         runtimeProf.hz = oldHz
 | 
			
		||||
//     }
 | 
			
		||||
// }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue