- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MapIter (0.14 sec)
-
src/reflect/value.go
elem = elem.assignTo("reflect.MapIter.SetValue", v.typ(), target) typedmemmove(v.typ(), v.ptr, elem.ptr) } // Next advances the map iterator and reports whether there is another // entry. It returns false when iter is exhausted; subsequent // calls to [MapIter.Key], [MapIter.Value], or [MapIter.Next] will panic. func (iter *MapIter) Next() bool { if !iter.m.IsValid() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0) -
src/reflect/all_test.go
} if setkey, key := valueToString(k), valueToString(iter.Key()); setkey != key { t.Errorf("MapIter.Key() = %q, MapIter.SetKey() = %q", key, setkey) } if setval, val := valueToString(e), valueToString(iter.Value()); setval != val { t.Errorf("MapIter.Value() = %q, MapIter.SetValue() = %q", val, setval) } } if testenv.OptimizationOff() { return // no inlining with the noopt builder
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0)