- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,210 for cLower (0.13 sec)
-
tests/test_tutorial/test_websockets/test_tutorial002_an_py310.py
) # pragma: no cover @needs_py310 def test_websocket_invalid_data(app: FastAPI): client = TestClient(app) with pytest.raises(WebSocketDisconnect): with client.websocket_connect("/items/foo/ws?q=bar&token=some-token"): pytest.fail( "did not raise WebSocketDisconnect on __enter__"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 3.9K bytes - Viewed (0) -
internal/ioutil/ioutil.go
w.hasWritten = true return w.Writer.Write(p) } // Close closes the WriteOnCloser. It behaves like io.Closer. func (w *WriteOnCloser) Close() error { if !w.hasWritten { _, err := w.Write(nil) if err != nil { return err } } if closer, ok := w.Writer.(io.Closer); ok { return closer.Close() } return nil } // HasWritten returns true if at least one write operation was performed.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 10.2K bytes - Viewed (0) -
src/runtime/memclr_amd64.s
MOVOU X15, 224(DI) MOVOU X15, 240(DI) SUBQ $256, BX ADDQ $256, DI CMPQ BX, $256 JAE loop JMP tail #endif loop_preheader_avx2: VPXOR X0, X0, X0 // For smaller sizes MOVNTDQ may be faster or slower depending on hardware. // For larger sizes it is always faster, even on dual Xeons with 30M cache. // TODO take into account actual LLC size. E. g. glibc uses LLC size/2. CMPQ BX, $0x2000000 JAE loop_preheader_avx2_huge
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 10 20:52:34 UTC 2022 - 4.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ClosingFuture.java
* * <pre>{@code * FluentFuture<UserName> userName = * ClosingFuture.submit( * closer -> closer.eventuallyClose(database.newTransaction(), closingExecutor), * executor) * .transformAsync((closer, transaction) -> transaction.queryClosingFuture("..."), executor) * .transform((closer, result) -> result.get("userName"), directExecutor())
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 98.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_main_import_path.txt
# This test is intended to verify that coverage reporting is consistent # between "go test -cover" and "go build -cover" with respect to how # the "main" package is handled. See issue 57169 for details. [short] skip [!GOEXPERIMENT:coverageredesign] skip # Build this program with -cover and run to collect a profile. go build -cover -o $WORK/prog.exe . # Save off old GOCOVERDIR setting env SAVEGOCOVERDIR=$GOCOVERDIR mkdir $WORK/covdata
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 11:36:17 UTC 2023 - 1.1K bytes - Viewed (0) -
src/cmd/cover/doc.go
// license that can be found in the LICENSE file. /* Cover is a program for analyzing the coverage profiles generated by 'go test -coverprofile=cover.out'. Cover is also used by 'go test -cover' to rewrite the source code with annotations to track which parts of each function are executed (this is referred to "instrumentation"). Cover can operate in "legacy mode"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 03 12:57:25 UTC 2023 - 1.3K bytes - Viewed (0) -
src/debug/macho/file.go
if err != nil { f.Close() return nil, err } ff.closer = f return ff, nil } // Close closes the [File]. // If the [File] was created using [NewFile] directly instead of [Open], // Close has no effect. func (f *File) Close() error { var err error if f.closer != nil { err = f.closer.Close() f.closer = nil } return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 17.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_pattern.txt
# (as opposed to pattern matching on deps) # then it will try to load sleepybad, which does not compile, # and the test command will fail. ! go list m/sleepy... go test -c -n -coverprofile=$TMPDIR/cover.out -coverpkg=m/sleepy... -run=^$ m/sleepy1 -- go.mod -- module m go 1.16 -- sleepy1/p_test.go -- package p import ( "testing" "time" ) func Test1(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 683 bytes - Viewed (0) -
src/cmd/internal/cov/covcmd/cmddefs.go
// CoverPkgConfig is a bundle of information passed from the Go // command to the cover command during "go build -cover" runs. The // Go command creates and fills in a struct as below, then passes // file containing the encoded JSON for the struct to the "cover" // tool when instrumenting the source files in a Go package. type CoverPkgConfig struct { // File into which cmd/cover should emit summary info // when instrumentation is complete. OutConfig string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 30 16:13:15 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/SpecializedModelMapProjection.java
P instance = DirectInstantiator.instantiate(viewImpl, publicType, elementType, ruleDescriptor, modelNode, state, creatorStrategy); return InstanceModelView.of(modelNode.getPath(), publicType, instance, state.closer()); } @Override public <T> boolean canBeViewedAs(ModelType<T> targetType) { return targetType.isAssignableFrom(publicType); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.4K bytes - Viewed (0)