Benign go Download

fiatjaf.com/lib v0.1.1

Go module source archive layoutArchive contains go.mod
SHA-256ab4ec5476048f416b1de24d1bd874a460682acba363d19e58bc158acf60a3a48

Evidence

imports reflect benchmark_test.go · lines 1–12
1package set
2
3import (
4 "fmt"
5 "reflect"
6 "strings"
7 "testing"
8)
9
10func BenchmarkSets(b *testing.B) {
11 for _, n := range []int{10, 100, 1000, 10000} {
12 for _, initSet := range []func(items ...i
imports reflect set_test.go · lines 1–11
1package set
2
3import (
4 "fmt"
5 "reflect"
6 "strings"
7 "testing"
8)
9
10func TestSets(t *testing.T) {
11 for _, initSet := range []func(items ...string) Set[string]{NewHashSet[string], NewSliceSet[string]
English function-word token "the" set_test.go · lines 35–41
35:5if !s.Has(l) {
36 t.Fatalf("'%s' should be in the set", l)
37 }
38 }
39 for _, l := range []string{"psow", "xucj"} {
40 if s.Has(l) {
41 t.Fa

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.