Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 965 for runUse (0.13 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. test/rune.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test rune constants, expressions and types.
    // Compiles but does not run.
    
    package rune
    
    var (
    	r0 = 'a'
    	r1 = 'a'+1
    	r2 = 1+'a'
    	r3 = 'a'*2
    	r4 = 'a'/2
    	r5 = 'a'<<1
    	r6 = 'b'<<2
    	r7 int32
    
    	r = []rune{r0, r1, r2, r3, r4, r5, r6, r7}
    )
    
    var (
    	f0 = 1.2
    	f1 = 1.2/'a'
    
    	f = []float64{f0, f1}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 603 bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/unicode/example_test.go

    	// 	is graphic rune
    	// 	is number rune
    	// 	is printable rune
    	// For 'Ὂ':
    	// 	is graphic rune
    	// 	is letter rune
    	// 	is printable rune
    	// 	is upper case rune
    	// For 'g':
    	// 	is graphic rune
    	// 	is letter rune
    	// 	is lower case rune
    	// 	is printable rune
    	// For '̀':
    	// 	is graphic rune
    	// 	is mark rune
    	// 	is printable rune
    	// For '9':
    	// 	is digit rune
    	// 	is graphic 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)
  10. 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) {
    			// Sanity check.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 18:56:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top