- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for mapiter2 (0.65 sec)
-
test/escape_reflect.go
return mv.MapKeys() } func mapiter1(m map[string]string) *reflect.MapIter { // ERROR "leaking param: m$" mv := reflect.ValueOf(m) return mv.MapRange() } func mapiter2(m map[string]string) string { // ERROR "leaking param: m$" mv := reflect.ValueOf(m) it := mv.MapRange() if it.Next() { return it.Key().String() } return "" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 18:50:24 UTC 2023 - 13.1K bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/ClientBuildEventGeneratorTest.groovy
def mapper1 = Mock(BuildOperationMapper) def mapper2 = Mock(BuildOperationMapper) def mappedProgressEvent = Mock(InternalProgressEvent) given: mapper1.isEnabled(subscriptions) >> true mapper1.trackers >> [] mapper1.detailsType >> Long.class mapper2.isEnabled(subscriptions) >> true mapper2.trackers >> [] mapper2.detailsType >> String.class
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 8.4K bytes - Viewed (0) -
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) -
api/go1.12.txt
pkg os, method (*ProcessState) ExitCode() int pkg os/exec, method (ExitError) ExitCode() int pkg reflect, method (*MapIter) Key() Value pkg reflect, method (*MapIter) Next() bool pkg reflect, method (*MapIter) Value() Value pkg reflect, method (Value) MapRange() *MapIter pkg reflect, type MapIter struct pkg runtime/debug, func ReadBuildInfo() (*BuildInfo, bool) pkg runtime/debug, type BuildInfo struct
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 02 21:21:53 UTC 2019 - 13.5K bytes - Viewed (0) -
api/go1.18.txt
pkg reflect, method (*MapIter) Reset(Value) pkg reflect, method (Value) CanComplex() bool pkg reflect, method (Value) CanFloat() bool pkg reflect, method (Value) CanInt() bool pkg reflect, method (Value) CanUint() bool pkg reflect, method (Value) FieldByIndexErr([]int) (Value, error) pkg reflect, method (Value) SetIterKey(*MapIter) pkg reflect, method (Value) SetIterValue(*MapIter)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 13K 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) -
src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go
// structure, not the stack. Check if this is the case and if so, // remove. // Remove up to two frames. maxiter := 2 // Allow one different sample for this many samples with the same // second-to-last frame. similarSamples := 32 margin := len(p.Sample) / similarSamples for iter := 0; iter < maxiter; iter++ { addr1 := make(map[uint64]int) for _, s := range p.Sample { if len(s.Location) > 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 18:58:12 UTC 2022 - 32.8K bytes - Viewed (0)