Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,544 for inte (1.63 sec)

  1. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            assertNull(req.getTicket(), "ticket should be null when tag 3 is absent");
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 4, 6, 99 })
        @DisplayName("seq ctor: invalid pvno values throw")
        void sequenceConstructor_invalidVersion_throws(int badPvno) throws Exception {
            // Arrange: Build sequence with invalid version and otherwise valid tags
            ASN1EncodableVector v = new ASN1EncodableVector();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            byte[] buffer = new byte[256];
            int result = request.readBytesWireFormat(buffer, 0);
    
            assertEquals(0, result);
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 10, 50, 100 })
        @DisplayName("writeBytesWireFormat should work at different offsets")
        void testWriteBytesWireFormatAtDifferentOffsets(int offset) {
            byte[] buffer = new byte[512];
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

                String[] words = text.trim().split("[\\s@#$.,!?;:()\\[\\]{}\"']+");
    
                int position = 0;
                int offset = 0;
                for (String word : words) {
                    if (!word.isEmpty()) {
                        int startOffset = text.indexOf(word, offset);
                        int endOffset = startOffset + word.length();
    
                        // Handle decimal numbers
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

        }
    
        // Duplicate testFlags method removed - keeping the first one
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 64, 1024, 4096, 65536 })
        @DisplayName("Should handle various message sizes")
        void testVariousMessageSizes(int messageSize) {
            // When
            transformHeader.setOriginalMessageSize(messageSize);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 100, 255, 256, 65535 })
        @DisplayName("Test readBytesWireFormat with various invalid structure sizes")
        void testReadBytesWireFormatVariousInvalidSizes(int invalidSize) {
            response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03);
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

        })
        void testWriteParametersWireFormatWithDifferentLevels(int infoLevel, int expectedMappedValue) {
            trans2QueryFSInfo = new Trans2QueryFSInformation(config, infoLevel);
    
            byte[] buffer = new byte[512];
            trans2QueryFSInfo.writeParametersWireFormat(buffer, 0);
    
            // Check mapped information level
            int actualInfoLevel = SMBUtil.readInt2(buffer, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                dataCrawlingThread.setDaemon(true);
    
                dataCrawlingThreadList.add(dataCrawlingThread);
                dataCrawlingThreadStatusList.add(Constants.READY);
    
            }
    
            int startedCrawlerNum = 0;
            int activeCrawlerNum = 0;
            while (startedCrawlerNum < dataCrawlingThreadList.size()) {
                // Force to stop crawl
                if (systemHelper.isForceStop()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Should handle various tflags values")
            @ValueSource(ints = { 0, 1, 255, 256, 32767, 65535 })
            void testTflagsValues(int tflagsValue) {
                byte[] testBuffer = new byte[8];
                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

        void testDeriveKeys_DifferentSessionKeySizes() {
            // Test with various session key sizes
            int[] keySizes = { 8, 16, 24, 32, 64, 128 };
            int dialect = Smb2Constants.SMB2_DIALECT_0311;
    
            for (int size : keySizes) {
                // Given
                byte[] testKey = new byte[size];
                new SecureRandom().nextBytes(testKey);
    
                // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            assertTrue(namesObj instanceof lsarpc.LsarTransNameArray);
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 1, 5, 10, 20, 50 })
        void constructor_shouldHandleVariousSidArraySizes(int size) {
            // Arrange
            testSids = new jcifs.SID[size];
            for (int i = 0; i < size; i++) {
                testSids[i] = mock(jcifs.SID.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top