Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for relocs (0.33 sec)

  1. 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)
  2. src/cmd/link/internal/mips64/obj.go

    			Linuxdynld:     "/lib64/ld64.so.1",
    			LinuxdynldMusl: musl,
    			Freebsddynld:   "XXX",
    			Openbsddynld:   "/usr/libexec/ld.so",
    			Netbsddynld:    "XXX",
    			Dragonflydynld: "XXX",
    			Solarisdynld:   "XXX",
    
    			Reloc1:    elfreloc1,
    			RelocSize: 24,
    			SetupPLT:  elfsetupplt,
    
    			// Historically GNU ld creates a read-only
    			// .dynamic section.
    			DynamicReadOnly: true,
    		},
    	}
    
    	return arch, theArch
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. src/cmd/link/internal/s390x/obj.go

    			LinuxdynldMusl: "/lib/ld-musl-s390x.so.1",
    
    			// not relevant for s390x
    			Freebsddynld:   "XXX",
    			Openbsddynld:   "XXX",
    			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
    - 2.9K bytes
    - Viewed (0)
  4. src/cmd/link/internal/amd64/obj.go

    			Freebsddynld:   "/libexec/ld-elf.so.1",
    			Openbsddynld:   "/usr/libexec/ld.so",
    			Netbsddynld:    "/libexec/ld.elf_so",
    			Dragonflydynld: "/usr/libexec/ld-elf.so.2",
    			Solarisdynld:   "/lib/amd64/ld.so.1",
    
    			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.9K bytes
    - Viewed (0)
  5. src/cmd/link/internal/arm64/obj.go

    			Freebsddynld:   "/usr/libexec/ld-elf.so.1",
    			Openbsddynld:   "/usr/libexec/ld.so",
    			Netbsddynld:    "/libexec/ld.elf_so",
    			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.8K bytes
    - Viewed (0)
  6. src/cmd/link/internal/arm/obj.go

    			Freebsddynld:   "/usr/libexec/ld-elf.so.1",
    			Openbsddynld:   "/usr/libexec/ld.so",
    			Netbsddynld:    "/libexec/ld.elf_so",
    			Dragonflydynld: "XXX",
    			Solarisdynld:   "XXX",
    
    			Reloc1:    elfreloc1,
    			RelocSize: 8,
    			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.5K bytes
    - Viewed (0)
  7. src/log/slog/attr_test.go

    		b = Bool("key", true).Value.Bool()
    		s = String("key", "foo").Value.String()
    		d = Duration("key", d).Value.Duration()
    		x = Any("key", p).Value.Any()
    	}))
    	if a != 0 {
    		t.Errorf("got %d allocs, want zero", a)
    	}
    	_ = u
    	_ = f
    	_ = b
    	_ = s
    	_ = x
    }
    
    func BenchmarkAttrString(b *testing.B) {
    	var (
    		is string
    		u  string
    		f  string
    		bn string
    		s  string
    		x  string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 18:23:25 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. src/log/slog/internal/buffer/buffer_test.go

    	}
    	testenv.SkipIfOptimizationOff(t)
    	got := int(testing.AllocsPerRun(5, func() {
    		b := New()
    		defer b.Free()
    		b.WriteString("not 1K worth of bytes")
    	}))
    	if got != 0 {
    		t.Errorf("got %d allocs, want 0", got)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 16:48:35 UTC 2023
    - 776 bytes
    - Viewed (0)
  9. docs/de/docs/how-to/extending-openapi.md

    Fügen wir beispielsweise <a href="https://github.com/Rebilly/ReDoc/blob/master/docs/redoc-vendor-extensions.md#x-logo" class="external-link" target="_blank">ReDocs OpenAPI-Erweiterung</a> zum Einbinden eines benutzerdefinierten Logos hinzu.
    
    ### Normales **FastAPI**
    
    Schreiben Sie zunächst wie gewohnt Ihre ganze **FastAPI**-Anwendung:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Mar 14 16:44:05 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. src/cmd/link/internal/x86/obj.go

    			LinuxdynldMusl: "/lib/ld-musl-i386.so.1",
    			Freebsddynld:   "/usr/libexec/ld-elf.so.1",
    			Openbsddynld:   "/usr/libexec/ld.so",
    			Netbsddynld:    "/usr/libexec/ld.elf_so",
    			Solarisdynld:   "/lib/ld.so.1",
    
    			Reloc1:    elfreloc1,
    			RelocSize: 8,
    			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)
Back to top