Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for findMin (0.29 sec)

  1. src/internal/trace/testdata/testprog/many-start-stop.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Tests simply starting and stopping tracing multiple times.
    //
    // This is useful for finding bugs in trace state reset.
    
    //go:build ignore
    
    package main
    
    import (
    	"bytes"
    	"log"
    	"os"
    	"runtime"
    	"runtime/trace"
    )
    
    func main() {
    	// Trace a few times.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 786 bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Comparators.java

        return least(k, comparator.reversed());
      }
    
      /**
       * Returns the minimum of the two values. If the values compare as 0, the first is returned.
       *
       * <p>The recommended solution for finding the {@code minimum} of some values depends on the type
       * of your data and the number of elements you have. Read more in the Guava User Guide article on
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Comparators.java

      }
    
      /**
       * Returns the minimum of the two values. If the values compare as 0, the first is returned.
       *
       * <p>The recommended solution for finding the {@code minimum} of some values depends on the type
       * of your data and the number of elements you have. Read more in the Guava User Guide article on
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 08:42:51 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/declarations/KotlinStandaloneDeclarationIndex.kt

        internal val topLevelPropertyMap: MutableMap<FqName, MutableSet<KtProperty>> = mutableMapOf()
    
        /**
         * Allows quickly finding [KtClassOrObject]s which have a given simple name as a supertype. The map may contain local classes as well.
         */
        internal val classesBySupertypeName: MutableMap<Name, MutableSet<KtClassOrObject>> = mutableMapOf()
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 22:09:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. buildscripts/checkdeps.sh

    	while [ -L "$TARGET_FILE" ]; do
    		TARGET_FILE=$(env readlink $TARGET_FILE)
    		cd $(dirname $TARGET_FILE)
    		TARGET_FILE=$(basename $TARGET_FILE)
    	done
    
    	# Compute the canonicalized name by finding the physical path
    	# for the directory we're in and appending the target file.
    	PHYS_DIR=$(pwd -P)
    	RESULT=$PHYS_DIR/$TARGET_FILE
    	echo $RESULT
    }
    
    ## FIXME:
    ## In OSX, 'sort -V' option does not exist, hence
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. src/os/path.go

    	}
    
    	// Slow path: make sure parent exists and then call Mkdir for path.
    
    	// Extract the parent folder from path by first removing any trailing
    	// path separator and then scanning backward until finding a path
    	// separator or reaching the beginning of the string.
    	i := len(path) - 1
    	for i >= 0 && IsPathSeparator(path[i]) {
    		i--
    	}
    	for i >= 0 && !IsPathSeparator(path[i]) {
    		i--
    	}
    	if i < 0 {
    		i = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:09 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/coderepo.go

    		// consumer — gets to determine the module's path
    		//
    		// r.findDir verifies both of these conditions. Execute it now so that
    		// r.Stat will correctly return a notExistError if the go.mod location or
    		// declared module path doesn't match.
    		_, _, _, err := r.findDir(ctx, v)
    		if err != nil {
    			// TODO: It would be nice to return an error like "not a module".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  8. .github/workflows/codeql-analysis.yml

            # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
            language: ['java', 'javascript']
            # Learn more...
            # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
    
        steps:
        - name: Checkout repository
          uses: actions/checkout@v4
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/telemetry/internal/upload/findwork.go

    	fis, err := os.ReadDir(localdir)
    	if err != nil {
    		u.logger.Printf("Could not find work: failed to read local dir %s: %v", localdir, err)
    		return ans
    	}
    
    	mode, asof := u.dir.Mode()
    	u.logger.Printf("Finding work: mode %s, asof %s", mode, asof)
    
    	// count files end in .v1.count
    	// reports end in .json. If they are not to be uploaded they
    	// start with local.
    	for _, fi := range fis {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/cmd/go/internal/cache/default.go

    Run "go clean -cache" if the directory is getting too large.
    Run "go clean -fuzzcache" to delete the fuzz cache.
    See golang.org to learn more about Go.
    `
    
    // initDefaultCache does the work of finding the default cache
    // the first time Default is called.
    func initDefaultCache() {
    	dir, _ := DefaultDir()
    	if dir == "off" {
    		if defaultDirErr != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top