Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPrefixMasked (0.27 sec)

  1. src/net/netip/netip_test.go

    		}
    		u := tt.ip.Unmap()
    		if u != tt.wantUnmap {
    			t.Errorf("Unmap(%q) = %v; want %v", tt.ip, u, tt.wantUnmap)
    		}
    	}
    }
    
    func TestPrefixMasked(t *testing.T) {
    	tests := []struct {
    		prefix Prefix
    		masked Prefix
    	}{
    		{
    			prefix: mustPrefix("192.168.0.255/24"),
    			masked: mustPrefix("192.168.0.0/24"),
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
Back to top