Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1331 - 1340 of 3,560 for getA (0.02 seconds)

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

  1. docs_src/websockets_/tutorial003_py310.py

        async def broadcast(self, message: str):
            for connection in self.active_connections:
                await connection.send_text(message)
    
    
    manager = ConnectionManager()
    
    
    @app.get("/")
    async def get():
        return HTMLResponse(html)
    
    
    @app.websocket("/ws/{client_id}")
    async def websocket_endpoint(websocket: WebSocket, client_id: int):
        await manager.connect(websocket)
        try:
            while True:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 12:34:37 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

        Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable);
        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

        Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable);
        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  4. guava-testlib/test/com/google/common/testing/ReflectionFreeAssertThrows.java

        Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable);
        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

        public void warnAboutDeprecatedOptions(ParserRequest request, Consumer<String> printWriter) {}
    
        @Override
        public void displayHelp(ParserRequest request, Consumer<String> printWriter) {
            options.get(0).displayHelp(request, printWriter);
        }
    
        protected <T> Optional<T> returnFirstPresentOrEmpty(Function<O, Optional<T>> getter) {
            for (O option : options) {
                Optional<T> o = getter.apply(option);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 26 17:31:44 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/FilteredKeyListMultimap.java

      }
    
      @Override
      public ListMultimap<K, V> unfiltered() {
        return (ListMultimap<K, V>) super.unfiltered();
      }
    
      @Override
      public List<V> get(@ParametricNullness K key) {
        return (List<V>) super.get(key);
      }
    
      @Override
      public List<V> removeAll(@Nullable Object key) {
        return (List<V>) super.removeAll(key);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  7. fastapi/.agents/skills/fastapi/references/other-tools.md

    ```python
    from asyncer import asyncify
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    def do_blocking_work(name: str) -> str:
        # Some blocking I/O operation
        return f"Hello {name}"
    
    
    @app.get("/items/")
    async def read_items():
        result = await asyncify(do_blocking_work)(name="World")
        return {"message": result}
    ```
    
    And run async code inside of blocking sync code with `syncify()`:
    
    ```python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/suggest/ApiAdminSuggestAction.java

        /**
         * Retrieves suggest statistics including word counts.
         *
         * @return JSON response containing suggest statistics
         */
        // GET /api/admin/suggest
        @Execute
        public JsonResponse<ApiResult> get$index() {
            final SuggestBody body = new SuggestBody();
            body.totalWordsNum = suggestHelper.getAllWordsNum();
            body.documentWordsNum = suggestHelper.getDocumentWordsNum();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/timer/LoadControlMonitorTarget.java

                consecutiveFailures++;
                if (consecutiveFailures <= 3) {
                    logger.warn("Failed to get search engine CPU stats.", e);
                } else if (logger.isDebugEnabled()) {
                    logger.debug("Failed to get search engine CPU stats.", e);
                }
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Feb 10 04:24:02 GMT 2026
    - 3K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java

        List<Range<C>> asRanges = ImmutableList.copyOf(rangeSet.asRanges());
    
        // test that connected ranges are coalesced
        for (int i = 0; i + 1 < asRanges.size(); i++) {
          Range<C> range1 = asRanges.get(i);
          Range<C> range2 = asRanges.get(i + 1);
          assertFalse(range1.isConnected(range2));
        }
    
        // test that there are no empty ranges
        for (Range<C> range : asRanges) {
          assertFalse(range.isEmpty());
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 2.7K bytes
    - Click Count (0)
Back to Top