MCPcopy Create free account

hub / github.com/daviddengcn/go-villa / functions

Functions264 in github.com/daviddengcn/go-villa

↓ 1 callersMethodPush
(x Data)
heap/heap_test.go:75
↓ 1 callersMethodReadByte
ReadByte implements io.ByteReader interface
byteslice.go:74
↓ 1 callersMethodReadFrom
ReadFrom implements io.ReaderFrom interface.
byteslice.go:97
↓ 1 callersMethodRemove
Remove removes the element at index i from the priority queue.
pq.go:85
↓ 1 callersMethodRemoveRange
RemoveRange removes all of the elements whose index is between from, inclusive, and to, exclusive, from this slice.
complexslice.go:41
↓ 1 callersMethodRemoveRange
RemoveRange removes all of the elements whose index is between from, inclusive, and to, exclusive, from this slice.
floatslice.go:41
↓ 1 callersMethodSet
Set stores the object into the box atomically
sync.go:55
↓ 1 callersMethodSkip
(n int64)
byteslice.go:49
↓ 1 callersMethodSwap
The Swap method in sort.Interface.
strslice.go:84
↓ 1 callersMethodSwap
The Swap method in sort.Interface.
intslice.go:49
↓ 1 callersMethodWriteByte
WriteByte implements io.ByteWriter interface
byteslice.go:85
↓ 1 callersMethodWriteTo
WriteTo implements io.WriterTo interface.
byteslice.go:123
↓ 1 callersFunctiontestFatal
()
log_test.go:7
MethodAbsPath
AbsPath returns the absolute path returned by Path.Abs() if no error found, panic otherwise.
path.go:65
FunctionBenchmarkComplexSliceInsert
(b *testing.B)
complexslice_test.go:90
FunctionBenchmarkComplexSliceInsertByAppend
(b *testing.B)
complexslice_test.go:101
FunctionBenchmarkComplexSliceInsertByCopy
(b *testing.B)
complexslice_test.go:111
FunctionBenchmarkFloatSliceInsert
(b *testing.B)
floatslice_test.go:64
FunctionBenchmarkFloatSliceInsertByAppend
(b *testing.B)
floatslice_test.go:74
FunctionBenchmarkFloatSliceInsertByCopy
(b *testing.B)
floatslice_test.go:84
FunctionBenchmarkIntSliceInsert
(b *testing.B)
intslice_test.go:109
FunctionBenchmarkIntSliceInsertByAppend
(b *testing.B)
intslice_test.go:119
FunctionBenchmarkIntSliceInsertByCopy
(b *testing.B)
intslice_test.go:129
FunctionBenchmarkSliceInsert
(b *testing.B)
slice_test.go:143
FunctionBenchmarkSliceInsertByAppend
(b *testing.B)
slice_test.go:153
FunctionBenchmarkSliceInsertByCopy
(b *testing.B)
slice_test.go:163
MethodBinarySearch
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
MethodBinarySearch
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
MethodBinarySearch
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
MethodBinarySearch
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
MethodClean
Clean is a wrapper to filepath.Clean. It returns the shortest path name equivalent to path by purely lexically processing.
path.go:98
MethodCommand
* wrapppers of exec package */ Command is a wrappter to exec.Command
path.go:324
MethodCreate
* 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
MethodDeepest
()
misc.go:71
FunctionDeepestNested
* DeepestNested returns the deepest nested error. If err is not *NestedError, it is directly returned. */
misc.go:89
MethodDir
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
MethodEquals
Equals returns true if a given slice has the same contents with the slice
strslice.go:133
MethodEquals
Equals returns true if a given slice has the same contents (with maximum error of epsilon) with the slice
complexslice.go:63
MethodEquals
Equals returns true if a given slice has the same contents (with maximum error of epsilon) with the slice
floatslice.go:63
MethodEquals
Equals returns true if a given slice has the same contents with the slice
intslice.go:83
FunctionError
Error is similar to fmt.Error with caller's position in the source
fmt.go:13
FunctionErrorN
ErrorN is similar to villa.Error with a specified line-pos depth. when n == 1, it is equivalent to villa.Error.
fmt.go:25
FunctionErrorf
Errorf is similar to fmt.Errorf with caller's position in the source
fmt.go:8
FunctionErrorfN
ErrorfN is similar to villa.Errorf with a specified line-pos depth. when n == 1, it is equivalent to villa.Errorf.
fmt.go:19
MethodEvalSymlinks
EvalSymlinks is a wrapper to filepath.EvalSymlinks
path.go:113
FunctionExampleIntSlice_direct
()
intslice_test.go:64
FunctionExampleIntSlice_typecnv
()
intslice_test.go:86
FunctionExampleSlice_direct
()
slice_test.go:54
FunctionExampleSlice_typecnv
()
slice_test.go:84
FunctionExampleStringSlice_direct
()
strslice_test.go:29
FunctionExampleStringSlice_typecnv
()
strslice_test.go:60
MethodExists
Exists checks whether the file exists
path.go:32
FunctionFatal
Fatalf is similar to log.Fatal with caller's position in the source
log.go:26
FunctionFatalf
Fatalf is similar to log.Fatalf with caller's position in the source
log.go:21
MethodFromSlash
FromSlash is a wrapper to filepath.FromSlash
path.go:124
FunctionInit
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
MethodIsAbs
IsAbs is a wrapper to filepath.IsAbs IsAbs returns true if the path is absolute.
path.go:131
MethodIsDir
IsDir returns true only if the path exists and indicates a directory
path.go:38
MethodLen
The Len method in sort.Interface.
cmp.go:77
MethodLen
The Len method in sort.Interface.
cmp.go:192
MethodLen
The Len method in sort.Interface.
cmp.go:272
MethodLen
The Len method in sort.Interface.
cmp.go:352
MethodLen
The Len method in sort.Interface.
cmp.go:430
MethodLess
The Less method in sort.Interface
cmp.go:82
MethodLess
The Less method in sort.Interface
cmp.go:197
MethodLess
The Less method in sort.Interface
cmp.go:277
MethodLess
The Less method in sort.Interface
cmp.go:357
MethodLess
The Less method in sort.Interface
cmp.go:435
MethodLess
The Less method in sort.Interface
pq.go:51
MethodMerge
Merge merges the current *sorted* elements with another *sorted* slice of elements. All elements should be sorted by the same comparator.
cmp.go:117
MethodMerge
Merge merges the current *sorted* elements with another *sorted* slice of elements. All elements should be sorted by the same comparator.
cmp.go:229
MethodMerge
Merge merges the current *sorted* elements with another *sorted* slice of elements. All elements should be sorted by the same comparator.
cmp.go:309
MethodMerge
(a, b []complex128)
cmp.go:387
MethodMessage
Message returns the messsage of this error
misc.go:40
MethodMessage
()
misc.go:63
MethodMkdir
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
MethodMkdirAll
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
MethodNested
Nested returns the nested error
misc.go:42
MethodNested
()
misc.go:67
FunctionNewPByteSlice
NewPByteSlice returns a *ByteSlice.
byteslice.go:23
FunctionNewStop
Create a Stop with buffer size 1
misc.go:25
MethodOpenFile
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
FunctionPaths
Paths returns an array of Path's given a list of strings.
path.go:16
MethodPop
Pop removes and returns the last element in the slice
strslice.go:115
MethodPop
Pop removes and returns the last element in the slice
complexslice.go:53
MethodPop
Pop removes and returns the last element in the slice
slice.go:115
MethodPop
Pop removes and returns the last element in the slice
floatslice.go:46
MethodPop
Pop removes and returns the last element in the slice
intslice.go:66
MethodReadDir
* 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
MethodReadFile
ReadFile is a wrappter to ioutil.ReadFile
path.go:298
MethodReaddir
Readdir opens and reads the directory at the path.
path.go:53
MethodRel
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
MethodRemove
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
MethodRemove
Remove removes the element at index i from the priority queue.
intpq.go:94
MethodRemoveAll
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
FunctionRemoveToLast
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
MethodRename
Rename is a wrappter to os.Rename
path.go:271
MethodS
S converts Path back to string. This is sometimes more concise than string(p)
path.go:48
MethodSort
Sort calls the build-in sort.Sort to sort data in the slice.
cmp.go:202
MethodSort
Sort calls the build-in sort.Sort to sort data in the slice.
cmp.go:282
← previousnext →101–200 of 264, ranked by callers