Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for isSeparator (0.24 sec)

  1. src/bytes/bytes.go

    			}
    			continue
    		}
    		invalid = false
    		b = append(b, s[i:i+wid]...)
    		i += wid
    	}
    	return b
    }
    
    // isSeparator reports whether the rune could mark a word boundary.
    // TODO: update when package unicode captures more of the properties.
    func isSeparator(r rune) bool {
    	// ASCII alphanumerics and underscore are not separators
    	if r <= 0x7F {
    		switch {
    		case '0' <= r && r <= '9':
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  2. api/go1.13.txt

    pkg os (netbsd-arm64), const PathSeparator = 47
    pkg path/filepath (netbsd-arm64-cgo), const ListSeparator = 58
    pkg path/filepath (netbsd-arm64-cgo), const Separator = 47
    pkg path/filepath (netbsd-arm64), const ListSeparator = 58
    pkg path/filepath (netbsd-arm64), const Separator = 47
    pkg reflect, method (Value) IsZero() bool
    pkg runtime (netbsd-arm64-cgo), const GOARCH = "arm64"
    pkg runtime (netbsd-arm64-cgo), const GOOS = "netbsd"
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/cgotest/overlaydir.go

    		if err != nil || srcPath == srcRoot {
    			return err
    		}
    
    		suffix := strings.TrimPrefix(srcPath, srcRoot)
    		for len(suffix) > 0 && suffix[0] == filepath.Separator {
    			suffix = suffix[1:]
    		}
    		dstPath := filepath.Join(dstRoot, suffix)
    
    		perm := info.Mode() & os.ModePerm
    		if info.Mode()&os.ModeSymlink != 0 {
    			info, err = os.Stat(srcPath)
    			if err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 20:56:09 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  4. api/go1.16.txt

    pkg os (darwin-arm64-cgo), const PathSeparator = 47
    pkg path/filepath (darwin-arm64), const ListSeparator = 58
    pkg path/filepath (darwin-arm64), const Separator = 47
    pkg path/filepath (darwin-arm64-cgo), const ListSeparator = 58
    pkg path/filepath (darwin-arm64-cgo), const Separator = 47
    pkg runtime (darwin-arm64), const GOARCH = "arm64"
    pkg runtime (darwin-arm64), const GOOS = "darwin"
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  5. api/go1.14.txt

    pkg os (freebsd-arm64-cgo), const PathSeparator = 47
    pkg path/filepath (freebsd-arm64), const ListSeparator = 58
    pkg path/filepath (freebsd-arm64), const Separator = 47
    pkg path/filepath (freebsd-arm64-cgo), const ListSeparator = 58
    pkg path/filepath (freebsd-arm64-cgo), const Separator = 47
    pkg runtime (freebsd-arm64), const GOARCH = "arm64"
    pkg runtime (freebsd-arm64), const GOOS = "freebsd"
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg path, func Match(string, string) (bool, error)
    pkg path, func Split(string) (string, string)
    pkg path, var ErrBadPattern error
    pkg path/filepath, const ListSeparator ideal-char
    pkg path/filepath, const Separator ideal-char
    pkg path/filepath, func Abs(string) (string, error)
    pkg path/filepath, func Base(string) string
    pkg path/filepath, func Clean(string) string
    pkg path/filepath, func Dir(string) string
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (2)
  7. src/bytes/bytes_test.go

    	{" Aaa Aaa Aaa ", " Aaa Aaa Aaa "},
    	{"123a456", "123a456"},
    	{"double-blind", "Double-Blind"},
    	{"ÿøû", "Ÿøû"},
    	{"with_underscore", "With_underscore"},
    	{"unicode \xe2\x80\xa8 line separator", "Unicode \xe2\x80\xa8 Line Separator"},
    }
    
    func TestTitle(t *testing.T) {
    	for _, tt := range TitleTests {
    		if s := string(Title([]byte(tt.in))); s != tt.out {
    			t.Errorf("Title(%q) = %q, want %q", tt.in, s, tt.out)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  8. api/go1.20.txt

    pkg path/filepath (freebsd-riscv64), const ListSeparator = 58 #53466
    pkg path/filepath (freebsd-riscv64), const Separator = 47 #53466
    pkg path/filepath (freebsd-riscv64-cgo), const ListSeparator = 58 #53466
    pkg path/filepath (freebsd-riscv64-cgo), const Separator = 47 #53466
    pkg runtime (freebsd-riscv64), const GOARCH = "riscv64" #53466
    pkg runtime (freebsd-riscv64), const GOOS = "freebsd" #53466
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/parse.go

    				// AX:DX becomes DX, AX.
    				operands[colon], operands[colon+1] = operands[colon+1], operands[colon]
    				colon = -1
    			}
    		} else if len(operands) > 0 || tok == ',' || colon >= 0 {
    			// Had a separator with nothing after.
    			p.errorf("missing operand")
    		}
    	}
    	return word, cond, operands, true
    }
    
    func (p *Parser) instruction(op obj.As, word, cond string, operands [][]lex.Token) {
    	p.addr = p.addr[0:0]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  10. api/go1.1.txt

    pkg path/filepath (darwin-386), const Separator = 47
    pkg path/filepath (darwin-386-cgo), const ListSeparator = 58
    pkg path/filepath (darwin-386-cgo), const Separator = 47
    pkg path/filepath (darwin-amd64), const ListSeparator = 58
    pkg path/filepath (darwin-amd64), const Separator = 47
    pkg path/filepath (darwin-amd64-cgo), const ListSeparator = 58
    pkg path/filepath (darwin-amd64-cgo), const Separator = 47
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (1)
Back to top