Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for parseIPv4Slow (0.16 sec)

  1. src/net/netip/slow_test.go

    	}
    
    	return s, nil
    }
    
    // parseIPv4Slow parses and returns an IPv4 address in dotted quad
    // form, e.g. "192.168.0.1". It is slow but easy to read, and the
    // reference implementation against which we compare faster
    // implementations for correctness.
    func parseIPv4Slow(s string) (Addr, error) {
    	fs := strings.Split(s, ".")
    	if len(fs) != 4 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top