- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 539 for sqrt (0.03 seconds)
-
cmd/signature-v2_test.go
package cmd import ( "context" "fmt" "net/http" "net/url" "os" "sort" "testing" ) // Tests for 'func TestResourceListSorting(t *testing.T)'. func TestResourceListSorting(t *testing.T) { sortedResourceList := make([]string, len(resourceList)) copy(sortedResourceList, resourceList) sort.Strings(sortedResourceList) for i := range resourceList { if resourceList[i] != sortedResourceList[i] {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8K bytes - Click Count (0) -
docs/distributed/distributed-from-config-file.sh
fi # Compare the difference of the list of disks and their location, with the below expected output diff <(./mc admin info minio1 --json | jq -r '.info.servers[].drives[] | "\(.pool_index),\(.set_index),\(.disk_index) \(.endpoint)"' | sort) <( cat <<EOF 0,0,0 http://localhost:9001/tmp/xl/node9001/mnt/disk1 0,0,1 http://localhost:9002/tmp/xl/node9002/mnt/disk1 0,0,2 http://localhost:9001/tmp/xl/node9001/mnt/disk2
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jun 28 09:06:49 GMT 2024 - 3.3K bytes - Click Count (0) -
internal/config/dns/etcd_dns.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package dns import ( "context" "encoding/json" "errors" "fmt" "net" "sort" "strings" "time" "github.com/minio/minio-go/v7/pkg/set" clientv3 "go.etcd.io/etcd/client/v3" ) // ErrNoEntriesFound - Indicates no entries were found for the given key (directory)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 8K bytes - Click Count (0) -
tests/multi_primary_keys_test.go
} func compareTags(tags []Tag, contents []string) bool { var tagContents []string for _, tag := range tags { tagContents = append(tagContents, tag.Value) } sort.Strings(tagContents) sort.Strings(contents) return reflect.DeepEqual(tagContents, contents) } func TestManyToManyWithMultiPrimaryKeys(t *testing.T) { if name := DB.Dialector.Name(); name == "sqlite" || name == "sqlserver" {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:27:38 GMT 2026 - 13.3K bytes - Click Count (0) -
cmd/admin-handlers_test.go
// } // } check := func(exp, got madmin.LockEntries) (int, bool) { if len(exp) != len(got) { return 0, false } sort.Slice(exp, byResourceUID{exp}.Less) sort.Slice(got, byResourceUID{got}.Less) // printEntries(exp) // printEntries(got) for i, e := range exp { if !e.Timestamp.Equal(got[i].Timestamp) { return i, false }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.9K bytes - Click Count (1) -
internal/crypto/header_test.go
isEqual := func(x, y http.Header) bool { if len(x) != len(y) { return false } for k, v := range x { u, ok := y[k] if !ok || len(v) != len(u) { return false } sort.Strings(v) sort.Strings(u) for j := range v { if v[j] != u[j] { return false } } } return true } areKeysEqual := func(h http.Header, metadata map[string]string) bool {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jul 13 14:52:15 GMT 2022 - 21.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
import static com.google.common.truth.Truth.assertThat; import static java.util.Arrays.asList; import static java.util.Arrays.sort; import static java.util.Collections.emptyList; import static java.util.Collections.singleton; import static java.util.Collections.sort; import static java.util.Collections.unmodifiableList; import com.google.common.annotations.GwtCompatible;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 43.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
import static com.google.common.truth.Truth.assertThat; import static java.util.Arrays.asList; import static java.util.Arrays.sort; import static java.util.Collections.emptyList; import static java.util.Collections.singleton; import static java.util.Collections.sort; import static java.util.Collections.unmodifiableList; import com.google.common.annotations.GwtCompatible;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 43.2K bytes - Click Count (0) -
cmd/speedtest.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "fmt" "net/url" "runtime" "sort" "time" "github.com/minio/dperf/pkg/dperf" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/auth" xioutil "github.com/minio/minio/internal/ioutil" ) const speedTest = "speedtest"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 9.2K bytes - Click Count (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsTest.groovy
def versions = releasedVersions(snapshot, rc, finalVersionsBefore) def version = new ReleasedVersion('4.2', '20170913122310+0000') expect: def expectedVersions = (finalVersionsBefore + version).sort { it.version }.reverse() ReleasedVersionsHelperKt.updateReleasedVersions(version, versions) == releasedVersions(snapshot, rc, expectedVersions) } def "newer snapshots are stored"() {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:47:12 GMT 2026 - 5.4K bytes - Click Count (0)