Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 531 - 540 of 2,658 for else (0.02 seconds)

  1. fastapi/dependencies/models.py

    from fastapi._compat import ModelField
    from fastapi.security.base import SecurityBase
    from fastapi.types import DependencyCacheKey
    
    if sys.version_info >= (3, 13):  # pragma: no cover
        from inspect import iscoroutinefunction
    else:  # pragma: no cover
        from asyncio import iscoroutinefunction
    
    
    def _unwrapped_call(call: Callable[..., Any] | None) -> Any:
        if call is None:
            return call  # pragma: no cover
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  2. schema/utils.go

    		values := strings.Split(tag, ":")
    		k := strings.TrimSpace(strings.ToUpper(values[0]))
    		if len(values) >= 2 {
    			val := strings.Join(values[1:], ":")
    			val = strings.ReplaceAll(val, `\"`, `"`)
    			settings[k] = val
    		} else if k != "" {
    			settings[k] = k
    		}
    	}
    
    	return settings
    }
    
    func toColumns(val string) (results []string) {
    	if val != "" {
    		for _, v := range strings.Split(val, ",") {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Oct 30 11:15:36 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/feature/FeatureInjector.java

                            skipNode.set("features", TextNode.valueOf(getSkipFeatureName()));
                        } else if (featuresNode.isArray()) {
                            ArrayNode featuresNodeArray = (ArrayNode) featuresNode;
                            featuresNodeArray.add(getSkipFeatureName());
                        } else if (featuresNode.isTextual()) {
                            // convert to an array
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 5.8K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultUrlNormalizer.java

            String result = url;
    
            if (result != null) {
                while (true) {
                    int idx = result.indexOf("/../");
                    if (idx < 0) {
                        break;
                    } else if (idx == 0) {
                        result = result.substring(3);
                        continue;
                    }
                    int parent = idx - 1;
                    while (parent >= 0 && result.charAt(parent) == '/') {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2K bytes
    - Click Count (0)
  5. cmd/metacache-server-pool.go

    			o.Create = false
    			o.ID = mustGetUUID()
    		} else {
    			if c.fileNotFound {
    				// No cache found, no entries found.
    				return entries, io.EOF
    			}
    			if c.status == scanStateError || c.status == scanStateNone {
    				o.ID = ""
    				o.Create = false
    				o.debugln("scan status", c.status, " - waiting a roundtrip to create")
    			} else {
    				// Continue listing
    				o.ID = c.id
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  6. build-logic/src/main/kotlin/BndBuildAction.kt

        // Sourcepath default: all source
        sourceSet,
        // Symbolic name default logic
        task.archiveBaseName.zip(task.archiveClassifier) { baseName, classifier ->
          if (classifier.isNullOrEmpty()) baseName else "$baseName-$classifier"
        },
        task.archiveVersion.orElse("0").map { version ->
          MavenVersion.parseMavenString(version).osGiVersion.toString()
        },
        extension.bndfile,
        extension.bnd,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/TopKSelector.java

       * O(1) time.
       */
      public void offer(@ParametricNullness T elem) {
        if (k == 0) {
          return;
        } else if (bufferSize == 0) {
          buffer[0] = elem;
          threshold = elem;
          bufferSize = 1;
        } else if (bufferSize < k) {
          buffer[bufferSize++] = elem;
          // uncheckedCastNullableTToT is safe because bufferSize > 0.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  8. helm/minio/templates/servicemonitor.yaml

          tlsConfig:
            ca:
              secret:
                name: {{ .Values.tls.certSecret }}
                key: {{ .Values.tls.publicCrt }}
            serverName: {{ template "minio.fullname" . }}
        {{- else }}
        - port: http
          scheme: http
        {{- end }}
          path: /minio/v2/metrics/node
          {{- if .Values.metrics.serviceMonitor.interval }}
          interval: {{ .Values.metrics.serviceMonitor.interval }}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Apr 17 06:04:15 GMT 2023
    - 3.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

                        } else if (value instanceof TestUser) {
                            // Handle TestUser object
                            TestUser user = (TestUser) value;
                            result = result.replace("${" + key + ".name}", user.name);
                            result = result.replace("${" + key + ".age}", String.valueOf(user.age));
                        } else if (value instanceof Map) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            if (thumbnailPath != null) {
                baseDir = new File(thumbnailPath);
            } else {
                final String varPath = System.getProperty(Constants.FESS_VAR_PATH);
                if (varPath != null) {
                    baseDir = new File(varPath, THUMBNAILS_DIR_NAME);
                } else {
                    baseDir = ResourceUtil.getThumbnailPath().toFile();
                }
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 27.2K bytes
    - Click Count (0)
Back to Top