- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 295 for relocs (0.69 sec)
-
releasenotes/notes/drop-reload-prioritized-leader-election.yaml
John Howard <******@****.***> 1682620625 -0700
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 27 18:37:05 UTC 2023 - 148 bytes - Viewed (0) -
src/runtime/string_test.go
} }) if n != 0 { t.Fatalf("want 0 allocs, got %v", n) } } func TestStringIndexHaystack(t *testing.T) { // See issue 25864. haystack := []byte("hello") needle := "ll" n := testing.AllocsPerRun(1000, func() { if strings.Index(string(haystack), needle) != 2 { t.Fatalf("needle not found") } }) if n != 0 { t.Fatalf("want 0 allocs, got %v", n) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 13 14:05:23 UTC 2022 - 13.3K bytes - Viewed (0) -
src/strings/builder_test.go
} }) } func TestBuilderGrowSizeclasses(t *testing.T) { s := Repeat("a", 19) allocs := testing.AllocsPerRun(100, func() { var b Builder b.Grow(18) b.WriteString(s) _ = b.String() }) if allocs > 1 { t.Fatalf("unexpected amount of allocations: %v, want: 1", allocs) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 19 19:51:15 UTC 2024 - 8.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/conc_alloc.go
// computeConcurrencyAllocation returns the unique `allocs []float64`, and // an associated `fairProp float64`, that jointly have // all of the following properties (to the degree that floating point calculations allow) // if possible otherwise returns an error saying why it is impossible. // `allocs` sums to `requiredSum`. // For each J in [0, len(classes)): // 1. `classes[J].lowerBound <= allocs[J] <= classes[J].upperBound` and
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 18 04:27:38 UTC 2022 - 9.5K bytes - Viewed (0) -
src/cmd/internal/obj/data.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 24 14:38:53 UTC 2021 - 6.7K bytes - Viewed (0) -
src/sort/search_test.go
if testing.Short() { t.Skip("skipping malloc count in short mode") } if runtime.GOMAXPROCS(0) > 1 { t.Skip("skipping; GOMAXPROCS>1") } allocs := testing.AllocsPerRun(100, runSearchWrappers) if allocs != 0 { t.Errorf("expected no allocs for runSearchWrappers, got %v", allocs) } } func BenchmarkSearchWrappers(b *testing.B) { for i := 0; i < b.N; i++ { runSearchWrappers() } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 07 14:42:13 UTC 2022 - 6.8K bytes - Viewed (0) -
src/cmd/link/internal/ppc64/obj.go
Linuxdynld: dynld, LinuxdynldMusl: musl, Freebsddynld: "XXX", Openbsddynld: "/usr/libexec/ld.so", Netbsddynld: "XXX", Dragonflydynld: "XXX", Solarisdynld: "XXX", Reloc1: elfreloc1, RelocSize: 24, SetupPLT: elfsetupplt, }, } return arch, theArch } func archinit(ctxt *ld.Link) { switch ctxt.HeadType { default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 19:32:19 UTC 2023 - 3.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/trampoline_reuse_test.txt
# from main package calls. and main.Func1 and main.Func2 are placed # a bit more than the direct call limit apart, but not more than 0x400 # bytes beyond it (to verify the reloc calc). go build -- go.mod -- module foo go 1.19 -- main.go -- package main import "foo/bar" func Func1() func main() { Func1() bar.Bar2()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 14:31:23 UTC 2022 - 2.7K bytes - Viewed (0) -
src/log/slog/value_test.go
type panickingLogValue struct{} func (panickingLogValue) LogValue() Value { panic("bad") } // A Value with "unsafe" strings is significantly faster: // safe: 1785 ns/op, 0 allocs // unsafe: 690 ns/op, 0 allocs // Run this with and without -tags unsafe_kvs to compare. func BenchmarkUnsafeStrings(b *testing.B) { b.ReportAllocs() dst := make([]Value, 100) src := make([]Value, len(dst))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:12:08 UTC 2024 - 6.9K bytes - Viewed (0) -
src/cmd/internal/src/pos_test.go
} if got := pos.RelLine(); got != test.relLine { t.Errorf("%s: got relLine %d; want %d", test.string, got, test.relLine) } if got := pos.RelCol(); got != test.relCol { t.Errorf("%s: got relCol %d; want %d", test.string, got, test.relCol) } } } func TestPredicates(t *testing.T) { b1 := NewFileBase("b1", "b1") b2 := NewFileBase("b2", "b2") for _, test := range []struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 14 23:50:26 UTC 2022 - 8.4K bytes - Viewed (0)