- Sort Score
- Result 10 results
- Languages All
Results 551 - 560 of 2,976 for throwIt (0.04 sec)
-
android/guava/src/com/google/common/io/CountingOutputStream.java
@Override public void write(byte[] b, int off, int len) throws IOException { out.write(b, off, len); count += len; } @Override public void write(int b) throws IOException { out.write(b); count++; } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior: // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
public void testScanFromFile_notJarFile() throws IOException { ClassLoader classLoader = ClassPathTest.class.getClassLoader(); File notJar = File.createTempFile("not_a_jar", "txt"); try { assertThat(new ClassPath.LocationInfo(notJar, classLoader).scanResources()).isEmpty(); } finally { notJar.delete(); } } public void testGetClassPathEntry() throws MalformedURLException, URISyntaxException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 23K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
* @return The IndexResponse from OpenSearch. * @throws OpenSearchAccessException if the insertion fails. * @throws CrawlingAccessException if there's a conflict during insertion. */ protected IndexResponse insert(final Object target, final OpType opType) { final String url = getUrl(target); if (url == null) { throw new OpenSearchAccessException("url is null."); }Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 34.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectPreconditions.java
if (key == null) { throw new NullPointerException("null key in entry: null=" + value); } else if (value == null) { throw new NullPointerException("null value in entry: " + key + "=null"); } } @CanIgnoreReturnValue static int checkNonnegative(int value, String name) { if (value < 0) { throw new IllegalArgumentException(name + " cannot be negative but was: " + value);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/context/SingletonContext.java
* * @param props the properties to use for initialization * @throws CIFSException if the singleton context is already initialized or there is an error during initialization */ public static synchronized final void init(final Properties props) throws CIFSException { if (INSTANCE != null) { throw new CIFSException("Singleton context is already initialized"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
void testHaveResponseCalled() throws SMBProtocolDecodingException { TestServerMessageBlock2 customMessage = new TestServerMessageBlock2(mockConfig) { boolean haveResponseCalled = false; @Override protected void haveResponse(byte[] buffer, int start, int len) throws SMBProtocolDecodingException { haveResponseCalled = true;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
assertFalse(target.isOpen()); assertTrue(target.isStale()); } @Test @DisplayName("getInput and getOutput throw after close") void testGetInputOutputAndClosed() throws CIFSException { // After closing the handle, further calls throw target.close(); CIFSException e1 = assertThrows(SmbException.class, target::getInput);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
} /** * Test destroyObject without listener */ public void test_destroyObject_noListener() throws Exception { TestComponent component = new TestComponent(); PooledObject<TestComponent> pooledObject = new DefaultPooledObject<>(component); // Should not throw exception even without listener factory.destroyObject(pooledObject);Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19.3K bytes - Viewed (0) -
guava/src/com/google/common/hash/HashingOutputStream.java
super(checkNotNull(out)); this.hasher = checkNotNull(hashFunction.newHasher()); } @Override public void write(int b) throws IOException { hasher.putByte((byte) b); out.write(b); } @Override public void write(byte[] bytes, int off, int len) throws IOException { hasher.putBytes(bytes, off, len); out.write(bytes, off, len); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/srvsvc.java
public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_referent(this.netname, 1); if (this.netname != null) { _dst = _dst.deferred; _dst.enc_ndr_string(this.netname); } } @Override public void decode(NdrBuffer _src) throws NdrException { _src.align(4);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 27K bytes - Viewed (0)