- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 1,020 for BOOL (0.04 sec)
-
istioctl/pkg/describe/describe.go
} else { nonmatchingSubsets = append(nonmatchingSubsets, subset.Name) } } return matchingSubsets, nonmatchingSubsets } func matchesAnyPod(subsetSelector klabels.Selector, podsLabels []klabels.Set) bool { for _, podLabels := range podsLabels { if subsetSelector.Matches(podLabels) { return true } } return false } func printDestinationRule(writer io.Writer, initPrintNum int,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 50.6K bytes - Viewed (0) -
fastapi/security/api_key.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Apr 23 22:29:18 UTC 2024 - 9.1K bytes - Viewed (0) -
internal/grid/muxserver.go
func (m *muxServer) sendResponses(ctx context.Context, toSend <-chan []byte, c *Connection, handlerErr *atomic.Pointer[RemoteErr], outBlock <-chan struct{}) { for { // Process outgoing message. var payload []byte var ok bool select { case payload, ok = <-toSend: case <-ctx.Done(): return } select { case <-ctx.Done(): return case <-outBlock: } msg := message{ MuxID: m.ID,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 9.7K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc
ParallelDevice parallel_device(devices); const FunctionDef assert_and_collective = FunctionDefHelper::Define( // Name "AssertAndCollective", // Args {"x: float", "condition: bool"}, // Return values {"y: float"}, // Attr def {}, // Nodes { {{"assert"}, "Assert", {"condition", "x"},
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 15.6K bytes - Viewed (0) -
cmd/xl-storage-meta-inline.go
// remove will remove one or more keys. // Returns true if any key was found. func (x *xlMetaInlineData) remove(keys ...string) bool { in := x.afterVersion() sz, buf, _ := msgp.ReadMapHeaderBytes(in) newKeys := make([][]byte, 0, sz) newVals := make([][]byte, 0, sz) var removeKey func(s []byte) bool // Copy if big number of compares... if len(keys) > 5 && sz > 5 { mKeys := make(map[string]struct{}, len(keys))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 9.5K bytes - Viewed (0) -
docs_src/dependencies/tutorial011_an_py39.py
return self.fixed_content in q return False checker = FixedContentQueryChecker("bar") @app.get("/query-checker/") async def read_query_check(fixed_content_included: Annotated[bool, Depends(checker)]):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 544 bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_test.cc
#include "tensorflow/core/protobuf/cluster.pb.h" #include "tensorflow/core/protobuf/config.pb.h" using tensorflow::string; namespace tensorflow { namespace { static bool HasSubstr(absl::string_view base, absl::string_view substr) { bool ok = absl::StrContains(base, substr); EXPECT_TRUE(ok) << base << ", expected substring " << substr; return ok; } TEST(CAPI, MonitoringCounter0) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 03:14:26 UTC 2023 - 31.5K bytes - Viewed (0) -
cmd/site-replication.go
) // PeerSiteInfo is a wrapper struct around madmin.PeerSite with extra info on site status type PeerSiteInfo struct { madmin.PeerSite self bool DeploymentID string Replicated bool // true if already participating in site replication Empty bool // true if cluster has no buckets } // getSiteStatuses gathers more info on the sites being added
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 185.1K bytes - Viewed (0) -
docs_src/header_param_models/tutorial002_an.py
from pydantic import BaseModel from typing_extensions import Annotated app = FastAPI() class CommonHeaders(BaseModel): model_config = {"extra": "forbid"} host: str save_data: bool if_modified_since: Union[str, None] = None traceparent: Union[str, None] = None x_tag: List[str] = [] @app.get("/items/") async def read_items(headers: Annotated[CommonHeaders, Header()]):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 486 bytes - Viewed (0) -
cmd/object-handlers-common_test.go
testCases := []struct { name string ifMatch string ifNoneMatch string ifModifiedSince string ifUnmodifiedSince string objInfo ObjectInfo expectedFlag bool expectedCode int }{ // If-None-Match(false) and If-Modified-Since(true) { name: "If-None-Match1", ifNoneMatch: "aa", ifModifiedSince: "Sun, 26 Aug 2024 02:01:00 GMT",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 03 06:33:53 UTC 2024 - 5.3K bytes - Viewed (0)