Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for emptyInterfaceSwitchCache (0.21 sec)

  1. src/runtime/iface.go

    		}
    	}
    	addEntry(typ, case_, tab)
    
    	return newC
    }
    
    // Empty interface switch cache. Contains one entry with a nil Typ (which
    // causes a cache lookup to fail immediately.)
    var emptyInterfaceSwitchCache = abi.InterfaceSwitchCache{Mask: 0}
    
    // reflect_ifaceE2I is for package reflect,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/switch.go

    			interfaceSwitchGen++
    			c := rttype.NewCursor(lsym, 0, rttype.InterfaceSwitch)
    			c.Field("Cache").WritePtr(typecheck.LookupRuntimeVar("emptyInterfaceSwitchCache"))
    			c.Field("NCases").WriteInt(int64(len(interfaceCases)))
    			array, sizeDelta := c.Field("Cases").ModifyArray(len(interfaceCases))
    			for i, c := range interfaceCases {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top