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 /
collate /
[ HOME SHELL ]
Name
Size
Permission
Action
build
[ DIR ]
dr-xr-xr-x
tools
[ DIR ]
dr-xr-xr-x
collate.go
9.38
KB
-r--r--r--
collate_test.go
13.85
KB
-r--r--r--
example_sort_test.go
986
B
-r--r--r--
examples_test.go
1.7
KB
-r--r--r--
export_test.go
1.08
KB
-r--r--r--
index.go
869
B
-r--r--r--
maketables.go
12.8
KB
-r--r--r--
option.go
6.32
KB
-r--r--r--
option_test.go
4.57
KB
-r--r--r--
reg_test.go
6.1
KB
-r--r--r--
sort.go
1.51
KB
-r--r--r--
sort_test.go
924
B
-r--r--r--
table_test.go
9.09
KB
-r--r--r--
tables.go
4.72
MB
-r--r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : examples_test.go
// Copyright 2021 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. package collate_test import ( "fmt" "golang.org/x/text/collate" "golang.org/x/text/language" ) func ExampleNew() { letters := []string{"ä", "å", "ö", "o", "a"} ec := collate.New(language.English) ec.SortStrings(letters) fmt.Printf("English Sorting: %v\n", letters) sc := collate.New(language.Swedish) sc.SortStrings(letters) fmt.Printf("Swedish Sorting: %v\n", letters) numbers := []string{"0", "11", "01", "2", "3", "23"} ec.SortStrings(numbers) fmt.Printf("Alphabetic Sorting: %v\n", numbers) nc := collate.New(language.English, collate.Numeric) nc.SortStrings(numbers) fmt.Printf("Numeric Sorting: %v\n", numbers) // Output: // English Sorting: [a å ä o ö] // Swedish Sorting: [a o å ä ö] // Alphabetic Sorting: [0 01 11 2 23 3] // Numeric Sorting: [0 01 2 3 11 23] } func ExampleCollator_SortStrings() { c := collate.New(language.English) words := []string{"meow", "woof", "bark", "moo"} c.SortStrings(words) fmt.Println(words) // Output: // [bark meow moo woof] } func ExampleCollator_CompareString() { c := collate.New(language.English) r := c.CompareString("meow", "woof") fmt.Println(r) r = c.CompareString("woof", "meow") fmt.Println(r) r = c.CompareString("meow", "meow") fmt.Println(r) // Output: // -1 // 1 // 0 } func ExampleCollator_Compare() { c := collate.New(language.English) r := c.Compare([]byte("meow"), []byte("woof")) fmt.Println(r) r = c.Compare([]byte("woof"), []byte("meow")) fmt.Println(r) r = c.Compare([]byte("meow"), []byte("meow")) fmt.Println(r) // Output: // -1 // 1 // 0 }
Close