Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 94 for 0x0003 (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            // Credit charge
            SMBUtil.writeInt2(1, buffer, headerStart + 6);
            // Status
            SMBUtil.writeInt4(0, buffer, headerStart + 8);
            // Command (READ = 0x0008)
            SMBUtil.writeInt2(0x0008, buffer, headerStart + 12);
            // Credit request/response
            SMBUtil.writeInt2(1, buffer, headerStart + 14);
            // Flags
            SMBUtil.writeInt4(0, buffer, headerStart + 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/Utf8Test.java

        }
      }
    
      // 128 - [chars 0x0000 to 0x007f]
      private static final long ONE_BYTE_ROUNDTRIPPABLE_CHARACTERS = 0x007f - 0x0000 + 1;
    
      // 128
      private static final long EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT =
          ONE_BYTE_ROUNDTRIPPABLE_CHARACTERS;
    
      // 1920 [chars 0x0080 to 0x07FF]
      private static final long TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS = 0x07FF - 0x0080 + 1;
    
      // 18,304
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. cmd/erasure-decode_test.go

    	b.Run(" 0000|0000 ", func(b *testing.B) { benchmarkErasureDecode(4, 4, 0, 0, size, b) })
    	b.Run(" 0000|X000 ", func(b *testing.B) { benchmarkErasureDecode(4, 4, 0, 1, size, b) })
    	b.Run(" X000|0000 ", func(b *testing.B) { benchmarkErasureDecode(4, 4, 1, 0, size, b) })
    	b.Run(" X000|X000 ", func(b *testing.B) { benchmarkErasureDecode(4, 4, 1, 1, size, b) })
    	b.Run(" 0000|XXXX ", func(b *testing.B) { benchmarkErasureDecode(4, 4, 0, 4, size, b) })
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

            SMBUtil.writeInt2(getSubCommand() & 0xFF, dst, dstIndex);
            dstIndex += 2;
            System.arraycopy(descr, 0, dst, dstIndex, descr.length);
            dstIndex += descr.length;
            SMBUtil.writeInt2(0x0001, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.maxDataCount, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.serverTypes, dst, dstIndex);
            dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

        static final byte TRANS2_QUERY_FS_INFORMATION = (byte) 0x03;
        static final byte TRANS2_QUERY_PATH_INFORMATION = (byte) 0x05;
        static final byte TRANS2_GET_DFS_REFERRAL = (byte) 0x10;
        static final byte TRANS2_SET_FILE_INFORMATION = (byte) 0x08;
    
        static final int NET_SHARE_ENUM = 0x0000;
        static final int NET_SERVER_ENUM2 = 0x0068;
        static final int NET_SERVER_ENUM3 = 0x00D7;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

        void createOptionsAddedWhenLow() {
            // createOptions less than 0x0001 (i.e., 0) should be padded with 0x0040
            SmbComNTCreateAndX req = createRequest(0, 0);
            int actual = (int) getPrivateField(req, "createOptions");
            assertEquals(0x0040, actual, "createOptions should be padded with 0x0040");
        }
    
        @Test
        @DisplayName("addFlags0 combines flags correctly")
        void addFlags0() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

        }
    
        @Test
        void testWriteHeaderReadHeader() {
            byte[] buffer = new byte[32];
            smb.command = ServerMessageBlock.SMB_COM_NEGOTIATE;
            smb.flags = (byte) 0x18;
            smb.flags2 = 0x0001;
            smb.tid = 1;
            smb.pid = 2;
            smb.uid = 3;
            smb.mid = 4;
    
            smb.writeHeaderWireFormat(buffer, 0);
    
            TestServerMessageBlock readSmb = new TestServerMessageBlock();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

                createDisposition = FILE_OPEN;
            }
    
            if ((createOptions & 0x0001) == 0) {
                this.createOptions = createOptions | 0x0040;
            } else {
                this.createOptions = createOptions;
            }
            impersonationLevel = 0x02; // As seen on NT :~)
            securityFlags = (byte) 0x03; // SECURITY_CONTEXT_TRACKING | SECURITY_EFFECTIVE_ONLY
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

            }
    
            @Test
            @DisplayName("Should handle ciphers with maximum value")
            void testMaximumCipherValues() throws SMBProtocolDecodingException {
                int[] ciphers = { 0xFFFF, 0x0000, 0x7FFF };
                EncryptionNegotiateContext originalContext = new EncryptionNegotiateContext(mockConfig, ciphers);
    
                int encoded = originalContext.encode(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            int bytesWritten = request.writeBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(4, bytesWritten);
    
            // Expected wire format: [0x04, 0x00, 0x00, 0x00]
            byte[] expected = new byte[] { 0x04, 0x00, 0x00, 0x00 };
            assertArrayEquals(expected, buffer);
        }
    
        @Test
        @DisplayName("Should always return 0 for readBytesWireFormat")
        void testReadBytesWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top