Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for runnerFor (0.27 sec)

  1. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractGradleceptionSmokeTest.groovy

            result = null
            result = runnerFor(tasks, testKitDir).build()
        }
    
        protected void fails(List<String> tasks, File testKitDir = null) {
            result = null
            result = runnerFor(tasks, testKitDir).buildAndFail()
        }
    
        private SmokeTestGradleRunner runnerFor(List<String> tasks, File testKitDir) {
            List<String> gradleArgs = tasks + GRADLE_BUILD_TEST_ARGS
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/unicode/utf8/utf8.go

    	if n < sz {
    		return RuneError, 1
    	}
    	b1 := p[1]
    	if b1 < accept.lo || accept.hi < b1 {
    		return RuneError, 1
    	}
    	if sz <= 2 { // <= instead of == to help the compiler eliminate some bounds checks
    		return rune(p0&mask2)<<6 | rune(b1&maskx), 2
    	}
    	b2 := p[2]
    	if b2 < locb || hicb < b2 {
    		return RuneError, 1
    	}
    	if sz <= 3 {
    		return rune(p0&mask3)<<12 | rune(b1&maskx)<<6 | rune(b2&maskx), 3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:36 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/net/idna/idna10.0.0.go

    func (e labelError) code() string { return e.code_ }
    func (e labelError) Error() string {
    	return fmt.Sprintf("idna: invalid label %q", e.label)
    }
    
    type runeError rune
    
    func (e runeError) code() string { return "P1" }
    func (e runeError) Error() string {
    	return fmt.Sprintf("idna: disallowed rune %U", e)
    }
    
    // process implements the algorithm described in section 4 of UTS #46,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  4. src/strings/strings.go

    // r, or -1 if rune is not present in s.
    // If r is utf8.RuneError, it returns the first instance of any
    // invalid UTF-8 byte sequence.
    func IndexRune(s string, r rune) int {
    	switch {
    	case 0 <= r && r < utf8.RuneSelf:
    		return IndexByte(s, byte(r))
    	case r == utf8.RuneError:
    		for i, r := range s {
    			if r == utf8.RuneError {
    				return i
    			}
    		}
    		return -1
    	case !utf8.ValidRune(r):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modfetch/codehost/codehost.go

    		os.RemoveAll(dir)
    		return "", "", err
    	}
    	return dir, lockfile, nil
    }
    
    type RunError struct {
    	Cmd      string
    	Err      error
    	Stderr   []byte
    	HelpText string
    }
    
    func (e *RunError) Error() string {
    	text := e.Cmd + ": " + e.Err.Error()
    	stderr := bytes.TrimRight(e.Stderr, "\n")
    	if len(stderr) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/net/idna/idna9.0.0.go

    func (e labelError) code() string { return e.code_ }
    func (e labelError) Error() string {
    	return fmt.Sprintf("idna: invalid label %q", e.label)
    }
    
    type runeError rune
    
    func (e runeError) code() string { return "P1" }
    func (e runeError) Error() string {
    	return fmt.Sprintf("idna: disallowed rune %U", e)
    }
    
    // process implements the algorithm described in section 4 of UTS #46,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  7. src/strconv/quote.go

    	}
    	buf = append(buf, quote)
    	for width := 0; len(s) > 0; s = s[width:] {
    		r := rune(s[0])
    		width = 1
    		if r >= utf8.RuneSelf {
    			r, width = utf8.DecodeRuneInString(s)
    		}
    		if width == 1 && r == utf8.RuneError {
    			buf = append(buf, `\x`...)
    			buf = append(buf, lowerhex[s[0]>>4])
    			buf = append(buf, lowerhex[s[0]&0xF])
    			continue
    		}
    		buf = appendEscapedRune(buf, r, quote, ASCIIonly, graphicOnly)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  8. src/log/slog/text_handler.go

    			if b != '\\' && (b == ' ' || b == '=' || !safeSet[b]) {
    				return true
    			}
    			i++
    			continue
    		}
    		r, size := utf8.DecodeRuneInString(s[i:])
    		if r == utf8.RuneError || unicode.IsSpace(r) || !unicode.IsPrint(r) {
    			return true
    		}
    		i += size
    	}
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 22:56:07 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. src/path/match.go

    		return
    	}
    	if chunk[0] == '\\' {
    		chunk = chunk[1:]
    		if len(chunk) == 0 {
    			err = ErrBadPattern
    			return
    		}
    	}
    	r, n := utf8.DecodeRuneInString(chunk)
    	if r == utf8.RuneError && n == 1 {
    		err = ErrBadPattern
    	}
    	nchunk = chunk[n:]
    	if len(nchunk) == 0 {
    		err = ErrBadPattern
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 23 17:33:57 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  10. src/net/mail/message.go

    Loop:
    	for {
    		r, size := utf8.DecodeRuneInString(p.s[i:])
    
    		switch {
    		case size == 0:
    			return "", errors.New("mail: unclosed quoted-string")
    
    		case size == 1 && r == utf8.RuneError:
    			return "", fmt.Errorf("mail: invalid utf-8 in quoted-string: %q", p.s)
    
    		case escaped:
    			//  quoted-pair = ("\" (VCHAR / WSP))
    
    			if !isVchar(r) && !isWSP(r) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top