Did I find the right examples for you? yes no

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)
We don't care about locking at this point -- so we simply release the
overlay immediately...

src/t/r/troy-0.0.3/troy/workload/workload_manager.py   troy(Download)
 
        workload = troy.WorkloadManager.get_workload (workload_id, _manager=self)
        overlay  = troy.OverlayManager .get_overlay  (overlay_id,  _manager=self)
 
        # make sure the workflow is 'fresh', so we can translate it
 
        workload = self.get_workload (workload_id)
        overlay  = troy.OverlayManager.get_overlay (overlay_id)
 
        if  not overlay :
 
        workload = self.get_workload (workload_id)
        overlay  = troy.OverlayManager.get_overlay (overlay_id)
 
        # make sure the workload is scheduled, so we can dispatch it.

src/t/r/troy-0.0.3/tests/unittests/overlay_manager/test_register_overlay.py   troy(Download)
 
    troy.OverlayManager.register_overlay  (ol1)
    ol2 = troy.OverlayManager.get_overlay (olid)
 
    assert ol1 == ol2, "%s == %s" % (ol1, ol2)
 
    troy.OverlayManager.unregister_overlay (olid)
 
    try :
        ol2 = troy.OverlayManager.get_overlay (olid)

src/t/r/troy-0.0.3/tests/unittests/planner/test_derive_overlay.py   troy(Download)
    overlay_id = planner.derive_overlay(wl.id)
 
    overlay = troy.OverlayManager.get_overlay(overlay_id)
 
    if  not overlay.description.cores :