Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for testHola (0.14 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. 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. 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)
  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. 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)
  8. pkg/volume/csi/csi_block_test.go

    	registerFakePlugin(testDriver, "endpoint", []string{"1.0.0"}, t)
    	pv := makeTestPV(specVolumeName, 10, testDriver, testVol)
    	spec := volume.NewSpecFromPersistentVolume(pv, pv.Spec.PersistentVolumeSource.CSI.ReadOnly)
    	mapper, err := plug.NewBlockVolumeMapper(
    		spec,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  9. 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)
  10. src/math/cmplx/cmath_test.go

    		// Log10(Conj(z))  == Conj(Log10(z))
    		if f := Log10(Conj(v.in)); !cAlike(Conj(v.want), f) && !cAlike(v.in, Conj(v.in)) {
    			t.Errorf("Log10(%g) = %g, want %g", Conj(v.in), f, Conj(v.want))
    		}
    	}
    }
    func TestPolar(t *testing.T) {
    	for i := 0; i < len(vc); i++ {
    		if r, theta := Polar(vc[i]); !veryclose(polar[i].r, r) && !veryclose(polar[i].theta, theta) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 48.1K bytes
    - Viewed (0)
Back to top