- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 88 for mybytes (0.18 sec)
-
test/fixedbugs/issue5704.go
} if s == nil { panic(arg + " == nil") } } func main() { checkBytes([]byte(""), `[]byte("")`) checkBytes([]byte(mystring("")), `[]byte(mystring(""))`) checkBytes(mybytes(""), `mybytes("")`) checkBytes(mybytes(mystring("")), `mybytes(mystring(""))`) checkRunes([]rune(""), `[]rune("")`) checkRunes([]rune(mystring("")), `[]rune(mystring(""))`) checkRunes(myrunes(""), `myrunes("")`)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 1K bytes - Viewed (0) -
src/reflect/all_test.go
{V((**byte)(nil)), V((**byte)(nil))}, {V((**MyByte)(nil)), V((**MyByte)(nil))}, {V((chan byte)(nil)), V((chan byte)(nil))}, {V((chan MyByte)(nil)), V((chan MyByte)(nil))}, {V(([]byte)(nil)), V(([]byte)(nil))}, {V(([]MyByte)(nil)), V(([]MyByte)(nil))}, {V((map[int]byte)(nil)), V((map[int]byte)(nil))}, {V((map[int]MyByte)(nil)), V((map[int]MyByte)(nil))}, {V((map[byte]int)(nil)), V((map[byte]int)(nil))},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
src/encoding/xml/marshal_test.go
}, { Value: &Data{Bytes: []byte{}, Custom: MyBytes{}, Attr: []byte{}}, ExpectXML: `<Data Attr=""><Bytes></Bytes><Custom></Custom></Data>`, UnmarshalOnly: true, }, // Check that []byte works, including named []byte types. { Value: &Data{Bytes: []byte("ab"), Custom: MyBytes("cd"), Attr: []byte{'v'}}, ExpectXML: `<Data Attr="v"><Bytes>ab</Bytes><Custom>cd</Custom></Data>`, },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 18:46:41 UTC 2024 - 66K bytes - Viewed (0) -
src/crypto/sha256/sha256block_arm64.s
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 5.7K bytes - Viewed (0) -
src/internal/types/testdata/check/typeparams.go
type myByte1 []byte type myByte2 []byte func _[T interface{ []byte | myByte1 | myByte2 }] (x T, i, j, k int) { var _ T = x[i:j:k] } func _[T interface{ []byte | myByte1 | []int }] (x T, i, j, k int) { var _ T = x /* ERROR "no core type" */ [i:j:k] } func _[T interface{ []byte | myByte1 | myByte2 | string }] (x T, i, j, k int) { var _ T = x[i:j] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:56:58 UTC 2023 - 15.2K bytes - Viewed (0) -
doc/go1.17_spec.html
</pre> </li> <li> Converting a slice of bytes to a string type yields a string whose successive bytes are the elements of the slice. <pre> string([]byte{'h', 'e', 'l', 'l', '\xc3', '\xb8'}) // "hellø" string([]byte{}) // "" string([]byte(nil)) // "" type MyBytes []byte string(MyBytes{'h', 'e', 'l', 'l', '\xc3', '\xb8'}) // "hellø" </pre>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K bytes - Viewed (0) -
test/typeparam/issue23536.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 556 bytes - Viewed (0) -
test/fixedbugs/issue23814.go
// 4 _ = []byte("hellø") // []byte{'h', 'e', 'l', 'l', '\xc3', '\xb8'} _ = []byte("") // []byte{} _ = bytes("hellø") // []byte{'h', 'e', 'l', 'l', '\xc3', '\xb8'} _ = []myByte("world!") // []myByte{'w', 'o', 'r', 'l', 'd', '!'} _ = []myByte(myString("🌏")) // []myByte{'\xf0', '\x9f', '\x8c', '\x8f'} // 5 _ = []rune(myString("白鵬翔")) // []rune{0x767d, 0x9d6c, 0x7fd4}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 15 00:06:24 UTC 2022 - 1.9K bytes - Viewed (0) -
test/fixedbugs/issue23536.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 07 18:40:16 UTC 2022 - 428 bytes - Viewed (0) -
guava/src/com/google/common/primitives/Bytes.java
/** * Static utility methods pertaining to {@code byte} primitives, that are not already found in * either {@link Byte} or {@link Arrays}, <i>and interpret bytes as neither signed nor unsigned</i>. * The methods which specifically treat bytes as signed or unsigned are found in {@link SignedBytes} * and {@link UnsignedBytes}. * * <p>See the Guava User Guide article on <a
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 14.9K bytes - Viewed (0)