Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,298 for runes (0.06 sec)

  1. src/strings/strings.go

    	// the closure once per rune.
    	prev := ' '
    	return Map(
    		func(r rune) rune {
    			if isSeparator(prev) {
    				prev = r
    				return unicode.ToTitle(r)
    			}
    			prev = r
    			return r
    		},
    		s)
    }
    
    // TrimLeftFunc returns a slice of the string s with all leading
    // Unicode code points c satisfying f(c) removed.
    func TrimLeftFunc(s string, f func(rune) bool) string {
    	i := indexFunc(s, f, false)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  2. src/html/template/escape.go

    	i := bytes.IndexAny(s, delimEnds[c.delim])
    	if i == -1 {
    		i = len(s)
    	}
    	if c.delim == delimSpaceOrTagEnd {
    		// https://www.w3.org/TR/html5/syntax.html#attribute-value-(unquoted)-state
    		// lists the runes below as error characters.
    		// Error out because HTML parsers may differ on whether
    		// "<a id= onclick=f("     ends inside id's or onclick's value,
    		// "<a class=`foo "        ends inside a value,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 32.4K bytes
    - Viewed (0)
  3. src/go/internal/gccgoimporter/parser.go

    	}
    
    	defer func(w uint64) {
    		p.scanner.Whitespace = w
    	}(p.scanner.Whitespace)
    	p.scanner.Whitespace = 0
    
    	// We should now have p.tok pointing to the final newline.
    	// The next runes from the scanner should be the type data.
    
    	var sb strings.Builder
    	for sb.Len() < total {
    		r := p.scanner.Next()
    		if r == scanner.EOF {
    			p.error("unexpected EOF")
    		}
    		sb.WriteRune(r)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 23:14:07 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  4. src/fmt/scan_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if n != 3 {
    		t.Fatalf("expected 3 items consumed, got %d", n)
    	}
    	if a.rune != '1' || b.rune != '2' || c.rune != '➂' {
    		t.Errorf("bad scan rune: %q %q %q should be '1' '2' '➂'", a.rune, b.rune, c.rune)
    	}
    	if a.size != 1 || b.size != 1 || c.size != 3 {
    		t.Errorf("bad scan size: %q %q %q should be 1 1 3", a.size, b.size, c.size)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 20:25:13 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/dec64.rules

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file contains rules to decompose [u]int64 types on 32-bit
    // architectures. These rules work together with the decomposeBuiltIn
    // pass which handles phis of these typ.
    
    (Int64Hi (Int64Make hi _)) => hi
    (Int64Lo (Int64Make _ lo)) => lo
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 19:35:46 UTC 2022
    - 14.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/Wasm.rules

    (I64ShrU (I64Const [x]) (I64Const [y])) => (I64Const [int64(uint64(x) >> uint64(y))])
    (I64ShrS (I64Const [x]) (I64Const [y])) => (I64Const [x >> uint64(y)])
    
    // TODO: declare these operations as commutative and get rid of these rules?
    (I64Add (I64Const [x]) y) && y.Op != OpWasmI64Const => (I64Add y (I64Const [x]))
    (I64Mul (I64Const [x]) y) && y.Op != OpWasmI64Const => (I64Mul y (I64Const [x]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/RISCV64.rules

    Joel Sing <******@****.***> 1707360850 +1100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/LOONG64.rules

    Guoqi Chen <******@****.***> 1692152533 +0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/MIPS.rules

    Junxian Zhu <******@****.***> 1683865731 +0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 35.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/MIPS64.rules

    Junxian Zhu <******@****.***> 1685079225 +0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 41.9K bytes
    - Viewed (0)
Back to top