- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for TestSizeof (0.4 sec)
-
src/cmd/internal/obj/sizeof_test.go
// license that can be found in the LICENSE file. package obj import ( "reflect" "testing" "unsafe" ) // Assert that the size of important structures do not change unexpectedly. func TestSizeof(t *testing.T) { const _64bit = unsafe.Sizeof(uintptr(0)) == 8 var tests = []struct { val interface{} // type as a value _32bit uintptr // size on 32bit platforms
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 13 23:38:08 UTC 2020 - 824 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/sizeof_test.go
// license that can be found in the LICENSE file. package ssa import ( "reflect" "testing" "unsafe" ) // Assert that the size of important structures do not change unexpectedly. func TestSizeof(t *testing.T) { const _64bit = unsafe.Sizeof(uintptr(0)) == 8 var tests = []struct { val interface{} // type as a value _32bit uintptr // size on 32bit platforms
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 08 01:46:40 UTC 2020 - 855 bytes - Viewed (0) -
src/cmd/compile/internal/types/sizeof_test.go
// license that can be found in the LICENSE file. package types import ( "reflect" "testing" "unsafe" ) // Assert that the size of important structures do not change unexpectedly. func TestSizeof(t *testing.T) { const _64bit = unsafe.Sizeof(uintptr(0)) == 8 var tests = []struct { val interface{} // type as a value _32bit uintptr // size on 32bit platforms
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 17:08:44 UTC 2024 - 1K bytes - Viewed (0) -
src/go/types/sizeof_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package types import ( "reflect" "testing" ) // Signal size changes of important structures. func TestSizeof(t *testing.T) { const _64bit = ^uint(0)>>32 != 0 var tests = []struct { val any // type as a value _32bit uintptr // size on 32bit platforms _64bit uintptr // size on 64bit platforms }{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 06 13:09:19 UTC 2023 - 1.3K bytes - Viewed (0) -
src/runtime/sizeof_test.go
package runtime_test import ( "reflect" "runtime" "testing" "unsafe" ) // Assert that the size of important structures do not change unexpectedly. func TestSizeof(t *testing.T) { const _64bit = unsafe.Sizeof(uintptr(0)) == 8 var tests = []struct { val any // type as a value _32bit uintptr // size on 32bit platforms _64bit uintptr // size on 64bit platforms }{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 22:07:41 UTC 2024 - 892 bytes - Viewed (0) -
src/cmd/compile/internal/types2/sizeof_test.go
// license that can be found in the LICENSE file. package types2 import ( "reflect" "testing" ) // Signal size changes of important structures. func TestSizeof(t *testing.T) { const _64bit = ^uint(0)>>32 != 0 var tests = []struct { val interface{} // type as a value _32bit uintptr // size on 32bit platforms _64bit uintptr // size on 64bit platforms }{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 06 13:09:19 UTC 2023 - 1.3K bytes - Viewed (0)