Linux id-dci-web1412.main-hosting.eu 5.14.0-611.20.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jan 14 06:35:04 EST 2026 x86_64
LiteSpeed
: 2a02:4780:6:1512:0:19fc:adf1:2 | : 216.73.216.85
Cant Read [ /etc/named.conf ]
8.1.34
u435990001
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
opt /
go /
pkg /
mod /
golang.org /
x /
text@v0.14.0 /
width /
[ HOME SHELL ]
Name
Size
Permission
Action
common_test.go
2.49
KB
-r--r--r--
example_test.go
1.38
KB
-r--r--r--
gen.go
3.14
KB
-r--r--r--
gen_common.go
2.59
KB
-r--r--r--
gen_trieval.go
797
B
-r--r--r--
kind_string.go
787
B
-r--r--r--
runes_test.go
11.87
KB
-r--r--r--
tables10.0.0.go
74.25
KB
-r--r--r--
tables11.0.0.go
75.38
KB
-r--r--r--
tables12.0.0.go
76.71
KB
-r--r--r--
tables13.0.0.go
76.53
KB
-r--r--r--
tables15.0.0.go
76.76
KB
-r--r--r--
tables9.0.0.go
71.37
KB
-r--r--r--
tables_test.go
1.49
KB
-r--r--r--
transform.go
5.67
KB
-r--r--r--
transform_test.go
13.83
KB
-r--r--r--
trieval.go
698
B
-r--r--r--
width.go
6.46
KB
-r--r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : gen.go
// Copyright 2015 The Go 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 ignore // This program generates the trie for width operations. The generated table // includes width category information as well as the normalization mappings. package main import ( "bytes" "fmt" "io" "log" "math" "unicode/utf8" "golang.org/x/text/internal/gen" "golang.org/x/text/internal/triegen" ) // See gen_common.go for flags. func main() { gen.Init() genTables() genTests() gen.Repackage("gen_trieval.go", "trieval.go", "width") gen.Repackage("gen_common.go", "common_test.go", "width") } func genTables() { t := triegen.NewTrie("width") // fold and inverse mappings. See mapComment for a description of the format // of each entry. Add dummy value to make an index of 0 mean no mapping. inverse := [][4]byte{{}} mapping := map[[4]byte]int{[4]byte{}: 0} getWidthData(func(r rune, tag elem, alt rune) { idx := 0 if alt != 0 { var buf [4]byte buf[0] = byte(utf8.EncodeRune(buf[1:], alt)) s := string(r) buf[buf[0]] ^= s[len(s)-1] var ok bool if idx, ok = mapping[buf]; !ok { idx = len(mapping) if idx > math.MaxUint8 { log.Fatalf("Index %d does not fit in a byte.", idx) } mapping[buf] = idx inverse = append(inverse, buf) } } t.Insert(r, uint64(tag|elem(idx))) }) w := &bytes.Buffer{} gen.WriteUnicodeVersion(w) sz, err := t.Gen(w) if err != nil { log.Fatal(err) } sz += writeMappings(w, inverse) fmt.Fprintf(w, "// Total table size %d bytes (%dKiB)\n", sz, sz/1024) gen.WriteVersionedGoFile(*outputFile, "width", w.Bytes()) } const inverseDataComment = ` // inverseData contains 4-byte entries of the following format: // <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) // ... // 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 } // Using this entry to map U+FF21 (UTF-8 [EF BC A1]), we get // E0 ^ A1 = 41. // Similarly, for U+FF22 (UTF-8 [EF BC A2]), we get // E0 ^ A2 = 42. // Note that because of the xor-ing, the byte sequence stored in the entry is // not valid UTF-8.` func writeMappings(w io.Writer, data [][4]byte) int { fmt.Fprintln(w, inverseDataComment) fmt.Fprintf(w, "var inverseData = [%d][4]byte{\n", len(data)) for _, x := range data { fmt.Fprintf(w, "{ 0x%02x, 0x%02x, 0x%02x, 0x%02x },\n", x[0], x[1], x[2], x[3]) } fmt.Fprintln(w, "}") return len(data) * 4 } func genTests() { w := &bytes.Buffer{} fmt.Fprintf(w, "\nvar mapRunes = map[rune]struct{r rune; e elem}{\n") getWidthData(func(r rune, tag elem, alt rune) { if alt != 0 { fmt.Fprintf(w, "\t0x%X: {0x%X, 0x%X},\n", r, alt, tag) } }) fmt.Fprintln(w, "}") gen.WriteGoFile("runes_test.go", "width", w.Bytes()) }
Close