- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 142 for wantRm (0.1 sec)
-
src/net/http/client_test.go
if err != nil { t.Fatal(err) } if res.StatusCode != tt.want { t.Errorf("POST %s: status code = %d; want %d", tt.suffix, res.StatusCode, tt.want) } } log.Lock() got := log.String() log.Unlock() got = strings.TrimSpace(got) want = strings.TrimSpace(want) if got != want { got, want, lines := removeCommonLines(got, want)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:30:50 UTC 2024 - 63.8K bytes - Viewed (0) -
cmd/erasure-multipart.go
return oi, InvalidPart{ PartNumber: part.PartNumber, } } wantCS := map[string]string{ hash.ChecksumCRC32.String(): part.ChecksumCRC32, hash.ChecksumCRC32C.String(): part.ChecksumCRC32C, hash.ChecksumSHA1.String(): part.ChecksumSHA1, hash.ChecksumSHA256.String(): part.ChecksumSHA256, } if wantCS[checksumType.String()] != crc { return oi, InvalidPart{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 06:56:12 UTC 2024 - 44.8K bytes - Viewed (0) -
cmd/storage-rest-server.go
return true } // checkID - check if the disk-id in the request corresponds to the underlying disk. func (s *storageRESTServer) checkID(wantID string) bool { if s.getStorage() == nil { return false } if wantID == "" { // Request sent empty disk-id, we allow the request // as the peer might be coming up and trying to read format.json // or create format.json return true }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 44.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/aggregate/controller_test.go
func expectRunningOrFail(t *testing.T, ctrl *Controller, want bool) { // running gets flipped in a goroutine, retry to avoid race retry.UntilSuccessOrFail(t, func() error { for _, registry := range ctrl.registries { if running := registry.Instance.(*RunnableRegistry).running.Load(); running != want { return fmt.Errorf("%s running is %v but wanted %v", registry.Cluster(), running, want) } } return nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 06:28:11 UTC 2024 - 14.5K bytes - Viewed (0) -
docs/en/docs/alternatives.md
This decoupling of parts, and being a "microframework" that could be extended to cover exactly what is needed was a key feature that I wanted to keep. Given the simplicity of Flask, it seemed like a good match for building APIs. The next thing to find was a "Django REST Framework" for Flask. !!! check "Inspired **FastAPI** to"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 23.2K bytes - Viewed (0) -
src/internal/trace/generation.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 22:14:45 UTC 2024 - 12.1K bytes - Viewed (0) -
docs/en/docs/advanced/behind-a-proxy.md
You can check it at <a href="http://127.0.0.1:9999/api/v1/docs" class="external-link" target="_blank">http://127.0.0.1:9999/api/v1/docs</a>: <img src="/img/tutorial/behind-a-proxy/image02.png"> Right as we wanted it. ✔️ This is because FastAPI uses this `root_path` to create the default `server` in OpenAPI with the URL provided by `root_path`. ## Additional servers !!! warning
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu May 02 22:37:31 UTC 2024 - 11.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/basic_test.go
t.Fatalf("failed to access .%s: %v", strings.Join(pth, "."), err) } else if !found { t.Fatalf("failed to find .%s", strings.Join(pth, ".")) } else if v != value { t.Fatalf("wanted %d at .%s, got %d", value, strings.Join(pth, "."), v) } } func expectString(t *testing.T, obj map[string]interface{}, value string, pth ...string) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 11:35:33 UTC 2024 - 33.4K bytes - Viewed (0) -
src/internal/concurrent/hashtriemap.go
defer i.mu.Unlock() var oldEntry *entry[K, V] if n != nil { oldEntry = n.entry() if v, ok := oldEntry.lookup(key, ht.keyEqual); ok { // Easy case: by loading again, it turns out exactly what we wanted is here! return v, true } } newEntry := newEntryNode(key, value) if oldEntry == nil { // Easy case: create a new entry and store it. slot.Store(&newEntry.node) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 16:01:55 UTC 2024 - 11.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers_test.go
} if !reflect.DeepEqual(result.Header, tt.wantHeaders) { t.Fatal(cmp.Diff(tt.wantHeaders, result.Header)) } body, _ := ioutil.ReadAll(result.Body) if !bytes.Equal(tt.wantBody, body) { t.Fatalf("wanted:\n%s\ngot:\n%s", hex.Dump(tt.wantBody), hex.Dump(body)) } }) } } func randTime(t *time.Time, r *rand.Rand) { *t = time.Unix(r.Int63n(1000*365*24*60*60), r.Int63()) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 15.7K bytes - Viewed (0)