Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 1,498 for Replace (0.23 sec)

  1. docs/en/docs/tutorial/query-params-str-validations.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="9"
    {!> ../../docs_src/query_params_str_validations/tutorial002.py!}
    ```
    
    ////
    
    As in this case (without using `Annotated`) we have to replace the default value `None` in the function with `Query()`, we now need to set the default value with the parameter `Query(default=None)`, it serves the same purpose of defining that default value (at least for FastAPI).
    
    So:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

                dynamicTable = doubled
              }
              index = nextHeaderIndex--
              dynamicTable[index] = entry
              headerCount++
            } else { // Replace value at same position.
              index += dynamicTableIndex(index) + entriesEvicted
              dynamicTable[index] = entry
            }
            dynamicTableByteCount += delta
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    			panic(fmt.Sprintf("header: %x != object id: %x", x.versions[idx].header.VersionID, dst.getVersionID()))
    		}
    	}
    	return &dst, err
    }
    
    // setIdx will replace a version at a given index.
    // Note that versions may become re-sorted if modtime changes.
    func (x *xlMetaV2) setIdx(idx int, ver xlMetaV2Version) (err error) {
    	if idx < 0 || idx >= len(x.versions) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            return parseItem(false, isDigit, buf);
        }
    
        private static Item parseItem(boolean isCombination, boolean isDigit, String buf) {
            if (isCombination) {
                return new CombinationItem(buf.replace("-", ""));
            } else if (isDigit) {
                buf = stripLeadingZeroes(buf);
                if (buf.length() <= MAX_INTITEM_LENGTH) {
                    // lower than 2^31
                    return new IntItem(buf);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. fastapi/_compat.py

                # Ref: https://github.com/pydantic/pydantic/blob/d61792cc42c80b13b23e3ffa74bc37ec7c77f7d1/pydantic/schema.py#L207
                json_schema["title"] = (
                    field.field_info.title or field.alias.title().replace("_", " ")
                )
            return json_schema
    
        def get_compat_model_name_map(fields: List[ModelField]) -> ModelNameMap:
            return {}
    
        def get_definitions(
            *,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. statement.go

    				for _, vv := range vars {
    					subdb.Statement.Vars = append(subdb.Statement.Vars, vv)
    					bindvar := strings.Builder{}
    					v.Dialector.BindVarTo(&bindvar, subdb.Statement, vv)
    					sql = strings.Replace(sql, bindvar.String(), "?", 1)
    				}
    
    				subdb.Statement.SQL.Reset()
    				subdb.Statement.Vars = stmt.Vars
    				if strings.Contains(sql, "@") {
    					clause.NamedExpr{SQL: sql, Vars: vars}.Build(subdb.Statement)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                    } else if (!sysFile.isFile()) {
                        String msg = "refers to a non-existing file " + sysFile.getAbsolutePath();
                        systemPath = systemPath.replace('/', File.separatorChar).replace('\\', File.separatorChar);
                        String jdkHome =
                                request.getSystemProperties().getProperty("java.home", EMPTY) + File.separator + "..";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMap.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final boolean replace(K key, V oldValue, V newValue) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  9. docs/LICENSE

      c. You must comply with the conditions in Section 3(a) if You Share
         all or a substantial portion of the contents of the database.
    
    For the avoidance of doubt, this Section 4 supplements and does not
    replace Your obligations under this Public License where the Licensed
    Rights include other Copyright and Similar Rights.
    
    
    Section 5 -- Disclaimer of Warranties and Limitation of Liability.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 10 16:50:06 UTC 2021
    - 18.2K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

             * @return an array with the property's key and value
             */
            private static String[] parseProperty(String line) {
                // sorry for this spaghetti code, please replace it as soon as
                // possible with a regexp when the Java 1.3 requirement is dropped
    
                String[] result = new String[2];
                StringBuilder key = new StringBuilder();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
Back to top