Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 740 for maximal (0.05 seconds)

  1. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            byte[] writtenData = Arrays.copyOfRange(dst, 0, largeData.length);
            assertArrayEquals(largeData, writtenData);
        }
    
        @Test
        @DisplayName("Test with maximum data size")
        void testWithMaxDataSize() {
            // Given
            byte[] maxData = new byte[0xFFFF];
            Arrays.fill(maxData, (byte) 0x55);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            // Configuration is not used during decode when no signing digest is set
            Configuration cfg = mock(Configuration.class);
            return new Smb2SessionSetupResponse(cfg);
        }
    
        /**
         * Build a minimal SMB2 header for a response at the given offset.
         * The header is prepared as a synchronous response with server-to-redirector flag.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

                assertEquals(2, result, "Should consistently return 2 on call " + (i + 1));
            }
        }
    
        @Test
        @DisplayName("Test edge case with maximum buffer index")
        void testReadBytesWireFormatMaxBufferIndex() throws SMBProtocolDecodingException {
            byte[] buffer = new byte[65536]; // Large buffer
            int bufferIndex = 65534; // Near the end
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorEdgeCaseTest.java

                final List<Map<String, Object>> results = processor.search("*", new TestSearchRequestParams(100, 10, 0), OptionalThing.empty());
                assertNotNull(results);
                // Should return empty or minimal results
                assertTrue(results.size() <= 10);
            }
        }
    
        /**
         * Test search with negative start position (should be handled gracefully).
         */
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

        private static final long MAX_POLL_INTERVAL = 30000;
        private static final long BASE_RETRY_DELAY = 1000;
        private static final long MAX_RETRY_DELAY = 30000;
        private static final int MAX_BACKOFF_SHIFT = 3; // Maximum 8 seconds (2^3 * 1000ms)
    
        private final DirectoryLeaseManager leaseManager;
        private final ConcurrentHashMap<String, ChangeNotificationHandle> activeWatchers;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            assertTrue(result.contains("securityInformation=0x" + Hexdump.toHexString(securityInfo, 8)));
        }
    
        @Test
        @DisplayName("Test toString method with maximum values")
        void testToStringMaxValues() {
            int fid = 0xFFFF;
            int securityInfo = 0xFFFFFFFF;
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, fid, securityInfo);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            SMBProtocolDecodingException ex1 = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0));
            assertEquals("Structure size != 4", ex1.getMessage());
    
            // Test maximum 2-byte value (65535)
            SMBUtil.writeInt2(65535, buffer, 0);
    
            SMBProtocolDecodingException ex2 = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt

      fun setClient(client: Boolean) {
        if (this.client == client) return
        this.client = client
        writer = Http2Writer(bytesOut, client)
      }
    
      fun acceptFrame() {
        frameCount++
      }
    
      /** Maximum length of an outbound data frame.  */
      fun maxOutboundDataLength(): Int = writer.maxDataLength()
    
      /** Count of frames sent or received.  */
      fun frameCount(): Int = frameCount
    
      fun sendFrame(): Http2Writer {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                assertEquals(4, bytesWritten);
                assertEquals(4, SMBUtil.readInt2(buffer, 0));
            }
    
            @Test
            @DisplayName("Should handle maximum offset")
            void testWriteBytesAtMaxOffset() {
                byte[] buffer = new byte[1000];
                int offset = buffer.length - 4;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            // Create a buffer with only standard lease data (no directory-specific data)
            byte[] buffer = new byte[56]; // Header + name + padding + standard lease data only
    
            // Write minimal header
            SMBUtil.writeInt4(0, buffer, 0); // Next
            SMBUtil.writeInt2(16, buffer, 4); // NameOffset
            SMBUtil.writeInt2(4, buffer, 6); // NameLength
            SMBUtil.writeInt2(0, buffer, 8); // Reserved
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 10.1K bytes
    - Click Count (0)
Back to Top