Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 357 for pero (2.98 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

            void testGetResultSuccess() {
                message.result = 0;
                assertNull(message.getResult());
            }
    
            @Test
            @DisplayName("getResult should return DcerpcException for non-zero result")
            void testGetResultError() {
                message.result = 123; // Example error code
                DcerpcException exception = message.getResult();
                assertNotNull(exception);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

                assertEquals(0x03, context.getHashAlgos()[2]);
                assertArrayEquals(salt, context.getSalt());
            }
    
            @Test
            @DisplayName("Should decode zero hash algorithms and zero salt")
            void testDecodeZeroHashAlgosAndSalt() throws SMBProtocolDecodingException {
                SMBUtil.writeInt2(0, buffer, 0);
                SMBUtil.writeInt2(0, buffer, 2);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

            Smb2LeaseKey key = new Smb2LeaseKey(testBytes);
    
            assertArrayEquals(testBytes, key.getKey());
            assertFalse(key.isZero());
        }
    
        @Test
        @DisplayName("Should create zero lease key")
        void testZeroLeaseKey() {
            byte[] zeroBytes = new byte[16];
            Arrays.fill(zeroBytes, (byte) 0);
    
            Smb2LeaseKey key = new Smb2LeaseKey(zeroBytes);
    
            assertTrue(key.isZero());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

      </mime-type>
    
      <mime-type type="text/x-perl">
        <_comment>Perl script</_comment>
        <magic priority="50">
          <match value="eval \&quot;exec /usr/local/bin/perl" type="string" offset="0"/>
          <match value="#!/bin/perl" type="string" offset="0"/>
          <match value="#!/bin/env perl" type="string" offset="0"/>
          <match value="#!/usr/bin/perl" type="string" offset="0"/>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Oct 16 07:46:32 UTC 2025
    - 320.2K bytes
    - Viewed (2)
  5. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

                    }
                } else {
                    currentStart = -1;
                    currentLength = 0;
                }
            }
    
            // If longest sequence is only 1 zero, don't compress
            if (longestLength <= 1) {
                return String.join(":", normalized);
            }
    
            // Build compressed address
            final StringBuilder result = new StringBuilder();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 08:31:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            assertEquals(1, config.getChannelBindingPolicy());
        }
    
        @Test
        void testEdgeCaseValues() throws CIFSException {
            Properties props = new Properties();
    
            // Test zero and negative values
            props.setProperty("jcifs.smb.client.maxChannels", "0");
            PropertyConfiguration config = new PropertyConfiguration(props);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertNotNull(configWithDefaults.getNativeOs());
            assertTrue(configWithDefaults.getFlags2() != 0, "Flags2 should be non-zero");
            assertTrue(configWithDefaults.getCapabilities() != 0, "Capabilities should be non-zero");
            assertNotNull(configWithDefaults.getBroadcastAddress());
            assertNotNull(configWithDefaults.getResolveOrder());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacTest.java

            assertThrows(Exception.class, () -> new Pac(pacData, keys));
        }
    
        @Test
        void testZeroBufferCount() throws IOException {
            // Test PAC with zero buffers (missing required buffers)
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            writeLittleEndianInt(baos, 0); // bufferCount = 0
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            // Then
            assertNotNull(signingKey, "Should handle all-zero session key");
            assertEquals(16, signingKey.length, "Should produce 16-byte key");
            assertFalse(Arrays.equals(zeroSessionKey, signingKey), "Derived key should be different from all-zero input");
        }
    
        @Test
        @DisplayName("Should handle edge case with all 0xFF session key")
    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/internal/smb1/trans2/Trans2SetFileInformationTest.java

                    TEST_CREATE_TIME, TEST_LAST_WRITE_TIME, TEST_LAST_ACCESS_TIME);
    
            // The constructor should create FileBasicInfo with attributes | 0x80
            assertNotNull(trans2SetFileInfo);
    
            // Test with zero attributes
            trans2SetFileInfo =
                    new Trans2SetFileInformation(config, TEST_FID, 0x00, TEST_CREATE_TIME, TEST_LAST_WRITE_TIME, TEST_LAST_ACCESS_TIME);
            assertNotNull(trans2SetFileInfo);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top