Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 286 for search_ (0.23 sec)

  1. docs/debugging/pprofgoparser/main.go

    	flag.DurationVar(&margin, "margin", 0, "margin time")
    	flag.StringVar(&searchText, "search", "", "Regex to search for a text in one goroutine stacktrace")
    }
    
    func parseGoroutineType2(path string) (map[time.Duration][]string, error) {
    	f, err := os.Open(path)
    	if err != nil {
    		return nil, err
    	}
    
    	bf := bytes.Buffer{}
    
    	save := func(s string) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Mar 06 11:43:16 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. src/internal/bytealg/bytealg.go

    		if i&1 != 0 {
    			pow *= sq
    		}
    		sq *= sq
    	}
    	return hash, pow
    }
    
    // IndexRabinKarp uses the Rabin-Karp search algorithm to return the index of the
    // first occurrence of sep in s, or -1 if not present.
    func IndexRabinKarp[T string | []byte](s, sep T) int {
    	// Rabin-Karp search
    	hashss, pow := HashStr(sep)
    	n := len(sep)
    	var h uint32
    	for i := 0; i < n; i++ {
    		h = h*PrimeRK + uint32(s[i])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 19:51:15 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/internal/scripts/ScriptFileResolver.java

         *
         * @param dir the directory in which to search
         * @param basename the base name of the script file, i.e. its file name excluding the extension
         * @return the resolved script file present on disk, or {@literal null} if none were found
         */
        @Nullable
        File resolveScriptFile(File dir, String basename);
    
        /**
         * Searches for script files in the given directory, that is, any file with a known
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/rank/fusion/RankFusionSearcher.java

        public String getName() {
            if (name == null) {
                name = StringUtil.decamelize(this.getClass().getSimpleName().replace("Searcher", StringUtil.EMPTY)).toLowerCase(Locale.ENGLISH);
            }
            return name;
        }
    
        protected abstract SearchResult search(String query, SearchRequestParams params, OptionalThing<FessUserBean> userBean);
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. src/os/exec/lp_plan9.go

    )
    
    // ErrNotFound is the error resulting if a path search failed to find an executable file.
    var ErrNotFound = errors.New("executable file not found in $path")
    
    func findExecutable(file string) error {
    	d, err := os.Stat(file)
    	if err != nil {
    		return err
    	}
    	if m := d.Mode(); !m.IsDir() && m&0111 != 0 {
    		return nil
    	}
    	return fs.ErrPermission
    }
    
    // LookPath searches for an executable named file in the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. src/os/exec/lp_unix.go

    //go:build unix
    
    package exec
    
    import (
    	"errors"
    	"internal/syscall/unix"
    	"io/fs"
    	"os"
    	"path/filepath"
    	"strings"
    	"syscall"
    )
    
    // ErrNotFound is the error resulting if a path search failed to find an executable file.
    var ErrNotFound = errors.New("executable file not found in $PATH")
    
    func findExecutable(file string) error {
    	d, err := os.Stat(file)
    	if err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. src/index/suffixarray/suffixarray.go

    func (x *Index) lookupAll(s []byte) ints {
    	// find matching suffix index range [i:j]
    	// find the first index where s would be the prefix
    	i := sort.Search(x.sa.len(), func(i int) bool { return bytes.Compare(x.at(i), s) >= 0 })
    	// starting at i, find the first index at which s is not a prefix
    	j := i + sort.Search(x.sa.len()-i, func(j int) bool { return !bytes.HasPrefix(x.at(j+i), s) })
    	return x.sa.slice(i, j)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. src/os/exec/lp_windows.go

    // license that can be found in the LICENSE file.
    
    package exec
    
    import (
    	"errors"
    	"io/fs"
    	"os"
    	"path/filepath"
    	"strings"
    	"syscall"
    )
    
    // ErrNotFound is the error resulting if a path search failed to find an executable file.
    var ErrNotFound = errors.New("executable file not found in %PATH%")
    
    func chkStat(file string) error {
    	d, err := os.Stat(file)
    	if err != nil {
    		return err
    	}
    	if d.IsDir() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/user/cbean/ca/bs/BsRoleCA.java

    import org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder;
    import org.opensearch.search.aggregations.metrics.CardinalityAggregationBuilder;
    import org.opensearch.search.aggregations.metrics.ScriptedMetricAggregationBuilder;
    import org.opensearch.search.aggregations.metrics.TopHitsAggregationBuilder;
    import org.opensearch.search.aggregations.metrics.ValueCountAggregationBuilder;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. src/net/dnsconfig_unix.go

    				}
    			}
    
    		case "domain": // set search path to just this domain
    			if len(f) > 1 {
    				conf.search = []string{ensureRooted(f[1])}
    			}
    
    		case "search": // set search path to given servers
    			conf.search = make([]string, 0, len(f)-1)
    			for i := 1; i < len(f); i++ {
    				name := ensureRooted(f[i])
    				if name == "." {
    					continue
    				}
    				conf.search = append(conf.search, name)
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:14:43 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top