• Home
  • Raw
  • Download

Lines Matching refs:cache_info

1144         hits, misses, maxsize, currsize = f.cache_info()
1156 hits, misses, maxsize, currsize = f.cache_info()
1162 hits, misses, maxsize, currsize = f.cache_info()
1167 hits, misses, maxsize, currsize = f.cache_info()
1175 hits, misses, maxsize, currsize = f.cache_info()
1186 self.assertEqual(f.cache_info().maxsize, 0)
1191 hits, misses, maxsize, currsize = f.cache_info()
1202 self.assertEqual(f.cache_info().maxsize, 1)
1207 hits, misses, maxsize, currsize = f.cache_info()
1218 self.assertEqual(f.cache_info().maxsize, 2)
1224 hits, misses, maxsize, currsize = f.cache_info()
1250 self.assertEqual(f.cache_info().currsize, 10)
1254 self.assertEqual(f.cache_info().currsize, 10)
1274 self.assertEqual(f.cache_info(), (0, 1, 1, 1))
1279 self.assertEqual(f.cache_info(), (1, 1, 1, 1))
1284 self.assertEqual(f.cache_info(), (1, 2, 1, 1))
1289 self.assertEqual(f.cache_info(), (1, 3, 1, 1))
1339 self.assertEqual(fib.cache_info(),
1342 self.assertEqual(fib.cache_info(),
1351 self.assertEqual(eq.cache_info(),
1383 self.assertEqual(square.cache_info().hits, 4)
1384 self.assertEqual(square.cache_info().misses, 4)
1396 self.assertEqual(fib.cache_info(),
1399 self.assertEqual(fib.cache_info(),
1410 self.assertEqual(fib.cache_info(),
1413 self.assertEqual(fib.cache_info(),
1423 self.assertEqual(f.cache_info(),
1439 hits, misses, maxsize, currsize = f.cache_info()
1462 hits, misses, maxsize, currsize = f.cache_info()
1492 self.assertEqual(f.cache_info(), (0, 0, m*n, 0))
1507 self.assertEqual(f.cache_info(), (0, (i+1)*n, m*n, i+1))
1563 self.assertEqual(X.f.cache_info(), (0, 0, 2, 0))
1568 self.assertEqual(X.f.cache_info(), (4, 6, 2, 2))
1573 self.assertEqual(X.f.cache_info(), (10, 10, 2, 2))
1578 self.assertEqual(X.f.cache_info(), (15, 15, 2, 2))
1580 self.assertEqual(a.f.cache_info(), X.f.cache_info())
1581 self.assertEqual(b.f.cache_info(), X.f.cache_info())
1582 self.assertEqual(c.f.cache_info(), X.f.cache_info())