Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 387 for Notification (0.09 seconds)

  1. docs/zh-hant/docs/tutorial/background-tasks.md

    {* ../../docs_src/background_tasks/tutorial001_py310.py hl[14] *}
    
    `.add_task()` 的引數包括:
    
    * 要在背景執行的任務函式(`write_notification`)。
    * 依序傳給任務函式的位置引數(`email`)。
    * 要傳給任務函式的關鍵字引數(`message="some notification"`)。
    
    ## 相依性注入 { #dependency-injection }
    
    在相依性注入系統中也可使用 `BackgroundTasks`。你可以在多個層級宣告 `BackgroundTasks` 型別的參數:路徑操作函式、相依項(dependable)、次級相依項等。
    
    **FastAPI** 會在各種情況下正確處理並重用同一個物件,將所有背景任務合併,並在之後於背景執行:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            // Verify flags (RECURSIVE_TREE + NOTIFICATIONS)
            int expectedFlags = DirectoryLeaseContext.DIRECTORY_LEASE_FLAG_RECURSIVE | DirectoryLeaseContext.DIRECTORY_LEASE_FLAG_NOTIFICATIONS;
            assertEquals(expectedFlags, SMBUtil.readInt4(buffer, 68));
    
            // Verify notification filter
            assertEquals(0x1F, SMBUtil.readInt4(buffer, 72));
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            // Should not throw exception when notification is disabled
            try {
                crawler.sendMail(infoMap);
            } catch (Exception e) {
                fail("Should not throw exception: " + e.getMessage());
            }
        }
    
        @Test
        public void test_sendMail_withNotificationEnabled() {
            // Override fessConfig to enable notification
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

                    List<WitnessAsyncNotifyMessage.WitnessNotificationResponse> notifications = message.getNotifications();
                    if (!notifications.isEmpty()) {
                        log.debug("Received {} notifications", notifications.size());
                        return notifications.get(0); // Return first notification
                    }
                } else {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  5. cmd/config-current.go

    			Description:     "publish bucket notifications to webhook endpoints",
    			MultipleTargets: true,
    		},
    		config.HelpKV{
    			Key:             config.NotifyAMQPSubSys,
    			Description:     "publish bucket notifications to AMQP endpoints",
    			MultipleTargets: true,
    		},
    		config.HelpKV{
    			Key:             config.NotifyKafkaSubSys,
    			Description:     "publish bucket notifications to Kafka endpoints",
    			MultipleTargets: true,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 28.5K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        AtomicInteger totalSum = new AtomicInteger();
    
        RemovalListener<Integer, AtomicInteger> removalListener =
            notification -> {
              if (notification.wasEvicted()) {
                evictionCount.incrementAndGet();
                totalSum.addAndGet(notification.getValue().get());
              }
            };
    
        CacheLoader<Integer, AtomicInteger> loader =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/background-tasks.md

    {* ../../docs_src/background_tasks/tutorial001_py310.py hl[14] *}
    
    `.add_task()` は以下の引数を受け取ります:
    
    * バックグラウンドで実行されるタスク関数 (`write_notification`)。
    * タスク関数に順番に渡す必要のある引数の列 (`email`)。
    * タスク関数に渡す必要のあるキーワード引数 (`message="some notification"`)。
    
    ## 依存性注入 { #dependency-injection }
    
    `BackgroundTasks` の使用は依存性注入システムでも機能し、様々な階層 (*path operation function*、依存性 (dependable)、サブ依存性など) で `BackgroundTasks` 型のパラメーターを宣言できます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            assertFalse(entry1.hasChild("subfolder"));
            assertTrue(entry2.hasChild("subfolder"));
            assertFalse(entry2.hasChild("document.txt"));
    
            // Test individual change notification
            directoryLeaseManager.handleDirectoryChange(dir1, "document.txt", DirectoryChangeNotifier.DirectoryChangeType.FILE_REMOVED);
    
            // Only first directory should be affected
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  9. scripts/notify_translations.py

                        f"This PR #{pr.number} was already notified in comment: {already_notified_comment.url}"
                    )
                else:
                    logging.info(
                        f"Writing notification comment about PR #{pr.number} in Discussion: #{discussion.number}"
                    )
                    comment = create_comment(
                        settings=settings,
                        discussion_id=discussion.id,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  10. internal/event/name.go

    package event
    
    import (
    	"encoding/json"
    	"encoding/xml"
    )
    
    // Name - event type enum.
    // Refer http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html#notification-how-to-event-types-and-destinations
    // for most basic values we have since extend this and its not really much applicable other than a reference point.
    // "s3:Replication:OperationCompletedReplication" is a MinIO extension.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 10.4K bytes
    - Click Count (0)
Back to Top