Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 78 for 34 (0.02 seconds)

  1. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            byte[] buf = new byte[128];
            int n = block.writeAndXWireFormat(buf, 0);
    
            assertTrue(n > 0);
            // Common AndX header: command at +1, reserved at +2, offset at +3/+4
            assertEquals((byte) 0xFF, buf[1], "AndX command should be 0xFF when no chaining");
            assertEquals((byte) 0x00, buf[2], "Reserved byte must be 0");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            protected int readBytesWireFormat(byte[] src, int srcIndex) {
                return 0;
            }
    
            @Override
            protected int readParameterWordsWireFormat(byte[] src, int srcIndex) {
                return 34; // Return proper word count for extended response
            }
        }
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.isUseBatching()).thenReturn(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            assertNotNull(response);
            assertEquals(DialectVersion.SMB1, response.getSelectedDialect());
        }
    
        @Test
        public void testReadParameterWordsWireFormat() {
            byte[] buffer = new byte[34];
            int bufferIndex = 0;
    
            // dialectIndex
            buffer[bufferIndex++] = 5;
            buffer[bufferIndex++] = 0;
            // securityMode
            buffer[bufferIndex++] = 0x03;
            // maxMpxCount
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/dfs/ReferralTest.java

            // Prepare test data with zero offsets
            ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
            bb.putShort((short) 3); // version
            bb.putShort((short) 34); // size
            bb.putShort((short) 1); // serverType
            bb.putShort((short) 0); // rflags
            bb.putShort((short) 5); // proximity
            bb.putShort((short) 300); // ttl
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 22K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/net/InetAddressesTest.java

                "1180::42",
                "1180::3dd0:7f8e:57b7:34d5",
                "1180::71a3:2b00:ddd3:753f",
                "1180::8b2:d61e:e5c:b333",
                "1180::b059:65f4:e877:c40",
                "fe80::34",
                "fec0::34");
        boolean processedNamedInterface = false;
        for (String ipString : ipStrings) {
          for (String scopeId : getMachineScopesAndInterfaces()) {
            String withScopeId = ipString + "%" + scopeId;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/netbios/NameTest.java

            int length = name.readWireFormat(src, 0);
    
            assertEquals("TEST", name.name);
            assertEquals(0x20, name.hexCode);
            assertNull(name.scope);
            assertEquals(34, length);
        }
    
        @Test
        void readWireFormat_withScope_shouldDecodeCorrectly() {
            byte[] src = new byte[100];
    
            // Encode name part (simplified)
            for (int i = 0; i < 33; i++) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            // Second name entry (18 bytes)
            String name2 = "DOMAIN          ";
            System.arraycopy(name2.getBytes("US-ASCII"), 0, src, srcIndex + 19, 16);
            src[srcIndex + 34] = 0x00; // hex code
            src[srcIndex + 35] = (byte) 0x84; // flags: group, active
    
            // Third name entry (18 bytes) - matching queryAddress
            String name3 = "TEST            ";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                bb.putShort((short) 0); // tflags high bytes (skipped)
    
                // Referral v3 structure
                bb.putShort((short) 3); // version
                bb.putShort((short) 34); // size
                bb.putShort((short) 1); // serverType
                bb.putShort((short) 2); // rflags
                bb.putShort((short) 10); // proximity
                bb.putShort((short) 300); // ttl
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            request.writeBytesWireFormat(buffer, 0);
    
            // Read share access from buffer (offset 32-35)
            int readShareAccess = (buffer[32] & 0xFF) | ((buffer[33] & 0xFF) << 8) | ((buffer[34] & 0xFF) << 16) | ((buffer[35] & 0xFF) << 24);
            assertEquals(shareAccess, readShareAccess);
        }
    
        @Test
        @DisplayName("Test create disposition setter")
        void testSetCreateDisposition() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  10. .github/workflows/build.yml

          - name: Run Tests
            uses: reactivecircus/android-emulator-runner@v2
            with:
              api-level: ${{ matrix.api-level }}
              arch: ${{ matrix.api-level == '34' && 'x86_64' || 'x86' }}
              script: ./gradlew -PandroidBuild=true connectedCheck
            env:
              API_LEVEL: ${{ matrix.api-level }}
    
          - name: Build Release App
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 16:19:02 GMT 2026
    - 11.6K bytes
    - Click Count (0)
Back to Top