- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TestSort (0.09 sec)
-
src/cmp/cmp_test.go
case uintptr: c = cmp.Compare(test.x.(uintptr), test.y.(uintptr)) } if c != test.compare { t.Errorf("Compare(%v, %v) == %d, want %d", test.x, test.y, c, test.compare) } } } func TestSort(t *testing.T) { // Test that our comparison function is consistent with // sort.Float64s. input := []float64{1.0, 0.0, negzero, math.Inf(1), math.Inf(-1), math.NaN()} sort.Float64s(input)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 23:39:07 UTC 2024 - 3.9K bytes - Viewed (0) -
pkg/proxy/conntrack/cleanup_test.go
ClusterIP: testClusterIP, ExternalIPs: []string{testExternalIP}, Ports: []v1.ServicePort{ { Name: "dns-tcp", Port: testPort, Protocol: v1.ProtocolTCP, }, { Name: "dns-udp", Port: testPort, NodePort: testNodePort, Protocol: v1.ProtocolUDP, }, }, }, Status: v1.ServiceStatus{ LoadBalancer: v1.LoadBalancerStatus{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 15 18:09:05 UTC 2024 - 7.6K bytes - Viewed (0) -
pkg/kubelet/server/server_websocket_test.go
defer close(portForwardFuncDone) assert.Equal(t, testPodSandboxID, podSandboxID, "pod sandbox id") // The port should be valid if it reaches here. testPort, err := strconv.ParseInt(test.port, 10, 32) require.NoError(t, err, "parse port") assert.Equal(t, int32(testPort), port, "port") if test.clientData != "" { fromClient := make([]byte, 32) n, err := stream.Read(fromClient)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 05 06:08:18 UTC 2023 - 8.2K bytes - Viewed (0)