- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 285 for Edge (0.02 seconds)
-
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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
// Then: Should return binding's string representation assertEquals("mockBindingString", result); } } @Nested @DisplayName("Edge Cases and Error Handling") class EdgeCaseTests { @Test @DisplayName("Should handle null binding toString") void testToStringWithNullBinding() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java
} /** * This test checks an implementation dependent feature. It tests that the method {@code addEdge} * will silently add the missing nodes to the graph, then add the edge connecting them. We are not * using the proxy methods here as we want to test {@code addEdge} when the end-points are not * elements of the graph. */ @Test public void addEdge_nodesNotInGraph() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 18.6K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 64.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
assertEquals("DCERPC_BIND_ERR_ABSTRACT_SYNTAX_NOT_SUPPORTED", exception.getMessage(), "Should return correct error message"); } } @Nested @DisplayName("Edge Cases and Boundary Tests") class EdgeCasesTests { @Test @DisplayName("Should handle various result codes correctly") void testVariousResultCodes() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
request.writeBytesWireFormat(buffer, 0); assertEquals(Smb2ReadRequest.SMB2_CHANNEL_NONE, SMBUtil.readInt4(buffer, 36)); } } @Nested @DisplayName("Edge Case Tests") class EdgeCaseTests { @Test @DisplayName("Should handle negative offset") void testNegativeOffset() { request.setOffset(-1L);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.8K bytes - Click Count (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];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java
String result = facetQueryView.toString(); assertNotNull(result); assertTrue(result.contains("title=Empty Map Test")); assertTrue(result.contains("queryMap={}")); } // Test edge cases @Test public void test_addQuery_withNullValues() { facetQueryView.addQuery(null, "query1"); assertEquals("query1", facetQueryView.getQueryMap().get(null));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 17.9K bytes - Click Count (0) -
src/archive/tar/format.go
// This matches the limit used by libarchive. maxSpecialFileSize = 1 << 20 ) // blockPadding computes the number of bytes needed to pad offset up to the // nearest block edge where 0 <= n < blockSize. func blockPadding(offset int64) (n int64) { return -offset & (blockSize - 1) } var zeroBlock block type block [blockSize]byte // Convert block to any number of formats.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 11.3K bytes - Click Count (0)