Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 706 for light (0.74 sec)

  1. pkg/controller/controller_utils.go

    // Only abstracted out for testing.
    // Warning: if using KeyFunc it is not safe to use a single ControllerExpectationsInterface with different
    // types of controllers, because the keys might conflict across types.
    type ControllerExpectationsInterface interface {
    	GetExpectations(controllerKey string) (*ControlleeExpectations, bool, error)
    	SatisfiedExpectations(logger klog.Logger, controllerKey string) bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 12 15:34:44 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  2. pkg/controller/volume/pvcprotection/pvc_protection_controller.go

    		logger.Error(err, "")
    	} else if inUse {
    		return true, nil
    	}
    
    	// Even if no Pod using pvc was found in the Informer's cache it doesn't
    	// mean such a Pod doesn't exist: it might just not be in the cache yet. To
    	// be 100% confident that it is safe to delete pvc make sure no Pod is using
    	// it among those returned by a live list.
    	return c.askAPIServer(ctx, pvc)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. src/runtime/traceback_test.go

    		},
    		// Make sure spilled slice data pointers are spilled to the right location
    		// to ensure we see it listed without a ?.
    		// See issue 64414.
    		{
    			func() int {
    				poisonStack()
    				return testTracebackArgsSlice(testTracebackArgsSliceBackingStore[:])
    			},
    			// Note: capacity of the slice might be junk, as it is not used.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  4. src/runtime/runtime2.go

    	// Note that this differs from maxStackScan in that this
    	// accumulates the actual stack observed to be used at GC time (hi - sp),
    	// not an instantaneous measure of the total stack size that might need
    	// to be scanned (hi - lo).
    	scannedStackSize uint64 // stack size of goroutines scanned by this P
    	scannedStacks    uint64 // number of goroutines scanned by this P
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  5. src/runtime/arena.go

    	// For standard use of the ptr bits this is not required, as
    	// the bits are read from the beginning of the object. Some uses,
    	// like noscan spans, oblets, bulk write barriers, and cgocheck, might
    	// start mid-object, so these writes are still required.
    	for {
    		// Write zero bits.
    		idx := h.offset / (ptrBits * goarch.PtrSize)
    		if zeros < ptrBits {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/library/cost.go

    			cost := uint64(math.Ceil(float64(cidrSize+cidrSize) * common.StringTraversalCostFactor))
    
    			if overloadId == "cidr_contains_ip_string" {
    				// If we are comparing a string, we must parse the string to into the right type, so add the cost of traversing the string again.
    				cost += uint64(math.Ceil(float64(otherSize) * common.StringTraversalCostFactor))
    
    			}
    
    			return &cost
    		}
    	case "containsCIDR":
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/upgrade/postupgrade.go

    	var errs []error
    
    	// Upload currently used configuration to the cluster
    	// Note: This is done right in the beginning of cluster initialization; as we might want to make other phases
    	// depend on centralized information from this source in the future
    	if err := uploadconfig.UploadConfiguration(cfg, client); err != nil {
    		errs = append(errs, err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. src/cmd/go/internal/cache/cache.go

    	}
    
    	// Commit cache file entry.
    	if _, err := f.Write(buf); err != nil {
    		f.Truncate(0)
    		return err
    	}
    	if err := f.Close(); err != nil {
    		// Data might not have been written,
    		// but file may look like it is the right size.
    		// To be extra careful, remove cached file.
    		os.Remove(name)
    		return err
    	}
    	os.Chtimes(name, c.now(), c.now()) // mainly for tests
    
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. src/os/exec/exec_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	defer f.Close()
    	ln2, err := net.FileListener(f)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer ln2.Close()
    
    	// Force TLS root certs to be loaded (which might involve
    	// cgo), to make sure none of that potential C code leaks fds.
    	ts := httptest.NewUnstartedServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {}))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  10. src/cmd/gofmt/gofmt.go

    			f.Close()
    			<-fdSem
    		}()
    	}
    
    	// Compute the file's size and read its contents with minimal allocations.
    	//
    	// If we have the FileInfo from filepath.WalkDir, use it to make
    	// a buffer of the right size and avoid ReadAll's reallocations.
    	//
    	// If the size is unknown (or bogus, or overflows an int), fall back to
    	// a size-independent ReadAll.
    	size := -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top