MCPcopy Create free account
hub / github.com/apache/qpid-proton / swap

Function swap

c/tests/refcount_test.cpp:168–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168static void swap(int array[], int i, int j) {
169 int a = array[i];
170 int b = array[j];
171 array[j] = a;
172 array[i] = b;
173}
174
175static void setup(void **objects) {
176 pn_connection_t *conn = pn_connection();

Callers 3

permuteFunction · 0.70
log_clearMethod · 0.70
pconnection_processFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected