Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/daviddengcn/go-villa
/ functions
Functions
264 in github.com/daviddengcn/go-villa
⨍
Functions
264
◇
Types & classes
34
↓ 1 callers
Method
Push
(x Data)
heap/heap_test.go:75
↓ 1 callers
Method
ReadByte
ReadByte implements io.ByteReader interface
byteslice.go:74
↓ 1 callers
Method
ReadFrom
ReadFrom implements io.ReaderFrom interface.
byteslice.go:97
↓ 1 callers
Method
Remove
Remove removes the element at index i from the priority queue.
pq.go:85
↓ 1 callers
Method
RemoveRange
RemoveRange removes all of the elements whose index is between from, inclusive, and to, exclusive, from this slice.
complexslice.go:41
↓ 1 callers
Method
RemoveRange
RemoveRange removes all of the elements whose index is between from, inclusive, and to, exclusive, from this slice.
floatslice.go:41
↓ 1 callers
Method
Set
Set stores the object into the box atomically
sync.go:55
↓ 1 callers
Method
Skip
(n int64)
byteslice.go:49
↓ 1 callers
Method
Swap
The Swap method in sort.Interface.
strslice.go:84
↓ 1 callers
Method
Swap
The Swap method in sort.Interface.
intslice.go:49
↓ 1 callers
Method
WriteByte
WriteByte implements io.ByteWriter interface
byteslice.go:85
↓ 1 callers
Method
WriteTo
WriteTo implements io.WriterTo interface.
byteslice.go:123
↓ 1 callers
Function
testFatal
()
log_test.go:7
Method
AbsPath
AbsPath returns the absolute path returned by Path.Abs() if no error found, panic otherwise.
path.go:65
Function
BenchmarkComplexSliceInsert
(b *testing.B)
complexslice_test.go:90
Function
BenchmarkComplexSliceInsertByAppend
(b *testing.B)
complexslice_test.go:101
Function
BenchmarkComplexSliceInsertByCopy
(b *testing.B)
complexslice_test.go:111
Function
BenchmarkFloatSliceInsert
(b *testing.B)
floatslice_test.go:64
Function
BenchmarkFloatSliceInsertByAppend
(b *testing.B)
floatslice_test.go:74
Function
BenchmarkFloatSliceInsertByCopy
(b *testing.B)
floatslice_test.go:84
Function
BenchmarkIntSliceInsert
(b *testing.B)
intslice_test.go:109
Function
BenchmarkIntSliceInsertByAppend
(b *testing.B)
intslice_test.go:119
Function
BenchmarkIntSliceInsertByCopy
(b *testing.B)
intslice_test.go:129
Function
BenchmarkSliceInsert
(b *testing.B)
slice_test.go:143
Function
BenchmarkSliceInsertByAppend
(b *testing.B)
slice_test.go:153
Function
BenchmarkSliceInsertByCopy
(b *testing.B)
slice_test.go:163
Method
BinarySearch
BinarySearch searchs a specified element e in a *sorted* list with binary search algorithm. If the list values are not sorted, the return values are u
cmp.go:141
Method
BinarySearch
BinarySearch searchs a specified element e in a *sorted* list with binary search algorithm. If the list values are not sorted, the return values are u
cmp.go:248
Method
BinarySearch
BinarySearch searchs a specified element e in a *sorted* list with binary search algorithm. If the list values are not sorted, the return values are u
cmp.go:328
Method
BinarySearch
BinarySearch searchs a specified element e in a *sorted* list with binary search algorithm. If the list values are not sorted, the return values are u
cmp.go:406
Method
Clean
Clean is a wrapper to filepath.Clean. It returns the shortest path name equivalent to path by purely lexically processing.
path.go:98
Method
Command
* wrapppers of exec package */ Command is a wrappter to exec.Command
path.go:324
Method
Create
* wrappers of os package */ Create is a wrapper to os.Create. It creates the named file mode 0666 (before umask), truncating it if it already exists
path.go:212
Method
Deepest
()
misc.go:71
Function
DeepestNested
* DeepestNested returns the deepest nested error. If err is not *NestedError, it is directly returned. */
misc.go:89
Method
Dir
Dir is a wrapper to filepath.Dir. It returns all but the last element of path, typically the path's directory. Trailing path separators are removed be
path.go:108
Method
Equals
Equals returns true if a given slice has the same contents with the slice
strslice.go:133
Method
Equals
Equals returns true if a given slice has the same contents (with maximum error of epsilon) with the slice
complexslice.go:63
Method
Equals
Equals returns true if a given slice has the same contents (with maximum error of epsilon) with the slice
floatslice.go:63
Method
Equals
Equals returns true if a given slice has the same contents with the slice
intslice.go:83
Function
Error
Error is similar to fmt.Error with caller's position in the source
fmt.go:13
Function
ErrorN
ErrorN is similar to villa.Error with a specified line-pos depth. when n == 1, it is equivalent to villa.Error.
fmt.go:25
Function
Errorf
Errorf is similar to fmt.Errorf with caller's position in the source
fmt.go:8
Function
ErrorfN
ErrorfN is similar to villa.Errorf with a specified line-pos depth. when n == 1, it is equivalent to villa.Errorf.
fmt.go:19
Method
EvalSymlinks
EvalSymlinks is a wrapper to filepath.EvalSymlinks
path.go:113
Function
ExampleIntSlice_direct
()
intslice_test.go:64
Function
ExampleIntSlice_typecnv
()
intslice_test.go:86
Function
ExampleSlice_direct
()
slice_test.go:54
Function
ExampleSlice_typecnv
()
slice_test.go:84
Function
ExampleStringSlice_direct
()
strslice_test.go:29
Function
ExampleStringSlice_typecnv
()
strslice_test.go:60
Method
Exists
Exists checks whether the file exists
path.go:32
Function
Fatal
Fatalf is similar to log.Fatal with caller's position in the source
log.go:26
Function
Fatalf
Fatalf is similar to log.Fatalf with caller's position in the source
log.go:21
Method
FromSlash
FromSlash is a wrapper to filepath.FromSlash
path.go:124
Function
Init
A non-empty heap must be initialized before any of the heap operations can be used. Init is idempotent with respect to the heap invariants and may be
heap/heap.go:35
Method
IsAbs
IsAbs is a wrapper to filepath.IsAbs IsAbs returns true if the path is absolute.
path.go:131
Method
IsDir
IsDir returns true only if the path exists and indicates a directory
path.go:38
Method
Len
The Len method in sort.Interface.
cmp.go:77
Method
Len
The Len method in sort.Interface.
cmp.go:192
Method
Len
The Len method in sort.Interface.
cmp.go:272
Method
Len
The Len method in sort.Interface.
cmp.go:352
Method
Len
The Len method in sort.Interface.
cmp.go:430
Method
Less
The Less method in sort.Interface
cmp.go:82
Method
Less
The Less method in sort.Interface
cmp.go:197
Method
Less
The Less method in sort.Interface
cmp.go:277
Method
Less
The Less method in sort.Interface
cmp.go:357
Method
Less
The Less method in sort.Interface
cmp.go:435
Method
Less
The Less method in sort.Interface
pq.go:51
Method
Merge
Merge merges the current *sorted* elements with another *sorted* slice of elements. All elements should be sorted by the same comparator.
cmp.go:117
Method
Merge
Merge merges the current *sorted* elements with another *sorted* slice of elements. All elements should be sorted by the same comparator.
cmp.go:229
Method
Merge
Merge merges the current *sorted* elements with another *sorted* slice of elements. All elements should be sorted by the same comparator.
cmp.go:309
Method
Merge
(a, b []complex128)
cmp.go:387
Method
Message
Message returns the messsage of this error
misc.go:40
Method
Message
()
misc.go:63
Method
Mkdir
Mkdir is a wrappter to os.Mkdir. It creates a new directory with the specified name and permission bits. If there is an error, it will be of type *Pa
path.go:240
Method
MkdirAll
MkdirAll is a wrappter to os.MkdirAll. It creates a directory named path, along with any necessary parents, and returns nil, or else returns an error
path.go:250
Method
Nested
Nested returns the nested error
misc.go:42
Method
Nested
()
misc.go:67
Function
NewPByteSlice
NewPByteSlice returns a *ByteSlice.
byteslice.go:23
Function
NewStop
Create a Stop with buffer size 1
misc.go:25
Method
OpenFile
OpenFile is a wrapper to os.OpenFile. It is the generalized open call; most users will use Open or Create instead. It opens the named file with speci
path.go:232
Function
Paths
Paths returns an array of Path's given a list of strings.
path.go:16
Method
Pop
Pop removes and returns the last element in the slice
strslice.go:115
Method
Pop
Pop removes and returns the last element in the slice
complexslice.go:53
Method
Pop
Pop removes and returns the last element in the slice
slice.go:115
Method
Pop
Pop removes and returns the last element in the slice
floatslice.go:46
Method
Pop
Pop removes and returns the last element in the slice
intslice.go:66
Method
ReadDir
* wrappers of ioutil package */ ReadDir is a wrappter to ioutil.ReadDir ReadDir reads the directory named by dirname and returns a list of sorted di
path.go:293
Method
ReadFile
ReadFile is a wrappter to ioutil.ReadFile
path.go:298
Method
Readdir
Readdir opens and reads the directory at the path.
path.go:53
Method
Rel
Rel is a wrapper to filepath.Rel. It returns a relative path that is lexically equivalent to targpath when joined to basepath with an intervening sepa
path.go:143
Method
Remove
Remove is a wrappter to os.Remove Remove removes the named file or directory. If there is an error, it will be of type *PathError.
path.go:258
Method
Remove
Remove removes the element at index i from the priority queue.
intpq.go:94
Method
RemoveAll
RemoveAll is a wrappter to os.RemoveAll RemoveAll removes path and any children it contains. It removes everything it can but returns the first error
path.go:266
Function
RemoveToLast
Remove removes the element at index i from the heap and place it at the last element of the heap. The complexity is O(log(n)) where n = h.Len(). NOT
heap/heap.go:72
Method
Rename
Rename is a wrappter to os.Rename
path.go:271
Method
S
S converts Path back to string. This is sometimes more concise than string(p)
path.go:48
Method
Sort
Sort calls the build-in sort.Sort to sort data in the slice.
cmp.go:202
Method
Sort
Sort calls the build-in sort.Sort to sort data in the slice.
cmp.go:282
← previous
next →
101–200 of 264, ranked by callers