Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 140 for expect2 (0.15 sec)

  1. src/reflect/all_test.go

    	if v != xs[3] {
    		t.Errorf("xs.Index(3) = %v; expected %v", v, xs[3])
    	}
    	xa := [8]byte{10, 20, 30, 40, 50, 60, 70, 80}
    	v = ValueOf(xa).Index(2).Interface().(byte)
    	if v != xa[2] {
    		t.Errorf("xa.Index(2) = %v; expected %v", v, xa[2])
    	}
    	s := "0123456789"
    	v = ValueOf(s).Index(3).Interface().(byte)
    	if v != s[3] {
    		t.Errorf("s.Index(3) = %v; expected %v", v, s[3])
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    	if err != nil {
    		if !expectErr {
    			t.Fatalf("authenticate token: %v", err)
    		}
    		if got := err.Error(); c.wantErr != got {
    			t.Fatalf("expected error %q when authenticating token but got %q", c.wantErr, got)
    		}
    		return
    	}
    
    	if expectErr {
    		t.Fatalf("expected error %q when authenticating token but got none", c.wantErr)
    	}
    	if !ok {
    		if !c.wantSkip {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
  3. pkg/api/pod/util_test.go

    	secretPaths = secretPaths.Difference(excludedSecretPaths)
    	if missingPaths := expectedSecretPaths.Difference(secretPaths); len(missingPaths) > 0 {
    		t.Logf("Missing expected secret paths:\n%s", strings.Join(sets.List[string](missingPaths), "\n"))
    		t.Error("Missing expected secret paths. Verify VisitPodSecretNames() is correctly finding the missing paths, then correct expectedSecretPaths")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_node_status_test.go

    		t.Errorf("Expected at least %d attempts, got %d", nodeStatusUpdateRetry, actualAttempts)
    	}
    	// should have gotten multiple failure callbacks
    	if actualFailureCallbacks := atomic.LoadInt64(&failureCallbacks); actualFailureCallbacks < (nodeStatusUpdateRetry - 1) {
    		t.Errorf("Expected %d failure callbacks, got %d", (nodeStatusUpdateRetry - 1), actualFailureCallbacks)
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  5. pkg/volume/util/operationexecutor/operation_generator.go

    	// Generates the volume file system resize function, which can resize volume's file system to expected size without unmounting the volume.
    	// Along with volumeToMount and actualStateOfWorld, the function expects current size of volume on the node as an argument. The current
    	// size here always refers to capacity last recorded in actualStateOfWorld from pvc.Status.Capacity
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/gateway_test.go

    					t.Errorf("expected attempt count to be set in virtual host, but not found")
    				}
    				if tt.redirect != (h.RequireTls == route.VirtualHost_ALL) {
    					t.Errorf("expected redirect %v, got %v", tt.redirect, h.RequireTls)
    				}
    				if tt.expectStatefulSession && h.TypedPerFilterConfig[util.StatefulSessionFilter] == nil {
    					t.Errorf("expected per filter config for stateful session filter, but not found")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIntegrationTest.groovy

                            }.files.files
                    )
                }
            """
    
            buildFile << """
                apply from: 'script-with-buildscript-block.gradle'
            """
    
            expect:
            succeeds("help", "--info")
            output.count("Creating FileSizer") == 1
            output.count("Transforming commons-math3-3.6.1.jar to commons-math3-3.6.1.jar.txt") == 1
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:42 UTC 2023
    - 100.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/extract_outside_compilation.mlir

    module attributes {tf.versions = {producer = 888 : i32}, tf.devices = ["/job:worker/replica:0/task:0/device:CPU:0", "/job:worker/replica:0/task:0/device:TPU_SYSTEM:0", "/job:worker/replica:0/task:0/device:TPU:0"]} {
      // expected-error @+2 {{result with a non-XLA type}}
      func.func @non_XLA_result() {
        %cluster = "tf_device.cluster"() ({
          %a = "tf.A"() : () -> tensor<!tf_type.string>
          tf_device.return %a : tensor<!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 129.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

              )
          )
          self.assertIsNotNone(converted_model2)
          self.assertCountEqual(
              converted_model2.signatures._signatures.keys(), {'serving_default'}
          )
    
          # Expect two models to produce the same results.
          test_data = ops.convert_to_tensor(
              np.random.uniform(low=0, high=64, size=(32)).astype(
                  dtypes.int32.as_numpy_dtype
              )
          )
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/test/testdata/cmpConst_test.go

    // Code generated by gen/cmpConstGen.go. DO NOT EDIT.
    
    package main
    
    import (
    	"reflect"
    	"runtime"
    	"testing"
    )
    
    // results show the expected result for the elements left of, equal to and right of the index.
    type result struct{ l, e, r bool }
    
    var (
    	eq = result{l: false, e: true, r: false}
    	ne = result{l: true, e: false, r: true}
    	lt = result{l: true, e: false, r: false}
    	le = result{l: true, e: true, r: false}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 103.1K bytes
    - Viewed (0)
Back to top