Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 401 for Trune (0.09 sec)

  1. src/regexp/syntax/regexp.go

    	case OpLiteral:
    		for _, r := range re.Rune {
    			escape(b, r, false)
    		}
    	case OpCharClass:
    		if len(re.Rune)%2 != 0 {
    			b.WriteString(`[invalid char class]`)
    			break
    		}
    		b.WriteRune('[')
    		if len(re.Rune) == 0 {
    			b.WriteString(`^\x00-\x{10FFFF}`)
    		} else if re.Rune[0] == 0 && re.Rune[len(re.Rune)-1] == unicode.MaxRune && len(re.Rune) > 2 {
    			// Contains 0 and MaxRune. Probably a negated class.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:51 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. .github/workflows/arm-ci-extended.yml

                echo "Running container(s) found" && \
                docker stop $running_containers;
              fi
              docker container prune -f
              docker image prune -af
          - name: Clean repository
            shell: bash
            run: find /home/ubuntu/actions-runner/_work/tensorflow/tensorflow/. -name . -o -prune -exec sudo rm -rf -- {} + || true
          - name: Checkout repository for nightly (skipped for releases)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 10:24:16 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. .github/workflows/arm-ci-extended-cpp.yml

                echo "Running container(s) found" && \
                docker stop $running_containers;
              fi
              docker container prune -f
              docker image prune -af
          - name: Clean repository
            shell: bash
            run: find /home/ubuntu/actions-runner/_work/tensorflow/tensorflow/. -name . -o -prune -exec sudo rm -rf -- {} + || true
          - name: Checkout repository for nightly (skipped for releases)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 07 17:41:21 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/text/scanner/scanner.go

    		}
    	}
    	return
    }
    
    func (s *Scanner) scanNumber(ch rune, seenDot bool) (rune, rune) {
    	base := 10         // number base
    	prefix := rune(0)  // one of 0 (decimal), '0' (0-octal), 'x', 'o', or 'b'
    	digsep := 0        // bit 0: digit present, bit 1: '_' present
    	invalid := rune(0) // invalid digit in literal, or 0
    
    	// integer part
    	var tok rune
    	var ds int
    	if !seenDot {
    		tok = Int
    		if ch == '0' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/util/cdi/cdi.go

    				c, name)
    		}
    	}
    	if !isAlphaNumeric(rune(name[len(name)-1])) {
    		return fmt.Errorf("invalid name %q, should end with a letter or digit", name)
    	}
    	return nil
    }
    
    func isLetter(c rune) bool {
    	return ('A' <= c && c <= 'Z') || ('a' <= c && c <= 'z')
    }
    
    func isDigit(c rune) bool {
    	return '0' <= c && c <= '9'
    }
    
    func isAlphaNumeric(c rune) bool {
    	return isLetter(c) || isDigit(c)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 09:48:24 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  6. src/strings/strings_test.go

    	{"x \xc0\xc0 ", "x \xc0\xc0"},
    	{"x ☺\xc0\xc0 ", "x ☺\xc0\xc0"},
    	{"x ☺ ", "x ☺"},
    }
    
    func tenRunes(ch rune) string {
    	r := make([]rune, 10)
    	for i := range r {
    		r[i] = ch
    	}
    	return string(r)
    }
    
    // User-defined self-inverse mapping function
    func rot13(r rune) rune {
    	step := rune(13)
    	if r >= 'a' && r <= 'z' {
    		return ((r - 'a' + step) % 26) + 'a'
    	}
    	if r >= 'A' && r <= 'Z' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/cases/context.go

    	atEOF    bool
    
    	pDst int // pDst points past the last written rune in dst.
    	pSrc int // pSrc points to the start of the currently scanned rune.
    
    	// checkpoints safe to return in Transform, where nDst <= pDst and nSrc <= pSrc.
    	nDst, nSrc int
    	err        error
    
    	sz   int  // size of current rune
    	info info // case information of currently scanned rune
    
    	// State preserved across calls to Transform.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. src/fmt/scan.go

    // Scanners may do rune-at-a-time scanning or ask the ScanState
    // to discover the next space-delimited token.
    type ScanState interface {
    	// ReadRune reads the next rune (Unicode code point) from the input.
    	// If invoked during Scanln, Fscanln, or Sscanln, ReadRune() will
    	// return EOF after returning the first '\n' or when reading beyond
    	// the specified width.
    	ReadRune() (r rune, size int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/search.go

    			continue
    		} else if !errors.Is(err, modindex.ErrNotIndexed) {
    			m.AddError(err)
    		}
    
    		prune := pruneVendor
    		if isLocal {
    			prune |= pruneGoMod
    		}
    		walkPkgs(root, modPrefix, prune)
    	}
    }
    
    // walkFromIndex matches packages in a module using the module index. modroot
    // is the module's root directory on disk, index is the modindex.Module for the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/lex/lex.go

    	"strings"
    	"text/scanner"
    
    	"cmd/internal/src"
    )
    
    // A ScanToken represents an input item. It is a simple wrapping of rune, as
    // returned by text/scanner.Scanner, plus a couple of extra values.
    type ScanToken rune
    
    const (
    	// Asm defines some two-character lexemes. We make up
    	// a rune/ScanToken value for them - ugly but simple.
    	LSH          ScanToken = -1000 - iota // << Left shift.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top