Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Remainder (0.04 sec)

  1. src/archive/tar/strconv.go

    }
    
    // parsePAXRecord parses the input PAX record string into a key-value pair.
    // If parsing is successful, it will slice off the currently read record and
    // return the remainder as r.
    func parsePAXRecord(s string) (k, v, r string, err error) {
    	// The size field ends at the first space.
    	nStr, rest, ok := strings.Cut(s, " ")
    	if !ok {
    		return "", "", s, ErrHeader
    	}
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    // If sep is empty, SplitN splits after each UTF-8 sequence.
    // The count determines the number of subslices to return:
    //   - n > 0: at most n subslices; the last subslice will be the unsplit remainder;
    //   - n == 0: the result is nil (zero subslices);
    //   - n < 0: all subslices.
    //
    // To split around the first instance of a separator, see [Cut].
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
Back to top