Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5641 - 5650 of 7,804 for RETURN (0.14 seconds)

  1. docs/features/events.md

      private static final Factory FACTORY = new Factory() {
        @Override public EventListener create(Call call) {
          if (Math.random() < 0.10) {
            return new MetricsEventListener(call);
          } else {
            return EventListener.NONE;
          }
        }
      };
    
      ...
    }
    ```
    
    ### Events with Failures
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

                    try {
                        // Return a CurlResponse with the file's content
                        return new CurlResponse() {
                            @Override
                            public InputStream getContentAsStream() throws IOException {
                                // Use the actual file path from the DictionaryFile
                                return new FileInputStream(new File(file.getPath()));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        final Queue<Runnable> tasks = new ArrayDeque<>();
    
        @Override
        public void execute(Runnable command) {
          tasks.add(command);
        }
    
        boolean hasNext() {
          return !tasks.isEmpty();
        }
    
        void runNext() {
          assertTrue("expected at least one task to run", hasNext());
          tasks.remove().run();
        }
    
        void runAll() {
          while (hasNext()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

            // chain.addConverter(new KatakanaConverter());
            chain.addConverter(new KatakanaToAlphabetConverter());
            chain.init();
            return chain;
        }
    
        protected Normalizer createDefaultNormalizer() {
            // TODO
            return new NormalizerChain();
        }
    
        @Test
        public void test_parseDocument() throws Exception {
            Map<String, Object> document = new HashMap<>();
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  5. docs_src/custom_response/tutorial005_py310.py

    from fastapi import FastAPI
    from fastapi.responses import PlainTextResponse
    
    app = FastAPI()
    
    
    @app.get("/", response_class=PlainTextResponse)
    async def main():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 186 bytes
    - Click Count (0)
  6. tests/test_swagger_ui_init_oauth.py

    swagger_ui_init_oauth = {"clientId": "the-foo-clients", "appName": "The Predendapp"}
    
    app = FastAPI(swagger_ui_init_oauth=swagger_ui_init_oauth)
    
    
    @app.get("/items/")
    async def read_items():
        return {"id": "foo"}
    
    
    client = TestClient(app)
    
    
    def test_swagger_ui():
        response = client.get("/docs")
        assert response.status_code == 200, response.text
        print(response.text)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 09 10:54:05 GMT 2020
    - 718 bytes
    - Click Count (0)
  7. docs_src/async_tests/app_a_py310/main.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def root():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 112 bytes
    - Click Count (0)
  8. docs_src/custom_response/tutorial006_py310.py

    from fastapi import FastAPI
    from fastapi.responses import RedirectResponse
    
    app = FastAPI()
    
    
    @app.get("/typer")
    async def redirect_typer():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 199 bytes
    - Click Count (0)
  9. docs_src/app_testing/app_a_py310/main.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_main():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 118 bytes
    - Click Count (0)
  10. docs_src/first_steps/tutorial001_py310.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def root():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 117 bytes
    - Click Count (0)
Back to Top