- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 212 for Cmp (0.02 sec)
-
staging/src/k8s.io/apiserver/pkg/apis/apiserver/load/load_test.go
limitations under the License. */ package load import ( "bytes" "os" "reflect" "strings" "testing" "time" "github.com/google/go-cmp/cmp" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" api "k8s.io/apiserver/pkg/apis/apiserver" ) var defaultConfig = &api.AuthorizationConfiguration{} func writeTempFile(t *testing.T, content string) string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 07:00:31 UTC 2024 - 8.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apidiscovery/v2/fuzzer_test.go
v2beta1scheme "k8s.io/apiserver/pkg/apis/apidiscovery/v2beta1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" "github.com/google/go-cmp/cmp" fuzz "github.com/google/gofuzz" "github.com/stretchr/testify/require" ) func TestConversionRoundTrip(t *testing.T) { scheme := runtime.NewScheme() err := v2beta1scheme.AddToScheme(scheme)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 00:29:39 UTC 2024 - 2.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/defaults_test.go
limitations under the License. */ package v1 import ( "testing" "time" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "github.com/google/go-cmp/cmp" ) func TestKMSProviderTimeoutDefaults(t *testing.T) { testCases := []struct { desc string in *KMSConfiguration want *KMSConfiguration }{ { desc: "timeout not supplied",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 18 20:54:24 UTC 2023 - 4.2K bytes - Viewed (0) -
pkg/apis/admissionregistration/v1beta1/defaults_test.go
See the License for the specific language governing permissions and limitations under the License. */ package v1beta1_test import ( "testing" "github.com/google/go-cmp/cmp" v1beta1 "k8s.io/api/admissionregistration/v1beta1" apiequality "k8s.io/apimachinery/pkg/api/equality" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 20 20:24:09 UTC 2023 - 6.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/attributes/DefaultOrderedDisambiguationRule.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.8K bytes - Viewed (0) -
pilot/pkg/security/authz/matcher/template_test.go
// limitations under the License. package matcher import ( "testing" uri_template "github.com/envoyproxy/go-control-plane/envoy/extensions/path/match/uri_template/v3" "github.com/google/go-cmp/cmp" "google.golang.org/protobuf/testing/protocmp" ) func TestPathTemplateMatcher(t *testing.T) { testCases := []struct { name string path string want *uri_template.UriTemplateMatchConfig }{ {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 20 01:58:53 UTC 2024 - 1.8K bytes - Viewed (0) -
pkg/volume/csi/csi_metrics_test.go
if metrics.Available.Cmp(*availableBytes) != 0 { t.Fatalf("for %s: error: expected :%v , got: %v", tc.name, *availableBytes, *(metrics.Available)) } if metrics.Capacity.Cmp(*totalBytes) != 0 { t.Fatalf("for %s: error: expected :%v , got: %v", tc.name, *totalBytes, *(metrics.Capacity)) } if metrics.Used.Cmp(*usedBytes) != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 11 06:07:40 UTC 2023 - 5.8K bytes - Viewed (0) -
pkg/config/model_test.go
// limitations under the License. package config import ( "fmt" "reflect" "testing" "time" cluster "github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3" "github.com/google/go-cmp/cmp" "google.golang.org/protobuf/testing/protocmp" corev1 "k8s.io/api/core/v1" k8s "sigs.k8s.io/gateway-api/apis/v1" networking "istio.io/api/networking/v1alpha3" "istio.io/istio/pkg/test/config" )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 17:37:32 UTC 2024 - 7.9K bytes - Viewed (0) -
src/runtime/time_windows_arm.s
#include "textflag.h" #include "time_windows.h" TEXT time·now(SB),NOSPLIT,$0-20 MOVW $_INTERRUPT_TIME, R3 loop: MOVW time_hi1(R3), R1 DMB MB_ISH MOVW time_lo(R3), R0 DMB MB_ISH MOVW time_hi2(R3), R2 CMP R1, R2 BNE loop // wintime = R1:R0, multiply by 100 MOVW $100, R2 MULLU R0, R2, (R4, R3) // R4:R3 = R1:R0 * R2 MULA R1, R2, R4, R4 // wintime*100 = R4:R3 MOVW R3, mono+12(FP)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 17:19:45 UTC 2023 - 2K bytes - Viewed (0) -
pkg/scheduler/util/assumecache/assume_cache_test.go
See the License for the specific language governing permissions and limitations under the License. */ package assumecache import ( "fmt" "slices" "testing" "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" "k8s.io/apimachinery/pkg/api/meta" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/cache" "k8s.io/kubernetes/test/utils/ktesting" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 9.5K bytes - Viewed (0)