- Sort Score
- Result 10 results
- Languages All
Results 1571 - 1580 of 1,808 for Try (0.01 sec)
-
android/guava/src/com/google/common/collect/Streams.java
// first as suppressed exceptions. We don't catch Error on the grounds that it should be allowed // to propagate immediately. Exception exception = null; for (BaseStream<?, ?> stream : toClose) { try { stream.close(); } catch (Exception e) { // sneaky checked exception if (exception == null) { exception = e; } else { exception.addSuppressed(e); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 37K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java
assertEquals("L1:aaa\nL2:bbb\nL3:ccc", documentHelper.appendLineNumber("L", "aaa\nbbb\nccc")); } public void test_init() { DocumentHelper documentHelper = new DocumentHelper(); try { documentHelper.init(); } catch (Exception e) { fail("init() should not throw an exception: " + e.getMessage()); } } public void test_getTitle() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_BASIC_INFO); byte[] buffer = new byte[0]; response.setDataCount(0); // The implementation will try to decode even with an empty buffer, causing ArrayIndexOutOfBoundsException assertThrows(ArrayIndexOutOfBoundsException.class, () -> { response.readDataWireFormat(buffer, 0, 0); }); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
} default int getSystemPropertyAsInt(final String key, final int defaultValue) { final String value = getSystemProperty(key); if (value != null) { try { return Integer.parseInt(value); } catch (final NumberFormatException e) { // ignore } } return defaultValue; }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 86.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PermissionHelper.java
final Map<String, Object> metaDataMap = responseData.getMetaDataMap(); final Object fileAttributeView = metaDataMap.get(FileSystemClient.FILE_ATTRIBUTE_VIEW); try { if (fileAttributeView instanceof final AclFileAttributeView aclFileAttributeView) { aclFileAttributeView.getAcl().stream().forEach(acl -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt
return bytesToRead } // Read from upstream. This always reads a full buffer: that might be more than what the // current call to Source.read() has requested. try { val upstreamBytesRead = upstream!!.read(upstreamBuffer, bufferMaxSize) // If we've exhausted upstream, we're done. if (upstreamBytesRead == -1L) { commit(upstreamPos)Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 17:15:47 UTC 2025 - 11.8K bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
} // Check URL format if (!smbUrl.toLowerCase().startsWith("smb://")) { throw new SmbException("Invalid SMB URL format"); } try { URL url = new URL(null, smbUrl, new jcifs.smb.Handler()); // Validate host String host = url.getHost(); if (host == null || host.isEmpty()) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
when(transport.getRemoteHostName()).thenReturn("remote.example"); String name = handle.getRemoteHostName(); assertEquals("remote.example", name); // try-with-resources should close both verify(session).close(); verify(transport).close(); } @Test @DisplayName("getServerTimeZoneOffset: SMB1 negotiate path multiplies minutes to millis")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
README.md
commands. *Nightly binaries are available for testing using the [tf-nightly](https://pypi.python.org/pypi/tf-nightly) and [tf-nightly-cpu](https://pypi.python.org/pypi/tf-nightly-cpu) packages on PyPI.* #### *Try your first TensorFlow program* ```shell $ python ``` ```python >>> import tensorflow as tf >>> tf.add(1, 2).numpy() 3 >>> hello = tf.constant('Hello, TensorFlow!') >>> hello.numpy()
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Fri Jul 18 14:09:03 UTC 2025 - 11.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java
*/ public InputStream getResponseBody() { if (responseBodyBytes != null) { return new ByteArrayInputStream(responseBodyBytes); } if (responseBodyFile != null) { try { return new FileInputStream(responseBodyFile); } catch (final FileNotFoundException e) { throw new IORuntimeException(e); } } return null;Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 11.6K bytes - Viewed (0)