Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for testHola (0.28 sec)

  1. src/cmd/cgo/internal/test/test.go

    }
    
    // issue 1635
    
    func test1635(t *testing.T) {
    	C.scatter()
    	if v := C.hola; v != 0 {
    		t.Fatalf("C.hola is %d, should be 0", v)
    	}
    	if v := C.testHola(); v != 0 {
    		t.Fatalf("C.testHola() is %d, should be 0", v)
    	}
    }
    
    // issue 2470
    
    func testUnsignedInt(t *testing.T) {
    	a := (int64)(C.UINT32VAL)
    	b := (int64)(0xc008427b)
    	if a != b {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_plugin_test.go

    			driverName: "testdr",
    			volName:    "testvol",
    			spec:       volume.NewSpecFromPersistentVolume(makeTestPV("test-pv", 10, "testdr", "testvol"), false),
    		},
    		{
    			name:       "mixchar driver",
    			driverName: "test.dr.cc",
    			volName:    "testvol",
    			spec:       volume.NewSpecFromPersistentVolume(makeTestPV("test-pv", 10, "test.dr.cc", "testvol"), false),
    		},
    		{
    			name:       "mixchar volume",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/schema/validation_test.go

    				},
    				Origin: fakeOrigin{},
    			},
    		},
    	}
    	a := ValidationAnalyzer{s: testSchema}
    	a.Analyze(ctx)
    }
    
    func TestSchemaValidationWrapper(t *testing.T) {
    	testCol := gvk.VirtualService
    
    	m1 := &v1alpha3.VirtualService{}
    	m2 := &v1alpha3.VirtualService{}
    	m3 := &v1alpha3.VirtualService{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. pilot/pkg/networking/util/util_test.go

    	for i := 0; i < b.N; i++ {
    		cpy := CloneClusterLoadAssignment(testCla)
    		_ = cpy
    	}
    }
    
    func TestCloneClusterLoadAssignment(t *testing.T) {
    	cloned := CloneClusterLoadAssignment(testCla)
    	cloned2 := CloneClusterLoadAssignment(testCla)
    	if !cmp.Equal(testCla, cloned, protocmp.Transform()) {
    		t.Fatalf("expected %v to be the same as %v", testCla, cloned)
    	}
    	cloned.ClusterName = "foo"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_mounter_test.go

    	"k8s.io/kubernetes/pkg/volume"
    	fakecsi "k8s.io/kubernetes/pkg/volume/csi/fake"
    	"k8s.io/kubernetes/pkg/volume/util"
    	volumetypes "k8s.io/kubernetes/pkg/volume/util/types"
    )
    
    var (
    	testDriver  = "test-driver"
    	testVol     = "vol-123"
    	testns      = "test-ns"
    	testPod     = "test-pod"
    	testPodUID  = types.UID("test-pod")
    	testAccount = "test-service-account"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  6. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h

      // test, then wait for it to complete.
      enum TestRole { OVERSEE_TEST, EXECUTE_TEST };
    
      // An enumeration of the three reasons that a test might be aborted.
      enum AbortReason {
        TEST_ENCOUNTERED_RETURN_STATEMENT,
        TEST_THREW_EXCEPTION,
        TEST_DID_NOT_DIE
      };
    
      // Assumes one of the above roles.
      virtual TestRole AssumeRole() = 0;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. pkg/volume/csi/csi_attacher_test.go

    	}{
    		{
    			name:       "test ok 1",
    			nodeName:   "testnode-01",
    			driverName: "testdriver-01",
    			volumeName: "testvol-01",
    			attachID:   getAttachmentName("testvol-01", "testdriver-01", "testnode-01"),
    			spec:       volume.NewSpecFromPersistentVolume(makeTestPV("pv01", 10, "testdriver-01", "testvol-01"), false),
    		},
    		{
    			name:       "test ok 2",
    			nodeName:   "node02",
    			driverName: "driver02",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/wait/wait_test.go

    				}
    			}
    		}()
    		return ch
    	}
    }
    
    func (fp *fakePoller) GetwaitFunc() waitFunc {
    	fp.wg.Add(1)
    	return fakeTicker(fp.max, &fp.used, fp.wg.Done)
    }
    
    func TestPoll(t *testing.T) {
    	invocations := 0
    	f := ConditionWithContextFunc(func(ctx context.Context) (bool, error) {
    		invocations++
    		return true, nil
    	})
    	fp := fakePoller{max: 1}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  9. cmd/xl-storage_test.go

    	// create xlStorage test setup
    	storage, path, err := newXLStorageTestSetup(t)
    	if err != nil {
    		t.Fatalf("Unable to create xlStorage test setup, %s", err)
    	}
    
    	volName := "testvol"
    	fileName := "testfile"
    	if err := storage.MakeVol(context.Background(), volName); err != nil {
    		t.Fatal(err)
    	}
    
    	// 1) Whole-file bitrot check on proper file
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  10. pkg/scheduler/schedule_one_test.go

    	queuedPodStore := clientcache.NewFIFO(clientcache.MetaNamespaceKeyFunc)
    	pod := podWithID("foo", "")
    	pod.Namespace = "foo-ns"
    	pod.Spec.Volumes = append(pod.Spec.Volumes, v1.Volume{Name: "testVol",
    		VolumeSource: v1.VolumeSource{PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{ClaimName: "testPVC"}}})
    	queuedPodStore.Add(pod)
    	scache := internalcache.New(ctx, 10*time.Minute)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
Back to top