- Sort Score
- Result 10 results
- Languages All
Results 661 - 670 of 1,219 for Examples (0.03 sec)
-
docs/fr/docs/tutorial/index.md
## Exécuter le code Tous les blocs de code peuvent être copiés et utilisés directement (il s'agit en fait de fichiers Python testés). Pour exécuter l'un de ces exemples, copiez le code dans un fichier `main.py`, et commencez `uvicorn` avec : <div class="termy"> ```console $ uvicorn main:app --reload
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableListMultimap.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.8K bytes - Viewed (0) -
guava/src/com/google/common/base/Objects.java
* single Object array, do not get any special handling; their hash codes are based on identity * and not contents. * * <p>This is useful for implementing {@link Object#hashCode()}. For example, in an object that * has three properties, {@code x}, {@code y}, and {@code z}, one could write: * * {@snippet : * public int hashCode() { * return Objects.hashCode(getX(), getY(), getZ()); * }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 28 22:51:26 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/MultiIterator.java
import org.codelibs.core.exception.ClUnsupportedOperationException; /** * An {@link Iterator} that iterates over multiple {@link Iterator}s as if they were a single {@link Iterator}. * <p> * Usage example: * </p> * * <pre> * import static org.codelibs.core.collection.MultiIterator.*; * * List<String> list = ...; * Set<String> set = ...; * Map<String, Object> map = ...;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/AddressTest.java
} @Test @DisplayName("getHostName should return valid hostname or address") void testGetHostNameContract() { // Given String expectedHostName = "server.example.com"; when(mockAddress.getHostName()).thenReturn(expectedHostName); // When String hostName = mockAddress.getHostName(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/LineIterator.java
import java.util.NoSuchElementException; import org.codelibs.core.exception.ClUnsupportedOperationException; /** * An {@link Iterator} that iterates over lines read from a {@link BufferedReader}. * <p> * Usage example: * </p> * * <pre> * import static org.codelibs.core.io.LineIterator.*; * * BufferedReader reader = ...; * for (String line : iterable(reader)) { * ... * } * </pre> *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ObjectUtil.java
return obj == null ? null : obj.toString(); } /** * Returns the object, or the defaultValue if the object is <code>null</code>. * <p> * Usage example: * </p> * * <pre> * ObjectUtil.defaultValue(null, "NULL") = "NULL" * ObjectUtil.defaultValue(null, 1) = 1 * ObjectUtil.defaultValue(Boolean.TRUE, true) = Boolean.TRUE
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
} /** * Test interaction with SmbTransport using Mockito. * This demonstrates mocking capabilities for testing. */ @Test @DisplayName("Mock interaction example with SmbTransport") void mockTransportInteraction() { // Create a mock of SmbTransport from jcifs package jcifs.SmbTransport mock = mock(jcifs.SmbTransport.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeParameter.java
import java.lang.reflect.Type; import java.lang.reflect.TypeVariable; import org.jspecify.annotations.Nullable; /** * Captures a free type variable that can be used in {@link TypeToken#where}. For example: * * {@snippet : * static <T> TypeToken<List<T>> listOf(Class<T> elementType) { * return new TypeToken<List<T>>() {} * .where(new TypeParameter<T>() {}, elementType); * } * } *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
@CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherSetWithDifferentElements() { Collection<E> elements = getSampleElements(getNumElements() - 1); elements.add(getSubjectGenerator().samples().e3()); assertFalse( "A Set should not equal another Set containing different elements.", getSet().equals(MinimalSet.from(elements))); } @CollectionSize.Require(absent = CollectionSize.ZERO)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.6K bytes - Viewed (0)