- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 89 for totrot (0.05 sec)
-
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 {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Feb 26 19:26:13 UTC 2025 - 7.7K bytes - Viewed (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)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jan 17 19:19:30 UTC 2025 - 6.2K bytes - Viewed (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) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jan 31 02:11:45 UTC 2024 - 2.7K bytes - Viewed (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.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 9.1K bytes - Viewed (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 tipo, validación, etc).
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 7.3K bytes - Viewed (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
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Thu Jul 08 11:48:19 UTC 2021 - 1.1K bytes - Viewed (0) -
src/main/resources/fess_indices/fess/es/stopwords.txt
entre cuando muy sin sobre también me hasta hay donde quien desde todo nos durante todos uno les ni contra otros ese eso ante ellos e esto mí antes algunos qué unos yo otro otras otra él tanto esa estos mucho quienes nada muchos cual poco ella estar estas algunas algo nosotros mi
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Mon Nov 27 12:59:36 UTC 2023 - 2.2K bytes - Viewed (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>
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 8.3K bytes - Viewed (0) -
docs/es/docs/history-design-future.md
Como se dice en la sección [Alternativas](alternatives.md){.internal-link target=_blank}: <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.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 4.6K bytes - Viewed (0) -
docs/es/docs/tutorial/body.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 7K bytes - Viewed (0)