- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 2,228 for spill (0.05 sec)
-
src/cmd/compile/internal/ssa/deadcode_test.go
} for _, b := range fun.f.Blocks { if b == fun.blocks["b2"] { t.Errorf("b2 block still present") } if b == fun.blocks["b3"] { t.Errorf("b3 block still present") } for _, v := range b.Values { if v == fun.values["cond"] { t.Errorf("constant condition still present") } } } } func BenchmarkDeadCode(b *testing.B) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 23:01:51 UTC 2017 - 3.5K bytes - Viewed (0) -
test/arenas/smoke.go
defer a.Free() const iValue = 10 i := arena.New[int](a) *i = iValue if *i != iValue { // This test doesn't reasonably expect this to fail. It's more likely // that *i crashes for some reason. Still, why not check it. log.Fatalf("bad i value: got %d, want %d", *i, iValue) } const wantLen = 125 const wantCap = 1912 sl := arena.MakeSlice[*int](a, wantLen, wantCap) if len(sl) != wantLen {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 16 17:08:43 UTC 2023 - 1.6K bytes - Viewed (0) -
docs/en/docs/advanced/dataclasses.md
```Python hl_lines="1 7-12 19-20" {!../../../docs_src/dataclasses/tutorial001.py!} ``` This is still supported thanks to **Pydantic**, as it has <a href="https://docs.pydantic.dev/latest/concepts/dataclasses/#use-of-stdlib-dataclasses-with-basemodel" class="external-link" target="_blank">internal support for `dataclasses`</a>.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 4.1K bytes - Viewed (0) -
test/abi/spills4.go
package main import "fmt" type i5f5 struct { a, b int16 c, d, e int32 r, s, t, u, v float32 } //go:noinline func spills(_ *float32) { } //go:registerparams //go:noinline func F(x i5f5) i5f5 { y := x.v spills(&y) x.r = y return x } func main() { x := i5f5{1, 2, 3, 4, 5, 6, 7, 8, 9, 10} y := x z := F(x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 753 bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_doc_path.txt
# cmd/doc should use GOROOT to locate the 'go' command, # not use whatever is in $PATH. # Remove 'go' from $PATH. (It can still be located via $GOROOT/bin/go, and the # test script's built-in 'go' command still knows where to find it.) env PATH='' [GOOS:plan9] env path='' go doc p.X -- go.mod -- module example go 1.19 require example.com/p v0.1.0 replace example.com/p => ./pfork -- example.go -- package example
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 537 bytes - Viewed (0) -
src/cmd/go/testdata/script/build_cache_output.txt
mkdir $GOCACHE # Building a trivial non-main package should run compiler the first time. go build -x -gcflags=-m lib.go stderr 'compile( |\.exe"?)' stderr 'lib.go:2.* can inline f' # ... but not the second, even though it still prints the compiler output. go build -x -gcflags=-m lib.go ! stderr 'compile( |\.exe"?)' stderr 'lib.go:2.* can inline f' # Building a trivial main package should run the compiler and linker the first time.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 2K bytes - Viewed (0) -
src/runtime/time_windows_386.s
MULL CX SHRL $22, DX MOVL DX, BX IMULL $10000000, DX MOVL SI, CX SUBL DX, CX // DI = sec/100 (still) // BX = (nano/100%1e9)/1e7 = (nano/1e9)%100 = sec%100 // CX = (nano/100%1e9)%1e7 = (nano%1e9)/100 = nsec/100 // store nsec for return IMULL $100, CX MOVL CX, nsec+8(FP) // DI = sec/100 (still) // BX = sec%100 // construct DX:AX = 64-bit sec and store for return MOVL $0, DX MOVL $100, AX MULL DI
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 17:19:45 UTC 2023 - 1.7K bytes - Viewed (0) -
docs/en/docs/deployment/versions.md
**FastAPI** is already being used in production in many applications and systems. And the test coverage is kept at 100%. But its development is still moving quickly. New features are added frequently, bugs are fixed regularly, and the code is still continuously improving.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Nov 05 20:50:37 UTC 2020 - 3.3K bytes - Viewed (0) -
tests/test_openapi_servers.py
app = FastAPI( servers=[ {"url": "/", "description": "Default, relative server"}, { "url": "http://staging.localhost.tiangolo.com:8000", "description": "Staging but actually localhost still", }, {"url": "https://prod.example.com"}, ] ) @app.get("/foo") def foo(): return {"message": "Hello World"} client = TestClient(app) def test_app():
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 2K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_prefer_compatible.txt
# (But asking for exactly v2.0.0+incompatible should still succeed.) go list -m github.com/russross/blackfriday@v2.0.0+incompatible stdout '^github.com/russross/blackfriday v2\.0\.0\+incompatible$' # However, if the latest compatible version does not include a go.mod file, # +incompatible versions should still be listed, as they may still reflect the # intent of the module author.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 17 18:25:37 UTC 2023 - 3.2K bytes - Viewed (0)