Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 4,360 for if (0.01 seconds)

  1. 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)
  2. 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)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java

            Matcher matcher = LINK_PATTERN.matcher(link);
            if (!matcher.matches()) {
                return null;
            }
    
            String className = null;
            if (matcher.group(1).length() > 0) {
                className = typeNameResolver.resolve(matcher.group(1), classMetaData);
                if (className == null) {
                    return null;
                }
            }
            if (matcher.group(2) == null) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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: https
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Apr 17 06:04:15 GMT 2023
    - 3.8K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. 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)
Back to Top