You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/util
Brad Fitzpatrick cec779e771 util/slicesx: add FirstElementEqual and LastElementEqual
And update a few callers as examples of motivation. (there are a
couple others, but these are the ones where it's prettier)

Updates #cleanup

Change-Id: Ic8c5cb7af0a59c6e790a599136b591ebe16d38eb
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 months ago
..
cache
cibuild
clientmetric
cloudenv
cmpver
codegen cmd/cloner, cmd/viewer, util/codegen: add support for aliases of cloneable types 2 months ago
cstruct
ctxkey
deephash util/deephash: fix test regression on 32-bit 5 months ago
dirwalk
dnsname
execqueue
expvarx
fastuuid
goroutines
groupmember
hashx
httphdr
httpm
jsonutil
limiter all: add test for package comments, fix, add comments as needed 4 months ago
lineread
linuxfw util/slicesx: add FirstElementEqual and LastElementEqual 2 months ago
lru
mak
multierr
must
nocasemaps
osdiag all: add test for package comments, fix, add comments as needed 4 months ago
osshare all: add test for package comments, fix, add comments as needed 4 months ago
osuser util/osuser: turn wasm check into a const expression 3 months ago
pidowner
pool
precompress
progresstracking
quarantine
race
racebuild
rands wgengine/magicsock: use math/rands/v2 5 months ago
reload
ringbuffer
set
singleflight util/singleflight: add DoChanContext 5 months ago
slicesx util/slicesx: add FirstElementEqual and LastElementEqual 2 months ago
syspolicy control/controlclient,posture,util/syspolicy: use predefined syspolicy keys instead of string literals 2 months ago
sysresources
systemd
testenv
topk
truncate
uniq
usermetric usermetric: add initial user-facing metrics 2 months ago
vizerror
winutil util/winutil: add GetRegUserString/SetRegUserString accessors for storage and retrieval of string values in HKEY_CURRENT_USER 2 months ago
zstdframe