Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 618 for Trune (0.2 sec)

  1. src/time/zoneinfo_plan9.go

    )
    
    var platformZoneSources []string // none on Plan 9
    
    func isSpace(r rune) bool {
    	return r == ' ' || r == '\t' || r == '\n'
    }
    
    // Copied from strings to avoid a dependency.
    func fields(s string) []string {
    	// First count the fields.
    	n := 0
    	inField := false
    	for _, rune := range s {
    		wasInField := inField
    		inField = !isSpace(rune)
    		if inField && !wasInField {
    			n++
    		}
    	}
    
    	// Now create them.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 16 23:09:19 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/mime/grammar.go

    package mime
    
    import (
    	"strings"
    )
    
    // isTSpecial reports whether rune is in 'tspecials' as defined by RFC
    // 1521 and RFC 2045.
    func isTSpecial(r rune) bool {
    	return strings.ContainsRune(`()<>@,;:\"/[]?=`, r)
    }
    
    // isTokenChar reports whether rune is in 'token' as defined by RFC
    // 1521 and RFC 2045.
    func isTokenChar(r rune) bool {
    	// token := 1*<any (US-ASCII) CHAR except SPACE, CTLs,
    	//             or tspecials>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 19 01:06:05 UTC 2016
    - 828 bytes
    - Viewed (0)
  5. 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)
  6. test/fixedbugs/issue56777.go

    				first = false
    			} else {
    				ranges[i].last = r - 1
    				i++
    				first = true
    			}
    		}
    	}
    
    	return len(ranges)
    }
    
    type singleRange struct {
    	first rune
    	last  rune
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 13:26:33 UTC 2022
    - 928 bytes
    - Viewed (0)
  7. 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)
  8. cluster/addons/addon-manager/CHANGELOG.md

    ### Version 9.1.7 (Thu May 15 2023 Paco Xu <******@****.***>)
    - Update kubectl to v1.27.1.
    - Use `--prune-allowlist` instead of deprecated `--prune-whitelist`.
    
    ### Version 9.1.6 (Thu February 24 2022 Shihang Zhang <******@****.***>)
     - Clean up the wait check for service account (https://github.com/kubernetes/kubernetes/pull/108313)
    
    ### Version 9.1.5 (Mon April 19 2021 Spencer Peterson <******@****.***>)
     - Update baseimage to debian-base:v1.0.1.
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 15 01:39:45 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. 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)
  10. src/encoding/json/fold.go

    		}
    		// Handle multi-byte Unicode.
    		r, n := utf8.DecodeRune(in[i:])
    		out = utf8.AppendRune(out, foldRune(r))
    		i += n
    	}
    	return out
    }
    
    // foldRune is returns the smallest rune for all runes in the same fold set.
    func foldRune(r rune) rune {
    	for {
    		r2 := unicode.SimpleFold(r)
    		if r2 <= r {
    			return r2
    		}
    		r = r2
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 27 17:37:27 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top