Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 2,114 for else (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. fastapi/_compat/v2.py

        override_mode: Literal["validation"] | None = (
            None
            if (separate_input_output_schemas or _has_computed_fields(field))
            else "validation"
        )
        field_alias = (
            (field.validation_alias or field.alias)
            if field.mode == "validation"
            else (field.serialization_alias or field.alias)
        )
    
        # This expects that GenerateJsonSchema was already used to generate the definitions
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

                    this.createDisposition = FILE_CREATE;
                } else {
                    this.createDisposition = FILE_OPEN_IF;
                }
            } else {
                this.createDisposition = FILE_OPEN;
            }
    
            if ((createOptions & 0x0001) == 0) {
                this.createOptions = createOptions | 0x0040;
            } else {
                this.createOptions = createOptions;
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/netbios/Lmhosts.java

                                }
                            }
                        } else {
                            populate(new InputStreamReader(new SmbFileInputStream(url)));
                        }
                    } else if (line.startsWith("#BEGIN_ALTERNATE")) {
                        alt++;
                    } else if (line.startsWith("#END_ALTERNATE") && alt > 0) {
                        alt--;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  4. callbacks/callmethod.go

    					fc(value.Addr().Interface(), tx)
    				} else {
    					db.AddError(gorm.ErrInvalidValue)
    					return
    				}
    				db.Statement.CurDestIndex++
    			}
    		case reflect.Struct:
    			if db.Statement.ReflectValue.CanAddr() {
    				fc(db.Statement.ReflectValue.Addr().Interface(), tx)
    			} else {
    				db.AddError(gorm.ErrInvalidValue)
    			}
    		}
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Feb 18 01:20:29 GMT 2023
    - 846 bytes
    - Click Count (0)
  5. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

                char c = line.charAt(i);
    
                if (c == '"' && !inSingleQuotes) {
                    inDoubleQuotes = !inDoubleQuotes;
                } else if (c == '\'' && !inDoubleQuotes) {
                    inSingleQuotes = !inSingleQuotes;
                } else if (c == ' ' && !inDoubleQuotes && !inSingleQuotes) {
                    // Space outside quotes - end of argument
                    if (current.length() > 0) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java

            if (days > 0) {
                return String.format("%d d %02d:%02d h", days, hours, minutes);
            } else if (hours > 0) {
                return String.format("%02d:%02d h", hours, minutes);
            } else if (minutes > 0) {
                return String.format("%02d:%02d min", minutes, seconds);
            } else {
                return String.format("%d.%03d s", seconds, millis);
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 10 15:37:54 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

            UpgradeOptions options = getOptions(context);
    
            if (options.modelVersion().isPresent()) {
                return options.modelVersion().get();
            } else if (options.all().orElse(false)) {
                return MODEL_VERSION_4_1_0;
            } else {
                return MODEL_VERSION_4_0_0;
            }
        }
    
        /**
         * Gets the namespace URI for a model version.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

              }
    
              else -> {
                throw IllegalArgumentException(
                  "Expected URL scheme 'http' or 'https' but was '" +
                    input.substring(0, schemeDelimiterOffset) + "'",
                )
              }
            }
          } else if (base != null) {
            this.scheme = base.scheme
          } else {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 63.5K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt

                proxyAddress.port,
                url.scheme,
                challenge.realm,
                challenge.scheme,
                url.toUrl(),
                Authenticator.RequestorType.PROXY,
              )
            } else {
              Authenticator.requestPasswordAuthentication(
                url.host,
                proxy.connectToInetAddress(url, dns),
                url.port,
                url.scheme,
                challenge.realm,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/model/PerformanceTestSpec.kt

                scenarios.flatMap { scenario ->
                    Os.values().flatMap { os ->
                        val arch = if (os == Os.MACOS) Arch.AARCH64 else Arch.AMD64
                        if (os == Os.WINDOWS) {
                            listOf("jprofiler")
                        } else {
                            listOf("async-profiler", "async-profiler-heap")
                        }.map { FlameGraphGenerationBuildSpec(scenario, os, arch, it) }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 3.8K bytes
    - Click Count (0)
Back to Top