mirror of
				https://github.com/containers/podman.git
				synced 2025-10-31 10:00:01 +08:00 
			
		
		
		
	cgroupsns was not following containers.conf
Implement ParseCgroupsNamespace to handle defaults. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
		
							
								
								
									
										7
									
								
								vendor/github.com/klauspost/compress/zstd/enc_fast.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								vendor/github.com/klauspost/compress/zstd/enc_fast.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -25,7 +25,6 @@ type tableEntry struct { | ||||
| } | ||||
|  | ||||
| type fastBase struct { | ||||
| 	o encParams | ||||
| 	// cur is the offset at the start of hist | ||||
| 	cur int32 | ||||
| 	// maximum offset. Should be at least 2x block size. | ||||
| @ -117,11 +116,7 @@ func (e *fastEncoder) Encode(blk *blockEnc, src []byte) { | ||||
| 	sLimit := int32(len(src)) - inputMargin | ||||
| 	// stepSize is the number of bytes to skip on every main loop iteration. | ||||
| 	// It should be >= 2. | ||||
| 	stepSize := int32(e.o.targetLength) | ||||
| 	if stepSize == 0 { | ||||
| 		stepSize++ | ||||
| 	} | ||||
| 	stepSize++ | ||||
| 	const stepSize = 2 | ||||
|  | ||||
| 	// TEMPLATE | ||||
| 	const hashLog = tableBits | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Daniel J Walsh
					Daniel J Walsh