Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,687 for runUse (0.12 sec)

  1. src/cmd/go/internal/workcmd/use.go

    for more information.
    `,
    }
    
    var useR = cmdUse.Flag.Bool("r", false, "")
    
    func init() {
    	cmdUse.Run = runUse // break init cycle
    
    	base.AddChdirFlag(&cmdUse.Flag)
    	base.AddModCommonFlags(&cmdUse.Flag)
    }
    
    func runUse(ctx context.Context, cmd *base.Command, args []string) {
    	modload.ForceUseModules = true
    	modload.InitWorkfile()
    	gowork := modload.WorkFilePath()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 7K bytes
    - Viewed (0)
  2. releasenotes/notes/fix-custom-injection-runas.yaml

    docs:
    - 'https://istio.io/latest/docs/setup/additional-setup/sidecar-injection/#customizing-injection'
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 314 bytes
    - Viewed (0)
  3. src/regexp/onepass.go

    			if syntax.Flags(inst.Arg)&syntax.FoldCase != 0 {
    				r0 := inst.Rune[0]
    				runes = append(runes, r0, r0)
    				for r1 := unicode.SimpleFold(r0); r1 != r0; r1 = unicode.SimpleFold(r1) {
    					runes = append(runes, r1, r1)
    				}
    				slices.Sort(runes)
    			} else {
    				runes = append(runes, inst.Rune[0], inst.Rune[0])
    			}
    			onePassRunes[pc] = runes
    			inst.Next = make([]uint32, len(onePassRunes[pc])/2+1)
    			for i := range inst.Next {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. src/unicode/letter.go

    				// is odd so we take the low bit from _case.
    				return rune(cr.Lo) + ((r-rune(cr.Lo))&^1 | rune(_case&1)), true
    			}
    			return r + delta, true
    		}
    		if r < rune(cr.Lo) {
    			hi = m
    		} else {
    			lo = m + 1
    		}
    	}
    	return r, false
    }
    
    // To maps the rune to the specified case: [UpperCase], [LowerCase], or [TitleCase].
    func To(_case int, r rune) rune {
    	r, _ = to(_case, r, CaseRanges)
    	return r
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 20:02:46 UTC 2023
    - 10K bytes
    - Viewed (0)
  5. test/fixedbugs/issue23814.go

    	_ = myString([]myByte{'\xf0', '\x9f', '\x8c', '\x8d'}) // "🌍
    
    	// 3
    	_ = string([]rune{0x767d, 0x9d6c, 0x7fd4}) // "\u767d\u9d6c\u7fd4" == "白鵬翔"
    	_ = string([]rune{})                       // ""
    	_ = string([]rune(nil))                    // ""
    
    	type runes []rune
    	_ = string(runes{0x767d, 0x9d6c, 0x7fd4}) // "\u767d\u9d6c\u7fd4" == "白鵬翔"
    
    	type myRune rune
    	_ = string([]myRune{0x266b, 0x266c}) // "\u266b\u266c" == "♫♬"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 15 00:06:24 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/term/terminal.go

    		}
    		t.historyIndex++
    		runes := []rune(entry)
    		t.setLine(runes, len(runes))
    	case keyDown:
    		switch t.historyIndex {
    		case -1:
    			return
    		case 0:
    			runes := []rune(t.historyPending)
    			t.setLine(runes, len(runes))
    			t.historyIndex--
    		default:
    			entry, ok := t.history.NthPreviousEntry(t.historyIndex - 1)
    			if ok {
    				t.historyIndex--
    				runes := []rune(entry)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 22.5K bytes
    - Viewed (0)
  7. pkg/kube/inject/testdata/inject/proxy-override-runas.yaml

    Jonh Wendell <******@****.***> 1715709579 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 480 bytes
    - Viewed (0)
  8. src/unicode/utf8/example_test.go

    	buf := []byte("Hello, 世界")
    	fmt.Println("bytes =", len(buf))
    	fmt.Println("runes =", utf8.RuneCount(buf))
    	// Output:
    	// bytes = 13
    	// runes = 9
    }
    
    func ExampleRuneCountInString() {
    	str := "Hello, 世界"
    	fmt.Println("bytes =", len(str))
    	fmt.Println("runes =", utf8.RuneCountInString(str))
    	// Output:
    	// bytes = 13
    	// runes = 9
    }
    
    func ExampleRuneLen() {
    	fmt.Println(utf8.RuneLen('a'))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 05 21:29:18 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/cases/trieval.go

    //	2..0  case mode
    //
    // For the non-exceptional cases, a rune must be either uncased, lowercase or
    // uppercase. If the rune is cased, the XOR pattern maps either a lowercase
    // rune to uppercase or an uppercase rune to lowercase (applied to the 10
    // least-significant bits of the rune).
    //
    // See the definitions below for a more detailed description of the various
    // bits.
    type info uint16
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. src/regexp/onepass_test.go

    		[]rune{69, 74},
    		[]rune{65, 69},
    		[]rune{},
    		[]uint32{mergeFailed},
    		1, 2,
    	},
    	{
    		// overlap from above
    		[]rune{69, 74},
    		[]rune{71, 74},
    		[]rune{},
    		[]uint32{mergeFailed},
    		1, 2,
    	},
    	{
    		// overlap from below
    		[]rune{69, 74},
    		[]rune{65, 71},
    		[]rune{},
    		[]uint32{mergeFailed},
    		1, 2,
    	},
    	{
    		// out of order []rune
    		[]rune{69, 74, 60, 65},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top