Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 300 for content_sq (0.06 seconds)

  1. docs/en/docs/tutorial/body-multiple-params.md

    Let's say you only have a single `item` body parameter from a Pydantic model `Item`.
    
    By default, **FastAPI** will then expect its body directly.
    
    But if you want it to expect a JSON with a key `item` and inside of it the model contents, as it does when you declare extra body parameters, you can use the special `Body` parameter `embed`:
    
    ```Python
    item: Item = Body(embed=True)
    ```
    
    as in:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  2. cmd/warm-backend-s3.go

    	result, err := s3.core.ListObjectsV2(s3.Bucket, s3.Prefix, "", "", slashSeparator, 1)
    	if err != nil {
    		return false, s3.ToObjectError(err)
    	}
    	return len(result.CommonPrefixes) > 0 || len(result.Contents) > 0, nil
    }
    
    func newWarmBackendS3(conf madmin.TierS3, tier string) (*warmBackendS3, error) {
    	u, err := url.Parse(conf.Endpoint)
    	if err != nil {
    		return nil, err
    	}
    
    	// Validation code
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jun 08 16:13:30 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/dependencies/dependencies-with-yield.md

    「情境管理器」是那些你可以在 `with` 陳述式中使用的 Python 物件。
    
    例如,[你可以用 `with` 來讀取檔案](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files):
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    在底層,`open("./somefile.txt")` 會建立一個稱為「情境管理器」的物件。
    
    當 `with` 區塊結束時,它會確保關閉檔案,即使發生了例外也一樣。
    
    當你建立一個含 `yield` 的相依時,**FastAPI** 會在內部為它建立一個情境管理器,並與其他相關工具結合。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

          return this;
        }
    
        /**
         * Returns a newly-created {@code ImmutableSortedMultiset} based on the contents of the {@code
         * Builder}.
         */
        @Override
        public ImmutableSortedMultiset<E> build() {
          return copyOfSorted((SortedMultiset<E>) contents);
        }
      }
    
      @J2ktIncompatible // serialization
      private static final class SerializedForm<E> implements Serializable {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 29.5K bytes
    - Click Count (0)
  5. README.md

    Point a web browser running on the host machine to <http://127.0.0.1:9000> and log in with the root credentials.
    You can use the Browser to create buckets, upload objects, and browse the contents of the MinIO server.
    
    You can also connect using any S3-compatible tool, such as the MinIO Client `mc` commandline tool:
    
    ```sh
    mc alias set local http://localhost:9000 minioadmin minioadmin
    mc admin info local
    ```
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Feb 12 20:18:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/io/CopyUtil.java

                CloseableUtil.close(os);
            }
        }
    
        // ////////////////////////////////////////////////////////////////
        // internal methods
        //
        /**
         * Copies the contents of an input stream to an output stream.
         * <p>
         * Neither the input stream nor the output stream is closed.
         * </p>
         *
         * @param in the input stream
         * @param out the output stream
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 45.2K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    For example, [you can use `with` to read a file](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files):
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Underneath, the `open("./somefile.txt")` creates an object that is called a "Context Manager".
    
    When the `with` block finishes, it makes sure to close the file, even if there were exceptions.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  8. guava-tests/benchmark/com/google/common/collect/MapBenchmark.java

            for (Element element : keys) {
              builder.put(element, element);
            }
            return builder.build();
          }
        };
    
        abstract Map<Element, Element> create(Collection<Element> contents);
      }
    
      @Param({"5", "50", "500", "5000", "50000"})
      private int size;
    
      // TODO: look at exact (==) hits vs. equals() hits?
      @Param("0.9")
      private double hitRate;
    
      @Param("true")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                int hash = (auth.getUsername() + auth.getPassword()).hashCode();
                buffer.append(hash).append('@');
            }
    
            // consider the URL (instead of the id) as this most closely relates to the contents in the repo
            buffer.append(repository.getUrl());
    
            return buffer.toString();
        }
    
        private void writeLastUpdated(File touchfile, String key, String error) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  10. buildscripts/verify-healing-empty-erasure-set.sh

    			chmod +x /tmp/mc
    	fi
    }
    
    function perform_test() {
    	start_minio_3_node $2
    
    	echo "Testing Distributed Erasure setup healing of drives"
    	echo "Remove the contents of the disks belonging to '${1}' erasure set"
    
    	rm -rf ${WORK_DIR}/${1}/*/
    
    	set -x
    	start_minio_3_node $2
    }
    
    function main() {
    	# use same ports for all tests
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 12 20:51:54 GMT 2024
    - 3.7K bytes
    - Click Count (0)
Back to Top