- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 694 for character (0.39 sec)
-
tests/test_openapi_model_description_trim_on_formfeed.py
from fastapi import FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class MyModel(BaseModel): """ A model with a form feed character in the title. \f Text after form feed character. """ @app.get("/foo") def foo(v: MyModel): # pragma: no cover pass client = TestClient(app) def test_openapi():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Jun 17 07:46:27 UTC 2025 - 660 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/PercentEscaperTest.java
String msg = "plusForSpace cannot be specified when space is a 'safe' character"; IllegalArgumentException expected = assertThrows(IllegalArgumentException.class, () -> new PercentEscaper(" ", true)); assertThat(expected).hasMessageThat().isEqualTo(msg); } /** Helper to manually escape a 7-bit ascii character */ private String escapeAscii(char c) { Preconditions.checkArgument(c < 128);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) { assertThat(UnsignedInts.parseUnsignedInt(Long.toString(a, radix), radix)) .isEqualTo((int) a); } } } public void testParseIntWithRadixLimits() { // loops through all legal radix values. for (int r = Character.MIN_RADIX; r <= Character.MAX_RADIX; r++) { int radix = r;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
assertFailsToDecode(base16(), "\n\n", "Unrecognized character: 0xa"); assertFailsToDecode(base16(), "EFGH", "Unrecognized character: G"); // Valid base16 strings always have an even length. assertFailsToDecode(base16(), "A", "Invalid input length 1"); assertFailsToDecode(base16(), "ABC"); // These have a combination of invalid length and unrecognized characters.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
// need explicit type parameter to avoid javac warning!? List<Character> none = Arrays.<Character>asList(); assertThat(Chars.toArray(none)).isEqualTo(EMPTY); List<Character> one = Arrays.asList((char) 1); assertThat(Chars.toArray(one)).isEqualTo(ARRAY1); char[] array = {(char) 0, (char) 1, 'A'}; List<Character> three = Arrays.asList((char) 0, (char) 1, 'A');Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 25.9K bytes - Viewed (0) -
src/main/java/jcifs/util/Hexdump.java
} size--; } } /** * Converts a long value to hexadecimal characters and writes them to the specified character array. * * @param val the long value to convert to hexadecimal characters * @param dst the destination character array to write the hex digits into * @param dstIndex the starting index in the destination arrayRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
assertFalse(table.containsValue(null)); } public void testGet() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertEquals((Character) 'a', table.get("foo", 1)); assertEquals((Character) 'b', table.get("bar", 1)); assertEquals((Character) 'c', table.get("foo", 3)); assertThat(table.get("foo", 2)).isNull(); assertThat(table.get("bar", 3)).isNull(); assertThat(table.get("cat", 1)).isNull();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
} private static final long serialVersionUID = 0; } @Override protected Table<String, Integer, Character> create(@Nullable Object... data) { TestTable<String, Integer, Character> table = new TestTable<>(); Table<String, Integer, Character> synced = Synchronized.table(table, table.mutex); populate(synced, data); return synced; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 4.7K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
char character = version.charAt(i); int c = character; if (Character.isHighSurrogate(character)) { // read the next character as a low surrogate and combine into a single int try { char low = version.charAt(i + 1); char[] both = {character, low}; c = Character.codePointAt(both, 0);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 26.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
} /** * Gets the character set for the given file. * * @param file the file to get the character set for * @return the character set */ protected String getCharSet(final File file) { return charset; } /** * Gets the character encoding used for files. * * @return the character encoding */ public String getCharset() {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 15.1K bytes - Viewed (0)