- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for ipList (0.07 sec)
-
cmd/net_test.go
testCases := []struct { ipList []string sortedIPList []string }{ // Default case of two ips one with higher octet moves // to the beginning of the list. { ipList: []string{"127.0.0.1", "10.0.0.13"}, sortedIPList: []string{"10.0.0.13", "127.0.0.1"}, }, // With multiple types of octet, chooses a higher octet. { ipList: []string{"127.0.0.1", "172.0.21.1", "192.168.1.106"},Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:03 UTC 2025 - 9.2K bytes - Viewed (0) -
cmd/net.go
ip = v.IP case *net.IPAddr: ip = v.IP } ipList = append(ipList, ip) } } return ipList } func mustGetLocalLoopbacks() (ipList set.StringSet) { ipList = set.NewStringSet() for _, ip := range mustGetLocalIPs() { if ip != nil && ip.IsLoopback() { ipList.Add(ip.String()) } } return ipList }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 9.6K bytes - Viewed (1) -
cmd/endpoint.go
continue } IPsWithPort := IPs.ApplyFunc(func(ip string) string { return net.JoinHostPort(ip, port) }) ipList = ipList.Union(IPsWithPort) } ipList.Add(net.JoinHostPort(host, port)) } globalDomainIPs = ipList.FuncMatch(func(ip string, matchString string) bool { host, _, err := net.SplitHostPort(ip) if err != nil { host = ip }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 34.5K bytes - Viewed (0) -
internal/http/listener_test.go
switch v := addr.(type) { case *net.IPNet: ip = v.IP case *net.IPAddr: ip = v.IP } if ip.To4() != nil { localIP4.Add(ip.String()) } } // Filter ipList by IPs those do not start with '127.'. nonLoopBackIPs := localIP4.FuncMatch(func(ip string, matchString string) bool { return !strings.HasPrefix(ip, "127.") }, "") if len(nonLoopBackIPs) == 0 {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.8K bytes - Viewed (0) -
cmd/endpoint_test.go
} } } func TestCreateEndpoints(t *testing.T) { tempGlobalMinioPort := globalMinioPort defer func() { globalMinioPort = tempGlobalMinioPort }() globalMinioPort = "9000" // Filter ipList by IPs those do not start with '127.'. nonLoopBackIPs := localIP4.FuncMatch(func(ip string, matchString string) bool { return !net.ParseIP(ip).IsLoopback() }, "") if len(nonLoopBackIPs) == 0 {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 18.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java
* If the ID list is null, returns all available configurations. * * @param idList the list of configuration IDs to retrieve, or null for all configurations * @return a list of WebConfig objects with the specified IDs */ public List<WebConfig> getWebConfigListByIds(final List<String> idList) { if (idList == null) { return getAllWebConfigList(); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 19.5K bytes - Viewed (1) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial002.py
import importlib import pytest from dirty_equals import IsList from fastapi.testclient import TestClient from ...utils import needs_py310 @pytest.fixture( name="client", params=[ pytest.param("tutorial002_py39"), pytest.param("tutorial002_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest) -> TestClient: mod = importlib.import_module(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 7.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsElevateWordToLabelCQ.java
not(not -> not.setId_Term(id), opLambda); } public void setId_Terms(Collection<String> idList) { setId_Terms(idList, null); } public void setId_Terms(Collection<String> idList, ConditionOptionCall<IdsQueryBuilder> opLambda) { IdsQueryBuilder builder = regIdsQ(idList); if (opLambda != null) { opLambda.callback(builder); } }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 23.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/user/cbean/cq/bs/BsRoleCQ.java
not(not -> not.setId_Term(id), opLambda); } public void setId_Terms(Collection<String> idList) { setId_Terms(idList, null); } public void setId_Terms(Collection<String> idList, ConditionOptionCall<IdsQueryBuilder> opLambda) { IdsQueryBuilder builder = regIdsQ(idList); if (opLambda != null) { opLambda.callback(builder); } }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 13.9K bytes - Viewed (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial005.py
import importlib import pytest from dirty_equals import IsList from fastapi.testclient import TestClient from ...utils import needs_py310 @pytest.fixture( name="client", params=[ pytest.param("tutorial005_py39"), pytest.param("tutorial005_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.body_nested_models.{request.param}")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 9.6K bytes - Viewed (0)