Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for ptrval (0.17 sec)

  1. src/flag/flag.go

    	ptrVal := reflect.ValueOf(p)
    	if ptrVal.Kind() != reflect.Ptr {
    		panic("variable value type must be a pointer")
    	}
    	defVal := reflect.ValueOf(val)
    	if defVal.Kind() == reflect.Ptr {
    		defVal = defVal.Elem()
    	}
    	if defVal.Type() != ptrVal.Type().Elem() {
    		panic(fmt.Sprintf("default type does not match variable type: %v != %v", defVal.Type(), ptrVal.Type().Elem()))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go

    			continue
    		}
    		if value.Type == String && test.output.StrVal != value.StrVal {
    			t.Errorf("expected string value %q (%v), but got %q (%v)", test.output.StrVal, test.output, value.StrVal, value)
    		}
    	}
    }
    
    func TestMarshalCBOR(t *testing.T) {
    	for _, tc := range []struct {
    		in            IntOrString
    		want          []byte
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go

    				// memo, but it would require detecting whether types are 'tainted' by
    				// references to type parameters.
    				memo: make(map[types.Type]uint32),
    				// Re-using ptrMap ensures that pointer identity is preserved in this
    				// hasher.
    				ptrMap:     h.ptrMap,
    				sigTParams: tparams,
    			}
    		}
    
    		for i := 0; i < tparams.Len(); i++ {
    			tparam := tparams.At(i)
    			hash += 7 * h.Hash(tparam.Constraint())
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. pkg/volume/iscsi/iscsi.go

    // volumeName: pv0001
    func (iscsi *iscsiDisk) GetPodDeviceMapPath() (string, string) {
    	return iscsi.iscsiPodDeviceMapPath()
    }
    
    func portalMounter(portal string) string {
    	if !strings.Contains(portal, ":") {
    		portal = portal + ":3260"
    	}
    	return portal
    }
    
    // get iSCSI volume info: readOnly and fstype
    func getISCSIVolumeInfo(spec *volume.Spec) (bool, string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  5. src/reflect/abi.go

    // next n integer registers.
    //
    // Bit i in ptrMap indicates whether the i'th value is a pointer.
    // n must be <= 8.
    //
    // Returns whether assignment succeeded.
    func (a *abiSeq) assignIntN(offset, size uintptr, n int, ptrMap uint8) bool {
    	if n > 8 || n < 0 {
    		panic("invalid n")
    	}
    	if ptrMap != 0 && size != goarch.PtrSize {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:08:32 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. src/cmd/go/internal/load/test.go

    // multiple main packages.
    func recompileForTest(pmain, preal, ptest, pxtest *Package) *PackageError {
    	// The "test copy" of preal is ptest.
    	// For each package that depends on preal, make a "test copy"
    	// that depends on ptest. And so on, up the dependency tree.
    	testCopy := map[*Package]*Package{preal: ptest}
    	for _, p := range PackageList([]*Package{pmain}) {
    		if p == preal {
    			continue
    		}
    		// Copy on write.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/common/extensions.kt

    import jetbrains.buildServer.configs.kotlin.failureConditions.failOnText
    import jetbrains.buildServer.configs.kotlin.ui.add
    import java.util.Locale
    
    const val pluginPortalUrlOverride = "-Dorg.gradle.internal.plugins.portal.url.override=%gradle.plugins.portal.url%"
    
    fun BuildSteps.customGradle(init: GradleBuildStep.() -> Unit, custom: GradleBuildStep.() -> Unit): GradleBuildStep =
        GradleBuildStep(init)
            .apply(custom)
            .also {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 13.1K bytes
    - Viewed (1)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/plugins.adoc

    ====
    
    This tells Gradle to first look in the Maven repository at `../maven-repo` when resolving plugins and then to check the Gradle Plugin Portal if the plugins are not found in the Maven repository.
    If you don't want the Gradle Plugin Portal to be searched, omit the `gradlePluginPortal()` line.
    Finally, the Ivy repository at `../ivy-repo` will be checked.
    
    [[sec:plugin_version_management]]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 04:11:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  9. pkg/volume/csi/nodeinfomanager/nodeinfomanager.go

    		if len(topology) == 0 {
    			return node, false, nil
    		}
    
    		for k, v := range topology {
    			if curVal, exists := node.Labels[k]; exists && curVal != v {
    				return nil, false, fmt.Errorf("detected topology value collision: driver reported %q:%q but existing label is %q:%q", k, v, k, curVal)
    			}
    		}
    
    		if node.Labels == nil {
    			node.Labels = make(map[string]string)
    		}
    		for k, v := range topology {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  10. operator/cmd/mesh/manifest-generate_test.go

    		g.Expect(s).Should(HavePathValueContain(PathValue{"spec.ports.[0]", portVal("grpc-pilot-mtls", 15011, -1)}))
    		g.Expect(s).Should(HavePathValueContain(PathValue{"spec.ports.[1]", portVal("tcp-citadel-grpc-tls", 8060, 8060)}))
    		g.Expect(s).Should(HavePathValueContain(PathValue{"spec.ports.[2]", portVal("tcp-dns", 5353, -1)}))
    
    		for _, o := range objs.kind(name.HPAStr).objSlice {
    			ou := o.Unstructured()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 43.5K bytes
    - Viewed (0)
Back to top