MCPcopy
hub / github.com/dnhkng/GLaDOS / __radd__

Method __radd__

glados/whisper_cpp_wrapper.py:118–122  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

116 return self.__class__(self.data + str(other).encode())
117
118 def __radd__(self, other):
119 if isinstance(other, bytes):
120 return self.__class__(other + self.data)
121 else:
122 return self.__class__(str(other).encode() + self.data)
123
124 def __mul__(self, n):
125 return self.__class__(self.data * n)

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected