Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 446 for pos5 (0.08 sec)

  1. src/main/java/org/codelibs/core/lang/ClassUtil.java

        public static String getPackageName(final Class<?> clazz) {
            assertArgumentNotNull("clazz", clazz);
    
            final String fqcn = clazz.getName();
            final int pos = fqcn.lastIndexOf('.');
            if (pos > 0) {
                return fqcn.substring(0, pos);
            }
            return null;
        }
    
        /**
         * Returns the class name without the package name from the fully qualified class name (FQCN).
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Doubles.java

        long length = 0;
        for (double[] array : arrays) {
          length += array.length;
        }
        double[] result = new double[checkNoOverflow(length)];
        int pos = 0;
        for (double[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      private static int checkNoOverflow(long result) {
        checkArgument(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/testing.md

    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    이제 **FastAPI** 앱이 있는 `main.py` 파일에 몇 가지 다른 **경로 작업** 이 추가된 경우를 생각해봅시다.
    
    단일 오류를 반환할 수 있는 `GET` 작업이 있습니다.
    
    여러 다른 오류를 반환할 수 있는 `POST` 작업이 있습니다.
    
    두 *경로 작업* 모두 `X-Token` 헤더를 요구합니다.
    
    //// tab | Python 3.10+
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_an_py310/main.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 10 11:24:48 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/testing.md

    ```
    
    Digamos que ahora el archivo `main.py` con tu aplicación de **FastAPI** tiene algunas otras **path operations**.
    
    Tiene una operación `GET` que podría devolver un error.
    
    Tiene una operación `POST` que podría devolver varios errores.
    
    Ambas *path operations* requieren un `X-Token` header.
    
    //// tab | Python 3.10+
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_an_py310/main.py!}
    ```
    
    ////
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

        }
    
        public void test_post() {
            setupMockConfig("localhost:9200", "", "");
    
            curlHelper.init();
            CurlRequest request = curlHelper.post("/test");
    
            assertNotNull(request);
            // The request should be properly created
        }
    
        public void test_put() {
            setupMockConfig("localhost:9200", "", "");
    
            curlHelper.init();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  6. docs/uk/docs/tutorial/testing.md

    │   └── test_main.py
    ```
    
    Припустимо, що тепер файл `main.py` із Вашим **FastAPI**-застосунком містить додаткові операції шляху (**path operations**).
    
    Він має `GET`-операцію, яка може повертати помилку.
    
    Він має `POST`-операцію, яка може повертати кілька помилок.
    
    Обидві операції шляху вимагають заголовок `X-Token`.
    
    //// tab | Python 3.10+
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_an_py310/main.py!}
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 28 14:12:19 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    	}
    	boundary, ok := params["boundary"]
    	if !ok {
    		return nil, http.ErrMissingBoundary
    	}
    	return multipart.NewReader(r.Body, boundary), nil
    }
    
    // PostPolicyBucketHandler - POST policy
    // ----------
    // This implementation of the POST operation handles object creation with a specified
    // signature policy in multipart/form-data
    func (api objectAPIHandlers) PostPolicyBucketHandler(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.9K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

      }
    }
    
    private fun Request.requestForCache(): Request {
      val cacheUrlOverride = cacheUrlOverride
    
      return if (cacheUrlOverride != null && (method == "GET" || method == "POST")) {
        newBuilder()
          .get()
          .url(cacheUrlOverride)
          .cacheUrlOverride(null)
          .build()
      } else {
        this
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. docs/features/events.md

        .build();
    client.newCall(newYorkTimesRequest).enqueue(new Callback() {
      ...
    });
    ```
    
    Running this race over home WiFi shows the Times (`0002`) completes just slightly sooner than the Post (`0001`):
    
    ```
    0001 https://www.washingtonpost.com/
    0001 0.000 callStart
    0002 https://www.nytimes.com/
    0002 0.000 callStart
    0002 0.010 dnsStart
    0001 0.013 dnsStart
    0001 0.022 dnsEnd
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/testing.md

    │   ├── main.py
    │   └── test_main.py
    ```
    
    Let's say that now the file `main.py` with your **FastAPI** app has some other **path operations**.
    
    It has a `GET` operation that could return an error.
    
    It has a `POST` operation that could return several errors.
    
    Both *path operations* require an `X-Token` header.
    
    //// tab | Python 3.10+
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_an_py310/main.py!}
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top