Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 853 for pos2 (0.02 seconds)

  1. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                fileName = uploadedFileName;
                try {
                    int pos = fileName.indexOf('/');
                    if (pos >= 0) {
                        fileName = fileName.substring(pos + 1);
                    }
                    pos = fileName.indexOf('\\');
                    if (pos >= 0) {
                        fileName = fileName.substring(pos + 1);
                    }
                } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  2. src/archive/tar/tar_test.go

    	}
    	if len(s) > len(b) {
    		f.ops[0] = s[len(b):]
    	} else {
    		f.ops = f.ops[1:]
    	}
    	f.pos += int64(len(b))
    	return len(b), nil
    }
    
    func (f *testFile) Seek(pos int64, whence int) (int64, error) {
    	if pos == 0 && whence == io.SeekCurrent {
    		return f.pos, nil
    	}
    	if len(f.ops) == 0 {
    		return 0, errors.New("unexpected Seek operation")
    	}
    	s, ok := f.ops[0].(int64)
    	if !ok {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jul 25 00:25:45 GMT 2024
    - 23.9K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/PublicInternalApiTest.kt

    import org.junit.jupiter.api.Assertions.assertTrue
    import org.junit.jupiter.api.Test
    
    @Suppress("DEPRECATION_ERROR")
    class PublicInternalApiTest {
      @Test
      fun permitsRequestBody() {
        assertTrue(permitsRequestBody("POST"))
        assertFalse(permitsRequestBody("GET"))
      }
    
      @Test
      fun requiresRequestBody() {
        assertTrue(requiresRequestBody("PUT"))
        assertFalse(requiresRequestBody("GET"))
      }
    
      @Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  4. android/guava-tests/benchmark/com/google/common/eventbus/EventBusBenchmark.java

      void setUp() {
        eventBus = new EventBus("for benchmarking purposes");
        eventBus.register(this);
      }
    
      @Benchmark
      void postStrings(int reps) {
        for (int i = 0; i < reps; i++) {
          eventBus.post("hello there");
        }
      }
    
      @Subscribe
      public void handleStrings(String string) {
        // Nothing to do here.
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/tutorial/request-files.md

    但當表單包含檔案時,會使用 `multipart/form-data` 編碼。若你使用 `File`,**FastAPI** 會知道要從請求本文的正確部分取得檔案。
    
    若想進一步了解這些編碼與表單欄位,請參考 [<abbr title="Mozilla Developer Network - Mozilla 開發者網路">MDN</abbr> web docs 的 `POST`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST)。
    
    ///
    
    /// warning
    
    你可以在一個路徑操作中宣告多個 `File` 與 `Form` 參數,但不能同時宣告預期以 JSON 接收的 `Body` 欄位,因為此請求的本文會使用 `multipart/form-data` 而不是 `application/json`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  6. docs/fr/docs/advanced/openapi-callbacks.md

    Ensuite votre API va (imaginons) :
    
    * Envoyer la facture à un client de la personne développeuse externe.
    * Encaisser l’argent.
    * Renvoyer une notification à l’utilisateur de l’API (la personne développeuse externe).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  7. docs/zh/docs/advanced/openapi-callbacks.md

    ## 使用回调的应用 { #an-app-with-callbacks }
    
    示例如下。
    
    假设要开发一个创建发票的应用。
    
    发票包括 `id`、`title`(可选)、`customer`、`total` 等属性。
    
    API 的用户(外部开发者)要在您的 API 内使用 POST 请求创建一条发票记录。
    
    (假设)您的 API 将:
    
    * 把发票发送至外部开发者的消费者
    * 归集现金
    * 把通知发送至 API 的用户(外部开发者)
        * 通过(从您的 API)发送 POST 请求至外部 API(即**回调**)来完成
    
    ## 常规 **FastAPI** 应用 { #the-normal-fastapi-app }
    
    添加回调前,首先看下常规 API 应用是什么样子。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  8. docs/uk/docs/tutorial/first-steps.md

    ///
    
    Під час створення API «шлях» є основним способом розділити «завдання» і «ресурси».
    
    #### Операція { #operation }
    
    «Операція» тут означає один з HTTP «методів».
    
    Один з:
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ...та більш екзотичних:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java

         *
         * @param body the label type data to create
         * @return JSON response containing the created label type setting ID
         */
        // POST /api/admin/labeltype/setting
        @Execute
        public JsonResponse<ApiResult> post$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  10. .teamcity/mvnw.cmd

    if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
    if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd"
    :skipRcPre
    
    @setlocal
    
    set ERROR_CODE=0
    
    @REM To isolate internal variables from possible post scripts, we use another setlocal
    @setlocal
    
    @REM ==== START VALIDATION ====
    if not "%JAVA_HOME%" == "" goto OkJHome
    
    echo.
    echo Error: JAVA_HOME not found in your environment. >&2
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 6.5K bytes
    - Click Count (0)
Back to Top