MCPcopy Create free account
hub / github.com/abetlen/llama-cpp-python / __init__

Method __init__

examples/low_level_api/util.py:32–36  ·  view source on GitHub ↗
(self, size, default=0)

Source from the content-addressed store, hash-verified

30
31class Circle:
32 def __init__(self, size, default=0):
33 self.list = [default] * size
34 self.maxsize = size
35 self.size = 0
36 self.offset = 0
37
38 def append(self, elem):
39 if self.size < self.maxsize:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected