- Sort Score
- Result 10 results
- Languages All
Results 1081 - 1090 of 1,579 for setI (0.01 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
numCalls.incrementAndGet(); } }; assertThrows(RejectedExecutionException.class, () -> executor.execute(task)); assertEquals(0, numCalls.get()); reject.set(false); executor.execute(task); assertEquals(1, numCalls.get()); } /* * Under Android, MyError propagates up and fails the test? *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 11.4K bytes - Viewed (0) -
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
* ListenableFuture<Result> future = service.query(name); * future.addListener(new Runnable() { * public void run() { * processedCount.incrementAndGet(); * inFlight.remove(name); * lastProcessed.set(name); * logger.info("Done with {0}", name); * } * }, executor); * } * * <h3>How to get an instance</h3> *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListenableFuture.java
* ListenableFuture<Result> future = service.query(name); * future.addListener(new Runnable() { * public void run() { * processedCount.incrementAndGet(); * inFlight.remove(name); * lastProcessed.set(name); * logger.info("Done with {0}", name); * } * }, executor); * } * * <h3>How to get an instance</h3> *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java
import com.google.common.collect.testing.TestSubjectGenerator; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Derived suite generators for Guava collection interfaces, split out of the suite builders so that * they are available to GWT.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/SchemaFactoryUtil.java
schemaFactory.setProperty(XMLConstants.ACCESS_EXTERNAL_DTD, ""); } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Failed to set a property.", e); } } }
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileEndOfFileInformation.java
import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * File System Control Code (FSCC) structure for File End-of-File Information. * Used in SMB2/SMB3 operations to set or query the end-of-file position for a file, * effectively controlling file size truncation or extension. * * @author mbechler */ public class FileEndOfFileInformation implements FileInformation, Encodable {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt
import javax.net.ssl.SSLEngine import javax.net.ssl.X509ExtendedTrustManager import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement /** * This extends [X509ExtendedTrustManager] to disable verification for a set of hosts. * * Note that the superclass [X509ExtendedTrustManager] isn't available on Android until version 7 * (API level 24). */ @IgnoreJRERequirement internal class InsecureExtendedTrustManager(
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 2.7K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerHeader.kt
* 0b11xxxxxx Private * ``` */ var tagClass: Int, /** Identifies which member in the ASN.1 schema the field holds. */ var tag: Long, /** * If the constructed bit is set it indicates that the value is composed of other values that have * their own headers. * * This value is encoded in bit 6 of the first byte of each value. * * ``` * 0bxx0xxxxx Primitive
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java
assertTrue(iterator.hasNext()); assertEquals("a", iterator.next()); assertEquals("b", iterator.next()); assertEquals("b", iterator.previous()); assertThrows(UnsupportedOperationException.class, () -> iterator.set("c")); } UnmodifiableListIterator<String> create() { String[] array = {"a", "b", "c"}; return new UnmodifiableListIterator<String>() { int i; @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java
* target iterators on demand. It also requires three additional constructor parameters: {@code * elementsToInsert}, the elements to be passed to {@code set()} and {@code add()} calls; {@code * features}, the features supported by the iterator; and {@code expectedElements}, the elements the * iterator should return in order. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K bytes - Viewed (0)