Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1361 - 1370 of 2,630 for path2 (0.04 seconds)

  1. cmd/iam-object-store_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"testing"
    )
    
    func TestSplitPath(t *testing.T) {
    	cases := []struct {
    		path                          string
    		secondIndex                   bool
    		expectedListKey, expectedItem string
    	}{
    		{"format.json", false, "format.json", ""},
    		{"users/tester.json", false, "users/", "tester.json"},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Oct 10 23:40:37 GMT 2024
    - 2K bytes
    - Click Count (0)
  2. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        assertThat(reader.readLine()).isEqualTo("hello world")
        val request = server.takeRequest()
        assertThat(request.requestLine).isEqualTo(
          "GET /a/deep/path?key=foo%20bar HTTP/1.1",
        )
        assertThat(request.path).isEqualTo("/a/deep/path?key=foo%20bar")
        val requestUrl = request.requestUrl
        assertThat(requestUrl!!.scheme).isEqualTo("http")
        assertThat(requestUrl.host).isEqualTo(server.hostName)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 03 13:16:34 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  3. docs/en/docs/async.md

    If you have quite some technical knowledge (coroutines, threads, blocking, etc.) and are curious about how FastAPI handles `async def` vs normal `def`, go ahead.
    
    ///
    
    ### Path operation functions { #path-operation-functions }
    
    When you declare a *path operation function* with normal `def` instead of `async def`, it is run in an external threadpool that is then awaited, instead of being called directly (as it would block the server).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 23.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

                int rn) throws CIFSException {
            if (log.isDebugEnabled()) {
                log.debug("Resolving DFS path " + path);
            }
    
            if (path.length() >= 2 && path.charAt(0) == '\\' && path.charAt(1) == '\\') {
                throw new SmbException("Path must not start with double slash: " + path);
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/mylasta/mail/TestmailPostcard.java

        //                                                                          Definition
        //                                                                          ==========
        public static final String PATH = "testmail.dfmail";
    
        // ===================================================================================
        //                                                                         Entry Point
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. src/main/assemblies/files/fess

        JAVA=`which java`
    fi
    
    if [ ! -x "$JAVA" ]; then
        echo "Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME"
        exit 1
    fi
    
    if [ -z "$FESS_CLASSPATH" ]; then
        echo "You must set the FESS_CLASSPATH var" >&2
        exit 1
    fi
    
    # Special-case path variables.
    case `uname` in
        CYGWIN*)
            FESS_CLASSPATH=`cygpath -p -w "$FESS_CLASSPATH"`
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/jar/JarFileUtil.java

            }
            return create(new File(toJarFilePath(jarUrl)));
        }
    
        /**
         * Returns the path of the JAR file specified by the URL.
         *
         * @param jarUrl the URL of the JAR file (must not be {@literal null})
         * @return the path of the JAR file specified by the URL
         */
        public static String toJarFilePath(final URL jarUrl) {
            assertArgumentNotNull("jarUrl", jarUrl);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  8. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

        /**
         * Path to the maven-wrapper.properties file, which might contain a downloadUrl property to
         * use instead of the default one.
         */
        private static final String MAVEN_WRAPPER_PROPERTIES_PATH =
                ".mvn/wrapper/maven-wrapper.properties";
    
        /**
         * Path where the maven-wrapper.jar will be saved to.
         */
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 4.8K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt

     */
    class AutobahnTester {
      val client = OkHttpClient()
    
      private fun newWebSocket(
        path: String,
        listener: WebSocketListener,
      ): WebSocket {
        val request =
          Request
            .Builder()
            .url(HOST + path)
            .build()
        return client.newWebSocket(request, listener)
      }
    
      fun run() {
        try {
          val count = getTestCount()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/tutorial/request-forms.md

    例如,在 OAuth2 規範的一種用法(稱為「password flow」)中,必須以表單欄位傳送 `username` 與 `password`。
    
    該 <dfn title="規範">規範</dfn> 要求欄位名稱必須正好是 `username` 和 `password`,而且必須以表單欄位傳送,而不是 JSON。
    
    使用 `Form` 時,你可以宣告與 `Body`(以及 `Query`、`Path`、`Cookie`)相同的設定,包括驗證、範例、別名(例如用 `user-name` 取代 `username`)等。
    
    /// info
    
    `Form` 是一個直接繼承自 `Body` 的類別。
    
    ///
    
    /// tip
    
    要宣告表單的請求本文,你需要明確使用 `Form`,否則這些參數會被解讀為查詢參數或請求本文(JSON)參數。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.5K bytes
    - Click Count (0)
Back to Top