- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for mapiter2 (2.96 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) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
waiter1.start(); waiter1.awaitWaiting(); WaiterThread waiter2 = new WaiterThread(future); waiter2.start(); waiter2.awaitWaiting(); // The waiter queue should be waiter2->waiter1 // This should wake up waiter1 and cause the waiter1 node to be removed. waiter1.interrupt(); waiter1.join(); waiter2.awaitWaiting(); // should still be blocked
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 46.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
waiter1.start(); waiter1.awaitWaiting(); WaiterThread waiter2 = new WaiterThread(future); waiter2.start(); waiter2.awaitWaiting(); // The waiter queue should be waiter2->waiter1 // This should wake up waiter1 and cause the waiter1 node to be removed. waiter1.interrupt(); waiter1.join(); waiter2.awaitWaiting(); // should still be blocked
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 46.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc
++member_iter) { ResourceAndDevice resource_and_device = *member_iter; auto map_iter = chain_resource_to_ops_map.find(resource_and_device); if (map_iter == chain_resource_to_ops_map.end()) continue; OperationSetTy& resource_ops = map_iter->getSecond(); // Add dependencies between all ops that access current resource and chain // source and sink.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K 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) -
pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go
mounter2, err := plugin.NewMounter(volumeSpec2, pod2, volume.VolumeOptions{}) if err != nil { t.Fatalf("NewMounter failed. Expected: <no error> Actual: <%v>", err) } mapper2, err := plugin.NewBlockVolumeMapper(volumeSpec2, pod2, volume.VolumeOptions{}) if err != nil { t.Fatalf("NewBlockVolumeMapper failed. Expected: <no error> Actual: <%v>", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 46.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
"plugin": { {"(*Plugin).Lookup", Method, 8}, {"Open", Func, 8}, {"Plugin", Type, 8}, {"Symbol", Type, 8}, }, "reflect": { {"(*MapIter).Key", Method, 12}, {"(*MapIter).Next", Method, 12}, {"(*MapIter).Reset", Method, 18}, {"(*MapIter).Value", Method, 12}, {"(*ValueError).Error", Method, 0}, {"(ChanDir).String", Method, 0}, {"(Kind).String", Method, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
src/database/sql/sql.go
// - removing an element (only by the caller who added it) // - taking (get + delete) a random element // // We previously used a map for this but the take of a random element // was expensive, making mapiters. This type avoids a map entirely // and just uses a slice. type connRequestSet struct { // s are the elements in the set. s []connRequestAndIndex } type connRequestAndIndex struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 103.6K bytes - Viewed (0)