- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 313 for edge (0.02 seconds)
-
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/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/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/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/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) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
assertEquals(1, pairs.size(), "Should have one pair"); assertTrue(pairs.get(0) instanceof AvChannelBindings, "Should be AvChannelBindings instance"); } /** * Test edge case with maximum data size */ @Test @DisplayName("Handle large data size") void testLargeDataSize() throws CIFSException { // Create a large data arrayCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
assertEquals(0, dst[nullTerminatorIndex]); assertEquals(0, dst[nullTerminatorIndex + 1]); } } @Nested @DisplayName("Edge Cases and Boundary Tests") class EdgeCaseTests { @Test @DisplayName("Should handle maximum path length") void testMaximumPathLength() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
// Since these are protected fields, we can't access them directly // But we can verify the object is created successfully with these values } @Test @DisplayName("Test information level mapping edge cases") void testInformationLevelMappingEdgeCases() { // Test with SMB_INFO_ALLOCATION (-1 as byte) trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.9K bytes - Click Count (0)