Documentation ¶
Index ¶
- func ContainsString(data, target string) bool
- func ContainsStringByte(data []byte, target string) bool
- func ContainsStrings(data string, targets []string) bool
- func ContainsStringsByte(data []byte, targets []string) bool
- func ContainsWhichStrings(data string, target []string) []string
- func ContainsWhichStringsByte(data []byte, target []string) []string
- func LinearSearchInt(data []int, target int) int
- func LinearSearchParallelInt(data []int, target, thread int) int
- func LinearSearchParallelIntHelper(wg *sync.WaitGroup, data []int, target, i int, result []int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsString ¶ added in v0.0.18
ContainsString is delegated to verify if the given string is present in the data
func ContainsStringByte ¶ added in v0.0.18
ContainsStringByte is delegated to verify if the given string is present in the data
func ContainsStrings ¶ added in v0.0.18
ContainsStrings is delegated to verify if the given array of string are present in the data
func ContainsStringsByte ¶ added in v0.0.18
ContainsStringsByte is delegated to verify if the given array of string are present in the data
func ContainsWhichStrings ¶ added in v0.0.18
ContainsWhichStrings is delegated to verify which strings are present in the data
func ContainsWhichStringsByte ¶ added in v0.0.18
ContainsWhichStringsByte is delegated to verify which strings are present in the data
func LinearSearchInt ¶
LinearSearchInt is a simple for delegated to find the target value
func LinearSearchParallelInt ¶
LinearSearchParallelInt is delegated to parallelize the execution of search method
Types ¶
This section is empty.