Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for findMin (0.11 sec)

  1. pkg/controller/volume/persistentvolume/provision_test.go

    			expectedEvents:  noevents,
    			errors:          noerrors,
    			test:            wrapTestWithProvisionCalls([]provisionCall{}, testSyncClaim),
    		},
    		{
    			// volume provision for PVC scheduled
    			"11-23 - skip finding PV and provision for PVC annotated with AnnSelectedNode",
    			newVolumeArray("volume11-23", "1Gi", "", "", v1.VolumeAvailable, v1.PersistentVolumeReclaimDelete, classCopper),
    			[]*v1.PersistentVolume{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/deployment/builder.go

    	}
    	templates, err := b.injectionTemplates()
    	if err != nil {
    		// deal with this when we call Build() to avoid making the New signature unwieldy
    		b.errs = multierror.Append(b.errs, fmt.Errorf("failed finding injection templates on clusters %v", err))
    	}
    	b.templates = templates
    
    	return b.WithClusters(clusters...)
    }
    
    type builder struct {
    	ctx resource.Context
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. src/runtime/mpallocbits.go

    		if start == notSetYet {
    			start = cur
    		}
    		most = max(most, cur)
    		// Final region that might span to next uint64
    		cur = l
    	}
    	if start == notSetYet {
    		// Made it all the way through without finding a single 1 bit.
    		const n = uint(64 * len(b))
    		return packPallocSum(n, n, n)
    	}
    	most = max(most, cur)
    
    	if most >= 64-2 {
    		// There is no way an internal run of zeros could beat max.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc

                mlir::dyn_cast_or_null<StringAttr>(attribute.getValue());
            string_attr != nullptr &&
            string_attr.getValue() == kNullAttributeValue) {
          continue;
        }
    
        if (std::find_if(
                attr_to_op_map.begin(), attr_to_op_map.end(), [&](auto attr_op) {
                  return std::get<0>(attr_op).getName() == attribute.getName();
                }) == attr_to_op_map.end()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  5. cmd/import-boss/main.go

    		// a distinct Package.
    		return nil
    	}
    
    	restrictionFiles, err := recursiveRead(filepath.Join(pkgDir, rulesFileName))
    	if err != nil {
    		return []error{fmt.Errorf("error finding rules file: %w", err)}
    	}
    	if len(restrictionFiles) == 0 {
    		return nil
    	}
    
    	klog.V(2).Infof("verifying pkg %q (%s)", pkg.PkgPath, pkgDir)
    	var errs []error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/volumebinding/binder.go

    			// insert to the eligible node set.
    			if eligibleNodes == nil {
    				eligibleNodes = sets.New(nodeNames...)
    			} else {
    				// for subsequent finding of eligible nodes for the local PersistentVolume,
    				// take the intersection of the nodes with the existing eligible nodes
    				// for cases if PV1 has node affinity to node1 and PV2 has node affinity to node2,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. src/compress/flate/deflate.go

    	// format limits the range of lengths and offsets. For example, there are
    	// 256 legitimate lengths: those in the range [3, 258]. This package's
    	// compressor uses a higher minimum match length, enabling optimizations
    	// such as finding matches via 32-bit loads and compares.
    	baseMatchLength = 3       // The smallest match length per the RFC section 3.2.5
    	minMatchLength  = 4       // The smallest match length that the compressor actually emits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. pkg/volume/emptydir/empty_dir_test.go

    	}
    
    	// Need to create the subdirectory
    	os.MkdirAll(mounter.GetPath(), 0755)
    
    	expectedEmptyDirUsage, err := volumetest.FindEmptyDirectoryUsageOnTmpfs()
    	if err != nil {
    		t.Errorf("Unexpected error finding expected empty directory usage on tmpfs: %v", err)
    	}
    
    	// TODO(pwittroc): Move this into a reusable testing utility
    	metrics, err := mounter.GetMetrics()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  9. pkg/controller/volume/persistentvolume/pv_controller_base.go

    	if err != nil {
    		return false, fmt.Errorf("couldn't get key for object %+v: %w", obj, err)
    	}
    	oldObj, found, err := store.Get(obj)
    	if err != nil {
    		return false, fmt.Errorf("error finding %s %q in controller cache: %w", className, objName, err)
    	}
    
    	objAccessor, err := meta.Accessor(obj)
    	if err != nil {
    		return false, err
    	}
    	if !found {
    		// This is a new object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  10. src/testing/fuzz.go

    	flag.Var(&fuzzDuration, "test.fuzztime", "time to spend fuzzing; default is to run indefinitely")
    	flag.Var(&minimizeDuration, "test.fuzzminimizetime", "time to spend minimizing a value after finding a failing input")
    
    	fuzzCacheDir = flag.String("test.fuzzcachedir", "", "directory where interesting fuzzing inputs are stored (for use only by cmd/go)")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 22.9K bytes
    - Viewed (0)
Back to top