Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 123 for story (0.02 seconds)

  1. docs_src/stream_data/tutorial001_py310.py

    """
    
    
    @app.get("/story/stream", response_class=StreamingResponse)
    async def stream_story() -> AsyncIterable[str]:
        for line in message.splitlines():
            yield line
    
    
    @app.get("/story/stream-no-async", response_class=StreamingResponse)
    def stream_story_no_async() -> Iterable[str]:
        for line in message.splitlines():
            yield line
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  2. docs/en/docs/async.md

    The fast food store has 8 processors (cashiers/cooks). While the concurrent burgers store might have had only 2 (one cashier and one cook).
    
    But still, the final experience is not the best. 😞
    
    ---
    
    This would be the parallel equivalent story for burgers. 🍔
    
    For a more "real life" example of this, imagine a bank.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 23.4K bytes
    - Click Count (0)
  3. CHANGELOG/CHANGELOG-1.32.md

      Please see [the KEP](https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/1710-selinux-relabeling#story-3-cluster-upgrade) how we expect to warn users before any SELinux behavior changes and how they can opt-out before. Note that this field and feature gate is useful only with clusters that run with SELinux enabled. No action is required on clusters...
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Feb 26 23:58:21 GMT 2026
    - 470.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

            params.put("key1", "value1");
            params.put("key2", "value2");
    
            IndexUpdateCallback callback = new TestIndexUpdateCallback();
    
            // Execute store method
            dataStore.store(config, callback, params);
    
            // Verify store was called
            assertTrue(storeCalled.get());
            assertNotNull(capturedConfig.get());
            assertEquals("test-config", capturedConfig.get().getName());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  5. internal/stmt_store/stmt_store.go

    	if stmt.Stmt != nil {
    		return stmt.Stmt.Close()
    	}
    	return nil
    }
    
    // Store defines an interface for managing the caching operations of SQL statements (Stmt).
    // This interface provides methods for creating new statements, retrieving all cache keys,
    // getting cached statements, setting cached statements, and deleting cached statements.
    type Store interface {
    	// New creates a new Stmt object and caches it.
    	// Parameters:
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  6. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/StartStopExtension.kt

          // Put the instance in the store, so JUnit closes it for us in afterAll.
          store.put(field, server)
    
          server.start()
        }
      }
    
      override fun beforeEach(context: ExtensionContext) {
        // Requires API 24
        val testInstance = context.testInstance.get()
        val store = context.getStore(Namespace.create(StartStop::class.java))
    
        val instanceFields =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            dataMap.put("title", "Test Document");
    
            // Execute
            indexUpdateCallback.store(paramMap, dataMap);
    
            // Verify
            assertEquals(1, indexUpdateCallback.getDocumentSize());
            // Check if fields were added (they should be added by the store method)
            assertNotNull(dataMap.get("id"), "ID should be set");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            // Add some info to map
            crawlingInfoHelper.putToInfoMap("url_count", "100");
            crawlingInfoHelper.putToInfoMap("error_count", "5");
    
            // Store with create=true
            crawlingInfoHelper.store(sessionId, true);
    
            // Verify infoMap is cleared
            assertNull(crawlingInfoHelper.infoMap);
        }
    
        @Test
        public void test_store_existing() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

            accessResult1.setRuleId("htmlRule");
            accessResult1.setSessionId("id1");
            accessResult1.setStatus(200);
            accessResult1.setUrl("http://www.id1.com/");
    
            dataService.store(accessResult1);
    
            final OpenSearchAccessResult accessResult2 = dataService.getAccessResult("id1", "http://www.id1.com/");
            assertNotNull(accessResult2);
    
            accessResult2.setMimeType("text/html");
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Jan 14 23:48:16 GMT 2026
    - 15.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/exec/Crawler.java

                logger.warn("Failed to store crawling information: sessionId={}", options.sessionId, e);
            }
    
            try {
                return crawler.doCrawl(options);
            } finally {
                try {
                    crawlingInfoHelper.store(options.sessionId, false);
                } catch (final Exception e) {
                    logger.warn("Failed to store crawling information: sessionId={}", options.sessionId, e);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
Back to Top