Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 921 - 930 of 1,412 for election (0.2 seconds)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java

        }
    
        /**
         * Deletes a related query setting by ID.
         *
         * @param id the ID of the related query to delete
         * @return JSON response confirming deletion status
         */
        // DELETE /api/admin/relatedquery/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            relatedQueryService.getRelatedQuery(id).ifPresent(entity -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeUnit;
    import java.util.function.Function;
    import java.util.stream.Collectors;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.lifecycle.internal.BuildThreadFactory;
    import org.apache.maven.lifecycle.internal.LifecycleModuleBuilder;
    import org.apache.maven.lifecycle.internal.ProjectBuildList;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 16 03:42:09 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            // Then
            assertNotNull(responseWithNull);
            assertNotNull(responseWithNull.getNotifyInformation());
        }
    
        /**
         * Helper method to set header start using reflection
         */
        private void setHeaderStart(Smb2ChangeNotifyResponse response, int headerStart) throws Exception {
            Method method = ServerMessageBlock2.class.getDeclaredMethod("getHeaderStart");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // Given & When
            String path = "\\\\testserver\\testshare";
            Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, path);
    
            // Then - verify command is set correctly using reflection
            Field commandField = ServerMessageBlock2.class.getDeclaredField("command");
            commandField.setAccessible(true);
            int command = (int) commandField.get(req);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withMessageAndCause() {
            // Test constructor with message and cause
            String message = "Script execution failed";
            Exception cause = new RuntimeException("Underlying error");
            ScriptEngineException exception = new ScriptEngineException(message, cause);
    
            assertEquals(message, exception.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

       * can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="https://bugs.openjdk.org/browse/JDK-5045147">JDK-5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getPutAllNullKeyUnsupportedMethod() {
        return getMethod(MapPutAllTester.class, "testPutAll_nullKeyUnsupported");
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

            if (lookup == null) {
                return customLifecycles != null ? customLifecycles : new HashMap<>();
            }
    
            // Lifecycles cannot be cached as extensions might add custom lifecycles later in the execution.
            try {
                return registry != null
                        ? registry.stream().collect(Collectors.toMap(lf -> lf.id(), lf -> new Lifecycle(registry, lf)))
                        : Map.of();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/ApiAdminDuplicatehostAction.java

        // DELETE /api/admin/duplicatehost/setting/{id}
        /**
         * Deletes a specific duplicate host setting.
         *
         * @param id the duplicate host setting ID to delete
         * @return JSON response with deletion status
         */
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            duplicateHostService.getDuplicateHost(id).ifPresent(entity -> {
                try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

                // Log summary
                logSummary(context, result);
    
                return result;
            } catch (Exception e) {
                context.failure("Strategy execution failed: " + e.getMessage());
                return UpgradeResult.failure(pomMap.keySet(), Set.of());
            } finally {
                context.unindent();
            }
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/middleware.md

    /// tip
    
    这里我们使用 [`time.perf_counter()`](https://docs.python.org/3/library/time.html#time.perf_counter) 而不是 `time.time()`,因为在这类场景中它可能更精确。🤓
    
    ///
    
    ## 多个中间件的执行顺序 { #multiple-middleware-execution-order }
    
    当你使用 `@app.middleware()` 装饰器或 `app.add_middleware()` 方法添加多个中间件时,每个新中间件都会包裹应用,形成一个栈。最后添加的中间件是“最外层”的,最先添加的是“最内层”的。
    
    在请求路径上,最外层的中间件先运行。
    
    在响应路径上,它最后运行。
    
    例如:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.7K bytes
    - Click Count (0)
Back to Top