Searched refs:openSlices (Results 1 – 3 of 3) sorted by relevance
23 val openSlices: MutableList<MutableSliceGroup> = mutableListOf() constant in trebuchet.model.fragments.SliceGroupBuilder25 fun hasOpenSlices() = openSlices.isNotEmpty() in hasOpenSlices()30 openSlices.add(builder) in hasOpenSlices()36 val builder = openSlices.removeAt(openSlices.lastIndex) in endSlice()39 if (openSlices.isNotEmpty()) { in endSlice()40 openSlices.last().add(builder) in endSlice()
33 val openSlices = mutableMapOf<String, AsyncSlice>() constant in trebuchet.model.fragments.AsyncSlicesBuilder41 openSlices[key(name, cookie)] = AsyncSlice(startTime, Double.NaN, name, cookie, in openAsyncSlice()46 val slice = openSlices.remove(key(name, cookie)) ?: return in closeAsyncSlice()54 for (slice in openSlices.values) { in autoCloseOpenSlices()60 openSlices.clear() in autoCloseOpenSlices()
42 if (asyncSlicesBuilder.openSlices.isNotEmpty()) { in <lambda>()