Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 71 for is_zero (0.17 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_illumos.go

    	iovecs := make([]Iovec, len(bs))
    	for i, b := range bs {
    		iovecs[i].SetLen(len(b))
    		if len(b) > 0 {
    			iovecs[i].Base = &b[0]
    		} else {
    			iovecs[i].Base = (*byte)(unsafe.Pointer(&_zero))
    		}
    	}
    	return iovecs
    }
    
    //sys	readv(fd int, iovs []Iovec) (n int, err error)
    
    func Readv(fd int, iovs [][]byte) (n int, err error) {
    	iovecs := bytes2iovec(iovs)
    	n, err = readv(fd, iovecs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. pkg/controlplane/controller/defaultservicecidr/default_servicecidr_controller.go

    	// don't sync the status of the ServiceCIDR if is being deleted,
    	// deletion must be handled by the controller-manager
    	if !serviceCIDR.GetDeletionTimestamp().IsZero() {
    		return
    	}
    
    	// This controller will set the Ready condition to true if the Ready condition
    	// does not exist and the CIDR values match this controller CIDR values.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. src/crypto/x509/platform_test.go

    			if err != nil {
    				t.Fatalf("ParseCertificate failed: %s", err)
    			}
    
    			var opts VerifyOptions
    			if tc.dnsName != "" {
    				opts.DNSName = tc.dnsName
    			}
    			if !tc.time.IsZero() {
    				opts.CurrentTime = tc.time
    			}
    			if len(tc.eku) > 0 {
    				opts.KeyUsages = tc.eku
    			}
    
    			expectedErr := tc.expectedErr
    			if runtime.GOOS == "darwin" && tc.macosErr != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 17:18:29 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_container_windows.go

    	resources := runtimeapi.WindowsContainerResources{}
    
    	memLimit := memoryLimit.Value()
    
    	if !cpuLimit.IsZero() {
    		// Since Kubernetes doesn't have any notion of weight in the Pod/Container API, only limits/reserves, then applying CpuMaximum only
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. cmd/event-notification.go

    }
    
    // ToEvent - converts to notification event.
    func (args eventArgs) ToEvent(escape bool) event.Event {
    	eventTime := UTCNow()
    	uniqueID := fmt.Sprintf("%X", eventTime.UnixNano())
    	if !args.Object.ModTime.IsZero() {
    		uniqueID = fmt.Sprintf("%X", args.Object.ModTime.UnixNano())
    	}
    
    	respElements := map[string]string{
    		"x-amz-request-id": args.RespElements["requestId"],
    		"x-amz-id-2":       args.RespElements["nodeId"],
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. cmd/api-headers.go

    		w.Header().Set(xhttp.ContentType, objInfo.ContentType)
    	}
    
    	if objInfo.ContentEncoding != "" {
    		w.Header().Set(xhttp.ContentEncoding, objInfo.ContentEncoding)
    	}
    
    	if !objInfo.Expires.IsZero() {
    		w.Header().Set(xhttp.Expires, objInfo.Expires.UTC().Format(http.TimeFormat))
    	}
    
    	// Set tag count if object has tags
    	if len(objInfo.UserTags) > 0 {
    		tags, _ := tags.ParseObjectTags(objInfo.UserTags)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 04:44:00 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. pkg/controller/namespace/namespace_controller.go

    		return
    	}
    
    	namespace := obj.(*v1.Namespace)
    	// don't queue if we aren't deleted
    	if namespace.DeletionTimestamp == nil || namespace.DeletionTimestamp.IsZero() {
    		return
    	}
    
    	// delay processing namespace events to allow HA api servers to observe namespace deletion,
    	// and HA etcd servers to observe last minute object creations inside the namespace
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. src/crypto/x509/root_windows.go

    		para.RequestedUsage.Usage.Length = 0
    		para.RequestedUsage.Usage.UsageIdentifiers = nil
    	}
    
    	var verifyTime *syscall.Filetime
    	if opts != nil && !opts.CurrentTime.IsZero() {
    		ft := syscall.NsecToFiletime(opts.CurrentTime.UnixNano())
    		verifyTime = &ft
    	}
    
    	// The default is to return only the highest quality chain,
    	// setting this flag will add additional lower quality contexts.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:41:40 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. pkg/proxy/healthcheck/proxier_health.go

    // defined as being: not tainted by ToBeDeletedTaint and not deleted.
    func (hs *ProxierHealthServer) SyncNode(node *v1.Node) {
    	hs.lock.Lock()
    	defer hs.lock.Unlock()
    
    	if !node.DeletionTimestamp.IsZero() {
    		hs.nodeEligible = false
    		return
    	}
    	for _, taint := range node.Spec.Taints {
    		if taint.Key == ToBeDeletedTaint {
    			hs.nodeEligible = false
    			return
    		}
    	}
    	hs.nodeEligible = true
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 10:41:18 UTC 2023
    - 8K bytes
    - Viewed (0)
  10. pkg/apis/storagemigration/validation/validation.go

    	if !validConditionStatuses.Has(string(condition.Status)) {
    		allErrs = append(allErrs, field.NotSupported(fldPath.Child("status"), condition.Status, validConditionStatuses.List()))
    	}
    
    	if condition.LastUpdateTime.IsZero() {
    		allErrs = append(allErrs, field.Required(fldPath.Child("lastTransitionTime"), "must be set"))
    	}
    
    	if len(condition.Reason) == 0 {
    		allErrs = append(allErrs, field.Required(fldPath.Child("reason"), "must be set"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top