Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 968 for 2024 (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                byte[] buffer = new byte[1024];
                int result = echoResponse.writeBytesWireFormat(buffer, 0);
                assertEquals(0, result);
            }
    
            @Test
            @DisplayName("Should handle different buffer positions")
            void testWriteBytesWireFormatDifferentPositions() {
                byte[] buffer = new byte[1024];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

            transaction = new TestSmbComTransaction();
            transaction.command = ServerMessageBlock.SMB_COM_TRANSACTION;
            transaction.name = "\\PIPE\\test";
            transaction.txn_buf = new byte[1024];
            transaction.maxBufferSize = 1024;
        }
    
        @Test
        @DisplayName("Test reset() method resets transaction state")
        void testReset() {
            // Modify state
            transaction.nextElement();
    
            // Reset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

        }
    
        @Test
        @DisplayName("Test encode without andx command")
        void testEncodeWithoutAndx() {
            testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25);
            byte[] buffer = new byte[1024];
    
            int length = testBlock.encode(buffer, 0);
    
            assertTrue(length > 0);
            // Just verify that encoding worked without checking specific byte positions
            assertNull(testBlock.getAndx());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. ci/devinfra/docker/windows/Dockerfile

    # NOTE: This Dockerfile is no longer in use.
    # It is kept just in case, but it's recommended to use the 2022 version,
    # and that is what internal CI uses as well.
    
    # This Dockerfile creates an image that has:
    # - the correct MTU setting for networking from inside the container to work.
    # - Visual Studio 2022 Build Tools
    # - MSVC 14.39
    # - LLVM/Clang 18.1.4
    # - MSYS2 + curl, git, patch, vim, unzip, zip
    # - Python 3.12.3
    # - Bazelisk 1.19.0
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Jan 17 16:35:57 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

        @Test
        @DisplayName("Test writeBytesWireFormat returns 0")
        void testWriteBytesWireFormat() {
            response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2);
            byte[] dst = new byte[1024];
            int dstIndex = 0;
    
            int result = response.writeBytesWireFormat(dst, dstIndex);
    
            assertEquals(0, result);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

        private static final int TEST_CONTROL_CODE = Smb2IoctlRequest.FSCTL_DFS_GET_REFERRALS;
        private static final byte[] TEST_FILE_ID = new byte[16];
        private static final byte[] TEST_OUTPUT_BUFFER = new byte[1024];
    
        @BeforeEach
        void setUp() {
            Arrays.fill(TEST_FILE_ID, (byte) 0x42);
        }
    
        private void setupMockConfig() {
            when(mockConfig.getTransactionBufferSize()).thenReturn(65536);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. LICENSES/vendor/github.com/google/cadvisor/LICENSE

    = vendor/github.com/google/cadvisor licensed under: =
    
       Copyright 2014 The cAdvisor Authors
    
       Licensed under the Apache License, Version 2.0 (the "License");
       you may not use this file except in compliance with the License.
       You may obtain a copy of the License at
    
           http://www.apache.org/licenses/LICENSE-2.0
    
       Unless required by applicable law or agreed to in writing, software
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Fri May 08 04:49:00 UTC 2020
    - 10.6K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/RelayTest.kt

        val relay = edit(file, upstream, metadata, 1024)
        val source = relay.newSource()
        val sourceBuffer = Buffer()
        assertThat(source!!.read(sourceBuffer, 5)).isEqualTo(5)
        assertThat(sourceBuffer.readUtf8()).isEqualTo("abcde")
        assertThat(source.read(sourceBuffer, 1024)).isEqualTo(8)
        assertThat(sourceBuffer.readUtf8()).isEqualTo("fghijklm")
        assertThat(source.read(sourceBuffer, 1024)).isEqualTo(-1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java

            response.dataLength = 1024;
            response.dataOffset = 54;
    
            String result = response.toString();
    
            // Verify that toString includes the key fields
            assertNotNull(result);
            assertTrue(result.contains("SmbComReadAndXResponse"));
            assertTrue(result.contains("dataCompactionMode=1"));
            assertTrue(result.contains("dataLength=1024"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                byte[] buffer = new byte[1024];
                int result = response.writeBytesWireFormat(buffer, 0);
                assertEquals(0, result);
            }
    
            @Test
            @DisplayName("Should return 0 regardless of buffer position")
            void testWriteBytesWireFormatDifferentPosition() {
                byte[] buffer = new byte[1024];
                int result = response.writeBytesWireFormat(buffer, 100);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top