Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/l/o/lodstats-0.3.1/lodstats/stats/LimitedSizeDict.py   lodstats(Download)
    def _check_size_limit(self):
        if self.size_limit is not None and len(self) > self.size_limit + self.size_grace:
            if not self.overflow and self.overflow_callback is not None:
                self.overflow_callback()
                self.overflow = True

src/l/o/LODStats-HEAD/lodstats/stats/LimitedSizeDict.py   LODStats(Download)
    def _check_size_limit(self):
        if self.size_limit is not None and len(self) > self.size_limit + self.size_grace:
            if not self.overflow and self.overflow_callback is not None:
                self.overflow_callback()
                self.overflow = True