Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 67 for findMin (0.19 sec)

  1. 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)
  2. 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)
  3. src/cmd/go/internal/cache/cache.go

    		gocachetest.IncNonDefault()
    		DebugTest = true
    	}
    }
    
    // Get looks up the action ID in the cache,
    // returning the corresponding output ID and file size, if any.
    // Note that finding an output ID does not guarantee that the
    // saved file for that output ID is still available.
    func (c *DiskCache) Get(id ActionID) (Entry, error) {
    	if verify {
    		return Entry{}, &entryNotFoundError{Err: errVerifyMode}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. test/prove.go

    	for i := 0; i < len(b); i++ { // ERROR "Induction variable: limits \[0,\?\), increment 1$"
    		// This tests for i <= cap, which we can only prove
    		// using the derived relation between len and cap.
    		// This depends on finding the contradiction, since we
    		// don't query this condition directly.
    		useSlice(b[:i]) // ERROR "Proved IsSliceInBounds$"
    	}
    }
    
    func f18(b []int, x int, y uint) {
    	_ = b[x]
    	_ = b[y]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 00:02:36 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. 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)
  6. security/pkg/nodeagent/cache/secretcache.go

    	// avoid processing duplicate events for the same file.
    	sc.certMutex.Lock()
    	defer sc.certMutex.Unlock()
    	file, err := filepath.Abs(file)
    	if err != nil {
    		cacheLog.Errorf("%v: error finding absolute path of %s, retrying watches: %v", resourceName, file, err)
    		return err
    	}
    	key := FileCert{
    		ResourceName: resourceName,
    		Filename:     file,
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 08:29:46 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/plugins.adoc

    First, it needs to *resolve* the plugin, and then it needs to *apply* the plugin to the target, usually a link:{groovyDslPath}/org.gradle.api.Project.html[`Project`].
    
    1. *Resolving* a plugin means finding the correct version of the JAR that contains a given plugin and adding it to the script classpath.
    Once a plugin is resolved, its API can be used in a build script.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 04:11:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  8. src/internal/trace/gc.go

    			// something else being emitted beforehand.
    			continue
    		}
    
    		switch ev.Kind() {
    		case EventRangeActive:
    			if seenSync {
    				// If we've seen a sync, then we can be sure we're not finding out about
    				// something late; we have complete information after that point, and these
    				// active events will just be redundant.
    				break
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/cache.go

    		// m@master as m@pseudo-version.
    		clean := *info
    		info = &clean
    		o := *info.Origin
    		info.Origin = &o
    
    		// Tags never matter if you are starting with a semver version,
    		// as we would be when finding this cache entry.
    		o.TagSum = ""
    		o.TagPrefix = ""
    		// Ref doesn't matter if you have a pseudoversion.
    		if module.IsPseudoVersion(info.Version) {
    			o.Ref = ""
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/import.go

    	}
    
    	// Look up module containing the package, for addition to the build list.
    	// Goal is to determine the module, download it to dir,
    	// and return m, dir, ImportMissingError.
    	fmt.Fprintf(os.Stderr, "go: finding module for package %s\n", path)
    
    	mg, err := rs.Graph(ctx)
    	if err != nil {
    		return module.Version{}, err
    	}
    
    	candidates, err := QueryPackages(ctx, path, "latest", mg.Selected, CheckAllowed)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 27.7K bytes
    - Viewed (0)
Back to top