mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 14:32:24 -05:00 
			
		
		
		
	Bump golang.org/x/text from 0.3.7 to 0.4.0 (#981)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.4.0. - [Release notes](https://github.com/golang/text/releases) - [Commits](https://github.com/golang/text/compare/v0.3.7...v0.4.0) --- updated-dependencies: - dependency-name: golang.org/x/text dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> 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
					
						
							
								1a23fb0dc9
							
						
					
				
			
			
				commit
				
					
						1638470388
					
				
			
		
					 27 changed files with 649 additions and 636 deletions
				
			
		
							
								
								
									
										24
									
								
								vendor/golang.org/x/text/width/tables13.0.0.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										24
									
								
								vendor/golang.org/x/text/width/tables13.0.0.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -1179,21 +1179,31 @@ var widthIndex = [1408]uint8{ | |||
| } | ||||
| 
 | ||||
| // inverseData contains 4-byte entries of the following format: | ||||
| //   <length> <modified UTF-8-encoded rune> <0 padding> | ||||
| // | ||||
| //	<length> <modified UTF-8-encoded rune> <0 padding> | ||||
| // | ||||
| // The last byte of the UTF-8-encoded rune is xor-ed with the last byte of the | ||||
| // UTF-8 encoding of the original rune. Mappings often have the following | ||||
| // pattern: | ||||
| //   A -> A  (U+FF21 -> U+0041) | ||||
| //   B -> B  (U+FF22 -> U+0042) | ||||
| //   ... | ||||
| // | ||||
| //	A -> A  (U+FF21 -> U+0041) | ||||
| //	B -> B  (U+FF22 -> U+0042) | ||||
| //	... | ||||
| // | ||||
| // By xor-ing the last byte the same entry can be shared by many mappings. This | ||||
| // reduces the total number of distinct entries by about two thirds. | ||||
| // The resulting entry for the aforementioned mappings is | ||||
| //   { 0x01, 0xE0, 0x00, 0x00 } | ||||
| // | ||||
| //	{ 0x01, 0xE0, 0x00, 0x00 } | ||||
| // | ||||
| // Using this entry to map U+FF21 (UTF-8 [EF BC A1]), we get | ||||
| //   E0 ^ A1 = 41. | ||||
| // | ||||
| //	E0 ^ A1 = 41. | ||||
| // | ||||
| // Similarly, for U+FF22 (UTF-8 [EF BC A2]), we get | ||||
| //   E0 ^ A2 = 42. | ||||
| // | ||||
| //	E0 ^ A2 = 42. | ||||
| // | ||||
| // Note that because of the xor-ing, the byte sequence stored in the entry is | ||||
| // not valid UTF-8. | ||||
| var inverseData = [150][4]byte{ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue