- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for 01122334 (0.18 sec)
-
src/runtime/string_test.go
} } func TestIntString(t *testing.T) { // Non-escaping result of intstring. s := "" for i := rune(0); i < 4; i++ { s += string(i+'0') + string(i+'0'+1) } if want := "01122334"; s != want { t.Fatalf("want '%v', got '%v'", want, s) } // Escaping result of intstring. var a [4]string for i := rune(0); i < 4; i++ { a[i] = string(i + '0') }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 13 14:05:23 UTC 2022 - 13.3K bytes - Viewed (0) -
tensorflow/cc/gradients/math_grad_test.cc
} TEST_F(CWiseUnaryGradTest, Sign) { auto x_fn = [this](const int i) { return RV({-1, 1, -2, 2, -3, 3}); }; TestCWiseGrad<float, float>(SIGN, x_fn); } TEST_F(CWiseUnaryGradTest, Sin) { auto x_fn = [this](const int i) { return RV({0, -1, 1, -2, 2, -3, 3}); }; TestCWiseGrad<float, float>(SIN, x_fn); } TEST_F(CWiseUnaryGradTest, Sin_Complex) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 36K bytes - Viewed (0) -
src/runtime/internal/sys/intrinsics_test.go
x := uint64(0x1122334455667788) y := sys.Bswap64(x) if y != 0x8877665544332211 { t.Errorf("Bswap(%x)=%x, want 0x8877665544332211", x, y) } } func TestBswap32(t *testing.T) { x := uint32(0x11223344) y := sys.Bswap32(x) if y != 0x44332211 { t.Errorf("Bswap(%x)=%x, want 0x44332211", x, y) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 23:34:11 UTC 2023 - 984 bytes - Viewed (0) -
src/html/template/jsctx_string.go
var x [1]struct{} _ = x[jsCtxRegexp-0] _ = x[jsCtxDivOp-1] _ = x[jsCtxUnknown-2] } const _jsCtx_name = "jsCtxRegexpjsCtxDivOpjsCtxUnknown" var _jsCtx_index = [...]uint8{0, 11, 21, 33} func (i jsCtx) String() string { if i >= jsCtx(len(_jsCtx_index)-1) { return "jsCtx(" + strconv.FormatInt(int64(i), 10) + ")" } return _jsCtx_name[_jsCtx_index[i]:_jsCtx_index[i+1]]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 04 17:04:36 UTC 2023 - 635 bytes - Viewed (0) -
src/reflect/iter_test.go
package reflect_test import ( "iter" "maps" . "reflect" "testing" ) func TestValueSeq(t *testing.T) { m := map[string]int{ "1": 1, "2": 2, "3": 3, "4": 4, } c := make(chan int, 3) for i := range 3 { c <- i } close(c) tests := []struct { name string val Value check func(*testing.T, iter.Seq[Value]) }{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 14:27:54 UTC 2024 - 6.4K bytes - Viewed (0) -
src/internal/types/testdata/examples/functions.go
Reverse[int](nil) Reverse[string]([]string{"foo", "bar"}) Reverse[struct{x, y int}]([]struct{x, y int}{{1, 2}, {2, 3}, {3, 4}}) // Since the type parameter is used for an incoming argument, // it can be inferred from the provided argument's type. Reverse([]string{"foo", "bar"}) Reverse([]struct{x, y int}{{1, 2}, {2, 3}, {3, 4}}) // But the incoming argument must have a type, even if it's a // default type. An untyped nil won't work.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 30 20:19:38 UTC 2023 - 5.5K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/loadstore_test.go
old := *z // load *z = uint32(prec) // store if *z < old { // load return 1 } return 0 } func testStoreSize(t *testing.T) { a := [4]uint16{11, 22, 33, 44} testStoreSize_ssa(&a[0], &a[2], 77) want := [4]uint16{77, 22, 33, 44} if a != want { t.Errorf("testStoreSize failed. want = %d, got = %d", want, a) } } //go:noinline
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:54:15 UTC 2022 - 4.8K bytes - Viewed (0) -
src/slices/slices_test.go
[]int{1, 2, 3}, }, { "2 items", []int{1, 1, 2}, []int{1, 2}, }, { "unsorted", []int{1, 2, 1}, []int{1, 2, 1}, }, { "many", []int{1, 2, 2, 3, 3, 4}, []int{1, 2, 3, 4}, }, } func TestCompact(t *testing.T) { for _, test := range compactTests { copy := Clone(test.s) if got := Compact(copy); !Equal(got, test.want) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:32:06 UTC 2024 - 33.2K bytes - Viewed (0) -
pkg/kubelet/stats/cri_stats_provider_windows_test.go
cpuUsageTimestamp := int64(555555) cpuUsageNanoSeconds := uint64(0x123456) cpuUsageNanoCores := uint64(0x4000) memoryUsageTimestamp := int64(666666) memoryUsageWorkingSetBytes := uint64(0x11223344) memoryUsageAvailableBytes := uint64(0x55667788) memoryUsagePageFaults := uint64(200) logStatsUsed := uint64(5000) logStatsInodesUsed := uint64(5050)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Feb 17 00:02:10 UTC 2024 - 13.8K bytes - Viewed (0) -
src/cmd/internal/obj/arm64/doc.go
And for a 128-bit integer, it take two 64-bit operands, for the low and high parts separately. Examples: VMOVS $0x11223344, V0 VMOVD $0x1122334455667788, V1 VMOVQ $0x1122334455667788, $0x99aabbccddeeff00, V2 // V2=0x99aabbccddeeff001122334455667788 8. Move an optionally-shifted 16-bit immediate value to a register.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 00:21:42 UTC 2023 - 9.6K bytes - Viewed (0)