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 : sort.go
// Copyright 2013 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 import ( "bytes" "sort" ) const ( maxSortBuffer = 40960 maxSortEntries = 4096 ) type swapper interface { Swap(i, j int) } type sorter struct { buf *Buffer keys [][]byte src swapper } func (s *sorter) init(n int) { if s.buf == nil { s.buf = &Buffer{} s.buf.init() } if cap(s.keys) < n { s.keys = make([][]byte, n) } s.keys = s.keys[0:n] } func (s *sorter) sort(src swapper) { s.src = src sort.Sort(s) } func (s sorter) Len() int { return len(s.keys) } func (s sorter) Less(i, j int) bool { return bytes.Compare(s.keys[i], s.keys[j]) == -1 } func (s sorter) Swap(i, j int) { s.keys[i], s.keys[j] = s.keys[j], s.keys[i] s.src.Swap(i, j) } // A Lister can be sorted by Collator's Sort method. type Lister interface { Len() int Swap(i, j int) // Bytes returns the bytes of the text at index i. Bytes(i int) []byte } // Sort uses sort.Sort to sort the strings represented by x using the rules of c. func (c *Collator) Sort(x Lister) { n := x.Len() c.sorter.init(n) for i := 0; i < n; i++ { c.sorter.keys[i] = c.Key(c.sorter.buf, x.Bytes(i)) } c.sorter.sort(x) } // SortStrings uses sort.Sort to sort the strings in x using the rules of c. func (c *Collator) SortStrings(x []string) { c.sorter.init(len(x)) for i, s := range x { c.sorter.keys[i] = c.KeyFromString(c.sorter.buf, s) } c.sorter.sort(sort.StringSlice(x)) }
Close