- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 182 for callbackasm (0.16 sec)
-
docs/en/docs/advanced/openapi-callbacks.md
You will see your docs including a "Callbacks" section for your *path operation* that shows how the *external API* should look like:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu May 02 22:37:31 UTC 2024 - 7.7K bytes - Viewed (0) -
docs/em/docs/advanced/openapi-callbacks.md
{!../../../docs_src/openapi_callbacks/tutorial001.py!} ``` !!! tip `callback_url` 🔢 🔢 ⚙️ Pydantic <a href="https://docs.pydantic.dev/latest/concepts/types/#urls" class="external-link" target="_blank">📛</a> 🆎. 🕴 🆕 👜 `callbacks=messages_callback_router.routes` ❌ *➡ 🛠️ 👨🎨*. 👥 🔜 👀 ⚫️❔ 👈 ⏭. ## 🔬 ⏲ ☑ ⏲ 📟 🔜 🪀 🙇 🔛 👆 👍 🛠️ 📱. & ⚫️ 🔜 🎲 🪀 📚 ⚪️➡️ 1️⃣ 📱 ⏭. ⚫️ 💪 1️⃣ ⚖️ 2️⃣ ⏸ 📟, 💖: ```Python
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 6.6K bytes - Viewed (0) -
docs/zh/docs/advanced/openapi-callbacks.md
``` !!! tip "提示" `callback_url` 查询参数使用 Pydantic 的 <a href="https://pydantic-docs.helpmanual.io/usage/types/#urls" class="external-link" target="_blank">URL</a> 类型。 此处唯一比较新的内容是*路径操作装饰器*中的 `callbacks=invoices_callback_router.routes` 参数,下文介绍。 ## 存档回调 实际的回调代码高度依赖于您自己的 API 应用。 并且可能每个应用都各不相同。 回调代码可能只有一两行,比如: ```Python callback_url = "https://example.com/api/v1/invoices/events/"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 22:46:28 UTC 2024 - 6.6K bytes - Viewed (0) -
tensorflow/cc/training/queue_runner.h
Status enqueue_status_ TF_GUARDED_BY(mu_); std::unique_ptr<BlockingCounter> counter_; Coordinator* coord_; std::atomic<bool> stopped_; mutex cb_mu_; std::vector<std::function<void(Status)>> callbacks_; mutable std::unique_ptr<mutex> cg_mu_; std::unique_ptr<CostGraphDef> cost_graph_ TF_GUARDED_BY(cg_mu_); RunOptions run_options_; }; } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 31 18:27:00 UTC 2022 - 5K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt
private val callbacks: Deque<Any> = ArrayDeque() @AfterEach fun after() { assertThat(callbacks).isEmpty() } @Test fun multiline() { consumeEvents( """ |data: YHOO |data: +2 |data: 10 | | """.trimMargin(), ) assertThat(callbacks.remove()).isEqualTo(Event(null, null, "YHOO\n+2\n10")) }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.4K bytes - Viewed (0) -
pkg/cache/ttlCache_test.go
} type callbackRecorder struct { callbacks int64 } func (c *callbackRecorder) callback(key, value any) { atomic.AddInt64(&c.callbacks, 1) } func TestTTLEvictionCallback(t *testing.T) { c := &callbackRecorder{callbacks: 0} ttl := NewTTLWithCallback(50*time.Millisecond, time.Millisecond, c.callback) testCacheEvicter(ttl) if atomic.LoadInt64(&c.callbacks) != 1 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 2.5K bytes - Viewed (0) -
tests/callbacks_test.go
} } if len(data.err) > 0 && err == nil { t.Errorf("callbacks tests #%v should got error %v, but not", idx+1, data.err) } else if len(data.err) == 0 && err != nil { t.Errorf("callbacks tests #%v should not got error, but got %v", idx+1, err) } if ok, msg := assertCallbacks(callbacks.Create(), data.results); !ok { t.Errorf("callbacks tests #%v failed, got %v", idx+1, msg) } } }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue Mar 26 03:33:36 UTC 2024 - 7.2K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue4029.go
*/ import "C" import ( "testing" ) var callbacks int //export IMPIsOpaque func IMPIsOpaque() { callbacks++ } //export IMPInitWithFrame func IMPInitWithFrame() { callbacks++ } //export IMPDrawRect func IMPDrawRect() { callbacks++ } //export IMPWindowResize func IMPWindowResize() { callbacks++ } func test4029(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 04 15:41:19 UTC 2023 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/lazy/lazy.go
// The map value is not designed to be thread-safe. type MapValue struct { typeValue *types.Type // values are previously evaluated values obtained from callbacks values map[string]ref.Val // callbacks are a map of field name to the function that returns the field Val callbacks map[string]GetFieldFunc // knownValues are registered names, used for iteration knownValues []string } func NewMapValue(objectType ref.Type) *MapValue {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 21:31:27 UTC 2023 - 4.9K bytes - Viewed (0) -
utils/tests/dummy_dialecter.go
package tests import ( "gorm.io/gorm" "gorm.io/gorm/callbacks" "gorm.io/gorm/clause" "gorm.io/gorm/logger" "gorm.io/gorm/schema" ) type DummyDialector struct { TranslatedErr error } func (DummyDialector) Name() string { return "dummy" } func (DummyDialector) Initialize(db *gorm.DB) error { callbacks.RegisterDefaultCallbacks(db, &callbacks.Config{
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Mar 06 06:03:31 UTC 2023 - 2.2K bytes - Viewed (0)