MCPcopy Create free account
hub / github.com/Bashfuscator/Bashfuscator / randShuffle

Method randShuffle

bashfuscator/core/engine/random.py:113–120  ·  view source on GitHub ↗

Randomly shuffle a sequence in-place. :param seq: sequence to shuffle randomly :type seq: list

(self, seq)

Source from the content-addressed store, hash-verified

111 return selection
112
113 def randShuffle(self, seq):
114 """
115 Randomly shuffle a sequence in-place.
116
117 :param seq: sequence to shuffle randomly
118 :type seq: list
119 """
120 RandomGen.randGen.shuffle(seq)
121
122 def randGenVar(self, minVarLen=None, maxVarLen=None):
123 """

Callers 2

mutateMethod · 0.80
addLinesInRandomOrderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected