Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 82 for 01234567 (0.15 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for ValidateNegotiateInfoRequest
     */
    class ValidateNegotiateInfoRequestTest {
    
        private static final int DEFAULT_CAPABILITIES = 0x12345678;
        private static final int DEFAULT_SECURITY_MODE = 0x0003;
        private byte[] defaultClientGuid;
        private int[] defaultDialects;
    
        @BeforeEach
        void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

            void testConstructorAndOpnum() {
                // When: Creating open alias message
                samr.SamrOpenAlias message = new samr.SamrOpenAlias(mockPolicyHandle, 123, 456, mockPolicyHandle);
    
                // Then: Should have correct values
                assertEquals(0x1b, message.getOpnum());
                assertEquals(mockPolicyHandle, message.domain_handle);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            @DisplayName("Should encode basic lock structure correctly")
            void testBasicEncoding() {
                long offset = 0x1234567890ABCDEFL;
                long length = 0xFEDCBA0987654321L;
                int flags = 0x12345678;
    
                lock = new Smb2Lock(offset, length, flags);
                int encoded = lock.encode(buffer, 0);
    
                assertEquals(24, encoded);
    
                // Verify offset (8 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

        }
    
        @Test
        @DisplayName("Test readParametersWireFormat reads length correctly")
        void testReadParametersWireFormat() throws Exception {
            byte[] buffer = new byte[100];
            int expectedLength = 0x12345678;
    
            // Write length in little-endian format
            SMBUtil.writeInt4(expectedLength, buffer, 0);
    
            int result = response.readParametersWireFormat(buffer, 0, buffer.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/ConverterTest.java

            }
          };
    
      private static final Long LONG_VAL = 12345L;
      private static final String STR_VAL = "12345";
    
      private static final ImmutableList<String> STRINGS = ImmutableList.of("123", "456");
      private static final ImmutableList<Long> LONGS = ImmutableList.of(123L, 456L);
    
      public void testConverter() {
        assertEquals(LONG_VAL, STR_TO_LONG.convert(STR_VAL));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

        }
    
        @Test
        @DisplayName("Test setFileIndex method")
        void testSetFileIndex() {
            request = new Smb2QueryDirectoryRequest(mockConfig);
            int fileIndex = 0x12345678;
    
            request.setFileIndex(fileIndex);
    
            // Verify by writing to buffer and checking the fileIndex position
            byte[] buffer = new byte[1024];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            // Write test data to buffer
            int fileAttributes = 0x0021; // FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_ARCHIVE
            long lastWriteTime = System.currentTimeMillis();
            int fileSize = 12345678;
    
            SMBUtil.writeInt2(fileAttributes, buffer, bufferIndex);
            SMBUtil.writeUTime(lastWriteTime, buffer, bufferIndex + 2);
            SMBUtil.writeInt4(fileSize, buffer, bufferIndex + 6);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            // Name bytes at 0x10
            byte[] name = new byte[] { 'T', 'E', 'S', 'T' };
            System.arraycopy(name, 0, ctx, 0x10, name.length);
            // Data bytes at 0x20
            byte[] data = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 };
            System.arraycopy(data, 0, ctx, 0x20, data.length);
    
            // Update base to point to the context area
            int offsetFieldPos = base.length - 8; // position of CreateContextsOffset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            when(response.getDigest()).thenReturn(digest);
            response.setDigest(digest);
            assertEquals(digest, response.getDigest());
    
            // Test mid methods
            long mid = 123456L;
            doNothing().when(response).setMid(mid);
            when(response.getMid()).thenReturn(mid);
            response.setMid(mid);
            assertEquals(mid, response.getMid());
    
            // Test command methods
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/IteratorsTest.java

            IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
          protected Iterator<List<Integer>> newTargetIterator() {
            Iterator<Integer> source = Iterators.forArray(1, 2, 3, 4, 5, 6, 7);
            return Iterators.partition(source, 3);
          }
        }.test();
      }
    
      public void testPartition_view() {
        List<Integer> list = asList(1, 2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
Back to top