- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 200 for ptrval (0.12 sec)
-
platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/publishing_gradle_plugins.adoc
// See the License for the specific language governing permissions and // limitations under the License. [[publishing_portal]] = Publishing Plugins to the Gradle Plugin Portal :portal: Gradle Plugin Portal :plugin: Greeting Plugin :publishplugin: Plugin Publishing Plugin :plugin-reference-documentation: https://plugins.gradle.org/docs/publish-plugin[reference documentation of the {publishplugin}]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 18:40:53 UTC 2024 - 11.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/regex.go
return []cel.ProgramOption{ cel.OptimizeRegex(FindRegexOptimization, FindAllRegexOptimization), } } func find(strVal ref.Val, regexVal ref.Val) ref.Val { str, ok := strVal.Value().(string) if !ok { return types.MaybeNoSuchOverloadErr(strVal) } regex, ok := regexVal.Value().(string) if !ok { return types.MaybeNoSuchOverloadErr(regexVal) } re, err := regexp.Compile(regex)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 21:31:27 UTC 2023 - 5.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/intstr/generated.pb.go
} func (m *IntOrString) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l i -= len(m.StrVal) copy(dAtA[i:], m.StrVal) i = encodeVarintGenerated(dAtA, i, uint64(len(m.StrVal))) i-- dAtA[i] = 0x1a i = encodeVarintGenerated(dAtA, i, uint64(m.IntVal)) i-- dAtA[i] = 0x10 i = encodeVarintGenerated(dAtA, i, uint64(m.Type)) i--
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 9.5K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial008d_an.py
client.get("/items/portal-gun") assert ( exc_info.value.args[0] == "The portal gun is too dangerous to be owned by Rick" ) def test_internal_server_error(): from docs_src.dependencies.tutorial008d_an import app client = TestClient(app, raise_server_exceptions=False) response = client.get("/items/portal-gun") assert response.status_code == 500, response.text
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 1.2K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial008d.py
client.get("/items/portal-gun") assert ( exc_info.value.args[0] == "The portal gun is too dangerous to be owned by Rick" ) def test_internal_server_error(): from docs_src.dependencies.tutorial008d import app client = TestClient(app, raise_server_exceptions=False) response = client.get("/items/portal-gun") assert response.status_code == 500, response.text
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 1.2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/util.go
// match is found, fail. func FindPort(pod *v1.Pod, svcPort *v1.ServicePort) (int, error) { portName := svcPort.TargetPort switch portName.Type { case intstr.String: name := portName.StrVal for _, container := range pod.Spec.Containers { for _, port := range container.Ports { if port.Name == name && port.Protocol == svcPort.Protocol { return int(port.ContainerPort), nil } } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jul 28 02:01:47 UTC 2023 - 6.1K bytes - Viewed (0) -
operator/pkg/apis/istio/v1alpha1/value_types_json.go
func (this *IntOrString) UnmarshalJSON(value []byte) error { if value[0] == '"' { this.Type = int64(intstr.String) var s string err := json.Unmarshal(value, &s) if err != nil { return err } this.StrVal = &wrapperspb.StringValue{Value: s} return nil } this.Type = int64(intstr.Int) var s int32 err := json.Unmarshal(value, &s) if err != nil { return err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 2.2K bytes - Viewed (0) -
docs_src/dependencies/tutorial008c.py
print("Oops, we didn't raise again, Britney 😱") @app.get("/items/{item_id}") def get_item(item_id: str, username: str = Depends(get_username)): if item_id == "portal-gun": raise InternalError( f"The portal gun is too dangerous to be owned by {username}" ) if item_id != "plumbus": raise HTTPException(
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 660 bytes - Viewed (0) -
docs_src/dependencies/tutorial008c_an_py39.py
print("Oops, we didn't raise again, Britney 😱") @app.get("/items/{item_id}") def get_item(item_id: str, username: Annotated[str, Depends(get_username)]): if item_id == "portal-gun": raise InternalError( f"The portal gun is too dangerous to be owned by {username}" ) if item_id != "plumbus": raise HTTPException(
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 700 bytes - Viewed (0) -
docs_src/dependencies/tutorial008d_an_py39.py
raise @app.get("/items/{item_id}") def get_item(item_id: str, username: Annotated[str, Depends(get_username)]): if item_id == "portal-gun": raise InternalError( f"The portal gun is too dangerous to be owned by {username}" ) if item_id != "plumbus": raise HTTPException(
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 734 bytes - Viewed (0)