- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 80 for Case (0.18 sec)
-
src/bytes/example_test.go
// Output: // 8 // 9 // -1 } func ExampleMap() { rot13 := func(r rune) rune { switch { case r >= 'A' && r <= 'Z': return 'A' + (r-'A'+13)%26 case r >= 'a' && r <= 'z': return 'a' + (r-'a'+13)%26 } return r } fmt.Printf("%s\n", bytes.Map(rot13, []byte("'Twas brillig and the slithy gopher..."))) // Output:
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:40 GMT 2024 - 15K bytes - Viewed (1) -
src/archive/tar/strconv_test.go
t.Errorf("fitsInBase256(%d, %d): got %v, want %v", v.in, v.width, ok, v.ok) } } } func TestParseNumeric(t *testing.T) { vectors := []struct { in string want int64 ok bool }{ // Test base-256 (binary) encoded values. {"", 0, true}, {"\x80", 0, true}, {"\x80\x00", 0, true}, {"\x80\x00\x00", 0, true}, {"\xbf", (1 << 6) - 1, true}, {"\xbf\xff", (1 << 14) - 1, true},
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Feb 09 05:28:50 GMT 2021 - 14K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue1435.go
// currently running, and not a // recently terminated thread // resurfaced in a different process. if line != expectedProc { break } // Fall through in the unlikely case // that filter at some point is // "Pid:\t". } if strings.HasPrefix(line, filter) { if line == expected { foundAThread = true break }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Jul 28 21:31:41 GMT 2023 - 7.5K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/amd64enc_extra.s
VPGATHERQQ Y0, 0(Y1*4), Y2 // c4e2fd91148d00000000 VPGATHERQQ X8, 0(X9*4), X10 // c422b991148d00000000 VPGATHERQQ Y8, 0(Y9*4), Y10 // c422bd91148d00000000 // AVX2GATHER: test SP/BP base with different displacements. VPGATHERQQ X0, (SP)(X1*1), X2 // c4e2f991140c VPGATHERQQ X0, 16(SP)(X1*1), X2 // c4e2f991540c10 VPGATHERQQ X0, 512(SP)(X1*1), X2 // c4e2f991940c00020000
Others - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 11 18:32:50 GMT 2023 - 57.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback.go
} fname := f.Name() // Remove the prepended pathname from automatically // generated cgo function names. if strings.HasPrefix(fname, "_") { fname = path.Base(f.Name()[1:]) } // In module mode, this package has a fully-qualified import path. // Remove it if present. fname = strings.TrimPrefix(fname, "cmd/cgo/internal/") namei := "" if i < len(name) {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 111.5K bytes - Viewed (0) -
api/go1.13.txt
pkg syscall (netbsd-arm64-cgo), type InterfaceMessage struct, Header IfMsghdr pkg syscall (netbsd-arm64-cgo), type Iovec struct pkg syscall (netbsd-arm64-cgo), type Iovec struct, Base *uint8 pkg syscall (netbsd-arm64-cgo), type Iovec struct, Len uint64 pkg syscall (netbsd-arm64-cgo), type IPv6MTUInfo struct pkg syscall (netbsd-arm64-cgo), type IPv6MTUInfo struct, Addr RawSockaddrInet6
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) -
src/cmd/asm/internal/arch/arm64.go
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Sep 29 09:04:58 GMT 2022 - 10.4K bytes - Viewed (0) -
src/cmd/api/main_test.go
s = "ideal-char" case types.UntypedFloat: s = "ideal-float" case types.UntypedComplex: s = "ideal-complex" case types.UntypedString: s = "ideal-string" case types.UntypedNil: panic("should never see untyped nil type") default: switch s { case "byte": s = "uint8" case "rune": s = "int32" } } buf.WriteString(s) case *types.Array:
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 09 20:48:51 GMT 2024 - 31.4K bytes - Viewed (0) -
src/cmd/asm/internal/arch/mips.go
case "FCR": if 0 <= n && n <= 31 { return mips.REG_FCR0 + n, true } case "M": if 0 <= n && n <= 31 { return mips.REG_M0 + n, true } case "R": if 0 <= n && n <= 31 { return mips.REG_R0 + n, true } case "W": if 0 <= n && n <= 31 { return mips.REG_W0 + n, true } } return 0, false
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 04 19:06:44 GMT 2020 - 1.7K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/ppc64.s
// available in cmd/internal/obj/ppc64/asm9.go with // their valid instruction encodings. #include "../../../../../runtime/textflag.h" // In case of index mode instructions, usage of // (Rx)(R0) is equivalent to (Rx+R0) // In case of base+displacement mode instructions if // the offset is 0, usage of (Rx) is equivalent to 0(Rx) TEXT asmtest(SB),DUPOK|NOSPLIT,$0 // move constants
Others - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Apr 24 15:53:25 GMT 2024 - 49K bytes - Viewed (0)