- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 1,524 for var (0.05 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt
private val perMessageDeflate: Boolean, private val noContextTakeover: Boolean, ) : Closeable { private var closed = false // Stateful data about the current frame. private var opcode = 0 private var frameLength = 0L private var isFinalFrame = false private var isControlFrame = false private var readingCompressedMessage = false private val controlFrameBuffer = Buffer()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.8K bytes - Viewed (0) -
cmd/object_api_suite_test.go
readerNoEOF := newTestReaderNoEOF(content) err := obj.MakeBucket(context.Background(), "bucket", MakeBucketOptions{}) if err != nil { t.Fatalf("%s: <ERROR> %s", instanceType, err) } var bytesBuffer1 bytes.Buffer var opts ObjectOptions _, err = obj.PutObject(context.Background(), "bucket", "object", mustGetPutObjReader(t, readerEOF, length, "", ""), opts) if err != nil { t.Fatalf("%s: <ERROR> %s", instanceType, err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 02 15:13:05 UTC 2024 - 33.3K bytes - Viewed (0) -
tests/test_annotated.py
@app.get("/test1") @app.get("/test2") async def test(var: Annotated[str, Query()] = "bar"): return {"foo": var} client = TestClient(app) response = client.get("/test1") assert response.status_code == 200 assert response.json() == {"foo": "bar"} response = client.get("/test1", params={"var": "baz"}) assert response.status_code == 200
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 10.2K bytes - Viewed (0) -
cni/pkg/ipset/ipset.go
return m.Deps.deleteIP(m.V4Name, ipToDel, ipProto) } func (m *IPSet) Flush() error { var err error err = m.Deps.flush(m.V4Name) if m.V6Name != "" { v6err := m.Deps.flush(m.V6Name) err = errors.Join(err, v6err) } return err } func (m *IPSet) ClearEntriesWithComment(comment string) error { var err error err = m.Deps.clearEntriesWithComment(m.V4Name, comment) if m.V6Name != "" {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 3.9K bytes - Viewed (0) -
cmd/admin-handlers-site-replication.go
objectAPI, _ := validateAdminReq(ctx, w, r, policy.SiteReplicationOperationAction) if objectAPI == nil { return } var item madmin.SRIAMItem if err := parseJSONBody(ctx, r.Body, &item, ""); err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } var err error switch item.Type { default: err = errSRInvalidRequest(errInvalidArgument) case madmin.SRIAMItemPolicy:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 19.4K bytes - Viewed (0) -
cmd/xl-storage-errors.go
func isSysErrPathNotFound(err error) bool { if runtime.GOOS != globalWindowsOSName { var pathErr *os.PathError if errors.As(err, &pathErr) { return pathErr.Err == syscall.ENOENT } return false } var pathErr *os.PathError if errors.As(err, &pathErr) { var errno syscall.Errno if errors.As(pathErr.Err, &errno) { // ERROR_PATH_NOT_FOUND return errno == 0x03 } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 06 16:56:29 UTC 2023 - 3.8K bytes - Viewed (0) -
src/cmd/asm/internal/flags/flags.go
) var DebugFlags struct { MayMoreStack string `help:"call named function before all stack growth checks"` PCTab string `help:"print named pc-value table\nOne of: pctospadj, pctofile, pctoline, pctoinline, pctopcdata"` } var ( D MultiFlag I MultiFlag PrintOut int DebugV bool ) func init() {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 22 19:18:23 UTC 2023 - 2.8K bytes - Viewed (0) -
cmd/erasure-server-pool-decom_gen_test.go
v := PoolDecommissionInfo{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len())) en := msgp.NewWriter(msgp.Nowhere) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.EncodeMsg(en) } en.Flush() } func BenchmarkDecodePoolDecommissionInfo(b *testing.B) { v := PoolDecommissionInfo{} var buf bytes.Buffer msgp.Encode(&buf, &v)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jan 12 02:48:43 UTC 2022 - 11K bytes - Viewed (0) -
cmd/batch-job-common-types_gen_test.go
func BenchmarkEncodeBatchJobKV(b *testing.B) { v := BatchJobKV{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len())) en := msgp.NewWriter(msgp.Nowhere) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.EncodeMsg(en) } en.Flush() } func BenchmarkDecodeBatchJobKV(b *testing.B) { v := BatchJobKV{} var buf bytes.Buffer msgp.Encode(&buf, &v)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 11.3K bytes - Viewed (0) -
cmd/batch-rotate_gen_test.go
v := BatchJobKeyRotateEncryption{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len())) en := msgp.NewWriter(msgp.Nowhere) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.EncodeMsg(en) } en.Flush() } func BenchmarkDecodeBatchJobKeyRotateEncryption(b *testing.B) { v := BatchJobKeyRotateEncryption{} var buf bytes.Buffer msgp.Encode(&buf, &v)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 29 18:27:23 UTC 2023 - 11.8K bytes - Viewed (0)