Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 321 for chooser (0.14 seconds)

  1. docs/fr/docs/advanced/advanced-python-types.md

    Si votre code ne peut pas utiliser `|` pour une raison quelconque, par exemple si ce n'est pas dans une annotation de type mais dans quelque chose comme `response_model=`, au lieu d'utiliser la barre verticale (`|`) vous pouvez utiliser `Union` de `typing`.
    
    Par exemple, vous pourriez déclarer que quelque chose peut être un `str` ou `None` :
    
    ```python
    from typing import Union
    
    
    def say_hi(name: Union[str, None]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  2. docs/en/docs/deployment/fastapicloud.md

    ## Deploy to other cloud providers { #deploy-to-other-cloud-providers }
    
    FastAPI is open source and based on standards. You can deploy FastAPI apps to any cloud provider you choose.
    
    Follow your cloud provider's guides to deploy FastAPI apps with them. 🤓
    
    ## Deploy your own server { #deploy-your-own-server }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureLeakTest.java

      }
    
      private WeakReference<ClosingFuture<String>> leakClosingFuture(TestCloseable closeable) {
        ClosingFuture<String> willCloseCloseable =
            ClosingFuture.submit(
                closer -> {
                  closer.eventuallyClose(closeable, directExecutor());
                  return "";
                },
                directExecutor());
        return new WeakReference<>(willCloseCloseable);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/ClosingFutureLeakTest.java

      }
    
      private WeakReference<ClosingFuture<String>> leakClosingFuture(TestCloseable closeable) {
        ClosingFuture<String> willCloseCloseable =
            ClosingFuture.submit(
                closer -> {
                  closer.eventuallyClose(closeable, directExecutor());
                  return "";
                },
                directExecutor());
        return new WeakReference<>(willCloseCloseable);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  5. cmd/erasure-decode.go

    func (p *parallelReader) Done() {
    	if p.stashBuffer != nil {
    		globalBytePoolCap.Load().Put(p.stashBuffer)
    		p.stashBuffer = nil
    	}
    }
    
    // preferReaders can mark readers as preferred.
    // These will be chosen before others.
    func (p *parallelReader) preferReaders(prefer []bool) {
    	if len(prefer) != len(p.orgReaders) {
    		return
    	}
    	// Copy so we don't change our input.
    	tmp := make([]io.ReaderAt, len(p.orgReaders))
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 29 01:40:52 GMT 2024
    - 9.5K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        } catch (NoSuchMethodException e) {
          return false;
        }
      }
    
      abstract static class Chopper {
    
        final Chopper or(Chopper you) {
          Chopper i = this;
          return new Chopper() {
            @Override
            @Nullable String chop(String str) {
              String result = i.chop(str);
              return result != null ? result : you.chop(str);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        manifest.getMainAttributes().put(Attributes.Name.CLASS_PATH, jarFile.getName());
    
        Closer closer = Closer.create();
        try {
          FileOutputStream fileOut = closer.register(new FileOutputStream(jarFile));
          JarOutputStream jarOut = closer.register(new JarOutputStream(fileOut, manifest));
          for (String entry : entries) {
            jarOut.putNextEntry(new ZipEntry(entry));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 23.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/io/Files.java

        }
    
        @Override
        public byte[] read() throws IOException {
          Closer closer = Closer.create();
          try {
            FileInputStream in = closer.register(openStream());
            return ByteStreams.toByteArray(in, in.getChannel().size());
          } catch (Throwable e) {
            throw closer.rethrow(e);
          } finally {
            closer.close();
          }
        }
    
        @Override
        public String toString() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  9. cmd/metacache-entries.go

    // To signify no more results are on an input channel, close it.
    // The output channel will be closed when all inputs are emptied.
    // If file names are equal, compareMeta is called to select which one to choose.
    // The entry not chosen will be discarded.
    // If the context is canceled the function will return the error,
    // otherwise the function will return nil.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 08 15:29:58 GMT 2024
    - 24.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

      // https://docs.oracle.com/en/java/javase/25/security/java-cryptography-architecture-jca-reference-guide.html#:~:text=How%20Provider%20Implementations%20Are%20Requested%20and%20Supplied
      //  - Some providers may choose to also include alias names.
      //  - For example, the "SHA-1" algorithm might be referred to as "SHA1".
      //  - The algorithm name is not case-sensitive.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 4.9K bytes
    - Click Count (0)
Back to Top