Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,745 for only2 (0.02 sec)

  1. fastapi/applications.py

                    """
                    Name for this *path operation*. Only used internally.
                    """
                ),
            ] = None,
            callbacks: Annotated[
                Optional[List[BaseRoute]],
                Doc(
                    """
                    List of *path operations* that will be used as OpenAPI callbacks.
    
                    This is only for OpenAPI documentation, the callbacks won't be used
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt

          // it is a name, all IPs for that name should be tried. If it is an IP address, only that IP
          // address should be tried.
          val address = address ?: return hostName
    
          // The InetSocketAddress has a specific address: we should only try that address. Therefore we
          // return the address and ignore any host name that may be available.
          return address.hostAddress
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/TestStreamSupplier.java

     */
    
    package com.google.common.io;
    
    /**
     * Interface for a supplier of streams that can report whether a stream was opened and whether that
     * stream was closed. Intended for use in a test where only a single stream should be opened and
     * possibly closed.
     *
     * @author Colin Decker
     */
    public interface TestStreamSupplier {
    
      /** Returns whether or not a new stream was opened. */
      boolean wasStreamOpened();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/TestStreamSupplier.java

     */
    
    package com.google.common.io;
    
    /**
     * Interface for a supplier of streams that can report whether a stream was opened and whether that
     * stream was closed. Intended for use in a test where only a single stream should be opened and
     * possibly closed.
     *
     * @author Colin Decker
     */
    public interface TestStreamSupplier {
    
      /** Returns whether or not a new stream was opened. */
      boolean wasStreamOpened();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  5. internal/once/singleton.go

    func (s *Singleton[T]) IsSet() bool {
    	select {
    	case <-s.set:
    		return true
    	default:
    		return false
    	}
    }
    
    // Set the value and unblock all Get requests.
    // This may only be called once, a second call will panic.
    func (s *Singleton[T]) Set(v *T) {
    	s.v = v
    	close(s.set)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 952 bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Collections2.java

       *
       * <p>Duplicate elements are considered equal. For example, the list [1, 1] will have only one
       * permutation, instead of two. This is why the elements have to implement {@link Comparable}.
       *
       * <p>An empty iterable has only one permutation, which is an empty list.
       *
       * <p>This method is equivalent to {@code Collections2.orderedPermutations(list,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. docs_src/dependencies/tutorial008d_an.py

                f"The portal gun is too dangerous to be owned by {username}"
            )
        if item_id != "plumbus":
            raise HTTPException(
                status_code=404, detail="Item not found, there's only a plumbus here"
            )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 744 bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/MapRetrievalCache.java

      @CheckForNull private transient volatile CacheEntry<K, V> cacheEntry2;
    
      MapRetrievalCache(Map<K, V> backingMap) {
        super(backingMap);
      }
    
      @SuppressWarnings("unchecked") // Safe because we only cast if key is found in map.
      @Override
      @CheckForNull
      V get(Object key) {
        checkNotNull(key);
        V value = getIfCached(key);
        if (value != null) {
          return value;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  9. README.md

    ```gradle
    dependencies {
      // Pick one:
    
      // 1. Use Guava in your implementation only:
      implementation("com.google.guava:guava:33.3.1-jre")
    
      // 2. Use Guava types in your public API:
      api("com.google.guava:guava:33.3.1-jre")
    
      // 3. Android - Use Guava in your implementation only:
      implementation("com.google.guava:guava:33.3.1-android")
    
      // 4. Android - Use Guava types in your public API:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 18:34:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/escape/CharEscaper.java

       */
      @Override
      public String escape(String string) {
        checkNotNull(string); // GWT specific check (do not optimize)
        // Inlineable fast-path loop which hands off to escapeSlow() only if needed
        int length = string.length();
        for (int index = 0; index < length; index++) {
          if (escape(string.charAt(index)) != null) {
            return escapeSlow(string, index);
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.7K bytes
    - Viewed (0)
Back to top