MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / make_copy

Method make_copy

pager_lib/smb/utils/md4.py:61–75  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

59 return r
60 #-----------------------------------------------------
61 def make_copy(self):
62
63 dest = new()
64
65 dest.len1 = self.len1
66 dest.len2 = self.len2
67 dest.A = self.A
68 dest.B = self.B
69 dest.C = self.C
70 dest.D = self.D
71 dest.count = self.count
72 for i in range(int(self.count)):
73 dest.buf[i] = self.buf[i]
74
75 return dest
76
77 #-----------------------------------------------------
78 def update(self, str):

Callers 1

digestMethod · 0.95

Calls 2

newFunction · 0.85
rangeFunction · 0.85

Tested by

no test coverage detected