- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for myproduct (0.04 sec)
-
tests/hooks_test.go
t.Errorf("invalid data after update, got %+v", product) } // Code changed, price should changed DB.Model(&product).Select("Name", "Code", "Price").Updates(map[string]interface{}{"Name": "Product New3", "code": "L1213"}) if product.Name != "Product New3" || product.Price != 220 || product.Code != "L1213" { t.Errorf("invalid data after update, got %+v", product) }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jun 17 03:59:06 UTC 2024 - 16.7K bytes - Viewed (0) -
tests/test_request_body_parameters_media_type.py
# NOTE: These are not valid JSON:API resources # but they are fine for testing requestBody with custom media_type class Product(BaseModel): name: str price: float class Shop(BaseModel): name: str @app.post("/products") async def create_product(data: Product = Body(media_type=media_type, embed=True)): pass # pragma: no cover @app.post("/shops") async def create_shop(Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 6.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java
* <td>{@code /home/user/myproject/target/classes}</td> * <td>{@code /home/user/myproject/target/classes}</td> * <td>No explicit path → use output directory</td> * </tr> * <tr> * <td>{@code Optional.of(Path.of("META-INF"))}</td> * <td>{@code /home/user/myproject/target/classes}</td> * <td>{@code /home/user/myproject/target/classes/META-INF}</td>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 07 13:11:07 UTC 2025 - 14.2K bytes - Viewed (0) -
guava/src/com/google/common/math/BigIntegerMath.java
// If it won't fit in a long, then we store off the intermediate product. if (normalizedBits + productBits >= Long.SIZE) { bignums.add(BigInteger.valueOf(product)); product = 1; productBits = 0; } product *= normalizedNum; productBits = LongMath.log2(product, FLOOR) + 1; } // Check for leftovers. if (product > 1) { bignums.add(BigInteger.valueOf(product)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.8K bytes - Viewed (0) -
tests/serializer_test.go
} // Test creating record with nil any field product := ProductWithAny{Name: "Product 1"} if err := DB.Create(&product).Error; err != nil { t.Fatalf("failed to create product with nil any field, got error %v", err) } // Test updating/saving record with nil any field (should not panic) product.Name = "Product 1 (Updated)" if err := DB.Save(&product).Error; err != nil {Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sat Nov 22 03:14:36 UTC 2025 - 9.3K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java
when(project.getBasedir()).thenReturn(Path.of("myproject")); when(project.getOutputDirectory(any(ProjectScope.class))).thenCallRealMethod(); assertEquals(Path.of("myproject", "target", "classes"), targetPath(project)); scope = ProjectScope.TEST; assertEquals(Path.of("myproject", "target", "test-classes"), targetPath(project)); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Oct 26 17:22:14 UTC 2025 - 2.9K bytes - Viewed (0) -
schema/schema_test.go
LanguageCode uint `gorm:"primaryKey"` Code string Name string } product, err := schema.Parse(&Product{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil { t.Fatalf("failed to parse product struct with composite primary key, got error %v", err) } prioritizedPrimaryField := schema.Field{
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Aug 28 02:57:17 UTC 2025 - 13.3K bytes - Viewed (0) -
LICENSES/third_party/forked/libcontainer/NOTICE
runc Copyright 2012-2015 Docker, Inc. This product includes software developed at Docker, Inc. (http://www.docker.com). The following is courtesy of our legal counsel: Use and transfer of Docker may be subject to certain restrictions by the United States and other governments. It is your responsibility to ensure that your use and/or transfer does not violate applicable laws. For more information, please see http://www.bis.doc.gov
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Tue Oct 22 13:56:22 UTC 2024 - 518 bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
* Project project = ...; // project at /home/user/myproject * * // Get main output directory * Path mainOutput = project.getOutputDirectory(ProjectScope.MAIN); * // Result: /home/user/myproject/target/classes * * // Get test output directory * Path testOutput = project.getOutputDirectory(ProjectScope.TEST); * // Result: /home/user/myproject/target/test-classes *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 07 13:11:07 UTC 2025 - 15.3K bytes - Viewed (0) -
README.md
```bash mvn clean jacoco:prepare-agent test jacoco:report ``` Coverage reports are generated in `target/site/jacoco/`. ## Common Use Cases ### E-commerce Search ```java // Product search suggestions SuggestItem product = new SuggestItem( new String[]{"iPhone 15 Pro", "Apple iPhone 15 Pro"}, new String[][]{{"iphone"}, {"apple", "phone"}}, 1.5f, // boost popular products
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sun Aug 31 03:31:14 UTC 2025 - 12.1K bytes - Viewed (1)