Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for runPlan (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/compile/internal/walk/switch.go

    			}
    			return si < sj
    		})
    
    		// runLen returns the string length associated with a
    		// particular run of exprClauses.
    		runLen := func(run []exprClause) int64 { return int64(len(ir.StringVal(run[0].lo))) }
    
    		// Collapse runs of consecutive strings with the same length.
    		var runs [][]exprClause
    		start := 0
    		for i := 1; i < len(cc); i++ {
    			if runLen(cc[start:]) != runLen(cc[i:]) {
    				runs = append(runs, cc[start:i])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  10. src/unicode/utf8/utf8_test.go

    	{MaxRune, 4},
    	{0xD800, -1},
    	{0xDFFF, -1},
    	{MaxRune + 1, -1},
    	{-1, -1},
    }
    
    func TestRuneLen(t *testing.T) {
    	for _, tt := range runelentests {
    		if size := RuneLen(tt.r); size != tt.size {
    			t.Errorf("RuneLen(%#U) = %d, want %d", tt.r, size, tt.size)
    		}
    	}
    }
    
    type ValidTest struct {
    	in  string
    	out bool
    }
    
    var validTests = []ValidTest{
    	{"", true},
    	{"a", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 06:17:15 UTC 2022
    - 16.2K bytes
    - Viewed (0)
Back to top