Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 101 for 123A456 (0.05 sec)

  1. src/test/java/jcifs/smb/SIDTest.java

            }
    
            @Test
            @DisplayName("toString uses hex authority when high bytes are non-zero")
            void testToStringHexAuthority() {
                byte[] ident = new byte[] { 1, 2, 3, 4, 5, 6 }; // high bytes non-zero -> hex representation
                SID sid = new SID(buildSidT((byte) 1, ident, 7, 8), jcifs.SID.SID_TYPE_USE_NONE, null, null, false);
                String s = sid.toString();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void constructor_shouldInitializeValueCorrectly() {
            // Test case 1: Positive value
            int positiveValue = 12345;
            NdrLong ndrLongPositive = new NdrLong(positiveValue);
            assertEquals(positiveValue, ndrLongPositive.value, "Constructor should correctly initialize with a positive value.");
    
            // Test case 2: Negative value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

        }
    
        @Test
        @DisplayName("Test createCancel method returns SmbComNtCancel")
        void testCreateCancel() {
            // Set a MID for the transaction
            transaction.setMid(12345);
    
            // Create cancel request
            CommonServerMessageBlockRequest cancelRequest = transaction.createCancel();
    
            // Verify it returns an SmbComNtCancel instance
            assertNotNull(cancelRequest);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

        assertCrc(0xf3dbd4fe, "1234567890".getBytes(UTF_8));
        assertCrc(0xBFE92A83, "23456789".getBytes(UTF_8));
      }
    
      public void testAgainstSimplerImplementation() {
        Random r = new Random(1234567);
        for (int length = 0; length < 1000; length++) {
          byte[] bytes = new byte[length];
          r.nextBytes(bytes);
          assertCrc(referenceCrc(bytes), bytes);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

            assertEquals(minFlags, minAvFlags.getFlags(), "Flags should match Integer.MIN_VALUE");
    
            // Test with a negative integer
            int negativeFlags = -12345;
            AvFlags negAvFlags = new AvFlags(negativeFlags);
            assertNotNull(negAvFlags, "AvFlags object should not be null for negative flags");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

        }
    
        @Test
        void throwsWhenOutputExceedsProvidedBuffer() throws Exception {
            byte[] header = buildHeader(NtStatus.NT_STATUS_SUCCESS);
            byte[] output = new byte[] { 1, 2, 3, 4, 5, 6 };
            byte[] body = buildIoctlResponseBody(Smb2IoctlRequest.FSCTL_SRV_COPYCHUNK_WRITE, new byte[16], 0, null, output.length, output, 0);
            byte[] packet = new byte[header.length + body.length];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

        }
    
        /**
         * Test writeBytesWireFormat writes data correctly
         */
        @Test
        public void testWriteBytesWireFormat() {
            // Arrange
            byte[] data = { 1, 2, 3, 4, 5 };
            SmbComWrite write = new SmbComWrite();
            write.setParam(0, 0L, 0, data, 1, 3); // Write bytes 2,3,4
            byte[] dst = new byte[10];
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

      public void testBytes() {
        TestHasher hasher = new TestHasher(); // byte order insignificant here
        byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8};
        hasher.putByte((byte) 1);
        hasher.putBytes(new byte[] {2, 3, 4, 5, 6});
        hasher.putByte((byte) 7);
        hasher.putBytes(new byte[] {});
        hasher.putBytes(new byte[] {8});
        hasher.assertBytes(expected);
      }
    
      public void testShort() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

        }
    
        public void test_numberKeyObject() {
            Integer key = 12345;
            crawlerStatsHelper.begin(key);
            crawlerStatsHelper.record(key, "test_action");
            crawlerStatsHelper.done(key);
    
            String[] values = localLogMsg.get().split("\t");
            assertEquals(4, values.length);
            assertEquals("url:12345", values[0]);
            assertTrue(values[1].startsWith("time:"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 15K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            @Test
            @DisplayName("Should handle response with retained payload")
            void testHaveResponseWithRetainedPayload() throws SMBProtocolDecodingException {
                byte[] buffer = { 1, 2, 3, 4, 5 };
                response.setRetainPayload(true);
                response.setDigest(null);
    
                response.haveResponse(buffer, 1, 3);
    
                byte[] payload = response.getRawPayload();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top