- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 274 for edge (0.35 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (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() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java
ImmutableSet<String> edges = ImmutableSet.copyOf(network.edges()); assertThat(networkAsMutableNetwork.addEdge(N1, N2, E12)).isFalse(); assertThat(network.edges()).containsExactlyElementsIn(edges); assertThat(networkAsMutableNetwork.addEdge(N2, N1, E12)).isFalse(); assertThat(network.edges()).containsExactlyElementsIn(edges); } @Test
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 17:09:51 UTC 2025 - 19K 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 Dec 26 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/ioctl/SrvCopychunkCopyTest.java
assertEquals((chunkCount - 1) * 100, SMBUtil.readInt4(buffer, offset + 16)); } } @Nested @DisplayName("Edge Case Tests") class EdgeCaseTests { @Test @DisplayName("Should handle source key with all zeros") void testSourceKeyAllZeros() { // Given
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (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 {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (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.
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 11.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java
String[] sitemaps = robotsTxt.getSitemaps(); assertTrue(sitemaps.length >= 3); // At least the valid ones should be parsed // Test NumericBot - various crawl-delay formats // Should handle edge cases gracefully assertTrue(robotsTxt.getCrawlDelay("NumericBot") >= 0); // Test TabBot - tab characters should be treated as whitespace assertFalse(robotsTxt.allows("/tab1/", "TabBot"));
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
// Should be path based on our initialization assertEquals("path", concretePath); } } @Nested @DisplayName("Edge Cases and Boundary Tests") class EdgeCasesTests { @ParameterizedTest @NullAndEmptySource @DisplayName("Should handle null and empty FQDN in fixupHost")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0)