Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for MapIter (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. test/escape_reflect.go

    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)
  5. 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)
  6. 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)
Back to top