Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for func4 (0.35 sec)

  1. src/cmd/compile/internal/ssa/func.go

    }
    func (f *Func) ConstInt32(t *types.Type, c int32) *Value {
    	return f.constVal(OpConst32, t, int64(c), true)
    }
    func (f *Func) ConstInt64(t *types.Type, c int64) *Value {
    	return f.constVal(OpConst64, t, c, true)
    }
    func (f *Func) ConstFloat32(t *types.Type, c float64) *Value {
    	return f.constVal(OpConst32F, t, int64(math.Float64bits(float64(float32(c)))), true)
    }
    func (f *Func) ConstFloat64(t *types.Type, c float64) *Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. cni/cmd/istio-cni/main.go

    		return err
    	}
    	defer func() {
    		// Log sync will send logs to install-cni container via UDS.
    		// We don't need a timeout here because underlying the log pkg already handles it.
    		// this may fail, but it should be safe to ignore according
    		// to https://github.com/uber-go/zap/issues/328
    		_ = log.Sync()
    	}()
    
    	// TODO: implement plugin version
    	funcs := skel.CNIFuncs{
    		Add:   plugin.CmdAdd,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. cmd/naughty-disk_test.go

    }
    
    func (d *naughtyDisk) LastConn() time.Time {
    	return d.disk.LastConn()
    }
    
    func (d *naughtyDisk) IsLocal() bool {
    	return d.disk.IsLocal()
    }
    
    func (d *naughtyDisk) Endpoint() Endpoint {
    	return d.disk.Endpoint()
    }
    
    func (d *naughtyDisk) Hostname() string {
    	return d.disk.Hostname()
    }
    
    func (d *naughtyDisk) Healing() *healingTracker {
    	return d.disk.Healing()
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/watch/watch.go

    func (f *FakeWatcher) Add(obj runtime.Object) {
    	f.result <- Event{Added, obj}
    }
    
    // Modify sends a modify event.
    func (f *FakeWatcher) Modify(obj runtime.Object) {
    	f.result <- Event{Modified, obj}
    }
    
    // Delete sends a delete event.
    func (f *FakeWatcher) Delete(lastValue runtime.Object) {
    	f.result <- Event{Deleted, lastValue}
    }
    
    // Error sends an Error event.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:06:22 UTC 2024
    - 8.1K bytes
    - Viewed (1)
  5. pkg/kube/krt/informer.go

    	if got := i.inf.Get(string(k), ""); !controllers.IsNil(got) {
    		return &got
    	}
    	return nil
    }
    
    func (i *informer[I]) Register(f func(o Event[I])) Syncer {
    	return registerHandlerAsBatched[I](i, f)
    }
    
    func (i *informer[I]) RegisterBatch(f func(o []Event[I], initialSync bool), runExistingState bool) Syncer {
    	// Note: runExistingState is NOT respected here.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 11:01:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. src/iter/iter.go

    type Seq[V any] func(yield func(V) bool)
    
    // Seq2 is an iterator over sequences of pairs of values, most commonly key-value pairs.
    // When called as seq(yield), seq calls yield(k, v) for each pair (k, v) in the sequence,
    // stopping early if yield returns false.
    type Seq2[K, V any] func(yield func(K, V) bool)
    
    type coro struct{}
    
    //go:linkname newcoro runtime.newcoro
    func newcoro(func(*coro)) *coro
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/kubeconfig/kubeconfig_test.go

    		name                    string
    		writeKubeConfigFunction func(out io.Writer) error
    	}{
    		{
    			name: "WriteKubeConfigWithClientCert",
    			writeKubeConfigFunction: func(out io.Writer) error {
    				return WriteKubeConfigWithClientCert(out, cfg, "myUser", []string{"myOrg"}, notAfter)
    			},
    		},
    		{
    			name: "WriteKubeConfigWithToken",
    			writeKubeConfigFunction: func(out io.Writer) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:04:18 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  8. cmd/storage-rest-client.go

    }
    
    // LastConn - returns when the disk is seen to be connected the last time
    func (client *storageRESTClient) LastConn() time.Time {
    	return client.restClient.LastConn()
    }
    
    func (client *storageRESTClient) IsLocal() bool {
    	return false
    }
    
    func (client *storageRESTClient) Hostname() string {
    	return client.endpoint.Host
    }
    
    func (client *storageRESTClient) Endpoint() Endpoint {
    	return client.endpoint
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  9. pilot/pkg/bootstrap/server.go

    	}
    	return inject.WebhookConfig{}
    }
    
    func (w *webhookInfo) addHandler(fn func()) {
    	w.mu.Lock()
    	defer w.mu.Unlock()
    	if w.wh != nil {
    		w.wh.MultiCast.AddHandler(func(c *inject.Config, s string) error {
    			fn()
    			return nil
    		})
    	}
    }
    
    // NewServer creates a new Server instance based on the provided arguments.
    func NewServer(args *PilotArgs, initFuncs ...func(*Server)) (*Server, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  10. pkg/apis/resource/validation/validation.go

    // ValidateClaim validates a ResourceClaim.
    func ValidateClaim(resourceClaim *resource.ResourceClaim) field.ErrorList {
    	allErrs := corevalidation.ValidateObjectMeta(&resourceClaim.ObjectMeta, true, corevalidation.ValidateResourceClaimName, field.NewPath("metadata"))
    	allErrs = append(allErrs, validateResourceClaimSpec(&resourceClaim.Spec, field.NewPath("spec"))...)
    	return allErrs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.3K bytes
    - Viewed (0)
Back to top