Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 82 for myrunes (0.13 sec)

  1. src/sort/sort_slices_benchmark_test.go

    	for i := 0; i < b.N; i++ {
    		b.StopTimer()
    		ints := makeSortedInts(N)
    		b.StartTimer()
    		slices.IsSorted(ints)
    	}
    }
    
    // makeRandomStrings generates n random strings with alphabetic runes of
    // varying lengths.
    func makeRandomStrings(n int) []string {
    	r := rand.New(rand.NewPCG(42, 0))
    	var letters = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
    	ss := make([]string, n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 22:59:40 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/unicode/utf16/utf16.go

    	}
    	return append(a, replacementChar)
    }
    
    // Decode returns the Unicode code point sequence represented
    // by the UTF-16 encoding s.
    func Decode(s []uint16) []rune {
    	// Preallocate capacity to hold up to 64 runes.
    	// Decode inlines, so the allocation can live on the stack.
    	buf := make([]rune, 0, 64)
    	return decode(s, buf)
    }
    
    // decode appends to buf the Unicode code point sequence represented
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:48 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/net/idna/idna10.0.0.go

    func VerifyDNSLength(verify bool) Option {
    	return func(o *options) { o.verifyDNSLength = verify }
    }
    
    // RemoveLeadingDots removes leading label separators. Leading runes that map to
    // dots, such as U+3002 IDEOGRAPHIC FULL STOP, are removed as well.
    func RemoveLeadingDots(remove bool) Option {
    	return func(o *options) { o.removeLeadingDots = remove }
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/conversions.go

    	if isComplex(Vu) && isComplex(Tu) {
    		return true
    	}
    
    	// "V is an integer or a slice of bytes or runes and T is a string type"
    	if (isInteger(Vu) || isBytesOrRunes(Vu)) && isString(Tu) {
    		return true
    	}
    
    	// "V is a string and T is a slice of bytes or runes"
    	if isString(Vu) && isBytesOrRunes(Tu) {
    		return true
    	}
    
    	// package unsafe:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/cases/context.go

    // whenever it is known to be safe to return the runes processed so far.
    //
    // It is recommended for implementations to not allow for more than 30 case
    // ignorables as lookahead (analogous to the limit in norm) and to use state if
    // unbounded lookahead is needed for cased runes.
    type context struct {
    	dst, src []byte
    	atEOF    bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/net/idna/idna9.0.0.go

    func VerifyDNSLength(verify bool) Option {
    	return func(o *options) { o.verifyDNSLength = verify }
    }
    
    // RemoveLeadingDots removes leading label separators. Leading runes that map to
    // dots, such as U+3002 IDEOGRAPHIC FULL STOP, are removed as well.
    func RemoveLeadingDots(remove bool) Option {
    	return func(o *options) { o.removeLeadingDots = remove }
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/unicode/norm/normalize.go

    			ss = 0
    			continue
    		}
    		info := f.info(src, i)
    		if info.size == 0 {
    			if atEOF {
    				// include incomplete runes
    				return n, true
    			}
    			return lastSegStart, true
    		}
    		// This block needs to be before the next, because it is possible to
    		// have an overflow for runes that are starters (e.g. with U+FF9E).
    		switch ss.next(info) {
    		case ssStarter:
    			lastSegStart = i
    		case ssOverflow:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_tidy_compat_incompatible.txt

    # 'go' version in the go.mod file to 1.16, without actually updating the
    # requirements to match.
    
    [short] skip
    
    env MODFMT='{{with .Module}}{{.Path}} {{.Version}}{{end}}'
    
    
    # For this module, Go 1.17 prunes out a (transitive and otherwise-irrelevant)
    # requirement on a retracted higher version of a dependency.
    # However, when Go 1.16 reads the same requirements from the go.mod file,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. src/log/slog/level.go

    // by quoting the output of [Level.String].
    func (l Level) MarshalJSON() ([]byte, error) {
    	// AppendQuote is sufficient for JSON-encoding all Level strings.
    	// They don't contain any runes that would produce invalid JSON
    	// when escaped.
    	return strconv.AppendQuote(nil, l.String()), nil
    }
    
    // UnmarshalJSON implements [encoding/json.Unmarshaler]
    // It accepts any string produced by [Level.MarshalJSON],
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 17:34:43 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. src/unicode/letter_test.go

    // sequence of searches within that table, for all possible inputs
    // relative to the ranges (something before all, in each, between each, after all).
    // This assumes that all possible runes are equally likely.
    // In practice most runes are ASCII so this is a conservative estimate
    // of an effective cutoff value. In practice we could probably set it higher
    // than what this function recommends.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 09 01:46:03 UTC 2023
    - 14.8K bytes
    - Viewed (0)
Back to top