- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 26 for Suter (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_strict_content_type_nested.py
def test_strict_inner_accepts_json_content_type(): response = client_nested.post("/outer/strict/items/", json={"key": "value"}) assert response.status_code == 200 def test_default_inner_accepts_json_content_type(): response = client_nested.post("/outer/default/items/", json={"key": "value"}) assert response.status_code == 200 # Strict app -> lax outer router -> strict inner router app_mixed = FastAPI(strict_content_type=True)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Feb 23 17:45:20 GMT 2026 - 2.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java
NavigableMap<K, V> innermost = new SafeTreeMap<>((Comparator<? super K>) Ordering.natural().nullsFirst()); TestMap<K, V> inner = new TestMap<>(innermost, mutex); NavigableMap<K, V> outer = Synchronized.navigableMap(inner, mutex); return outer; } static class TestEntry<K, V> extends ForwardingMapEntry<K, V> implements Serializable { private final Entry<K, V> delegate; private final Object mutex;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 12.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "file:/usr/test/dep.jar") .toURI()); assertEquals( new File("/home/build/a.jar").toURI(), ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "a.jar").toURI()); assertEquals( new File("/home/build/x/y/z").toURI(), ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x/y/z").toURI()); assertEquals(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 23.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
public final Object mutex = new Object[0]; // something Serializable protected <K, V> Map<K, V> create() { TestMap<K, V> inner = new TestMap<>(new HashMap<K, V>(), mutex); Map<K, V> outer = Synchronized.map(inner, mutex); return outer; } static class TestMap<K, V> extends ForwardingMap<K, V> implements Serializable { public final Object mutex; private final Map<K, V> delegate;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java
String url = "http://example.com/test"; String message = "Outer error message"; Exception innerCause = new IllegalArgumentException("Inner cause"); Exception middleCause = new IllegalStateException("Middle cause", innerCause); Exception outerCause = new RuntimeException("Outer cause", middleCause);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 16.6K bytes - Click Count (0) -
docs/de/docs/advanced/dataclasses.md
Bedenken Sie, dass Datenklassen nicht alles können, was Pydantic-Modelle können. Daher müssen Sie möglicherweise weiterhin Pydantic-Modelle verwenden. Wenn Sie jedoch eine Menge Datenklassen herumliegen haben, ist dies ein guter Trick, um sie für eine Web-API mithilfe von FastAPI zu verwenden. 🤓 /// ## Datenklassen in `response_model` { #dataclasses-in-response-model } Sie können `dataclasses` auch im Parameter `response_model` verwenden:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 4.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java
} @Test public void test_stackTraceWithCause() { // Test that stack trace is properly preserved with cause String innerMessage = "Inner exception"; String outerMessage = "Outer exception"; RuntimeException innerException = new RuntimeException(innerMessage); StorageException exception = new StorageException(outerMessage, innerException);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.2K bytes - Click Count (0) -
utils/utils.go
return frame } } return runtime.Frame{} } // FileWithLineNum return the file name and line number of the current file func FileWithLineNum() string { // Keep FileWithLineNum one frame outer than CallerFrame to preserve pre-v1.31.1 semantics. frame := callerFrame(4) if frame.PC != 0 { return string(strconv.AppendInt(append([]byte(frame.File), ':'), int64(frame.Line), 10)) } return "" }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/fess/exception/ThumbnailGenerationExceptionTest.java
Exception innerException = new IllegalArgumentException("Invalid argument"); Error middleError = new AssertionError("Assertion failed", innerException); RuntimeException outerException = new RuntimeException("Outer error", middleError); ThumbnailGenerationException exception = new ThumbnailGenerationException(message, outerException); assertEquals(message, exception.getMessage());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.3K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
boolean usesFastPath(); } /** * The only reference to Unsafe is in this nested class. We set things up so that if * Unsafe.theUnsafe is inaccessible, the attempt to load the nested class fails, and the outer * class's static initializer can fall back on a non-Unsafe version. */ @SuppressWarnings("SunApi") // b/345822163 @VisibleForTesting enum UnsafeByteArray implements LittleEndianBytes {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 10.1K bytes - Click Count (0)