Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3761 - 3770 of 4,168 for get (0.02 seconds)

  1. src/test/java/org/codelibs/fess/suggest/util/ScrollOperationHelperTest.java

                    10, (hit, accumulator) -> {
                        Map<String, Object> source = hit.getSourceAsMap();
                        if (source.containsKey("value")) {
                            accumulator.add(((Number) source.get("value")).intValue());
                        }
                    });
    
            assertNotNull(results);
            assertEquals(5, results.size());
        }
    
        private void createTestIndex() {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/entity/ChatSession.java

                    // Ensure trimmed history starts with a user message, not an assistant message
                    if (start < messages.size() && ChatMessage.ROLE_ASSISTANT.equals(messages.get(start).getRole())) {
                        start = Math.max(0, start - 1);
                    }
                    final List<ChatMessage> trimmed = new ArrayList<>(messages.subList(start, messages.size()));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/hash/SipHashFunction.java

        }
    
        @Override
        protected void processRemaining(ByteBuffer buffer) {
          b += buffer.remaining();
          for (int i = 0; buffer.hasRemaining(); i += 8) {
            finalM ^= (buffer.get() & 0xFFL) << i;
          }
        }
    
        @Override
        protected HashCode makeHash() {
          // End with a byte encoding the positive integer b mod 256.
          finalM ^= b << 56;
          processM(finalM);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  4. docs/de/docs/tutorial/server-sent-events.md

    {* ../../docs_src/server_sent_events/tutorial004_py310.py hl[25,27,31] *}
    
    ## SSE mit POST { #sse-with-post }
    
    SSE funktioniert mit **jedem HTTP-Method**, nicht nur mit `GET`.
    
    Das ist nützlich für Protokolle wie [MCP](https://modelcontextprotocol.io), die SSE über `POST` streamen:
    
    {* ../../docs_src/server_sent_events/tutorial005_py310.py hl[14] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:48:21 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/server-sent-events.md

    {* ../../docs_src/server_sent_events/tutorial004_py310.py hl[25,27,31] *}
    
    ## SSE com POST { #sse-with-post }
    
    SSE funciona com qualquer método HTTP, não apenas `GET`.
    
    Isso é útil para protocolos como o [MCP](https://modelcontextprotocol.io) que fazem stream de SSE via `POST`:
    
    {* ../../docs_src/server_sent_events/tutorial005_py310.py hl[14] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:13 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  6. docs/ru/docs/tutorial/cors.md

    * `allow_methods` - Список HTTP-методов, которые разрешены для кросс-доменных запросов. По умолчанию `['GET']`. Можно использовать `['*']`, чтобы разрешить все стандартные методы.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/advanced/async-tests.md

    注意,測試函式現在是 `async def`,而不是像使用 `TestClient` 時那樣僅用 `def`。
    
    ///
    
    接著,我們可以用該應用建立 `AsyncClient`,並以 `await` 發送非同步請求。
    
    {* ../../docs_src/async_tests/app_a_py310/test_main.py hl[9:12] *}
    
    這等同於:
    
    ```Python
    response = client.get('/')
    ```
    
    也就是先前用 `TestClient` 發送請求時所用的寫法。
    
    /// tip
    
    注意,對新的 `AsyncClient` 需搭配 async/await —— 請求是非同步的。
    
    ///
    
    /// warning
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  8. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

      }
    
      private String[] javaNames(List<CipherSuite> cipherSuites) {
        String[] result = new String[cipherSuites.size()];
        for (int i = 0; i < result.length; i++) {
          result[i] = cipherSuites.get(i).javaName();
        }
        return result;
      }
    
      /**
       * An SSL socket factory that forwards all calls to a delegate. Override {@link #configureSocket}
       * to customize a created socket before it is returned.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Mar 14 21:57:42 GMT 2019
    - 6.5K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

            ) {
            }
          },
        )
    
        // This should fail the Call, but not cause an unhandled Exception bubbling up
        client.dispatcher.executorService.shutdownNow()
    
        val exception = callFailure.get(5, TimeUnit.SECONDS)
        assertThat(exception.message)
          .isNotNull()
          .startsWith("canceled due to")
        assertThat(exception).isInstanceOf<IOException>()
        assertThat(exception.cause)
          .isNotNull()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 18:33:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

            if (edges == null || edges.isEmpty()) {
                return null;
            }
    
            if (edges.size() == 1) {
                MetadataGraphEdge e = edges.get(0);
                if (scope.encloses(e.getScope())) {
                    return e;
                }
    
                return null;
            }
    
            MetadataGraphEdge res = null;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 7.4K bytes
    - Click Count (0)
Back to Top