- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 4,360 for if (0.02 seconds)
-
fastapi/_compat/shared.py
def annotation_is_pydantic_v1(annotation: Any) -> bool: if is_pydantic_v1_model_class(annotation): return True origin = get_origin(annotation) if origin is Union or origin is UnionType: for arg in get_args(annotation): if is_pydantic_v1_model_class(arg): return True if field_annotation_is_sequence(annotation):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 6.7K bytes - Click Count (0) -
cmd/storage-rest-common_gen_test.go
v := nsScannerOptions{} bts, err := v.MarshalMsg(nil) if err != nil { t.Fatal(err) } left, err := v.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left) } left, err = msgp.Skip(bts) if err != nil { t.Fatal(err) } if len(left) > 0 {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.6K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 7K bytes - Click Count (0) -
src/archive/tar/writer.go
if err != nil { return err } if name == "." { return nil } info, err := d.Info() if err != nil { return err } linkTarget := "" if typ := d.Type(); typ == fs.ModeSymlink { var err error linkTarget, err = fs.ReadLink(fsys, name) if err != nil { return err } } else if !typ.IsRegular() && typ != fs.ModeDir {Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Feb 03 16:38:43 GMT 2025 - 19.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java
if (d != null) { list.add(d); } } String d = getBuild().getOutputDirectory(); if (d != null) { list.add(d); } for (Artifact a : getArtifacts()) { final File f = a.getFile(); if (f != null && scopeFilter.test(a.getScope())) { final ArtifactHandler h = a.getArtifactHandler();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Aug 29 12:47:20 GMT 2025 - 67K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
if (tracker != null) { if (fieldName != null) { Object key = fieldName; int idx = fieldName.lastIndexOf('.'); if (idx >= 0) { fieldName = fieldName.substring(idx + 1); key = fieldName; } if (fieldName.endsWith("]")) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 03 15:06:05 GMT 2025 - 66.8K bytes - Click Count (0) -
helm/minio/templates/servicemonitor.yaml
{{- if .Values.metrics.serviceMonitor.additionalLabels }} {{- toYaml .Values.metrics.serviceMonitor.additionalLabels | nindent 4 }} {{- end }} {{- if .Values.metrics.serviceMonitor.annotations }} annotations: {{- toYaml .Values.metrics.serviceMonitor.annotations | nindent 4 }} {{- end }} spec: endpoints: {{- if .Values.tls.enabled }} - port: https scheme: httpsCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Apr 17 06:04:15 GMT 2023 - 3.8K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
if (!resolve(result, infos, LATEST)) { resolve(result, infos, RELEASE); } if (result.getVersion() != null && result.getVersion().endsWith(SNAPSHOT)) { VersionRequest subRequest = new VersionRequest(); subRequest.setArtifact(artifact.setVersion(result.getVersion()));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 20.2K bytes - Click Count (0) -
cmd/postpolicyform.go
// Check if the current condition supports starts-with operator if op == policyCondStartsWith && !startsWithSupported { return fmt.Errorf("Invalid according to Policy: Policy Condition failed") } // Check if current policy condition is satisfied if !checkPolicyCond(op, formValues.Get(formCanonicalName), policy.Value) { return fmt.Errorf("Invalid according to Policy: Policy Condition failed") }
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) -
helm-releases/minio-4.0.4.tgz
Helm 2.9 and 2.10 does not support it, so we need to implement this if-else logic. Also, we can not use a single if because lazy evaluation is not an option */}} {{- if .Values.global }} {{- if .Values.global.imagePullSecrets }} imagePullSecrets: {{- range .Values.global.imagePullSecrets }} - name: {{ . }} {{- end }} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets }} {{- end -}} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets...Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jul 14 04:44:23 GMT 2022 - 18.2K bytes - Click Count (0)