MCPcopy Create free account
hub / github.com/apache/trafficserver / add

Method add

tests/gold_tests/autest-site/ordered_set_queue.py:52–56  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

50 return key in self.map
51
52 def add(self, key):
53 if key not in self.map:
54 end = self.end
55 curr = end[1]
56 curr[2] = end[1] = self.map[key] = [key, curr, end]
57
58 def discard(self, key):
59 if key in self.map:

Callers 4

_process_eventsMethod · 0.45
count_threadsFunction · 0.45
_putMethod · 0.45
_get_listening_portsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected