- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 249 for Found (0.02 seconds)
-
cmd/net_test.go
t.Fatalf("error: expected = %v, got = %v", testCase.expectedErr, err) } if testCase.expectedIPList != nil { var found bool for _, ip := range ipList.ToSlice() { if testCase.expectedIPList.Contains(ip) { found = true } } if !found { t.Fatalf("host: expected = %v, got = %v", testCase.expectedIPList, ipList) } } } } // Tests finalize api endpoints.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 9.2K bytes - Click Count (0) -
tests/test_generate_unique_id_function.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 66.7K bytes - Click Count (0) -
tests/generics_test.go
if len(found) != len(batch) { t.Errorf("expected %d from Raw Find, got %d", len(batch), len(found)) } found, err = gorm.G[User](DB).Where("name like ?", "GenericsCreateInBatches%").Limit(2).Find(ctx) if len(found) != 2 { t.Errorf("expected %d from Raw Find, got %d", 2, len(found)) } found, err = gorm.G[User](DB).Where("name like ?", "GenericsCreateInBatches%").Offset(2).Limit(2).Find(ctx) if len(found) != 1 {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Nov 02 14:09:18 GMT 2025 - 33.7K bytes - Click Count (0) -
docs_src/bigger_applications/app_py39/routers/items.py
responses={404: {"description": "Not found"}}, ) fake_items_db = {"plumbus": {"name": "Plumbus"}, "gun": {"name": "Portal Gun"}} @router.get("/") async def read_items(): return fake_items_db @router.get("/{item_id}") async def read_item(item_id: str): if item_id not in fake_items_db: raise HTTPException(status_code=404, detail="Item not found")Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1011 bytes - Click Count (0) -
cmd/object-api-listobjects_test.go
t.Errorf("Test %d: %s: Expected number of prefixes in the result to be '%d', but found '%d' prefixes instead", i+1, instanceType, len(testCase.resultL.Prefixes), len(resultL.Prefixes)) } for j := 0; j < len(testCase.resultL.Prefixes); j++ { if j >= len(resultL.Prefixes) { t.Errorf("Test %d: %s: Expected prefix name to be \"%s\", but found no result", i+1, instanceType, testCase.resultL.Prefixes[j]) continue }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 76.1K bytes - Click Count (0) -
cmd/metrics-resource.go
resourceMetricsMapMu.Lock() defer resourceMetricsMapMu.Unlock() subsysMetrics, found := resourceMetricsMap[subSys] if !found { subsysMetrics = ResourceMetrics{} } key := getResourceKey(name, labels) metric, found := subsysMetrics[key] if !found { metric = ResourceMetric{ Name: name, Labels: labels, } } if isCumulative {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 17.2K bytes - Click Count (0) -
cmd/iam-store.go
policies = append(policies, policy.toSlice()...) } found := len(policies) > 0 if found { return policies, nil } if userPolicyPresent { // if user mapping present and no group policies found // rely on user policy for access, instead of fallback. return nil, nil } var mu sync.Mutex // no mappings found, fallback for all groups.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 87.1K bytes - Click Count (0) -
cmd/data-usage-cache.go
if v := d.find(want[:idx]); v != nil { _, ok := v.Children[want] if ok { found := hashPath(want[:idx]) return &found } } } for k, v := range d.Cache { _, ok := v.Children[want] if ok { found := dataUsageHash(k) return &found } } return nil } // deleteRecursive will delete an entry recursively, but not change its parent.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
cmd/postpolicyform.go
} default: // Condition should be valid. return parsedPolicy, fmt.Errorf("Unknown type %s of conditional field value %s found in POST policy form", reflect.TypeOf(condt).String(), condt) } default: return parsedPolicy, fmt.Errorf("Unknown field %s of type %s found in POST policy form", condt, reflect.TypeOf(condt).String()) } } return parsedPolicy, nil }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Oct 23 15:10:12 GMT 2025 - 12.1K bytes - Click Count (0) -
cmd/erasure-server-pool.go
if dErrsByPool[pool][i] == nil && dObjectsByPool[pool][i].found { // A fast exit when the object is found and removed dobjects[i] = dObjectsByPool[pool][i] derrs[i] = nil break } if derrs[i] == nil { // No error related to this object is found, assign this pool result // whether it is nil because there is no object found or because of // some other errors such erasure quorum errors.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 89.2K bytes - Click Count (0)