- Sort Score
- Result 10 results
- Languages All
Results 1581 - 1590 of 1,890 for instance (0.05 sec)
-
docs/es/docs/advanced/async-tests.md
a funciones asÃncronas en tus tests (por ejemplo, cuando usas <a href="https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop" class="external-link" target="_blank">MotorClient de MongoDB</a>), recuerda crear instances de objetos que necesiten un loop de eventos solo dentro de funciones async, por ejemplo, en un callback `'@app.on_event("startup")`. ///...
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java
this.forward = original; this.backward = original.inverse(); } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; } /** * Returns {@link Method} instances for the tests that assume that the inverse will be the same * after serialization. */ @J2ktIncompatible @GwtIncompatible // reflection public static List<Method> getInverseSameAfterSerializingMethods() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
} private static void testRotate(byte[] input, int distance, byte[] expectedOutput) { input = Arrays.copyOf(input, input.length); Bytes.rotate(input, distance); assertThat(input).isEqualTo(expectedOutput); } private static void testRotate( byte[] input, int distance, int fromIndex, int toIndex, byte[] expectedOutput) { input = Arrays.copyOf(input, input.length);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
public static <K, V> ImmutableMap<K, V> copyOf(Map<? extends K, ? extends V> map) { if ((map instanceof ImmutableMap) && !(map instanceof ImmutableSortedMap)) { @SuppressWarnings("unchecked") // safe since map is not writable ImmutableMap<K, V> kvMap = (ImmutableMap<K, V>) map; return kvMap; } else if (map instanceof EnumMap) { EnumMap<?, ?> enumMap = (EnumMap<?, ?>) map;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 16.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
if (!(request instanceof final ServerMessageBlock req)) { return; } req.addFlags2(this.negotiatedFlags2); req.setUseUnicode(req.isForceUnicode() || this.useUnicode); if (req.isUseUnicode()) { req.addFlags2(SmbConstants.FLAGS2_UNICODE); } if (req instanceof SmbComTransaction) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
// When Smb2ChangeNotifyRequest req = new Smb2ChangeNotifyRequest(config, testFileId); // Then assertNotNull(req); assertTrue(req instanceof ServerMessageBlock2Request); assertTrue(req instanceof ServerMessageBlock2); } @Test @DisplayName("Should set notify flags correctly") void testSetNotifyFlags() throws Exception { // GivenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
guava/src/com/google/common/hash/ChecksumHashFunction.java
import java.lang.invoke.MethodType; import java.nio.ByteBuffer; import java.util.zip.Checksum; import org.jspecify.annotations.Nullable; /** * {@link HashFunction} adapter for {@link Checksum} instances. * * @author Colin Decker */ @Immutable final class ChecksumHashFunction extends AbstractHashFunction implements Serializable { private final ImmutableSupplier<? extends Checksum> checksumSupplier;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java
SmbFilenameFilter filter = (d, n) -> { throw new SmbException("forced exception"); }; Exception e = assertThrows(Exception.class, () -> filter.accept(dir, "any")); assertTrue(e instanceof SmbException); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java
Collection<E> collection) { if (collection instanceof NavigableSet) { return unmodifiableNavigableSet((NavigableSet<E>) collection); } else { return unmodifiableSortedSet((SortedSet<E>) collection); } } @Override Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) { if (collection instanceof NavigableSet) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Mar 20 13:05:10 UTC 2025 - 5.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractTable.java
@WeakOuter private final class CellSet extends AbstractSet<Cell<R, C, V>> { @Override public boolean contains(@Nullable Object o) { if (o instanceof Cell) { Cell<?, ?, ?> cell = (Cell<?, ?, ?>) o; Map<C, V> row = safeGet(rowMap(), cell.getRowKey()); return row != null && Collections2.safeContains(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.4K bytes - Viewed (0)