/dports/www/yaws/yaws-2.0.6/applications/mail/src/ |
H A D | smtp.erl | 233 O1 = e(C1 bsr 2), 236 O4 = e(C3 band 16#3f), 244 O1 = e(C1 bsr 2), 246 O3 = e((C2 band 16#0f) bsl 2), 249 O1 = e(C1 bsr 2), 250 O2 = e((C1 band 16#03) bsl 4), 257 e(X) when X >= 0, X < 26 -> X + $A; function 258 e(X) when X >= 26, X < 52 -> X + $a - 26; function 260 e(62) -> $+; function 261 e(63) -> $/; function [all …]
|
/dports/sysutils/gomplate/gomplate-3.9.0/vendor/github.com/hashicorp/consul/agent/structs/ |
H A D | config_entry_gateways.go | 35 Port int member 130 if _, ok := declaredPorts[listener.Port]; ok { 131 return fmt.Errorf("port %d declared on two listeners", listener.Port) 133 declaredPorts[listener.Port] = true 140 return fmt.Errorf("No service declared for listener with port %d", listener.Port) 146 listener.Port) 366 Port int `json:",omitempty"` member 380 if g.Port == 0 { 391 addresses = append(addresses, fmt.Sprintf("%s:%d", h, g.Port)) 400 g.Port == o.Port && [all …]
|
/dports/net/tcpdump/tcpdump-4.99.1/tests/ |
H A D | lacp-ev.out | 6 System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 16 System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 26 System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 83 System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 113 System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 123 System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 133 System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 143 System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 156 System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 166 System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 [all …]
|
/dports/sysutils/consul/consul-1.10.3/agent/structs/ |
H A D | config_entry_gateways.go | 38 Port int member 147 if _, ok := declaredPorts[listener.Port]; ok { 148 return fmt.Errorf("port %d declared on two listeners", listener.Port) 150 declaredPorts[listener.Port] = true 157 return fmt.Errorf("No service declared for listener with port %d", listener.Port) 163 listener.Port) 177 return fmt.Errorf("Service name cannot be blank (listener on port %d)", listener.Port) 433 Port int `json:",omitempty"` member 447 if g.Port == 0 { 470 g.Port == o.Port && [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/hashicorp/consul/agent/structs/ |
H A D | config_entry_gateways.go | 38 Port int member 147 if _, ok := declaredPorts[listener.Port]; ok { 148 return fmt.Errorf("port %d declared on two listeners", listener.Port) 150 declaredPorts[listener.Port] = true 157 return fmt.Errorf("No service declared for listener with port %d", listener.Port) 163 listener.Port) 177 return fmt.Errorf("Service name cannot be blank (listener on port %d)", listener.Port) 433 Port int `json:",omitempty"` member 447 if g.Port == 0 { 470 g.Port == o.Port && [all …]
|
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/hashicorp/consul/agent/structs/ |
H A D | config_entry_gateways.go | 38 Port int member 147 if _, ok := declaredPorts[listener.Port]; ok { 148 return fmt.Errorf("port %d declared on two listeners", listener.Port) 150 declaredPorts[listener.Port] = true 157 return fmt.Errorf("No service declared for listener with port %d", listener.Port) 163 listener.Port) 177 return fmt.Errorf("Service name cannot be blank (listener on port %d)", listener.Port) 433 Port int `json:",omitempty"` member 447 if g.Port == 0 { 470 g.Port == o.Port && [all …]
|
/dports/net/traefik/traefik-2.6.1/vendor/github.com/hashicorp/consul/agent/structs/ |
H A D | config_entry_gateways.go | 38 Port int member 147 if _, ok := declaredPorts[listener.Port]; ok { 148 return fmt.Errorf("port %d declared on two listeners", listener.Port) 150 declaredPorts[listener.Port] = true 157 return fmt.Errorf("No service declared for listener with port %d", listener.Port) 163 listener.Port) 177 return fmt.Errorf("Service name cannot be blank (listener on port %d)", listener.Port) 433 Port int `json:",omitempty"` member 447 if g.Port == 0 { 470 g.Port == o.Port && [all …]
|
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/dialyzer/test/r9c_SUITE_data/src/inets/ |
H A D | mod_security.erl | 145 load([$<,$D,$i,$r,$e,$c,$t,$o,$r,$y,$ |Directory],[]) -> 150 load([$S,$e,$c,$u,$r,$i,$t,$y,$D,$a,$t,$a,$F,$i,$l,$e,$ |FileName], 154 load([$S,$e,$c,$u,$r,$i,$t,$y,$C,$a,$l,$l,$b,$a,$c,$k,$M,$o,$d,$u,$l,$e,$ |ModuleName], 158 load([$S,$e,$c,$u,$r,$i,$t,$y,$M,$a,$x,$R,$e,$t,$r,$i,$e,$s,$ |Retries], 163 load([$S,$e,$c,$u,$r,$i,$t,$y,$B,$l,$o,$c,$k,$T,$i,$m,$e,$ |Time], 167 load([$S,$e,$c,$u,$r,$i,$t,$y,$F,$a,$i,$l,$E,$x,$p,$i,$r,$e,$T,$i,$m,$e,$ |Time], 171 load([$S,$e,$c,$u,$r,$i,$t,$y,$A,$u,$t,$h,$T,$i,$m,$e,$o,$u,$t,$ |Time0], 176 load([$A,$u,$t,$h,$N,$a,$m,$e,$ |Name0], 262 list_blocked_users(Port, Dir) when integer(Port) -> 298 list_auth_users(Port, Dir) when integer(Port) -> [all …]
|
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/dialyzer/test/r9c_SUITE_data/src/inets/ |
H A D | mod_security.erl | 145 load([$<,$D,$i,$r,$e,$c,$t,$o,$r,$y,$ |Directory],[]) -> 150 load([$S,$e,$c,$u,$r,$i,$t,$y,$D,$a,$t,$a,$F,$i,$l,$e,$ |FileName], 154 load([$S,$e,$c,$u,$r,$i,$t,$y,$C,$a,$l,$l,$b,$a,$c,$k,$M,$o,$d,$u,$l,$e,$ |ModuleName], 158 load([$S,$e,$c,$u,$r,$i,$t,$y,$M,$a,$x,$R,$e,$t,$r,$i,$e,$s,$ |Retries], 163 load([$S,$e,$c,$u,$r,$i,$t,$y,$B,$l,$o,$c,$k,$T,$i,$m,$e,$ |Time], 167 load([$S,$e,$c,$u,$r,$i,$t,$y,$F,$a,$i,$l,$E,$x,$p,$i,$r,$e,$T,$i,$m,$e,$ |Time], 171 load([$S,$e,$c,$u,$r,$i,$t,$y,$A,$u,$t,$h,$T,$i,$m,$e,$o,$u,$t,$ |Time0], 176 load([$A,$u,$t,$h,$N,$a,$m,$e,$ |Name0], 262 list_blocked_users(Port, Dir) when integer(Port) -> 298 list_auth_users(Port, Dir) when integer(Port) -> [all …]
|
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/dialyzer/test/r9c_SUITE_data/src/inets/ |
H A D | mod_security.erl | 145 load([$<,$D,$i,$r,$e,$c,$t,$o,$r,$y,$ |Directory],[]) -> 150 load([$S,$e,$c,$u,$r,$i,$t,$y,$D,$a,$t,$a,$F,$i,$l,$e,$ |FileName], 154 load([$S,$e,$c,$u,$r,$i,$t,$y,$C,$a,$l,$l,$b,$a,$c,$k,$M,$o,$d,$u,$l,$e,$ |ModuleName], 158 load([$S,$e,$c,$u,$r,$i,$t,$y,$M,$a,$x,$R,$e,$t,$r,$i,$e,$s,$ |Retries], 163 load([$S,$e,$c,$u,$r,$i,$t,$y,$B,$l,$o,$c,$k,$T,$i,$m,$e,$ |Time], 167 load([$S,$e,$c,$u,$r,$i,$t,$y,$F,$a,$i,$l,$E,$x,$p,$i,$r,$e,$T,$i,$m,$e,$ |Time], 171 load([$S,$e,$c,$u,$r,$i,$t,$y,$A,$u,$t,$h,$T,$i,$m,$e,$o,$u,$t,$ |Time0], 176 load([$A,$u,$t,$h,$N,$a,$m,$e,$ |Name0], 262 list_blocked_users(Port, Dir) when integer(Port) -> 298 list_auth_users(Port, Dir) when integer(Port) -> [all …]
|
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/dialyzer/test/r9c_SUITE_data/src/inets/ |
H A D | mod_security.erl | 145 load([$<,$D,$i,$r,$e,$c,$t,$o,$r,$y,$ |Directory],[]) -> 150 load([$S,$e,$c,$u,$r,$i,$t,$y,$D,$a,$t,$a,$F,$i,$l,$e,$ |FileName], 154 load([$S,$e,$c,$u,$r,$i,$t,$y,$C,$a,$l,$l,$b,$a,$c,$k,$M,$o,$d,$u,$l,$e,$ |ModuleName], 158 load([$S,$e,$c,$u,$r,$i,$t,$y,$M,$a,$x,$R,$e,$t,$r,$i,$e,$s,$ |Retries], 163 load([$S,$e,$c,$u,$r,$i,$t,$y,$B,$l,$o,$c,$k,$T,$i,$m,$e,$ |Time], 167 load([$S,$e,$c,$u,$r,$i,$t,$y,$F,$a,$i,$l,$E,$x,$p,$i,$r,$e,$T,$i,$m,$e,$ |Time], 171 load([$S,$e,$c,$u,$r,$i,$t,$y,$A,$u,$t,$h,$T,$i,$m,$e,$o,$u,$t,$ |Time0], 176 load([$A,$u,$t,$h,$N,$a,$m,$e,$ |Name0], 262 list_blocked_users(Port, Dir) when integer(Port) -> 298 list_auth_users(Port, Dir) when integer(Port) -> [all …]
|
/dports/lang/erlang/otp-OTP-24.1.7/lib/dialyzer/test/r9c_SUITE_data/src/inets/ |
H A D | mod_security.erl | 145 load([$<,$D,$i,$r,$e,$c,$t,$o,$r,$y,$ |Directory],[]) -> 150 load([$S,$e,$c,$u,$r,$i,$t,$y,$D,$a,$t,$a,$F,$i,$l,$e,$ |FileName], 154 load([$S,$e,$c,$u,$r,$i,$t,$y,$C,$a,$l,$l,$b,$a,$c,$k,$M,$o,$d,$u,$l,$e,$ |ModuleName], 158 load([$S,$e,$c,$u,$r,$i,$t,$y,$M,$a,$x,$R,$e,$t,$r,$i,$e,$s,$ |Retries], 163 load([$S,$e,$c,$u,$r,$i,$t,$y,$B,$l,$o,$c,$k,$T,$i,$m,$e,$ |Time], 167 load([$S,$e,$c,$u,$r,$i,$t,$y,$F,$a,$i,$l,$E,$x,$p,$i,$r,$e,$T,$i,$m,$e,$ |Time], 171 load([$S,$e,$c,$u,$r,$i,$t,$y,$A,$u,$t,$h,$T,$i,$m,$e,$o,$u,$t,$ |Time0], 176 load([$A,$u,$t,$h,$N,$a,$m,$e,$ |Name0], 262 list_blocked_users(Port, Dir) when integer(Port) -> 298 list_auth_users(Port, Dir) when integer(Port) -> [all …]
|
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/dialyzer/test/r9c_SUITE_data/src/inets/ |
H A D | mod_security.erl | 145 load([$<,$D,$i,$r,$e,$c,$t,$o,$r,$y,$ |Directory],[]) -> 150 load([$S,$e,$c,$u,$r,$i,$t,$y,$D,$a,$t,$a,$F,$i,$l,$e,$ |FileName], 154 load([$S,$e,$c,$u,$r,$i,$t,$y,$C,$a,$l,$l,$b,$a,$c,$k,$M,$o,$d,$u,$l,$e,$ |ModuleName], 158 load([$S,$e,$c,$u,$r,$i,$t,$y,$M,$a,$x,$R,$e,$t,$r,$i,$e,$s,$ |Retries], 163 load([$S,$e,$c,$u,$r,$i,$t,$y,$B,$l,$o,$c,$k,$T,$i,$m,$e,$ |Time], 167 load([$S,$e,$c,$u,$r,$i,$t,$y,$F,$a,$i,$l,$E,$x,$p,$i,$r,$e,$T,$i,$m,$e,$ |Time], 171 load([$S,$e,$c,$u,$r,$i,$t,$y,$A,$u,$t,$h,$T,$i,$m,$e,$o,$u,$t,$ |Time0], 176 load([$A,$u,$t,$h,$N,$a,$m,$e,$ |Name0], 262 list_blocked_users(Port, Dir) when integer(Port) -> 298 list_auth_users(Port, Dir) when integer(Port) -> [all …]
|
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/dialyzer/test/r9c_SUITE_data/src/inets/ |
H A D | mod_security.erl | 145 load([$<,$D,$i,$r,$e,$c,$t,$o,$r,$y,$ |Directory],[]) -> 150 load([$S,$e,$c,$u,$r,$i,$t,$y,$D,$a,$t,$a,$F,$i,$l,$e,$ |FileName], 154 load([$S,$e,$c,$u,$r,$i,$t,$y,$C,$a,$l,$l,$b,$a,$c,$k,$M,$o,$d,$u,$l,$e,$ |ModuleName], 158 load([$S,$e,$c,$u,$r,$i,$t,$y,$M,$a,$x,$R,$e,$t,$r,$i,$e,$s,$ |Retries], 163 load([$S,$e,$c,$u,$r,$i,$t,$y,$B,$l,$o,$c,$k,$T,$i,$m,$e,$ |Time], 167 load([$S,$e,$c,$u,$r,$i,$t,$y,$F,$a,$i,$l,$E,$x,$p,$i,$r,$e,$T,$i,$m,$e,$ |Time], 171 load([$S,$e,$c,$u,$r,$i,$t,$y,$A,$u,$t,$h,$T,$i,$m,$e,$o,$u,$t,$ |Time0], 176 load([$A,$u,$t,$h,$N,$a,$m,$e,$ |Name0], 262 list_blocked_users(Port, Dir) when integer(Port) -> 298 list_auth_users(Port, Dir) when integer(Port) -> [all …]
|
/dports/devel/git-lfs/git-lfs-3.0.2/lfsapi/ |
H A D | endpoint_finder_test.go | 147 assert.Equal(t, "", e.SSHMetadata.Port) 159 assert.Equal(t, "", e.SSHMetadata.Port) 183 assert.Equal(t, "", e.SSHMetadata.Port) 207 assert.Equal(t, "", e.SSHMetadata.Port) 231 assert.Equal(t, "", e.SSHMetadata.Port) 255 assert.Equal(t, "", e.SSHMetadata.Port) 267 assert.Equal(t, "", e.SSHMetadata.Port) 279 assert.Equal(t, "", e.SSHMetadata.Port) 291 assert.Equal(t, "", e.SSHMetadata.Port) 304 assert.Equal(t, "", e.SSHMetadata.Port) [all …]
|
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/controlplane/ |
H A D | controller_test.go | 419 } else if e, a := test.expectUpdate, updates[0].GetObject(); !reflect.DeepEqual(e, a) { 420 t.Errorf("case %q: expected update:\n%#v\ngot:\n%#v\n", test.testName, e, a) 437 } else if e, a := test.expectCreate, creates[0].GetObject(); !reflect.DeepEqual(e, a) { 438 t.Errorf("case %q: expected create:\n%#v\ngot:\n%#v\n", test.testName, e, a) 538 } else if e, a := test.expectUpdate, updates[0].GetObject(); !reflect.DeepEqual(e, a) { 539 t.Errorf("case %q: expected update:\n%#v\ngot:\n%#v\n", test.testName, e, a) 556 } else if e, a := test.expectCreate, creates[0].GetObject(); !reflect.DeepEqual(e, a) { 557 t.Errorf("case %q: expected create:\n%#v\ngot:\n%#v\n", test.testName, e, a) 646 if e, a := test.expectCreate.Spec, obj.(*corev1.Service).Spec; !reflect.DeepEqual(e, a) { 931 if e, a := test.expectUpdate.Spec, obj.(*corev1.Service).Spec; !reflect.DeepEqual(e, a) { [all …]
|
/dports/security/vuls/vuls-0.13.7/vendor/github.com/aws/aws-sdk-go/aws/csm/ |
H A D | address_test.go | 9 Host, Port string 13 Host: "127.0.0.2", Port: "", Expect: "127.0.0.2:31000", 16 Host: "localhost", Port: "", Expect: "127.0.0.1:31000", 19 Host: "LOCALHOST", Port: "", Expect: "127.0.0.1:31000", 22 Host: "localhost", Port: "32000", Expect: "127.0.0.1:32000", 25 Host: "::1", Port: "", Expect: "[::1]:31000", 28 Host: "", Port: "", Expect: "127.0.0.1:31000", 34 actual := AddressWithDefaults(c.Host, c.Port) 35 if e, a := c.Expect, actual; e != a { 36 t.Errorf("expect %v, got %v", e, a)
|
/dports/net/goreplay/goreplay-1.2.0/vendor/github.com/aws/aws-sdk-go/aws-sdk-go-1.33.2/aws/csm/ |
H A D | address_test.go | 9 Host, Port string 13 Host: "127.0.0.2", Port: "", Expect: "127.0.0.2:31000", 16 Host: "localhost", Port: "", Expect: "127.0.0.1:31000", 19 Host: "LOCALHOST", Port: "", Expect: "127.0.0.1:31000", 22 Host: "localhost", Port: "32000", Expect: "127.0.0.1:32000", 25 Host: "::1", Port: "", Expect: "[::1]:31000", 28 Host: "", Port: "", Expect: "127.0.0.1:31000", 34 actual := AddressWithDefaults(c.Host, c.Port) 35 if e, a := c.Expect, actual; e != a { 36 t.Errorf("expect %v, got %v", e, a)
|
/dports/security/lego/lego-4.5.3/vendor/github.com/aws/aws-sdk-go/aws/csm/ |
H A D | address_test.go | 9 Host, Port string 13 Host: "127.0.0.2", Port: "", Expect: "127.0.0.2:31000", 16 Host: "localhost", Port: "", Expect: "127.0.0.1:31000", 19 Host: "LOCALHOST", Port: "", Expect: "127.0.0.1:31000", 22 Host: "localhost", Port: "32000", Expect: "127.0.0.1:32000", 25 Host: "::1", Port: "", Expect: "[::1]:31000", 28 Host: "", Port: "", Expect: "127.0.0.1:31000", 34 actual := AddressWithDefaults(c.Host, c.Port) 35 if e, a := c.Expect, actual; e != a { 36 t.Errorf("expect %v, got %v", e, a)
|
/dports/devel/app-builder/app-builder-3.4.2/vendor/github.com/aws/aws-sdk-go/aws/csm/ |
H A D | address_test.go | 9 Host, Port string 13 Host: "127.0.0.2", Port: "", Expect: "127.0.0.2:31000", 16 Host: "localhost", Port: "", Expect: "127.0.0.1:31000", 19 Host: "LOCALHOST", Port: "", Expect: "127.0.0.1:31000", 22 Host: "localhost", Port: "32000", Expect: "127.0.0.1:32000", 25 Host: "::1", Port: "", Expect: "[::1]:31000", 28 Host: "", Port: "", Expect: "127.0.0.1:31000", 34 actual := AddressWithDefaults(c.Host, c.Port) 35 if e, a := c.Expect, actual; e != a { 36 t.Errorf("expect %v, got %v", e, a)
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/workhorse/vendor/github.com/aws/aws-sdk-go/aws/csm/ |
H A D | address_test.go | 9 Host, Port string 13 Host: "127.0.0.2", Port: "", Expect: "127.0.0.2:31000", 16 Host: "localhost", Port: "", Expect: "127.0.0.1:31000", 19 Host: "LOCALHOST", Port: "", Expect: "127.0.0.1:31000", 22 Host: "localhost", Port: "32000", Expect: "127.0.0.1:32000", 25 Host: "::1", Port: "", Expect: "[::1]:31000", 28 Host: "", Port: "", Expect: "127.0.0.1:31000", 34 actual := AddressWithDefaults(c.Host, c.Port) 35 if e, a := c.Expect, actual; e != a { 36 t.Errorf("expect %v, got %v", e, a)
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/aws/aws-sdk-go/aws/csm/ |
H A D | address_test.go | 10 Host, Port string 14 Host: "127.0.0.2", Port: "", Expect: "127.0.0.2:31000", 17 Host: "localhost", Port: "", Expect: "127.0.0.1:31000", 20 Host: "LOCALHOST", Port: "", Expect: "127.0.0.1:31000", 23 Host: "localhost", Port: "32000", Expect: "127.0.0.1:32000", 26 Host: "::1", Port: "", Expect: "[::1]:31000", 29 Host: "", Port: "", Expect: "127.0.0.1:31000", 35 actual := AddressWithDefaults(c.Host, c.Port) 36 if e, a := c.Expect, actual; e != a { 37 t.Errorf("expect %v, got %v", e, a)
|
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/aws/aws-sdk-go/aws/csm/ |
H A D | address_test.go | 9 Host, Port string 13 Host: "127.0.0.2", Port: "", Expect: "127.0.0.2:31000", 16 Host: "localhost", Port: "", Expect: "127.0.0.1:31000", 19 Host: "LOCALHOST", Port: "", Expect: "127.0.0.1:31000", 22 Host: "localhost", Port: "32000", Expect: "127.0.0.1:32000", 25 Host: "::1", Port: "", Expect: "[::1]:31000", 28 Host: "", Port: "", Expect: "127.0.0.1:31000", 34 actual := AddressWithDefaults(c.Host, c.Port) 35 if e, a := c.Expect, actual; e != a { 36 t.Errorf("expect %v, got %v", e, a)
|
/dports/security/aws-iam-authenticator/aws-iam-authenticator-0.5.2/vendor/github.com/aws/aws-sdk-go/aws-sdk-go-1.30.0/aws/csm/ |
H A D | address_test.go | 9 Host, Port string 13 Host: "127.0.0.2", Port: "", Expect: "127.0.0.2:31000", 16 Host: "localhost", Port: "", Expect: "127.0.0.1:31000", 19 Host: "LOCALHOST", Port: "", Expect: "127.0.0.1:31000", 22 Host: "localhost", Port: "32000", Expect: "127.0.0.1:32000", 25 Host: "::1", Port: "", Expect: "[::1]:31000", 28 Host: "", Port: "", Expect: "127.0.0.1:31000", 34 actual := AddressWithDefaults(c.Host, c.Port) 35 if e, a := c.Expect, actual; e != a { 36 t.Errorf("expect %v, got %v", e, a)
|
/dports/net/cloudquery/cloudquery-0.16.0/vendor/github.com/aws/aws-sdk-go/aws/csm/ |
H A D | address_test.go | 10 Host, Port string 14 Host: "127.0.0.2", Port: "", Expect: "127.0.0.2:31000", 17 Host: "localhost", Port: "", Expect: "127.0.0.1:31000", 20 Host: "LOCALHOST", Port: "", Expect: "127.0.0.1:31000", 23 Host: "localhost", Port: "32000", Expect: "127.0.0.1:32000", 26 Host: "::1", Port: "", Expect: "[::1]:31000", 29 Host: "", Port: "", Expect: "127.0.0.1:31000", 35 actual := AddressWithDefaults(c.Host, c.Port) 36 if e, a := c.Expect, actual; e != a { 37 t.Errorf("expect %v, got %v", e, a)
|