MCPcopy Create free account
hub / github.com/WheretIB/nullc / min

Function min

tests/TestExtra.cpp:163–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161m[1][3] = 4;\r\n\
162\r\n\
163int operator+(float a, int n){ return int(a) + n; }\r\n\
164\r\n\
165int min(int a, b){ return a < b ? a : b; }\r\n\
166int ref rsize = new int;\r\n\
167int[] operator+(int[] a, b){ int[] res = new int[min(a.size, b.size)]; for(int i = 0; i < res.size; i++) res[i] = a[i] + b[i]; *rsize = res.size; return res; }\r\n\
168auto k = { 1, 2, 3, 4 } + { 4, 2, 5, 3 };\r\n\

Callers 3

operator+Function · 0.85
TestSpecial.cppFile · 0.85
OnCharacterMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected