Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 139 for myrunes (0.18 sec)

  1. src/unicode/example_test.go

    package unicode_test
    
    import (
    	"fmt"
    	"unicode"
    )
    
    // Functions starting with "Is" can be used to inspect which table of range a
    // rune belongs to. Note that runes may fit into more than one range.
    func Example_is() {
    
    	// constant with mixed type runes
    	const mixed = "\b5Ὂg̀9! ℃ᾭG"
    	for _, c := range mixed {
    		fmt.Printf("For %q:\n", c)
    		if unicode.IsControl(c) {
    			fmt.Println("\tis control rune")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 08 00:18:29 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  2. src/strconv/makeisprint.go

    		}
    		fmt.Fprintf(&buf, "\t%#04x,\n", r-0x10000)
    	}
    	fmt.Fprintf(&buf, "}\n\n")
    
    	// The list of graphic but not "printable" runes is short. Just make one easy table.
    	fmt.Fprintf(&buf, "// isGraphic lists the graphic runes not matched by IsPrint.\n")
    	fmt.Fprintf(&buf, "var isGraphic = []uint16{\n")
    	for r := rune(0); r <= unicode.MaxRune; r++ {
    		if unicode.IsPrint(r) != unicode.IsGraphic(r) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 18:56:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/text/unicode/norm/composition.go

    		return ssOverflow
    	}
    	// The Stream-Safe Text Processing prescribes that the counting can stop
    	// as soon as a starter is encountered. However, there are some starters,
    	// like Jamo V and T, that can combine with other runes, leaving their
    	// successive non-starters appended to the previous, possibly causing an
    	// overflow. We will therefore consider any rune with a non-zero nLead to
    	// be a non-starter. Note that it always hold that if nLead > 0 then
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 14.1K bytes
    - Viewed (0)
  4. src/strconv/doc.go

    // any non-ASCII Unicode with \u:
    //
    //	q := strconv.Quote("Hello, 世界")
    //	q := strconv.QuoteToASCII("Hello, 世界")
    //
    // [QuoteRune] and [QuoteRuneToASCII] are similar but accept runes and
    // return quoted Go rune literals.
    //
    // [Unquote] and [UnquoteChar] unquote Go string and rune literals.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. src/unicode/utf8/utf8.go

    	default:
    		return append(p, t4|byte(r>>18), tx|byte(r>>12)&maskx, tx|byte(r>>6)&maskx, tx|byte(r)&maskx)
    	}
    }
    
    // RuneCount returns the number of runes in p. Erroneous and short
    // encodings are treated as single runes of width 1 byte.
    func RuneCount(p []byte) int {
    	np := len(p)
    	var n int
    	for i := 0; i < np; {
    		n++
    		c := p[i]
    		if c < RuneSelf {
    			// ASCII fast path
    			i++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:36 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/text/unicode/bidi/prop.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bidi
    
    import "unicode/utf8"
    
    // Properties provides access to BiDi properties of runes.
    type Properties struct {
    	entry uint8
    	last  uint8
    }
    
    var trie = newBidiTrie(0)
    
    // TODO: using this for bidirule reduces the running time by about 5%. Consider
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 20:28:54 UTC 2019
    - 5.7K bytes
    - Viewed (0)
  7. src/unicode/letter.go

    // Methods of SpecialCase customize (by overriding) the standard mappings.
    type SpecialCase []CaseRange
    
    // BUG(r): There is no mechanism for full case folding, that is, for
    // characters that involve multiple runes in the input or output.
    
    // Indices into the Delta arrays inside CaseRanges for case mapping.
    const (
    	UpperCase = iota
    	LowerCase
    	TitleCase
    	MaxCase
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 20:02:46 UTC 2023
    - 10K bytes
    - Viewed (0)
  8. test/switch5.go

    	case 0, 1: // ERROR "duplicate case 0"
    	case 1, 2, 3, 4: // ERROR "duplicate case 1"
    	}
    }
    
    // Ensure duplicates with simple literals are printed as they were
    // written, not just their values. Particularly useful for runes.
    func f8(r rune) {
    	const x = 10
    	switch r {
    	case 33, 33: // ERROR "duplicate case (33 in switch)?"
    	case 34, '"': // ERROR "duplicate case '"' .value 34. in switch"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 21:28:48 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/pruning/algorithm.go

    // and ObjectMeta fields if XEmbeddedResource is set to true, or for the root if isResourceRoot=true,
    // i.e. it does not prune unknown metadata fields.
    // It returns the set of fields that it prunes if opts.TrackUnknownFieldPaths is true
    func PruneWithOptions(obj interface{}, s *structuralschema.Structural, isResourceRoot bool, opts structuralschema.UnknownFieldPathOptions) []string {
    	if isResourceRoot {
    		if s == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 18 14:55:12 UTC 2022
    - 4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/remove_unused_while_results.cc

    struct RemoveUnusedWhileResultsPass
        : public impl::RemoveUnusedWhileResultsPassBase<
              RemoveUnusedWhileResultsPass> {
      void runOnOperation() override;
    };
    
    // Prunes result defining op if possible, returns true if pruning was done.
    bool TryPruneResultDefiningOp(TF::WhileRegionOp while_op, OpResult result) {
      // Don't prune if result is used.
      if (!result.use_empty()) return false;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 16 01:49:07 UTC 2022
    - 5K bytes
    - Viewed (0)
Back to top