- Sort Score
- Num 10 results
- Language All
Results 461 - 470 of 1,021 for Hero (0.02 seconds)
-
internal/bpool/pool.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package bpool import "sync" // Pool is a single type sync.Pool with a few extra properties: // If New is not set Get may return the zero value of T. type Pool[T any] struct { New func() T p sync.Pool } // Get will retuen a new T func (p *Pool[T]) Get() T { v, ok := p.p.Get().(T) if ok { return v } if p.New == nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 1.2K bytes - Click Count (0) -
docs/es/docs/help-fastapi.md
As铆 que, es realmente importante que realmente leas y ejecutes el c贸digo, y me hagas saber en los comentarios que lo hiciste. 馃 ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 13.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
assertTrue(ex.getMessage().contains("below zero")); verify(treeConnection, times(1)).release(); // still only once } @Test @DisplayName("acquire after release reacquires underlying tree connection") void acquireAfterReleaseReacquires() { // After dropping to zero, acquire() should reacquire the underlying connection // Drop usage to zero handle.release();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java
int result = request.size(); // Then assertEquals(expectedSize, result); verify(request, times(1)).size(); } @Test @DisplayName("Test size returns zero for empty message") void testSizeReturnsZero() { // Given when(request.size()).thenReturn(0); // When int result = request.size(); // Then
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
} @Test public void hasMoreElements_errorCodeNonZero_returnsFalse() { DummyResponse d = new DummyResponse(); d.setErrorCode(123); // non-zero error assertFalse(d.hasMoreElements(), "errorCode non-zero overrides hasMore flag"); } @Test public void nextElement_firstCall_flipsIsPrimary() { DummyResponse d = new DummyResponse();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
docs/debugging/inspect/decrypt-v1.go
got := crc32.ChecksumIEEE(key) if want != got { return fmt.Errorf("Invalid key checksum, want %x, got %x", want, got) } stream, err := sio.AES_256_GCM.Stream(key) if err != nil { return err } // Zero nonce, we only use each key once, and 32 bytes is plenty. nonce := make([]byte, stream.NonceSize()) encr := stream.DecryptReader(r, nonce, nil) _, err = io.Copy(w, encr) if err == nil { fmt.Println(okMsg) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 11 21:22:47 GMT 2024 - 1.6K bytes - Click Count (0) -
cmd/batch-expire_test.go
prefix: myprefix # (Optional) Prefix under which this job will expire objects matching the rules below. rules: - type: object # regular objects with zero or more older versions name: NAME # match object names that satisfy the wildcard expression. olderThan: 7d10h # match objects older than this valueCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 01 12:53:30 GMT 2024 - 5.5K bytes - Click Count (0) -
docs/es/docs/features.md
Tiene **valores por defecto** sensatos para todo, con configuraciones opcionales en todas partes. Todos los par谩metros se pueden ajustar finamente para hacer lo que necesitas y para definir el API que necesitas. Pero por defecto, todo **"simplemente funciona"**. ### Validaci贸n { #validation } * Validaci贸n para la mayor铆a (驴o todas?) de los **tipos de datos** de Python, incluyendo: * Objetos JSON (`dict`).
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 10.1K bytes - Click Count (0) -
docs/es/docs/tutorial/path-params.md
Entonces, con esa declaraci贸n de tipo, **FastAPI** te ofrece <dfn title="convertir el string que viene de un request HTTP en datos de Python">"parsing"</dfn> autom谩tico de request. /// ## Validaci贸n de datos { #data-validation } Pero si vas al navegador en [http://127.0.0.1:8000/items/foo](http://127.0.0.1:8000/items/foo), ver谩s un bonito error HTTP de: ```JSON { "detail": [ { "type": "int_parsing", "loc": [ "path",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
assertEquals(fileName, decodedName); // Verify bytes written assertEquals(20 + nameLength, bytesWritten); } @Test @DisplayName("Test encode with non-zero destination index") void testEncodeWithNonZeroDestIndex() { String fileName = "test.txt"; FileRenameInformation2 info = new FileRenameInformation2(fileName, true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0)