Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 692 for pos2 (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

                    final int pos = className.lastIndexOf('.');
                    final String packageName = pos == -1 ? null : className.substring(0, pos);
                    final String shortClassName = pos == -1 ? className : className.substring(pos + 1);
                    handler.processClass(packageName, shortClassName);
                }
            }
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  2. docs/ko/docs/advanced/openapi-webhooks.md

    ## **FastAPI**와 OpenAPI로 webhooks 문서화하기 { #documenting-webhooks-with-fastapi-and-openapi }
    
    **FastAPI**에서는 OpenAPI를 사용해, 이러한 webhook의 이름, 여러분의 앱이 보낼 수 있는 HTTP 작업 타입(예: `POST`, `PUT` 등), 그리고 여러분의 앱이 보낼 요청 **본문(body)**을 정의할 수 있습니다.
    
    이렇게 하면 사용자가 여러분의 **webhook** 요청을 받기 위해 **자신들의 API를 구현**하기가 훨씬 쉬워지고, 경우에 따라서는 자신의 API 코드 일부를 자동 생성할 수도 있습니다.
    
    /// info | 정보
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/advanced/openapi-webhooks.md

    在 FastAPI 中,透過 OpenAPI,你可以定義這些 webhook 的名稱、你的應用將發送的 HTTP 操作類型(例如 `POST`、`PUT` 等),以及你的應用要發送的請求主體。
    
    這能讓你的使用者更容易實作他們的 API 以接收你的 webhook 請求,甚至可能自動產生部分他們自己的 API 程式碼。
    
    /// info
    
    Webhook 功能自 OpenAPI 3.1.0 起提供,FastAPI `0.99.0` 以上版本支援。
    
    ///
    
    ## 含有 webhook 的應用 { #an-app-with-webhooks }
    
    建立 FastAPI 應用時,會有一個 `webhooks` 屬性可用來定義 webhook,方式與定義路徑操作相同,例如使用 `@app.webhooks.post()`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  4. fastapi/.agents/skills/fastapi/SKILL.md

    
    app = FastAPI()
    
    
    @app.post("/items/")
    async def create_item(item: Item, project_id: Annotated[int, Query()]): ...
    ```
    
    instead of this:
    
    ```python
    # DO NOT DO THIS
    class Item(BaseModel):
        name: str = ...
        description: str | None = None
        price: float = Field(..., gt=0)
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

            if (resourceName == null || resourceName.trim().isEmpty()) {
                return "";
            }
            final int pos = resourceName.lastIndexOf("/");
            if (pos == -1 || pos == resourceName.length() - 1) {
                return "";
            }
            return resourceName.substring(pos + 1);
        }
    
        private void pad(StringBuilder buffer, int spaces) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 11:23:19 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java

                        final int pos = text.indexOf(term, offset);
                        if (pos > 0) {
                            final String tmp = text.substring(offset, pos);
                            readingBuf.append(transliterator.transliterate(tmp));
                            offset = pos;
                        } else if (pos == -1) {
                            continue;
                        }
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:28:21 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/it/search/FavoritesApiTests.java

                Map<String, String> params = new HashMap<>();
                params.put("queryId", queryId);
    
                Response response =
                        given().contentType("application/json").params(params).when().post("/api/v1/documents/" + docId + "/favorite");
    
                // Should return 200 or 201
                int statusCode = response.getStatusCode();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

            if (url != null) {
                int pos = -1;
                while ((pos = decoded.indexOf('%', pos + 1)) >= 0) {
                    if (pos + 2 < decoded.length()) {
                        String hexStr = decoded.substring(pos + 1, pos + 3);
                        char ch = (char) Integer.parseInt(hexStr, 16);
                        decoded = decoded.substring(0, pos) + ch + decoded.substring(pos + 3);
                    }
                }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  9. internal/s3select/jstream/scanner.go

    func (s *scanner) remaining() int64 {
    	if atomic.LoadInt64(&s.end) == maxInt {
    		return maxInt
    	}
    	return atomic.LoadInt64(&s.end) - s.pos
    }
    
    // read byte at current position (without advancing)
    func (s *scanner) cur() byte { return s.buf[s.ipos] }
    
    // read next byte
    func (s *scanner) next() byte {
    	if s.pos >= atomic.LoadInt64(&s.end) {
    		return nullByte
    	}
    	s.ipos++
    
    	if s.ipos > s.ifill { // internal buffer is exhausted
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Sep 23 19:35:41 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  10. fastapi/openapi/constants.py

    METHODS_WITH_BODY = {"GET", "HEAD", "POST", "PUT", "DELETE", "PATCH"}
    REF_PREFIX = "#/components/schemas/"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 153 bytes
    - Click Count (0)
Back to Top