Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for generic (0.13 sec)

  1. src/bytes/bytes.go

    					return i
    				}
    				continue
    			}
    		}
    		for _, ch := range chars {
    			if r == ch {
    				return i
    			}
    		}
    	}
    	return -1
    }
    
    // Generic split: splits after each instance of sep,
    // including sepSave bytes of sep in the subslices.
    func genSplit(s, sep []byte, sepSave, n int) [][]byte {
    	if n == 0 {
    		return nil
    	}
    	if len(sep) == 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
Back to top