Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,966 for Msync (0.27 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go

    //go:cgo_import_dynamic libc_mprotect mprotect "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_mlock mlock "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_mlockall mlockall "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_msync msync "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_munlock munlock "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_munlockall munlockall "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_pipe pipe "libc.a/shr_64.o"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 42.4K bytes
    - Viewed (0)
  2. internal/dsync/dsync.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package dsync
    
    // Dsync represents dsync client object which is initialized with
    // authenticated clients, used to initiate lock REST calls.
    type Dsync struct {
    	// List of rest client objects, one per lock server.
    	GetLockers func() ([]NetLocker, string)
    
    	// Timeouts to apply.
    	Timeouts Timeouts
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 01 19:14:28 UTC 2022
    - 1K bytes
    - Viewed (0)
  3. docs/pt/docs/async.md

    ```Python hl_lines="2 3"
    @app.get('/burgers')
    async def read_burgers():
        burgers = await get_burgers(2)
        return burgers
    ```
    
    ### Mais detalhes técnicos
    
    Você deve ter observado que `await` pode ser usado somente dentro de funções definidas com `async def`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  4. docs/ru/docs/async.md

    ```
    
    В этом случае *функции обработки пути* необходимо объявлять с использованием синтаксиса `async def`:
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    !!! note
        `await` можно использовать только внутри функций, объявленных с использованием `async def`.
    
    ---
    
    Если вы обращаетесь к сторонней библиотеке, которая с чем-то взаимодействует
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 39.9K bytes
    - Viewed (0)
  5. docs/en/docs/async.md

    ```Python hl_lines="2-3"
    @app.get('/burgers')
    async def read_burgers():
        burgers = await get_burgers(2)
        return burgers
    ```
    
    ### More technical details
    
    You might have noticed that `await` can only be used inside of functions defined with `async def`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. docs/tr/docs/async.md

    `await` in yalnızca `async def` ile tanımlanan fonksıyonların içinde kullanılabileceğini fark etmişsinizdir.
    
    Ama aynı zamanda, `async def` ile tanımlanan fonksiyonların "await" ile beklenmesi gerekir. Bu nedenle, "`async def` içeren fonksiyonlar yalnızca "`async def` ile tanımlanan fonksiyonların içinde çağrılabilir.
    
    
    Yani yumurta mı tavukdan, tavuk mu yumurtadan gibi ilk `async` fonksiyonu nasıl çağırılır?
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  7. docs/es/docs/async.md

    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    !!! note "Nota"
        Solo puedes usar `await` dentro de funciones creadas con `async def`.
    
    ---
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. docs/zh/docs/async.md

        return burgers
    ```
    
    ### 更多技术细节
    
    您可能已经注意到,`await` 只能在 `async def` 定义的函数内部使用。
    
    但与此同时,必须"等待"通过 `async def` 定义的函数。因此,带 `async def` 的函数也只能在 `async def` 定义的函数内部调用。
    
    那么,这关于先有鸡还是先有蛋的问题,如何调用第一个 `async` 函数?
    
    如果您使用 **FastAPI**,你不必担心这一点,因为"第一个"函数将是你的路径操作函数,FastAPI 将知道如何做正确的事情。
    
    但如果您想在没有 FastAPI 的情况下使用 `async` / `await`,则可以这样做。
    
    ### 编写自己的异步代码
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. internal/dsync/dsync-server_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package dsync
    
    import (
    	"fmt"
    	"io"
    	"net/http"
    	"net/http/httptest"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/mux"
    )
    
    const numberOfNodes = 5
    
    var (
    	ds          *Dsync
    	nodes       = make([]*httptest.Server, numberOfNodes) // list of node IP addrs or hostname with ports.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jan 23 16:46:37 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  10. docs/fr/docs/async.md

    Vous avez donc compris que `await` peut seulement être utilisé dans des fonctions définies avec `async def`.
    
    Mais en même temps, les fonctions définies avec `async def` doivent être appelées avec `await` et donc dans des fonctions définies elles aussi avec `async def`.
    
    Vous avez donc remarqué ce paradoxe d'oeuf et de la poule, comment appelle-t-on la première fonction `async` ?
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Mar 31 23:52:53 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top