Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 221 for nilfunc (0.29 sec)

  1. src/cmd/internal/test2json/testdata/smiley.json

    {"Action":"pass","Test":"Test☺☹/5"}
    {"Action":"output","Test":"Test☺☹/3","Output":"    --- PASS: Test☺☹/3 (0.07s)\n"}
    {"Action":"output","Test":"Test☺☹/3","Output":"        vet_test.go:114: φιλεσ: [\"testdata/composite.go\" \"testdata/nilfunc.go\"]\n"}
    {"Action":"pass","Test":"Test☺☹/3"}
    {"Action":"output","Test":"Test☺☹/6","Output":"    --- PASS: Test☺☹/6 (0.07s)\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 12.4K bytes
    - Viewed (0)
  2. src/runtime/stack.go

    }
    
    //go:nosplit
    func nilfunc() {
    	*(*uint8)(nil) = 0
    }
    
    // adjust Gobuf as if it executed a call to fn
    // and then stopped before the first instruction in fn.
    func gostartcallfn(gobuf *gobuf, fv *funcval) {
    	var fn unsafe.Pointer
    	if fv != nil {
    		fn = unsafe.Pointer(fv.fn)
    	} else {
    		fn = unsafe.Pointer(abi.FuncPCABIInternal(nilfunc))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  3. src/cmd/go/internal/test/test.go

    finds any problems, go test reports those and does not run the test
    binary. Only a high-confidence subset of the default go vet checks are
    used. That subset is: atomic, bool, buildtags, directive, errorsas,
    ifaceassert, nilfunc, printf, and stringintconv. You can see
    the documentation for these and other vet tests via "go doc cmd/vet".
    To disable the running of go vet, use the -vet=off flag. To run all
    checks, use the -vet=all flag.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  4. pkg/registry/core/event/storage/storage.go

    func NewREST(optsGetter generic.RESTOptionsGetter, ttl uint64) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:       func() runtime.Object { return &api.Event{} },
    		NewListFunc:   func() runtime.Object { return &api.EventList{} },
    		PredicateFunc: event.Matcher,
    		TTLFunc: func(runtime.Object, uint64, bool) (uint64, error) {
    			return ttl, nil
    		},
    		DefaultQualifiedResource:  api.Resource("events"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/registry/generic/storage_decorator.go

    	resourcePrefix string,
    	keyFunc func(obj runtime.Object) (string, error),
    	newFunc func() runtime.Object,
    	newListFunc func() runtime.Object,
    	getAttrsFunc storage.AttrFunc,
    	trigger storage.IndexerFuncs,
    	indexers *cache.Indexers) (storage.Interface, factory.DestroyFunc, error) {
    	return NewRawStorage(config, newFunc, newListFunc, resourcePrefix)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go

    //
    // TODO: make the default exposed methods exactly match a generic RESTStorage
    type Store struct {
    	// NewFunc returns a new instance of the type this registry returns for a
    	// GET of a single object, e.g.:
    	//
    	// curl GET /apis/group/version/namespaces/my-ns/myresource/name-of-object
    	NewFunc func() runtime.Object
    
    	// NewListFunc returns a new list of the type this registry; it is the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 23:22:44 UTC 2024
    - 60.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/timing_ratio_histogram.go

    	ratioedOpts := opts.TimingHistogramOpts
    	ratioedOpts.InitialValue /= opts.InitialDenominator
    	th := compbasemetrics.NewTestableTimingHistogram(nowFunc, &ratioedOpts)
    	return &TimingRatioHistogram{
    		Registerable: th,
    		timingRatioHistogramInner: timingRatioHistogramInner{
    			nowFunc:         nowFunc,
    			getGaugeOfRatio: func() Gauge { return th },
    			numerator:       opts.InitialValue,
    			denominator:     opts.InitialDenominator,
    		}}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  8. src/cmd/link/internal/s390x/asm.go

    func gentext(ctxt *ld.Link, ldr *loader.Loader) {
    	initfunc, addmoduledata := ld.PrepareAddmoduledata(ctxt)
    	if initfunc == nil {
    		return
    	}
    
    	// larl %r2, <local.moduledata>
    	initfunc.AddUint8(0xc0)
    	initfunc.AddUint8(0x20)
    	initfunc.AddSymRef(ctxt.Arch, ctxt.Moduledata, 6, objabi.R_PCREL, 4)
    	r1 := initfunc.Relocs()
    	ldr.SetRelocVariant(initfunc.Sym(), r1.Count()-1, sym.RV_390_DBL)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  9. cmd/kube-controller-manager/app/apps.go

    )
    
    func newDaemonSetControllerDescriptor() *ControllerDescriptor {
    	return &ControllerDescriptor{
    		name:     names.DaemonSetController,
    		aliases:  []string{"daemonset"},
    		initFunc: startDaemonSetController,
    	}
    }
    func startDaemonSetController(ctx context.Context, controllerContext ControllerContext, controllerName string) (controller.Interface, bool, error) {
    	dsc, err := daemon.NewDaemonSetsController(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. gorm.go

    	}
    
    	if config.QueryFields {
    		tx.Config.QueryFields = true
    	}
    
    	if config.Logger != nil {
    		tx.Config.Logger = config.Logger
    	}
    
    	if config.NowFunc != nil {
    		tx.Config.NowFunc = config.NowFunc
    	}
    
    	if config.Initialized {
    		tx = tx.getInstance()
    	}
    
    	return tx
    }
    
    // WithContext change current instance db's context to ctx
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sun Aug 20 11:46:56 UTC 2023
    - 11.6K bytes
    - Viewed (0)
Back to top