- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 334 for producer (0.05 seconds)
-
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(Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6.3K bytes - Click Count (0) -
src/test/java/jcifs/util/CryptoTest.java
// When MessageDigest md4 = Crypto.getMD4(); byte[] hash = md4.digest(data); // Then assertNotNull(hash); assertEquals(16, hash.length); // MD4 produces 128-bit hash } @Test @DisplayName("Should calculate MD5 hash correctly") void testMD5Hash() { // Given String input = "Hello World"; byte[] data = input.getBytes();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (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 {Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sat Nov 22 03:14:36 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
assertNull(nc.dc); } } @Nested @DisplayName("toString() Tests") class ToStringTests { @Test @DisplayName("toString with valid data produces expected format") void testToStringWithValidData() { byte[] challenge = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0xFF }; UniAddress dc = mock(UniAddress.class);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6K bytes - Click Count (0) -
guava/src/com/google/common/collect/FluentIterable.java
* stream.collect(ImmutableListMultimap.toImmutableListMultimap(keyFunction, v -> v))}. * * @param keyFunction the function used to produce the key for each value * @throws NullPointerException if any element of this iterable is {@code null}, or if {@code * keyFunction} produces {@code null} for any key * @since 14.0 */ @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 34.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/request/Request.java
import org.opensearch.core.common.Strings; import org.opensearch.transport.client.Client; /** * Abstract class representing a request that can be executed to produce a response. * * @param <T> the type of response produced by this request */ public abstract class Request<T extends Response> { /** * Constructs a new request. */ public Request() { // nothing }
Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Sun Nov 23 11:21:40 GMT 2025 - 2.3K bytes - Click Count (0) -
LICENSE
of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 33.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/Lists.java
* } * } * * <p>Note that if any input list is empty, the Cartesian product will also be empty. If no lists * at all are provided (an empty list), the resulting Cartesian product has one element, an empty * list (counter-intuitive, but mathematically consistent). * * <p><i>Performance notes:</i> while the cartesian product of lists of size {@code m, n, p} is a
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 42.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/stream/StreamUtil.java
* * @param <R> The type of the result returned by the function. * @param stream A function that processes the stream and produces a result. * @return The result produced by applying the function to the stream. */ public <R> R get(final Function<Stream<T>, R> stream) { try (Stream<T> s = supplier.get()) {Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 4.4K bytes - Click Count (0) -
guava/src/com/google/common/hash/PrimitiveSink.java
* * <p><b>Warning:</b> This method, which reencodes the input before processing it, is useful only * for cross-language compatibility. For other use cases, prefer {@link #putUnencodedChars}, which * is faster, produces the same output across Java releases, and processes every {@code char} in * the input, even if some are invalid. */ @CanIgnoreReturnValue PrimitiveSink putString(CharSequence charSequence, Charset charset);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.9K bytes - Click Count (0)