- Sort Score
- Result 10 results
- Languages All
Results 1861 - 1870 of 3,054 for throws (0.26 sec)
-
guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java
// helper private static void doParallelCacheOp(int count, IntConsumer consumer) { IntStream.range(0, count).parallel().forEach(consumer); } @Override public void setUp() throws Exception { super.setUp(); this.cache = CacheBuilder.newBuilder() .expireAfterAccess(500000, MILLISECONDS) .maximumSize(count) .build(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 6.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java
* Object#toString}. */ NON_STANDARD_TOSTRING, /** * Indicates that the constructor or factory method of a collection, usually an immutable set, * throws an {@link IllegalArgumentException} when presented with duplicate elements instead of * collapsing them to a single element or including duplicate instances in the collection. */ REJECTS_DUPLICATES_AT_CREATION,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
/** * Gets a buffer from the cache or creates a new one if the cache is empty. * * Performance: O(1) operation using concurrent queue * * @return a byte buffer for SMB operations * @throws IllegalStateException if buffer size exceeds maximum allowed */ static public byte[] getBuffer() { // Try to get from cache first - O(1) operation byte[] buf = bufferQueue.poll();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicDouble.java
*/ private void writeObject(ObjectOutputStream s) throws IOException { s.defaultWriteObject(); s.writeDouble(get()); } /** Reconstitutes the instance from a stream (that is, deserializes it). */ private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException { s.defaultReadObject(); set(s.readDouble()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
mockName.hexCode = 0x20; mockName.name = "TEST"; mockName.scope = "test.scope"; } @Test void constructor_shouldInitializeFieldsCorrectly() throws Exception { // Act nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName); // Assert assertSame(mockName, nodeStatusRequest.questionName);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/zip/ZipFileUtil.java
return FileUtil.getCanonicalPath(zipFile); } /** * Closes the Zip file. * <p> * If {@link ZipFile#close()} throws an exception, an error message is logged. The exception is not rethrown. * </p> * * @param zipFile * Zip file. Must not be {@literal null}. */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoConstantsTest.java
assertEquals(0, c.getDeclaredConstructors().length, "Interfaces have no constructors"); } @Test @DisplayName("Fields are public static final Strings with expected values") void fieldModifiersAndTypes() throws Exception { Map<String, String> expected = Map.of("SPNEGO_MECHANISM", "1.3.6.1.5.5.2", "KERBEROS_MECHANISM", "1.2.840.113554.1.2.2",
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/InternersTest.java
assertEquals(Strength.WEAK, internerImpl.map.keyStrength()); assertEquals(concurrencyLevel, internerImpl.map.concurrencyLevel); } public void testWeak_afterGC() throws InterruptedException { Integer canonical = new Integer(5); Integer not = new Integer(5); Interner<Integer> pool = Interners.newWeakInterner(); assertSame(canonical, pool.intern(canonical));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4K bytes - Viewed (0) -
src/main/java/jcifs/smb/Handler.java
this.transportContext = tc; } @Override protected int getDefaultPort() { return SmbConstants.DEFAULT_PORT; } @Override public URLConnection openConnection(final URL u) throws IOException { if (log.isDebugEnabled()) { log.debug("Opening file " + u); } return new SmbFile(u, getTransportContext()); } /** * @return */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java
this.path = Objects.requireNonNull(path, "path cannot be null").toAbsolutePath(); this.hashCode = Objects.hash(path); } @Override public InputStream getInputStream() throws IOException { return Files.newInputStream(path); } @Override public String getLocation() { return path.toString(); } /** * Gets the file of this source.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 15 18:51:29 UTC 2025 - 3K bytes - Viewed (0)