Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 68 of 68 for newCounter (0.34 sec)

  1. pkg/kubelet/volumemanager/cache/desired_state_of_world.go

    // should mount it once it is attached.
    type podToMount struct {
    	// podName contains the name of this pod.
    	podName types.UniquePodName
    
    	// Pod to mount the volume to. Used to create NewMounter.
    	pod *v1.Pod
    
    	// volume spec containing the specification for this volume. Used to
    	// generate the volume plugin object, and passed to plugin methods.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_plugin.go

    	if err != nil {
    		klog.V(5).Info(log("Failed to mark %q as republish required, err: %v", spec.Name(), err))
    		return false
    	}
    	return *csiDriver.Spec.RequiresRepublish
    }
    
    func (p *csiPlugin) NewMounter(
    	spec *volume.Spec,
    	pod *api.Pod,
    	_ volume.VolumeOptions) (volume.Mounter, error) {
    
    	volSrc, pvSrc, err := getSourceFromSpec(spec)
    	if err != nil {
    		return nil, err
    	}
    
    	var (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api_test.go

    		{Typ[UntypedInt], Typ[Int], true},
    		{NewSlice(Typ[Int]), NewArray(Typ[Int], 10), true},
    		{NewSlice(Typ[Int]), NewArray(Typ[Uint], 10), false},
    		{NewSlice(Typ[Int]), NewPointer(NewArray(Typ[Int], 10)), true},
    		{NewSlice(Typ[Int]), NewPointer(NewArray(Typ[Uint], 10)), false},
    		// Untyped string values are not permitted by the spec, so the behavior below is undefined.
    		{Typ[UntypedString], Typ[String], true},
    	} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  4. src/go/types/api_test.go

    		{Typ[UntypedInt], Typ[Int], true},
    		{NewSlice(Typ[Int]), NewArray(Typ[Int], 10), true},
    		{NewSlice(Typ[Int]), NewArray(Typ[Uint], 10), false},
    		{NewSlice(Typ[Int]), NewPointer(NewArray(Typ[Int], 10)), true},
    		{NewSlice(Typ[Int]), NewPointer(NewArray(Typ[Uint], 10)), false},
    		// Untyped string values are not permitted by the spec, so the behavior below is undefined.
    		{Typ[UntypedString], Typ[String], true},
    	} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/named.go

    		// No substitution occurred, but we still need to create a new signature to
    		// hold the instantiated receiver.
    		copy := *origSig
    		sig = &copy
    	}
    
    	var rtyp Type
    	if origm.hasPtrRecv() {
    		rtyp = NewPointer(t)
    	} else {
    		rtyp = t
    	}
    
    	sig.recv = substVar(origSig.recv, rtyp)
    	return substFunc(origm, sig)
    }
    
    // SetUnderlying sets the underlying type and marks t as complete.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. src/go/types/named.go

    		// No substitution occurred, but we still need to create a new signature to
    		// hold the instantiated receiver.
    		copy := *origSig
    		sig = &copy
    	}
    
    	var rtyp Type
    	if origm.hasPtrRecv() {
    		rtyp = NewPointer(t)
    	} else {
    		rtyp = t
    	}
    
    	sig.recv = substVar(origSig.recv, rtyp)
    	return substFunc(origm, sig)
    }
    
    // SetUnderlying sets the underlying type and marks t as complete.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. cmd/test-utils_test.go

    func initTestAPIEndPoints(objLayer ObjectLayer, apiFunctions []string) http.Handler {
    	// initialize a new mux router.
    	// goriilla/mux is the library used to register all the routes and handle them.
    	muxRouter := mux.NewRouter().SkipClean(true).UseEncodedPath()
    	if len(apiFunctions) > 0 {
    		// Iterate the list of API functions requested for and register them in mux HTTP handler.
    		registerAPIFunctions(muxRouter, objLayer, apiFunctions...)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"NewLabel", Func, 5},
    		{"NewMap", Func, 5},
    		{"NewMethodSet", Func, 5},
    		{"NewNamed", Func, 5},
    		{"NewPackage", Func, 5},
    		{"NewParam", Func, 5},
    		{"NewPkgName", Func, 5},
    		{"NewPointer", Func, 5},
    		{"NewScope", Func, 5},
    		{"NewSignature", Func, 5},
    		{"NewSignatureType", Func, 18},
    		{"NewSlice", Func, 5},
    		{"NewStruct", Func, 5},
    		{"NewTerm", Func, 18},
    		{"NewTuple", Func, 5},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top