Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,046 for Fsync (0.02 sec)

  1. internal/disk/fdatasync_unix.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    import (
    	"os"
    	"syscall"
    )
    
    // Fdatasync is fsync on freebsd/darwin
    func Fdatasync(f *os.File) error {
    	return syscall.Fsync(int(f.Fd()))
    }
    
    // FadviseDontNeed is a no-op
    func FadviseDontNeed(f *os.File) error {
    	return nil
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Sep 29 23:40:28 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  2. internal/disk/fdatasync_linux.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    import (
    	"os"
    	"syscall"
    
    	"golang.org/x/sys/unix"
    )
    
    // Fdatasync - fdatasync() is similar to fsync(), but does not flush modified metadata
    // unless that metadata is needed in order to allow a subsequent data retrieval
    // to  be  correctly  handled.   For example, changes to st_atime or st_mtime
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Sep 29 23:40:28 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  3. docs/en/docs/async.md

    So, about the egg and the chicken, how do you call the first `async` function?
    
    If you are working with **FastAPI** you don't have to worry about that, because that "first" function will be your *path operation function*, and FastAPI will know how to do the right thing.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 24K bytes
    - Viewed (0)
  4. docs/ru/docs/async.md

    Вы могли заметить, что `await` можно использовать только внутри функций, определённых с `async def`.
    
    Но при этом функции, определённые с `async def`, нужно «ожидать». Значит, функции с `async def` тоже можно вызывать только из функций, определённых с `async def`.
    
    Так что же с «яйцом и курицей» — как вызвать первую `async` функцию?
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  5. 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. 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?
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  7. 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Mar 01 19:14:28 UTC 2022
    - 1K bytes
    - Viewed (0)
  8. docs/de/docs/async.md

    Gleichzeitig müssen aber mit `async def` definierte Funktionen „erwartet“ („awaited“) werden. Daher können Funktionen mit `async def` nur innerhalb von Funktionen aufgerufen werden, die auch mit `async def` definiert sind.
    
    Daraus resultiert das Ei-und-Huhn-Problem: Wie ruft man die erste `async` Funktion auf?
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  9. docs/es/docs/async.md

    Podrías haber notado que `await` solo se puede usar dentro de funciones definidas con `async def`.
    
    Pero al mismo tiempo, las funciones definidas con `async def` deben ser "awaited". Por lo tanto, las funciones con `async def` solo se pueden llamar dentro de funciones definidas con `async def` también.
    
    Entonces, sobre el huevo y la gallina, ¿cómo llamas a la primera función `async`?
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:15:01 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  10. 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: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 21.8K bytes
    - Viewed (0)
Back to top