Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,295 for exiting (0.04 sec)

  1. docs/en/docs/advanced/events.md

        await do_stuff()
    ```
    
    When you create a context manager or an async context manager like above, what it does is that, before entering the `with` block, it will execute the code before the `yield`, and after exiting the `with` block, it will execute the code after the `yield`.
    
    In our code example above, we don't use it directly, but we pass it to FastAPI for it to use it.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

            Executors.newSingleThreadScheduledExecutor(new ThreadFactoryImpl());
        // Add a listener to shut down the executor after the service is stopped. This ensures that the
        // JVM shutdown will not be prevented from exiting after this service has stopped or failed.
        // Technically this listener is added after start() was called so it is a little gross, but it
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

            Executors.newSingleThreadScheduledExecutor(new ThreadFactoryImpl());
        // Add a listener to shut down the executor after the service is stopped. This ensures that the
        // JVM shutdown will not be prevented from exiting after this service has stopped or failed.
        // Technically this listener is added after start() was called so it is a little gross, but it
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

          }
        }
        connection.writePing()
        connection.shutdown(ErrorCode.PROTOCOL_ERROR)
        assertThat(connection.openStreamCount()).isEqualTo(1)
        connection.awaitPong() // Prevent the peer from exiting prematurely.
    
        // Verify the peer received what was expected.
        val synStream1 = peer.takeFrame()
        assertThat(synStream1.type).isEqualTo(Http2.TYPE_HEADERS)
        val pingFrame = peer.takeFrame()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

                    form.crudMode = CrudMode.CREATE;
                });
            }).renderWith(data -> {
                registerLabels(data);
            });
        }
    
        /**
         * Shows the form for editing an existing elevate word.
         *
         * @param form edit form containing the elevate word ID
         * @return HTML response for the edit elevate word form
         */
        @Execute
        @Secured({ ROLE })
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

        public void test_update() throws Exception {
            writeTestFile("a,b => c\nd,e => f\n");
    
            // Get existing item
            OptionalEntity<CharMappingItem> existing = charMappingFile.get(1L);
            assertTrue(existing.isPresent());
    
            // Update the item
            CharMappingItem updateItem = existing.get();
            updateItem.setNewInputs(new String[] { "m", "n" });
            updateItem.setNewOutput("o");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  7. docs/en/docs/async.md

    In this scenario of "fast food burgers with your crush", as there is a lot of waiting πŸ•™, it makes a lot more sense to have a concurrent system βΈπŸ”€β―.
    
    This is the case for most of the web applications.
    
    Many, many users, but your server is waiting πŸ•™ for their not-so-good connection to send their requests.
    
    And then waiting πŸ•™ again for the responses to come back.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 24K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java

                return null;
            });
    
            return asJson(new ApiUpdateResponse().id(relatedQuery.getId()).created(true).status(Status.OK).result());
        }
    
        /**
         * Updates an existing related query setting.
         *
         * @param body the related query configuration data to update
         * @return JSON response containing the updated related query ID and status
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

            FileUtil.writeBytes(file.getAbsolutePath(), "ldap.security.principal=******@****.***".getBytes("UTF-8"));
            DynamicProperties systemProps = new DynamicProperties(file);
    
            // Get existing component and update it instead of registering new one
            DynamicProperties existingProps = SingletonLaContainerFactory.getContainer().getComponent("systemProperties");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java

            }
            return asJson(new ApiResult.ApiUpdateResponse().id(entity.getId()).created(true).status(ApiResult.Status.OK).result());
        }
    
        /**
         * Updates an existing role setting.
         *
         * @param body the role data to update
         * @return JSON response containing the updated role setting ID
         */
        // PUT /api/admin/role/setting
        @Execute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top