Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Grim (0.17 sec)

  1. src/archive/tar/strconv.go

    	// Because unused fields are filled with NULs, we need
    	// to skip leading NULs. Fields may also be padded with
    	// spaces or NULs.
    	// So we remove leading and trailing NULs and spaces to
    	// be sure.
    	b = bytes.Trim(b, " \x00")
    
    	if len(b) == 0 {
    		return 0
    	}
    	x, perr := strconv.ParseUint(p.parseString(b), 8, 64)
    	if perr != nil {
    		p.err = ErrHeader
    	}
    	return int64(x)
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  2. api/go1.txt

    pkg bytes, func ToTitleSpecial(unicode.SpecialCase, []uint8) []uint8
    pkg bytes, func ToUpper([]uint8) []uint8
    pkg bytes, func ToUpperSpecial(unicode.SpecialCase, []uint8) []uint8
    pkg bytes, func Trim([]uint8, string) []uint8
    pkg bytes, func TrimFunc([]uint8, func(int32) bool) []uint8
    pkg bytes, func TrimLeft([]uint8, string) []uint8
    pkg bytes, func TrimLeftFunc([]uint8, func(int32) bool) []uint8
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  3. api/go1.15.txt

    pkg debug/pe, const IMAGE_FILE_32BIT_MACHINE = 256
    pkg debug/pe, const IMAGE_FILE_32BIT_MACHINE ideal-int
    pkg debug/pe, const IMAGE_FILE_AGGRESIVE_WS_TRIM = 16
    pkg debug/pe, const IMAGE_FILE_AGGRESIVE_WS_TRIM ideal-int
    pkg debug/pe, const IMAGE_FILE_BYTES_REVERSED_HI = 32768
    pkg debug/pe, const IMAGE_FILE_BYTES_REVERSED_HI ideal-int
    pkg debug/pe, const IMAGE_FILE_BYTES_REVERSED_LO = 128
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 17 02:15:01 GMT 2020
    - 7.6K bytes
    - Viewed (0)
  4. src/bytes/bytes.go

    func containsRune(s string, r rune) bool {
    	for _, c := range s {
    		if c == r {
    			return true
    		}
    	}
    	return false
    }
    
    // Trim returns a subslice of s by slicing off all leading and
    // trailing UTF-8-encoded code points contained in cutset.
    func Trim(s []byte, cutset string) []byte {
    	if len(s) == 0 {
    		// This is what we've historically done.
    		return nil
    	}
    	if cutset == "" {
    		return s
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  5. src/bytes/bytes_test.go

    	{"Trim", "\u2C6F\u2C6F\u0250\u0250\u2C6F\u2C6F", "\u2C6F", "\u0250\u0250"},
    	{"Trim", "\x80test\xff", "\xff", "test"},
    	{"Trim", " Ġ ", " ", "Ġ"},
    	{"Trim", " Ġİ0", "0 ", "Ġİ"},
    	//empty string tests
    	{"Trim", "abba", "", "abba"},
    	{"Trim", "", "123", ""},
    	{"Trim", "", "", ""},
    	{"TrimLeft", "abba", "", "abba"},
    	{"TrimLeft", "", "123", ""},
    	{"TrimLeft", "", "", ""},
    	{"TrimRight", "abba", "", "abba"},
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  6. src/bytes/example_test.go

    	fmt.Printf("%s\n", bytes.ToValidUTF8([]byte("\xed\xa0\x80"), []byte("abc")))
    	// Output:
    	// abc
    	// abc
    	// abc
    }
    
    func ExampleTrim() {
    	fmt.Printf("[%q]", bytes.Trim([]byte(" !!! Achtung! Achtung! !!! "), "! "))
    	// Output: ["Achtung! Achtung"]
    }
    
    func ExampleTrimFunc() {
    	fmt.Println(string(bytes.TrimFunc([]byte("go-gopher!"), unicode.IsLetter)))
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  7. src/cmd/asm/internal/asm/testdata/ppc64.s

    	FCFIDS F1, F2                   // ec400e9c
    	FCFIDSCC F1, F2                 // ec400e9d
    	FRES F1, F2                     // ec400830
    	FRESCC F1, F2                   // ec400831
    	FRIM F1, F2                     // fc400bd0
    	FRIMCC F1, F2                   // fc400bd1
    	FRIP F1, F2                     // fc400b90
    	FRIPCC F1, F2                   // fc400b91
    	FRIZ F1, F2                     // fc400b50
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Apr 01 18:50:29 GMT 2024
    - 48.8K bytes
    - Viewed (0)
Back to top