- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for 123456889012345 (0.1 sec)
-
src/runtime/map_test.go
// differently when op is / or % than when it isn't. // Simple test to make sure they all work as expected. m[0] = 12345 m[0] += 67890 m[0] /= 123 m[0] %= 456 const want = (12345 + 67890) / 123 % 456 if got := m[0]; got != want { t.Errorf("got %d, want %d", got, want) } } var sinkAppend bool func TestMapAppendAssignment(t *testing.T) { m := make(map[int][]int, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 33.5K bytes - Viewed (0)