- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 60 for totrot (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/bitrot.go
} else { errs[i] = nil } } return errs } // Returns hash sum for whole-bitrot, nil for streaming-bitrot. func bitrotWriterSum(w io.Writer) []byte { if bw, ok := w.(*wholeBitrotWriter); ok { return bw.Sum(nil) } return nil } // Returns the size of the file with bitrot protection func bitrotShardFileSize(size int64, shardSize int64, algo BitrotAlgorithm) int64 {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.7K bytes - Click Count (0) -
cmd/bitrot-streaming.go
} func (b *streamingBitrotWriter) Write(p []byte) (int, error) { if len(p) == 0 { return 0, nil } if b.finished { return 0, errors.New("bitrot write not allowed") } if int64(len(p)) > b.shardSize { return 0, errors.New("unexpected bitrot buffer size") } if int64(len(p)) < b.shardSize { b.finished = true } b.h.Reset() b.h.Write(p) hashBytes := b.h.Sum(nil)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jan 17 19:19:30 GMT 2025 - 6.2K bytes - Click Count (0) -
cmd/bitrot-whole.go
package cmd import ( "context" "hash" "io" ) // Implementation to calculate bitrot for the whole file. type wholeBitrotWriter struct { disk StorageAPI volume string filePath string shardSize int64 // This is the shard size of the erasure logic hash.Hash // For bitrot hash } func (b *wholeBitrotWriter) Write(p []byte) (int, error) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jan 31 02:11:45 GMT 2024 - 2.7K bytes - Click Count (0) -
docs/es/docs/advanced/additional-responses.md
* En la clave `content`, que tiene como valor otro objeto JSON (`dict`) que contiene: * Una clave con el media type, por ejemplo, `application/json`, que contiene como valor otro objeto JSON, que contiene: * Una clave `schema`, que tiene como valor el JSON Schema del modelo, aquí es el lugar correcto.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 9.2K bytes - Click Count (0) -
LICENSES/third_party/multiarch/qemu-user-static/LICENSE
The MIT License (MIT) Copyright (c) 2015-2016 Manfred Touron Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Thu Jul 08 11:48:19 GMT 2021 - 1.1K bytes - Click Count (0) -
docs/es/docs/tutorial/extra-models.md
Y estos modelos están compartiendo muchos de los datos y duplicando nombres y tipos de atributos. Podríamos hacerlo mejor. Podemos declarar un modelo `UserBase` que sirva como base para nuestros otros modelos. Y luego podemos hacer subclases de ese modelo que heredan sus atributos (declaraciones de tipos, validación, etc).
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 7.2K bytes - Click Count (0) -
docs/es/docs/history-design-future.md
Como se dice en la sección [Alternativas](alternatives.md): <blockquote markdown="1"> **FastAPI** no existiría si no fuera por el trabajo previo de otros. Ha habido muchas herramientas creadas antes que han ayudado a inspirar su creación.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 4.5K bytes - Click Count (0) -
docs/es/docs/environment-variables.md
$ export MY_NAME="Wade Wilson" // Luego podrías usarla con otros programas, como $ echo "Hello $MY_NAME" Hello Wade Wilson ``` </div> //// //// tab | Windows PowerShell <div class="termy"> ```console // Crea una env var MY_NAME $ $Env:MY_NAME = "Wade Wilson" // Úsala con otros programas, como $ echo "Hello $Env:MY_NAME" Hello Wade Wilson ``` </div>
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 8.3K bytes - Click Count (0) -
internal/config/heal/heal.go
if err = config.CheckValidKeys(config.HealSubSys, kvs, DefaultKVS); err != nil { return cfg, err } bitrot := env.Get(EnvBitrot, kvs.GetWithDefault(Bitrot, DefaultKVS)) if _, err = parseBitrotConfig(bitrot); err != nil { return cfg, fmt.Errorf("'heal:bitrotscan' value invalid: %w", err) } cfg.Bitrot = bitrot cfg.Sleep, err = time.ParseDuration(env.Get(EnvSleep, kvs.GetWithDefault(Sleep, DefaultKVS))) if err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Nov 04 19:06:02 GMT 2024 - 4.9K bytes - Click Count (0) -
docs/es/docs/tutorial/body.md
Las capturas de pantalla anteriores se tomaron con [Visual Studio Code](https://code.visualstudio.com). Pero obtendrías el mismo soporte en el editor con [PyCharm](https://www.jetbrains.com/pycharm/) y la mayoría de los otros editores de Python: <img src="/img/tutorial/body/image05.png"> /// tip | Consejo
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 6.9K bytes - Click Count (0)