- Sort Score
- Result 10 results
- Languages All
Results 711 - 720 of 1,266 for safe (0.8 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
*/ @Test fun hostnameInPunycodeNfcAndNfd() { // café can be NFC (é is one code point) or NFD (e plus ´ as two code points). val hostNfc = "café.com" val hostNfcPunycode = "xn--caf-dma.com" val hostNfd = "café.com" val hostNfdPunycode = "xn--cafe-yvc.com" assertEquals(hostNfcPunycode, "http://$hostNfc/".toHttpUrl().host)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0) -
docs/en/docs/tutorial/encoder.md
So, a `datetime` object would have to be converted to a `str` containing the data in <a href="https://en.wikipedia.org/wiki/ISO_8601" class="external-link" target="_blank">ISO format</a>. The same way, this database wouldn't receive a Pydantic model (an object with attributes), only a `dict`. You can use `jsonable_encoder` for that. It receives an object, like a Pydantic model, and returns a JSON compatible version:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableAsList.java
public boolean isEmpty() { return delegateCollection().isEmpty(); } @Override boolean isPartialView() { return delegateCollection().isPartialView(); } /** Serialized form that leads to the same performance as the original list. */ @GwtIncompatible @J2ktIncompatible private static final class SerializedForm implements Serializable { final ImmutableCollection<?> collection;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
* iterator (used as the target iterator). * * <p>This IteratorTester makes copies of the master so that it can later verify that {@link * PeekingIterator#remove()} removes the same elements as the reference's iterator {@code * remove()}. */ private static class PeekingIteratorTester<T extends @Nullable Object> extends IteratorTester<T> { private final Iterable<T> master;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 8.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* server address, the canonical representation of the URL, and does not * compare authentication information. In essance, two * <code>SmbFile</code> objects that refer to * the same file should generate the same hashcode provided it is possible * to make such a determination. * * @return A hashcode for this abstract file */ @Override public int hashCode() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionDataRepository.java
package org.apache.maven.execution; import org.apache.maven.project.MavenProject; /** * Instances of this interface retrieve and store data for the --resume / -r feature. This data is used to ensure newer * builds of the same project, that have the -r command-line flag, skip successfully built projects during earlier * invocations of Maven. */ public interface BuildResumptionDataRepository { /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ReflectionTest.java
} } private static class C { static { ++classesInitialized; } } public void testInitialize() { assertEquals("This test can't be included twice in the same suite.", 0, classesInitialized); Reflection.initialize(A.class); assertEquals(1, classesInitialized); Reflection.initialize( A.class, // Already initialized (above) B.class, C.class);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class ListEqualsTester<E> extends AbstractListTester<E> { public void testEquals_otherListWithSameElements() { assertTrue( "A List should equal any other List containing the same elements.", getList().equals(new ArrayList<E>(getOrderedElements()))); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherListWithDifferentElements() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapDifference.java
* entriesInCommon(), entriesDiffering()) * } */ @Override int hashCode(); /** * A difference between the mappings from two maps with the same key. The {@link #leftValue} and * {@link #rightValue} are not equal, and one but not both of them may be null. * * @since 2.0 */ @DoNotMock("Use Maps.difference")
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ParametricNullness.java
* String}. * <li>{@code getElement} on a {@code Multiset.Entry<@Nullable String>} returns {@code @Nullable * String}. * </ul> * * This is the same behavior as type-variable usages have to Kotlin and to the Checker Framework. * Contrast the method above to: * * <ul> * <li>methods whose return type is a type variable but which can never return {@code null},
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 16:20:21 UTC 2024 - 3.1K bytes - Viewed (0)