- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for runPlan (0.15 sec)
-
cmd/kubeadm/app/cmd/upgrade/plan.go
Name: name, CurrentVersion: currentVersion, NewVersion: newVersion, NodeName: nodeName, } } // runPlan takes care of outputting available versions to upgrade to for the user func runPlan(flagSet *pflag.FlagSet, flags *planFlags, args []string, printer output.Printer) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Mar 03 03:03:29 UTC 2024 - 14.9K bytes - Viewed (0) -
src/mime/encodedword.go
io.WriteString(w, s) w.Close() return } var currentLen, last, runeLen int for i := 0; i < len(s); i += runeLen { // Multi-byte characters must not be split across encoded-words. // See RFC 2047, section 5.3. _, runeLen = utf8.DecodeRuneInString(s[i:]) if currentLen+runeLen <= maxBase64Len { currentLen += runeLen } else { io.WriteString(w, s[last:i]) w.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 16:12:35 UTC 2024 - 10K bytes - Viewed (0) -
src/html/entity_test.go
if 1+len(k) < utf8.RuneLen(v) { t.Error("escaped entity &" + k + " is shorter than its UTF-8 encoding " + string(v)) } if len(k) > longestEntityWithoutSemicolon && k[len(k)-1] != ';' { t.Errorf("entity name %s is %d characters, but longestEntityWithoutSemicolon=%d", k, len(k), longestEntityWithoutSemicolon) } } for k, v := range entity2 { if 1+len(k) < utf8.RuneLen(v[0])+utf8.RuneLen(v[1]) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 31 22:10:54 UTC 2018 - 1.1K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/play/integtest/external/PlayExternalContinuousBuildIntegrationTest.groovy
when: "the build runs until it enters continuous build" succeeds("runPlay") then: appIsRunningAndDeployed() } def "can run play app multiple times with continuous build" () { when: succeeds("runPlay") then: appIsRunningAndDeployed() when: file("conf/routes") << "\n# changed"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.6K bytes - Viewed (0) -
src/unicode/utf16/utf16.go
return replacementChar, replacementChar } r -= surrSelf return surr1 + (r>>10)&0x3ff, surr2 + r&0x3ff } // RuneLen returns the number of 16-bit words in the UTF-16 encoding of the rune. // It returns -1 if the rune is not a valid value to encode in UTF-16. func RuneLen(r rune) int { switch { case 0 <= r && r < surr1, surr3 <= r && r < surrSelf: return 1 case surrSelf <= r && r <= maxRune: return 2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:08:48 UTC 2024 - 3.9K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/unicode/utf16/44940.md
The [RuneLen] function returns the number of 16-bit words in the UTF-16 encoding of the rune. It returns -1 if the rune
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 20:57:18 UTC 2024 - 162 bytes - Viewed (0) -
src/unicode/utf8/example_test.go
fmt.Println("bytes =", len(str)) fmt.Println("runes =", utf8.RuneCountInString(str)) // Output: // bytes = 13 // runes = 9 } func ExampleRuneLen() { fmt.Println(utf8.RuneLen('a')) fmt.Println(utf8.RuneLen('界')) // Output: // 1 // 3 } func ExampleRuneStart() { buf := []byte("a界") fmt.Println(utf8.RuneStart(buf[0])) fmt.Println(utf8.RuneStart(buf[1]))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 05 21:29:18 UTC 2021 - 3.6K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/play/integtest/fixtures/external/AbstractPlayExternalContinuousBuildIntegrationTest.groovy
} TestFile getPlayRunBuildFile() { buildFile } def writeSources() { playApp.writeSources(testDirectory) playRunBuildFile << """ runPlay { httpPort = 0 ${jpmsForkOptions()} } """ settingsFile << """ rootProject.name = '${playApp.name}' """ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.1K bytes - Viewed (0) -
src/unicode/utf16/utf16_test.go
length int }{ {0, 1}, {Surr1 - 1, 1}, {Surr3, 1}, {SurrSelf - 1, 1}, {SurrSelf, 2}, {MaxRune, 2}, {MaxRune + 1, -1}, {-1, -1}, } { if length := RuneLen(tt.r); length != tt.length { t.Errorf("RuneLen(%#U) = %d, want %d", tt.r, length, tt.length) } } } type encodeTest struct { in []rune out []uint16 } var encodeTests = []encodeTest{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:08:48 UTC 2024 - 6.5K bytes - Viewed (0) -
src/cmd/go/internal/clean/clean.go
cleanFuzzcache bool // clean -fuzzcache flag cleanModcache bool // clean -modcache flag cleanTestcache bool // clean -testcache flag ) func init() { // break init cycle CmdClean.Run = runClean CmdClean.Flag.BoolVar(&cleanI, "i", false, "") CmdClean.Flag.BoolVar(&cleanR, "r", false, "") CmdClean.Flag.BoolVar(&cleanCache, "cache", false, "") CmdClean.Flag.BoolVar(&cleanFuzzcache, "fuzzcache", false, "")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 10.3K bytes - Viewed (0)