Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 1,100 for Fsync (0.03 seconds)

  1. api/go1.20.txt

    pkg strings, func CutPrefix(string, string) (string, bool) #42537
    pkg strings, func CutSuffix(string, string) (string, bool) #42537
    pkg sync, method (*Map) CompareAndDelete(interface{}, interface{}) bool #51972
    pkg sync, method (*Map) CompareAndSwap(interface{}, interface{}, interface{}) bool #51972
    pkg sync, method (*Map) Swap(interface{}, interface{}) (interface{}, bool) #51972
    pkg syscall (freebsd-386-cgo), const SYS_FSTAT = 551 #53280
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Click Count (0)
  2. docs/ko/docs/async.md

    `await`는 `async def`로 정의된 함수 내부에서만 사용할 수 있다는 것을 눈치채셨을 것입니다.
    
    하지만 동시에, `async def`로 정의된 함수는 "await" 되어야 합니다. 따라서 `async def`를 가진 함수는 `async def`로 정의된 함수 내부에서만 호출될 수 있습니다.
    
    그렇다면, 닭이 먼저냐 달걀이 먼저냐처럼, 첫 번째 `async` 함수는 어떻게 호출할 수 있을까요?
    
    **FastAPI**로 작업한다면 걱정할 필요가 없습니다. 그 "첫" 함수는 여러분의 *경로 처리 함수*가 될 것이고, FastAPI는 올바르게 처리하는 방법을 알고 있기 때문입니다.
    
    하지만 FastAPI 없이 `async` / `await`를 사용하고 싶다면, 그것도 가능합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  3. 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.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  4. 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'œuf et de la poule, comment appelle-t-on la première fonction `async` ?
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 27.3K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/async.md

    async def read_burgers():
        burgers = await get_burgers(2)
        return burgers
    ```
    
    ### 更多技術細節 { #more-technical-details }
    
    你可能已經注意到,`await` 只能在 `async def` 定義的函式內使用。
    
    但同時,使用 `async def` 定義的函式本身也必須被「等待」。所以,帶有 `async def` 的函式只能在其他使用 `async def` 定義的函式內呼叫。
    
    那麼,這就像「先有雞還是先有蛋」的問題,要如何呼叫第一個 `async` 函式呢?
    
    如果你使用 FastAPI,無需擔心這個問題,因為「第一個」函式將是你的*路徑操作函式*,FastAPI 會知道如何正確處理這個問題。
    
    但如果你想在沒有 FastAPI 的情況下使用 `async` / `await`,你也可以這樣做。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 21.7K bytes
    - Click Count (0)
  6. docs/zh/docs/async.md

    但与此同时,必须"等待"通过 `async def` 定义的函数。因此,带 `async def` 的函数也只能在 `async def` 定义的函数内部调用。
    
    那么,这关于先有鸡还是先有蛋的问题,如何调用第一个 `async` 函数?
    
    如果你使用 **FastAPI**,你不必担心这一点,因为"第一个"函数将是你的路径操作函数,FastAPI 将知道如何做正确的事情。
    
    但如果你想在没有 FastAPI 的情况下使用 `async` / `await`,则可以这样做。
    
    ### 编写自己的异步代码 { #write-your-own-async-code }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  7. docs/ru/docs/async.md

    Вы могли заметить, что `await` можно использовать только внутри функций, определённых с `async def`.
    
    Но при этом функции, определённые с `async def`, нужно «ожидать». Значит, функции с `async def` тоже можно вызывать только из функций, определённых с `async def`.
    
    Так что же с «яйцом и курицей» — как вызвать первую `async` функцию?
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 37.9K bytes
    - Click Count (0)
  8. docs/pt/docs/async.md

    Você deve ter observado que `await` pode ser usado somente dentro de funções definidas com `async def`.
    
    Mas ao mesmo tempo, funções definidas com `async def` têm que ser "aguardadas". Então, funções com `async def` podem ser chamadas somente dentro de funções definidas com `async def` também.
    
    Então, sobre o ovo e a galinha, como você chama a primeira função async?
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 25.2K bytes
    - Click Count (0)
  9. docs/ja/docs/async.md

    `await` は `async def` で定義された関数の内部でしか使えないことに気づいたかもしれません。
    
    同時に、`async def` で定義された関数は「await」される必要があります。つまり、`async def` を持つ関数は、やはり `async def` で定義された関数の内部からしか呼べません。
    
    では、ニワトリと卵の話のように、最初の `async` 関数はどう呼ぶのでしょうか?
    
    **FastAPI** を使っている場合は心配ありません。その「最初の」関数は *path operation 関数* で、FastAPI が適切に実行してくれます。
    
    しかし、FastAPI を使わずに `async` / `await` を使いたい場合もあります。
    
    ### 自分で async コードを書く { #write-your-own-async-code }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 27.9K bytes
    - Click Count (0)
  10. 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
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Mar 01 19:14:28 GMT 2022
    - 1K bytes
    - Click Count (0)
Back to Top