FIND YOUR NEXT FEW LINES
Results for “selected”
Small, practical examples. Search by task or narrow things down below.
89 snippets foundClear filters
Serialize query rows as JSON
Return a JSON array directly from a SELECT.
FOR JSON✓ Tested
Sort only the smallest requested prefix
C++: partial_sort orders the selected prefix without guaranteeing the order of the remainder.
C++✓ Tested
Toggle a bit with an XOR mask
Arduino / C: XOR flips selected bits and leaves all other bits unchanged.
Arduino / C✓ Tested
Wrap a collection in one shared parent
jQuery: wrapAll places all selected elements inside one wrapper.
jQuery✓ Tested
Wrap each matched element separately
jQuery: wrap adds a parent around each selected element.
jQuery✓ Tested