Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for callbackasm (0.19 sec)

  1. src/runtime/wincallback.go

    // External code calls into callbackasm at an offset corresponding
    // to the callback index. Callbackasm is a table of MOV and B instructions.
    // The MOV instruction loads R12 with the callback index, and the
    // B instruction branches to callbackasm1.
    // callbackasm1 takes the callback index from R12 and
    // indexes into an array that stores information about each callback.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 19:29:51 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. src/runtime/sys_windows_386.s

    	JMP	sigtramp<>(SB)
    
    TEXT runtime·callbackasm1(SB),NOSPLIT,$0
    	MOVL	0(SP), AX	// will use to find our callback context
    
    	// remove return address from stack, we are not returning to callbackasm, but to its caller.
    	ADDL	$4, SP
    
    	// address to callback parameters into CX
    	LEAL	4(SP), CX
    
    	// save registers as required for windows callback
    	PUSHL	DI
    	PUSHL	SI
    	PUSHL	BP
    	PUSHL	BX
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  3. src/runtime/sys_windows_amd64.s

    	MOVQ	CX, (16+0)(SP)
    	MOVQ	DX, (16+8)(SP)
    	MOVQ	R8, (16+16)(SP)
    	MOVQ	R9, (16+24)(SP)
    	// R8 = address of args vector
    	LEAQ	(16+0)(SP), R8
    
    	// remove return address from stack, we are not returning to callbackasm, but to its caller.
    	MOVQ	0(SP), AX
    	ADDQ	$8, SP
    
    	// determine index into runtime·cbs table
    	MOVQ	$runtime·callbackasm(SB), DX
    	SUBQ	DX, AX
    	MOVQ	$0, DX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 07:24:08 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. callbacks.go

    func (p *processor) compile() (err error) {
    	var callbacks []*callback
    	removedMap := map[string]bool{}
    	for _, callback := range p.callbacks {
    		if callback.match == nil || callback.match(p.db) {
    			callbacks = append(callbacks, callback)
    		}
    		if callback.remove {
    			removedMap[callback.name] = true
    		}
    	}
    
    	if len(removedMap) > 0 {
    		callbacks = removeCallbacks(callbacks, removedMap)
    	}
    	p.callbacks = callbacks
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. callbacks/callbacks.go

    package callbacks
    
    import (
    	"gorm.io/gorm"
    )
    
    var (
    	createClauses = []string{"INSERT", "VALUES", "ON CONFLICT"}
    	queryClauses  = []string{"SELECT", "FROM", "WHERE", "GROUP BY", "ORDER BY", "LIMIT", "FOR"}
    	updateClauses = []string{"UPDATE", "SET", "WHERE"}
    	deleteClauses = []string{"DELETE", "FROM", "WHERE"}
    )
    
    type Config struct {
    	LastInsertIDReversed bool
    	CreateClauses        []string
    	QueryClauses         []string
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Oct 27 23:56:55 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  6. src/runtime/cgo/callbacks.go

    // compiled with gcc via crosscall2.
    
    // The declaration of crosscall2 is:
    //   void crosscall2(void (*fn)(void *), void *, int);
    //
    // We need to export the symbol crosscall2 in order to support
    // callbacks from shared libraries. This applies regardless of
    // linking mode.
    //
    // Compatibility note: SWIG uses crosscall2 in exactly one situation:
    // to call _cgo_panic using the pattern shown below. We need to keep
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/openapi-callbacks.md

    Das einzig Neue ist `callbacks=invoices_callback_router.routes` als Argument für den *Pfadoperation-Dekorator*. Wir werden als Nächstes sehen, was das ist.
    
    ## Dokumentation des Callbacks
    
    Der tatsächliche Callback-Code hängt stark von Ihrer eigenen API-Anwendung ab.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:17:23 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. 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)
  9. 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` ❌ *➡ 🛠️ 👨‍🎨*. 👥 🔜 👀 ⚫️❔ 👈 ⏭.
    
    ## 🔬 ⏲
    
    ☑ ⏲ 📟 🔜 🪀 🙇 🔛 👆 👍 🛠️ 📱.
    
    &amp; ⚫️ 🔜 🎲 🪀 📚 ⚪️➡️ 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)
  10. 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)
Back to top