- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 626 for preserve (0.09 seconds)
-
tests/test_list_bytes_file_order_preserved_issue_14811.py
""" Regression test: preserve order when using list[bytes] + File() See https://github.com/fastapi/fastapi/discussions/14811 Fixed in PR: https://github.com/fastapi/fastapi/pull/14884 """ from typing import Annotated import anyio import pytest from fastapi import FastAPI, File from fastapi.testclient import TestClient from starlette.datastructures import UploadFile as StarletteUploadFile def test_list_bytes_file_preserves_order(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 10 12:14:38 GMT 2026 - 1.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingObject.java
* * <p>This class does <i>not</i> forward the {@code hashCode} and {@code equals} methods through to * the backing object, but relies on {@code Object}'s implementation. This is necessary to preserve * the symmetry of {@code equals}. Custom definitions of equality are usually based on an interface, * such as {@code Set} or {@code List}, so that the implementation of {@code equals} can cast the
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_complex_doc/data/en_doc.md
This is a test page for the translation fixer tool. ### Code blocks with comments { #code-blocks-with-comments } The following code blocks include comments in different styles. Fixer tool should fix content, but preserve comments correctly. ```python # This is a sample Python code block def hello_world(): # Comment with indentation print("Hello, world!") # Print greeting ``` ```tomlCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 08:08:04 GMT 2026 - 7.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingObject.java
* * <p>This class does <i>not</i> forward the {@code hashCode} and {@code equals} methods through to * the backing object, but relies on {@code Object}'s implementation. This is necessary to preserve * the symmetry of {@code equals}. Custom definitions of equality are usually based on an interface, * such as {@code Set} or {@code List}, so that the implementation of {@code equals} can cast the
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java
* accepts a cause: Users of this class typically expect for instances to have a non-null * cause. At the moment, you can <i>usually</i> still preserve behavior by passing an explicit * {@code null} cause. Note, however, that passing an explicit {@code null} cause prevents * anyone from calling {@link #initCause} later, so it is not quite equivalent to using a
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.2K bytes - Click Count (0) -
utils/utils.go
// It skips: // - GORM's core source files (identified by gormSourceDir prefix) // - Exclude test files (*_test.go) // - go-gorm/gen's Generated files (*.gen.go) func CallerFrame() runtime.Frame { // Preserve the original CallerFrame stack depth after introducing callerFrame(). return callerFrame(4) } func callerFrame(skip int) runtime.Frame { pcs := [13]uintptr{}
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 4.9K bytes - Click Count (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
final byte[] textBytes = text.getBytes("UTF-8"); final String encoded = Base64Util.encode(textBytes); final byte[] decoded = Base64Util.decode(encoded); assertEquals("Round trip should preserve data", text, new String(decoded, "UTF-8")); // Test with UTF-8 text final String utf8Text = "こんにちは世界"; final byte[] utf8Bytes = utf8Text.getBytes("UTF-8");
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionError.java
* @deprecated Prefer {@linkplain ExecutionError(Error)} a constructor that accepts a cause: Users * of this class typically expect for instances to have a non-null cause. At the moment, you * can <i>usually</i> still preserve behavior by passing an explicit {@code null} cause. Note, * however, that passing an explicit {@code null} cause prevents anyone from calling {@linkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4K bytes - Click Count (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
assertEquals("Message", exception.getMessage()); assertNull(exception.getCause()); }); } @Test @DisplayName("Should preserve exception hierarchy") void testExceptionHierarchy() { // When RuntimeCIFSException exception = new RuntimeCIFSException("Test"); // Then
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.2K bytes - Click Count (0) -
docs/debugging/healing-bin/main.go
return err } buf := bytes.NewBuffer(nil) if _, err = msgp.CopyToJSON(buf, bytes.NewReader(b)); err != nil { return err } dec := json.NewDecoder(buf) // Use number to preserve integers. dec.UseNumber() var htr map[string]any if err = dec.Decode(&htr); err != nil { return err } ht[file.Name] = htr } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.1K bytes - Click Count (0)