- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for sortIPs (0.16 sec)
-
cmd/net.go
} return ipList, err } // sortIPs - sort ips based on higher octets. // The logic to sort by last octet is implemented to // prefer CIDRs with higher octets, this in-turn skips the // localhost/loopback address to be not preferred as the // first ip on the list. Subsequently this list helps us print // a user friendly message with appropriate values. func sortIPs(ipList []string) []string { if len(ipList) == 1 {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Mar 26 15:00:38 GMT 2024 - 9.3K bytes - Viewed (0) -
cmd/net_test.go
{ ipList: []string{"127.0.0.1", "10.0.0.1", "192.168.0.1"}, sortedIPList: []string{"10.0.0.1", "192.168.0.1", "127.0.0.1"}, }, } for i, testCase := range testCases { gotIPList := sortIPs(testCase.ipList) if !reflect.DeepEqual(testCase.sortedIPList, gotIPList) { t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.sortedIPList, gotIPList) } } } func TestMustGetLocalIP4(t *testing.T) {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 08:43:09 GMT 2024 - 9.3K bytes - Viewed (0) -
cmd/endpoint.go
u := &url.URL{ Scheme: endpoint.Scheme, Host: endpoint.Host, } return u.String() } } } host := globalMinioHost if host == "" { host = sortIPs(localIP4.ToSlice())[0] } return fmt.Sprintf("%s://%s", getURLScheme(globalIsTLS), net.JoinHostPort(host, globalMinioPort)) } // LocalDisksPaths returns the disk paths of the local disks
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 21 11:43:18 GMT 2024 - 34.1K bytes - Viewed (0) -
docs/fr/docs/async.md
Ce "attendre quelque chose d'autre" fait généralement référence à des opérations <abbr title="Input/Output ou Entrées et Sorties ">I/O</abbr> qui sont relativement "lentes" (comparées à la vitesse du processeur et de la mémoire RAM) telles qu'attendre que : * de la donnée soit envoyée par le client à travers le réseau
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Mar 31 23:52:53 GMT 2024 - 24K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Doubles.java
} } return left.length - right.length; } @Override public String toString() { return "Doubles.lexicographicalComparator()"; } } /** * Sorts the elements of {@code array} in descending order. * * <p>Note that this method uses the total order imposed by {@link Double#compare}, which treats * all NaN values as equal and 0.0 as greater than -0.0. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 27.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Floats.java
} } return left.length - right.length; } @Override public String toString() { return "Floats.lexicographicalComparator()"; } } /** * Sorts the elements of {@code array} in descending order. * * <p>Note that this method uses the total order imposed by {@link Float#compare}, which treats * all NaN values as equal and 0.0 as greater than -0.0. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 25.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Comparators.java
* * @since 21.0 * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault public final class Comparators { private Comparators() {} /** * Returns a new comparator which sorts iterables by comparing corresponding elements pairwise * until a nonzero result is found; imposes "dictionary order." If the end of one iterable is
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 10.2K bytes - Viewed (0) -
cmd/erasure-server-pool-decom.go
}, NoAuditLog: true, }) if err != nil { err = fmt.Errorf("decommissionObject: PutObject() %w", err) } return err } // versionsSorter sorts FileInfo slices by version. // //msgp:ignore versionsSorter type versionsSorter []FileInfo func (v versionsSorter) reverse() { sort.Slice(v, func(i, j int) bool { return v[i].ModTime.Before(v[j].ModTime)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 15:18:21 GMT 2024 - 41.5K bytes - Viewed (1) -
src/main/resources/fess_config.properties
query.gsa.index.field.charset=charset query.gsa.index.field.content_type.=content_type query.collapse.max.concurrent.group.results=4 query.collapse.inner.hits.name=similar_docs query.collapse.inner.hits.size=0 query.collapse.inner.hits.sorts= query.default.languages= query.json.default.preference=_query query.gsa.default.preference=_query query.language.mapping=\ ar=ar\n\ bg=bg\n\ bn=bn\n\ ca=ca\n\ ckb-iq=ckb-iq\n\ ckb_IQ=ckb-iq\n\
Properties - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Apr 11 02:34:53 GMT 2024 - 30.6K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/Ordering.java
Iterable<? extends Comparator<? super T>> comparators) { return new CompoundOrdering<>(comparators); } /** * Returns a new ordering which sorts iterables by comparing corresponding elements pairwise until * a nonzero result is found; imposes "dictionary order". If the end of one iterable is reached,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 19:38:27 GMT 2024 - 39.4K bytes - Viewed (0)