- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 683 for sets (0.01 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
* environment? If the latter, maybe write a custom Executor that avoids failing the test when it * sees an Error? */ @AndroidIncompatible public void testTaskThrowsError() throws Exception { class MyError extends Error {} CyclicBarrier barrier = new CyclicBarrier(2); // we need to make sure the error gets thrown on a different thread. ExecutorService service = newSingleThreadExecutor(); try {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 11.4K bytes - Click Count (0) -
tests/update_test.go
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 30.4K bytes - Click Count (0) -
tests/delete_test.go
*GetUser("delete_slice_with_associations1", Config{Account: true, Pets: 4, Toys: 1, Company: true, Manager: true, Team: 1, Languages: 1, Friends: 4}), *GetUser("delete_slice_with_associations2", Config{Account: true, Pets: 3, Toys: 2, Company: true, Manager: true, Team: 2, Languages: 2, Friends: 3}), *GetUser("delete_slice_with_associations3", Config{Account: true, Pets: 2, Toys: 3, Company: true, Manager: true, Team: 3, Languages: 3, Friends: 2}),Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 9.5K bytes - Click Count (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java
*/ String getSource(); /** * Gets the one-based index of the line containing the problem. The line number should refer to some text file that * is given by {@link #getSource()}. * * @return The one-based index of the line containing the problem or a non-positive value if unknown. */ int getLineNumber(); /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 18:51:29 GMT 2025 - 3.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Event.java
public interface Event { /** * Gets the type of the event. * * @return the type of the event, never {@code null} */ @Nonnull EventType getType(); /** * Gets the session from which this event originates. * * @return the current session, never {@code null} */ @Nonnull Session getSession(); /** * Gets the current project (if any). *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 2.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderResult.java
*/ @Nonnull String getProjectId(); /** * Gets the POM file from which the project was built. * * @return the optional POM file */ @Nonnull Optional<Path> getPomFile(); /** * Gets the project that was built. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 29 08:17:07 GMT 2025 - 2.6K bytes - Click Count (0) -
tests/associations_has_many_test.go
if len(pets) != 1 { t.Fatalf("should only find one pets, but got %v", len(pets)) } CheckPet(t, pets[0], *user.Pets[0]) if count := DB.Model(&user).Where("name = ?", user.Pets[1].Name).Association("Pets").Count(); count != 1 { t.Fatalf("should only find one pets, but got %v", count) } if count := DB.Model(&user).Where("name = ?", "not found").Association("Pets").Count(); count != 0 {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 16.3K bytes - Click Count (0) -
tests/test_response_model_data_filter.py
async def create_user(user: UserCreate): return user @app.get("/pets/{pet_id}", response_model=PetOut) async def read_pet(pet_id: int): user = UserDB( email="******@****.***", hashed_password="secrethashed", ) pet = PetDB(name="Nibbler", owner=user) return pet @app.get("/pets/", response_model=list[PetOut]) async def read_pets(): user = UserDB(
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java
* resource, best in try-with-resource block. * * @since 4.0.0 */ @Experimental @Consumer public interface Transport extends Closeable { /** * GETs the source URI content into target (does not have to exist, or will be overwritten if exist). The * source MUST BE relative from the {@link RemoteRepository#getUrl()} root. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 4.4K bytes - Click Count (0) -
tests/associations_has_one_test.go
func TestPolymorphicHasOneAssociationForSlice(t *testing.T) { pets := []Pet{ {Name: "hasone-1", Toy: Toy{Name: "toy-has-one"}}, {Name: "hasone-2", Toy: Toy{}}, {Name: "hasone-3", Toy: Toy{Name: "toy-has-one"}}, } DB.Create(&pets) // Count AssertAssociationCount(t, pets, "Toy", 2, "") // Find var toys []Toy if DB.Model(&pets).Association("Toy").Find(&toys); len(toys) != 2 {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Jun 12 10:49:45 GMT 2024 - 7.1K bytes - Click Count (0)