- Sort Score
- Result 10 results
- Languages All
Results 1171 - 1180 of 3,222 for createA (0.06 sec)
-
tests/test_security_api_key_cookie_optional.py
user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: User = Depends(get_current_user)): if current_user is None: return {"msg": "Create an account first"} else: return current_user def test_security_api_key(): client = TestClient(app, cookies={"key": "secret"}) response = client.get("/users/me")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/AsyncEventBus.java
* allowing dispatch to occur asynchronously. * * @author Cliff Biffle * @since 10.0 */ public class AsyncEventBus extends EventBus { /** * Creates a new AsyncEventBus that will use {@code executor} to dispatch events. Assigns {@code * identifier} as the bus's name for logging purposes. * * @param identifier short name for the bus, for logging purposes.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.5K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java
UpgradeContext context = createMockContext(); // Create a temporary directory with a POM file for the test Path tempDir = Files.createTempDirectory("apply-test"); try { Path pomFile = tempDir.resolve("pom.xml"); String pomContent = PomBuilder.create() .groupId("test") .artifactId("test")
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 10:39:17 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/CaseInsensitiveMap.java
*/ public class CaseInsensitiveMap<V> extends ArrayMap<String, V> { private static final long serialVersionUID = 1L; /** * Creates a {@link CaseInsensitiveMap}. */ public CaseInsensitiveMap() { } /** * Creates a {@link CaseInsensitiveMap}. * * @param capacity the initial capacity */ public CaseInsensitiveMap(final int capacity) {
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/SAXRuntimeException.java
private static final long serialVersionUID = -4933312103385038765L; /** * Creates a {@link SAXRuntimeException}. * * @param cause the underlying exception */ public SAXRuntimeException(final SAXException cause) { super("ECL0054", asArray(createMessage(cause)), cause); } /** * Creates a message. * * @param cause the underlying exception * @return the messageRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/EditForm.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
// // 2) Validate local repository directory is accessible. // // 3) Create RepositorySystemSession. // // 4) Create MavenSession. // // 5) Execute AbstractLifecycleParticipant.afterSessionStart(session) // // 6) Get reactor projects looking for general POM errors // // 7) Create ProjectDependencyGraph using trimming which takes into account --projects and reactor mode.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon May 05 16:58:52 UTC 2025 - 28.7K bytes - Viewed (1) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt
if (this.delegate == null && socketAdapterFactory.matchesSocket(sslSocket)) { this.delegate = socketAdapterFactory.create(sslSocket) } return delegate } interface Factory { fun matchesSocket(sslSocket: SSLSocket): Boolean fun create(sslSocket: SSLSocket): SocketAdapter }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapEqualsTester.java
public void testOrderingAffectsEqualsComparisons() { ListMultimap<K, V> multimap1 = getSubjectGenerator() .create(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v0())); ListMultimap<K, V> multimap2 = getSubjectGenerator() .create(mapEntry(k0(), v1()), mapEntry(k0(), v0()), mapEntry(k0(), v0())); new EqualsTester().addEqualityGroup(multimap1).addEqualityGroup(multimap2).testEquals();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.9K bytes - Viewed (0) -
tests/update_belongs_to_test.go
import ( "testing" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func TestUpdateBelongsTo(t *testing.T) { user := *GetUser("update-belongs-to", Config{}) if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } user.Company = Company{Name: "company-belongs-to-association"} user.Manager = &User{Name: "manager-belongs-to-association"} if err := DB.Save(&user).Error; err != nil {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Jul 14 06:55:54 UTC 2022 - 1.6K bytes - Viewed (0)