- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 261 for edges (0.02 sec)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
// Then - should still read 4 bytes regardless of reserved field value assertEquals(4, bytesRead); } @Test @DisplayName("Should handle edge case structure sizes") void testEdgeCaseStructureSizes() { // Test minimum invalid size (0) byte[] buffer = new byte[256]; SMBUtil.writeInt2(0, buffer, 0);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
// Test writing a comment line updater.write("# This is a comment"); updater.close(); } // Test edge cases public void test_emptyFile() { String content = ""; InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8)); stopwordsFile.reload(null, is);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
assertEquals(0xFF, mockRequest.getContextType()); verify(mockRequest).getContextType(); } } @Nested @DisplayName("Edge Cases and Error Conditions") class EdgeCasesTests { @Test @DisplayName("Should handle maximum size arrays") void testMaximumSizeArrays() { // Test with reasonably large arraysRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/archive/tar/common.go
} pre = cur } return true } // alignSparseEntries mutates src and returns dst where each fragment's // starting offset is aligned up to the nearest block edge, and each // ending offset is aligned down to the nearest block edge. // // Even though the Go tar Reader and the BSD tar utility can handle entries // with arbitrary offsets and lengths, the GNU tar utility can only handle
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 13 21:03:27 UTC 2024 - 24.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java
assertEquals(largeCount, result.getAllRecordCount()); } public void test_negativeQueryTime() { // Test with negative query time (edge case) SearchResult result = SearchResult.create().queryTime(-1L).build(); assertEquals(-1L, result.getQueryTime()); } public void test_documentListImmutability() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertEquals('9', Hexdump.HEX_DIGITS[9]); assertEquals('A', Hexdump.HEX_DIGITS[10]); assertEquals('F', Hexdump.HEX_DIGITS[15]); } @Test @DisplayName("Should handle edge cases in toHexChars") void testToHexCharsEdgeCases() { // Test with zero char[] dst1 = new char[4]; java.util.Arrays.fill(dst1, 'X'); Hexdump.toHexChars(0, dst1, 0, 4);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
assertEquals(size, mock.size()); assertEquals(size, mock.encode(new byte[size * 2], 0)); } } @Nested @DisplayName("Edge Case Tests") class EdgeCaseTests { @Test @DisplayName("Should handle large buffer encoding") void testLargeBufferEncode() { byte[] largeName = new byte[1024];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
// visible to done(). This is because there is no happens before edge between the write and a // (hypothetical) unsafe read by our caller. Note: adding 'volatile' does not fix this issue, // it would just add an edge such that if done() observed non-null, then it would also // definitely observe all earlier writes, but we still have no guarantee that done() would see
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
byte[] copiedFileId = new byte[16]; System.arraycopy(buffer, 8, copiedFileId, 0, 16); assertArrayEquals(newFileId, copiedFileId); } @Test @DisplayName("Test edge case with minimum buffer size") void testMinimumBufferSize() { byte[] buffer = new byte[24]; // Exact size needed int written = request.writeBytesWireFormat(buffer, 0);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
assertTrue(ace.isInherited()); ace.flags = ACE.FLAGS_INHERITED | ACE.FLAGS_INHERIT_ONLY; assertTrue(ace.isInherited()); } @Test @DisplayName("Test edge cases in getApplyToText") void testGetApplyToTextEdgeCases() { // Test with only FLAGS_INHERIT_ONLY (should return Invalid) ace.flags = ACE.FLAGS_INHERIT_ONLY;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0)