Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for ptrval (0.13 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. src/runtime/runtime-gdb_test.go

    	mapvar["abc"] = "def"
    	mapvar["ghi"] = "jkl"
    	slicemap["a"] = []string{"b","c","d"}
        slicemap["e"] = []string{"f","g","h"}
    	strvar := "abc"
    	ptrvar := &strvar
    	slicevar := make([]string, 0, 16)
    	slicevar = append(slicevar, mapvar["abc"])
    	fmt.Println("hi")
    	runtime.KeepAlive(ptrvar)
    	_ = ptrvar // set breakpoint here
    	gslice = slicevar
    	fmt.Printf("%v, %v, %v\n", slicemap, <-chanint, <-chanstr)
    	runtime.KeepAlive(mapvar)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  3. 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)
  4. pkg/apis/apps/v1beta2/zz_generated.defaults.go

    			}
    			if a.LivenessProbe.ProbeHandler.GRPC != nil {
    				if a.LivenessProbe.ProbeHandler.GRPC.Service == nil {
    					var ptrVar1 string = ""
    					a.LivenessProbe.ProbeHandler.GRPC.Service = &ptrVar1
    				}
    			}
    		}
    		if a.ReadinessProbe != nil {
    			v1.SetDefaults_Probe(a.ReadinessProbe)
    			if a.ReadinessProbe.ProbeHandler.HTTPGet != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 17:31:23 UTC 2021
    - 40K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/publishing_gradle_plugins.adoc

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    [[publishing_portal]]
    = Publishing Plugins to the Gradle Plugin Portal
    :portal: Gradle Plugin Portal
    :plugin: Greeting Plugin
    :publishplugin: Plugin Publishing Plugin
    :plugin-reference-documentation: https://plugins.gradle.org/docs/publish-plugin[reference documentation of the {publishplugin}]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 18:40:53 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. pkg/apis/core/v1/zz_generated.defaults.go

    				SetDefaults_HTTPGetAction(a.LivenessProbe.ProbeHandler.HTTPGet)
    			}
    			if a.LivenessProbe.ProbeHandler.GRPC != nil {
    				if a.LivenessProbe.ProbeHandler.GRPC.Service == nil {
    					var ptrVar1 string = ""
    					a.LivenessProbe.ProbeHandler.GRPC.Service = &ptrVar1
    				}
    			}
    		}
    		if a.ReadinessProbe != nil {
    			SetDefaults_Probe(a.ReadinessProbe)
    			if a.ReadinessProbe.ProbeHandler.HTTPGet != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 14:49:26 UTC 2023
    - 37.8K bytes
    - Viewed (0)
  7. pkg/apis/apps/v1/zz_generated.defaults.go

    			}
    			if a.LivenessProbe.ProbeHandler.GRPC != nil {
    				if a.LivenessProbe.ProbeHandler.GRPC.Service == nil {
    					var ptrVar1 string = ""
    					a.LivenessProbe.ProbeHandler.GRPC.Service = &ptrVar1
    				}
    			}
    		}
    		if a.ReadinessProbe != nil {
    			corev1.SetDefaults_Probe(a.ReadinessProbe)
    			if a.ReadinessProbe.ProbeHandler.HTTPGet != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 17:31:23 UTC 2021
    - 40.8K bytes
    - Viewed (0)
  8. pkg/apis/extensions/v1beta1/zz_generated.defaults.go

    			}
    			if a.LivenessProbe.ProbeHandler.GRPC != nil {
    				if a.LivenessProbe.ProbeHandler.GRPC.Service == nil {
    					var ptrVar1 string = ""
    					a.LivenessProbe.ProbeHandler.GRPC.Service = &ptrVar1
    				}
    			}
    		}
    		if a.ReadinessProbe != nil {
    			v1.SetDefaults_Probe(a.ReadinessProbe)
    			if a.ReadinessProbe.ProbeHandler.HTTPGet != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 06 09:07:02 UTC 2023
    - 31.2K bytes
    - Viewed (0)
  9. pkg/apis/batch/v1/zz_generated.defaults.go

    			}
    			if a.LivenessProbe.ProbeHandler.GRPC != nil {
    				if a.LivenessProbe.ProbeHandler.GRPC.Service == nil {
    					var ptrVar1 string = ""
    					a.LivenessProbe.ProbeHandler.GRPC.Service = &ptrVar1
    				}
    			}
    		}
    		if a.ReadinessProbe != nil {
    			corev1.SetDefaults_Probe(a.ReadinessProbe)
    			if a.ReadinessProbe.ProbeHandler.HTTPGet != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 17:31:23 UTC 2021
    - 20.7K bytes
    - Viewed (0)
  10. pkg/volume/iscsi/iscsi_util.go

    func makePDNameInternal(host volume.VolumeHost, portal string, iqn string, lun string, iface string) string {
    	return filepath.Join(host.GetPluginDir(iscsiPluginName), "iface-"+iface, portal+"-"+iqn+"-lun-"+lun)
    }
    
    // make a directory like /var/lib/kubelet/plugins/kubernetes.io/iscsi/volumeDevices/iface_name/portal-some_iqn-lun-lun_id
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 22 12:53:01 UTC 2022
    - 34.1K bytes
    - Viewed (0)
Back to top