Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 659 for Events (0.24 seconds)

  1. android/guava/src/com/google/common/eventbus/AllowConcurrentEvents.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Marks an event subscriber method as being thread-safe. This annotation indicates that EventBus
     * may invoke the event subscriber simultaneously from multiple threads.
     *
     * <p>This does not mark the method, and so should be used in combination with {@link Subscribe}.
     *
     * @author Cliff Biffle
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  2. docs/zh/docs/advanced/strict-content-type.md

    - 且不发送任何认证凭据。
    
    这种攻击主要在以下情况下相关:
    
    - 应用在本地(如 `localhost`)或内网中运行
    - 且应用没有任何认证,假定来自同一网络的请求都可信。
    
    ## 攻击示例 { #example-attack }
    
    假设你构建了一个本地运行的 AI 代理。
    
    它提供了一个 API,地址为
    
    ```
    http://localhost:8000/v1/agents/multivac
    ```
    
    另有一个前端,地址为
    
    ```
    http://localhost:8000
    ```
    
    /// tip | 提示
    
    注意它们的主机相同。
    
    ///
    
    之后,你可以通过前端让该 AI 代理替你执行操作。
    
    由于它在本地运行、而非暴露在开放的互联网,你决定不配置任何认证,只信任对本地网络的访问。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 3K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/eventbus/outside/AnnotatedAndAbstractInSuperclassTest.java

        }
      }
    
      public void testOverriddenAndAnnotatedInSubclass() {
        assertThat(getSubscriber().overriddenAndAnnotatedInSubclassEvents).contains(EVENT);
      }
    
      public void testOverriddenNotAnnotatedInSubclass() {
        assertThat(getSubscriber().overriddenInSubclassEvents).contains(EVENT);
      }
    
      @Override
      SubClass createSubscriber() {
        return new SubClass();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                }
            }
        }
    
        /**
         * Writes a search log event.
         *
         * @param event The search log event.
         */
        public void writeSearchLogEvent(final SearchLogEvent event) {
            try {
                final Map<String, Object> source = toSource(event);
                searchLogLogger.info(objectMapper.writeValueAsString(source));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 29.3K bytes
    - Click Count (0)
  5. fastapi-slim/README.md

    </p>
    <p align="center">
    <a href="https://github.com/fastapi/fastapi/actions?query=workflow%3ATest+event%3Apush+branch%3Amaster" target="_blank">
        <img src="https://github.com/fastapi/fastapi/actions/workflows/test.yml/badge.svg?event=push&branch=master" alt="Test">
    </a>
    <a href="https://coverage-badge.samuelcolvin.workers.dev/redirect/fastapi/fastapi" target="_blank">
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 12:33:49 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java

    package org.apache.maven.api.services.xml;
    
    public interface Location {
    
        /**
         * Return the line number where the current event ends,
         * returns -1 if none is available.
         * @return the current line number
         */
        int getLineNumber();
    
        /**
         * Return the column number where the current event ends,
         * returns -1 if none is available.
         * @return the current column number
         */
        int getColumnNumber();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/LegacyArtifactHandlerManager.java

        public LegacyArtifactHandlerManager(Map<String, ArtifactHandler> artifactHandlers) {
            this.artifactHandlers = requireNonNull(artifactHandlers);
        }
    
        @Override
        public void onEvent(Object event) {
            if (event instanceof ExecutionEvent executionEvent) {
                if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) {
                    allHandlers.clear();
                }
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/advanced/strict-content-type.md

    這種攻擊主要與以下情境相關:
    
    - 應用在本機(例如 `localhost`)或內部網路中執行
    - 並且應用沒有任何身分驗證,假設同一個網路中的任何請求都可被信任
    
    ## 攻擊範例 { #example-attack }
    
    假設你打造了一個在本機執行 AI 代理(AI agent)的方法。
    
    它提供一個 API:
    
    ```
    http://localhost:8000/v1/agents/multivac
    ```
    
    同時也有一個前端:
    
    ```
    http://localhost:8000
    ```
    
    /// tip | 提示
    
    請注意兩者的主機(host)相同。
    
    ///
    
    接著你可以透過前端讓 AI 代理代你執行動作。
    
    由於它在本機執行、而非公開的網際網路上,你決定不設定任何身分驗證,只信任對本機網路的存取。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  9. src/main/webapp/js/suggestor.js

          }
        });
    
        // Keyup event handler
        $(this).on("keyup", function (e) {
          if (isInputKey(e.keyCode)) {
            started = true;
            isFocusList = false;
          }
        });
    
        // Blur event handler
        $(this).on("blur", function () {
          if (!isMouseHover) {
            suggestor.fixList();
          }
        });
    
        // Input event handler with debouncing
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 11:04:08 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java

            this.typeRegistry = requireNonNull(typeRegistry, "null typeRegistry");
            this.allHandlers = new ConcurrentHashMap<>();
        }
    
        @Override
        public void onEvent(Object event) {
            if (event instanceof ExecutionEvent executionEvent) {
                if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) {
                    allHandlers.clear();
                }
            }
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top