Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for testHola (0.46 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/volume/util/subpath/subpath_linux_test.go

    			prepare: func(base string) ([]mount.MountPoint, error) {
    				path := filepath.Join(base, containerSubPathDirectoryName, testVol, "container1", "0")
    				path2 := filepath.Join(base, containerSubPathDirectoryName, testVol, "container1", "1")
    				path3 := filepath.Join(base, containerSubPathDirectoryName, testVol, "container2", "1")
    				if err := os.MkdirAll(path, defaultPerm); err != nil {
    					return nil, err
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 10 16:52:55 UTC 2021
    - 37.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. cmd/bitrot_test.go

    package cmd
    
    import (
    	"context"
    	"io"
    	"testing"
    )
    
    func testBitrotReaderWriterAlgo(t *testing.T, bitrotAlgo BitrotAlgorithm) {
    	tmpDir := t.TempDir()
    
    	volume := "testvol"
    	filePath := "testfile"
    
    	disk, err := newLocalXLStorage(tmpDir)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	disk.MakeVol(context.Background(), volume)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. 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)
  8. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/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: Mon Nov 27 17:53:42 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  9. 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)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      ASSERT_TF_OK(status_);
      const std::string src = GetURIForPath("RenameFileOverwriteSrc");
      const std::string dst = GetURIForPath("RenameFileOverwriteDst");
    
      WriteString(src, "test_old");
      ASSERT_TF_OK(status_);
      WriteString(dst, "test_new");
      ASSERT_TF_OK(status_);
    
      tf_gcs_filesystem::PathExists(filesystem_, dst.c_str(), status_);
      EXPECT_TF_OK(status_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 31 12:04:23 UTC 2020
    - 24.9K bytes
    - Viewed (0)
Back to top