Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2121 - 2130 of 3,066 for Gist (0.21 sec)

  1. docs_src/body_updates/tutorial002_py39.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: Union[str, None] = None
        description: Union[str, None] = None
        price: Union[float, None] = None
        tax: float = 10.5
        tags: list[str] = []
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
        "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 1K bytes
    - Viewed (0)
  2. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/BouncyCastleSocketAdapter.kt

          null, "" -> null
          else -> protocol
        }
      }
    
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
        // No TLS extensions if the socket class is custom.
        if (matchesSocket(sslSocket)) {
          val bcSocket = sslSocket as BCSSLSocket
    
          val sslParameters = bcSocket.parameters
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/RecordingExecutor.kt

            return
          }
        }
        throw AssertionError("No such job: $url")
      }
    
      override fun shutdown() {
        shutdown = true
      }
    
      override fun shutdownNow(): List<Runnable> = throw UnsupportedOperationException()
    
      override fun isShutdown(): Boolean = shutdown
    
      override fun isTerminated(): Boolean = throw UnsupportedOperationException()
    
      override fun awaitTermination(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Oct 06 18:34:01 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       */
      // This is logically a Set, but an ArrayList is used to minimize the amount
      // of allocation done on lock()/unlock().
      private static final ThreadLocal<List<LockGraphNode>> acquiredLocks =
          new ThreadLocal<List<LockGraphNode>>() {
            @Override
            protected List<LockGraphNode> initialValue() {
              return newArrayListWithCapacity(3);
            }
          };
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 17:06:34 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/ResourcePublicSuffixList.kt

      override fun listSource(): Source = fileSystem.source(path)
    
      companion object {
        @JvmField
        val PUBLIC_SUFFIX_RESOURCE =
          "okhttp3/internal/publicsuffix/${PublicSuffixDatabase::class.java.simpleName}.list".toPath()
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/CreateBody.java

     */
    package org.codelibs.fess.app.web.api.admin.searchlist;
    
    import org.codelibs.fess.app.web.admin.searchlist.CreateForm;
    
    /**
     * Request body for creating search list via REST API.
     * Extends CreateForm to inherit validation and field definitions.
     */
    public class CreateBody extends CreateForm {
    
        /**
         * Creates a new CreateBody instance.
         */
        public CreateBody() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1010 bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/ViewHelper.java

        }
    
        /**
         * Adds a facet query view to the list.
         *
         * @param facetQueryView the facet query view to add
         */
        public void addFacetQueryView(final FacetQueryView facetQueryView) {
            facetQueryViewList.add(facetQueryView);
        }
    
        /**
         * Gets the list of facet query views.
         *
         * @return the list of facet query views
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  8. cmd/sftp-server-driver.go

    		}
    
    		objInfo, err := clnt.StatObject(context.Background(), bucket, object, minio.StatObjectOptions{})
    		if err != nil {
    			if minio.ToErrorResponse(err).Code == "NoSuchKey" {
    				// dummy return to satisfy LIST (stat -> list) behavior.
    				return listerAt{&minioFileInfo{
    					p:     pathClean(object),
    					info:  minio.ObjectInfo{Key: object},
    					isDir: true,
    				}}, nil
    			}
    			return nil, err
    		}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Feb 10 16:35:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  9. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeInteropTest.kt

          story === Story.MISSING,
          "Test stories missing, checkout git submodule",
        )
        testDecoder(story)
      }
    
      internal class StoriesTestProvider : SimpleProvider() {
        override fun arguments(): List<Any> = createStories(HpackJsonUtil.storiesForCurrentDraft())
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/proxy/NullProxySelector.kt

    import java.net.SocketAddress
    import java.net.URI
    
    /**
     * A proxy selector that always returns the [Proxy.NO_PROXY].
     */
    object NullProxySelector : ProxySelector() {
      override fun select(uri: URI?): List<Proxy> {
        requireNotNull(uri) { "uri must not be null" }
        return listOf(Proxy.NO_PROXY)
      }
    
      override fun connectFailed(
        uri: URI?,
        sa: SocketAddress?,
        ioe: IOException?,
      ) {
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top