- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 1,154 for Handle (0.04 sec)
-
src/test/java/jcifs/pac/PacLogonInfoTest.java
assertThrows(PACDecodingException.class, () -> { unicodeString.check(""); }); // The implementation has a bug - it doesn't handle null properly // It throws NullPointerException instead of returning null // This is a known issue in the production code assertThrows(NullPointerException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
d.parameterCount = 0; d.dataCount = 0; d.headerStart = 0; byte[] buf = new byte[100]; int result = d.readBytesWireFormat(buf, 0); // Should handle empty read gracefully assertEquals(0, result, "Should return 0 for no data"); assertTrue(d.getParametersDone(), "parametersDone should be true when total is 0");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
callbacks/query.go
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 10.4K bytes - Viewed (3) -
cmd/format-erasure.go
for _, format := range formats { if format == nil { continue } // NOTE: This code is specifically needed when migrating version // V1 to V2 to V3, in a scenario such as this we only need to handle // single sets since we never used to support multiple sets in releases // with V1 format version. if len(format.Erasure.Sets) > 1 { continue } if format.Erasure.This == "" { return true
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 23.1K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
// Should not reach here return channels.iterator().next(); } private ChannelInfo selectWithAffinity(SMBMessage message, Collection<ChannelInfo> channels) { // Use file handle or tree ID for affinity long affinityKey = 0; if (message instanceof Smb2ReadRequest) { affinityKey = Arrays.hashCode(((Smb2ReadRequest)message).getFileId());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
README.md
try { // Code that might throw checked exceptions return ClassUtil.newInstance(className); // Wraps checked exceptions automatically } catch (ClassNotFoundRuntimeException e) { // Handle the wrapped exception logger.error("Class not found: " + className, e); } ``` ## 🏗️ Architecture & Design Patterns ### Core Design Principles
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
assertTrue(lmhostsFile.setReadable(false)); } when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath()); if (!isWindows) { // Should handle IOException gracefully and return null NbtAddress result = lmhosts.getByName("ANYHOST", mockContext); assertNull(result); } // Cleanup lmhostsFile.setReadable(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
fess-crawler/src/test/resources/extractor/eml/sample2.eml
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Jan 16 07:50:35 UTC 2016 - 91.6K bytes - Viewed (0) -
src/cmd/asm/internal/lex/input.go
break } } if err != nil { in.Error("#include:", err) } } in.Push(NewTokenizer(name, fd, fd)) } // #line processing. func (in *Input) line() { // Only need to handle Plan 9 format: #line 337 "filename" tok := in.Stack.Next() if tok != scanner.Int { in.expectText("expected line number after #line") } line, err := strconv.Atoi(in.Stack.Text()) if err != nil {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 06 13:17:27 UTC 2024 - 12.5K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
} } } /** Returns the {@code Class} object of arrays with {@code componentType}. */ static Class<?> getArrayClass(Class<?> componentType) { // TODO(user): This is not the most efficient way to handle generic // arrays, but is there another way to extract the array class in a // non-hacky way (i.e. using String value class names- "[L...")? return Array.newInstance(componentType, 0).getClass(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 23.5K bytes - Viewed (0)