- Sort Score
- Num 10 results
- Language All
Results 651 - 660 of 1,598 for yield (0.03 seconds)
-
tests/test_request_params/test_cookie/test_optional_str.py
from typing import Annotated import pytest from fastapi import Cookie, FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel, Field app = FastAPI() # ===================================================================================== # Without aliases @app.get("/optional-str") async def read_optional_str(p: Annotated[str | None, Cookie()] = None): return {"p": p}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 8.6K bytes - Click Count (0) -
tests/test_tutorial/test_body/test_tutorial001.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Feb 23 17:45:20 GMT 2026 - 11.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java
queryCommand.register(); } private void setNotAnalyzedFields(final String... fields) { Set<String> notAnalyzedFieldSet = new HashSet<>(); for (String field : fields) { notAnalyzedFieldSet.add(field); } queryFieldConfig.notAnalyzedFieldSet = notAnalyzedFieldSet; } @Test public void test_getQueryClassName() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.3K bytes - Click Count (0) -
guava/src/com/google/common/base/internal/Finalizer.java
// But before Java 9, our only way not to inherit ThreadLocals is to zap them after the thread // is created, by accessing a private field. private static final @Nullable Constructor<Thread> bigThreadConstructor = getBigThreadConstructor(); private static final @Nullable Field inheritableThreadLocals = (bigThreadConstructor == null) ? getInheritableThreadLocalsField() : null;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 03:19:29 GMT 2026 - 9.6K bytes - Click Count (0) -
src/test/java/jcifs/http/HandlerTest.java
*/ private void resetHandlerState() throws Exception { // Reset the static factory field Field factoryField = Handler.class.getDeclaredField("factory"); factoryField.setAccessible(true); factoryField.set(null, null); // Clear the protocol handlers cache Field handlersField = Handler.class.getDeclaredField("PROTOCOL_HANDLERS"); handlersField.setAccessible(true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0) -
cmd/metacache-set_gen.go
func (z *listPathOptions) DecodeMsg(dc *msgp.Reader) (err error) { var field []byte _ = field var zb0001 uint32 zb0001, err = dc.ReadMapHeader() if err != nil { err = msgp.WrapError(err) return } for zb0001 > 0 { zb0001-- field, err = dc.ReadMapKeyPtr() if err != nil { err = msgp.WrapError(err) return } switch msgp.UnsafeString(field) { case "ID": z.ID, err = dc.ReadString()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/IgnoreJRERequirement.java
* the License. */ package com.google.common.collect.testing.testers; import static java.lang.annotation.ElementType.CONSTRUCTOR; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import java.lang.annotation.Target; import org.jspecify.annotations.NullMarked; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 02 18:21:28 GMT 2025 - 1.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
// our test by setting a static field. We are changing the field in the parallel version of FRQ // and each test creates its own one of those, so there is no test interference here. Class<?> sepFrqSystemLoaderC = sepLoader.loadClass(FinalizableReferenceQueue.SystemLoader.class.getName()); Field disabled = sepFrqSystemLoaderC.getDeclaredField("disabled");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 26 02:41:17 GMT 2026 - 7.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
package jcifs.smb1.smb1; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import java.lang.reflect.Field; import java.util.Arrays; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import jcifs.smb1.util.Hexdump; /** * Unit test for {@link Trans2QueryFSInformation}. The class contains mostlyCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
setField(transport, "mid", new AtomicLong()); } // Utility: reflectively set a private/protected field (searches up the hierarchy) private static void setField(Object target, String name, Object value) { try { Field f = findField(target.getClass(), name); f.setAccessible(true); f.set(target, value); } catch (Exception e) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0)