Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 251 for 0x200 (0.99 sec)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertArrayEquals(maxFileId, copiedFileId);
    
            // Test with file ID having minimum byte values
            byte[] minFileId = new byte[16];
            Arrays.fill(minFileId, (byte) 0x00);
            Smb2CloseRequest minRequest = new Smb2CloseRequest(mockConfig, minFileId, testFileName);
    
            written = minRequest.writeBytesWireFormat(buffer, 0);
    
            assertEquals(24, written);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            assertNull(serverData.encryptionKey);
            assertNull(serverData.guid);
        }
    
        /**
         * Test setting and getting byte field (sflags)
         */
        @ParameterizedTest
        @ValueSource(bytes = { 0x00, 0x01, 0x7F, (byte) 0x80, (byte) 0xFF })
        @DisplayName("Test sflags field with various byte values")
        public void testSflagsField(byte value) {
            // When
            serverData.sflags = value;
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

     */
    @ExtendWith(MockitoExtension.class)
    class SocketInputStreamTest {
    
        /**
         * Creates a NetBIOS session message header.
         * The header format is:
         * - Byte 0: Message type (0x00 for SESSION_MESSAGE)
         * - Byte 1: High bit of 17-bit length field
         * - Bytes 2-3: Lower 16 bits of length field
         */
        private static byte[] messageHeader(int length) {
            byte[] h = new byte[4];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/Type3Message.java

                    final byte[] clientChallenge = new byte[24];
                    tc.getConfig().getRandom().nextBytes(clientChallenge);
                    java.util.Arrays.fill(clientChallenge, 8, 24, (byte) 0x00);
    
                    final byte[] ntlm2Response = NtlmUtil.getNTLM2Response(passwordHash, type2.getChallenge(), clientChallenge);
    
                    setLMResponse(clientChallenge);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/Encdec.java

                    }
                    uni[ui] |= (ch & 0x3F) << 6;
                    ch = src[si++] & 0xFF;
                    uni[ui] |= ch & 0x3F;
                    if ((ch & 0xC0) != 0x80 || uni[ui] < 0x800) {
                        throw new IOException("Invalid UTF-8 sequence");
                    }
                } else {
                    throw new IOException("Unsupported UTF-8 sequence");
                }
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/Encdec.java

                    }
                    uni[ui] |= (ch & 0x3F) << 6;
                    ch = src[si++] & 0xFF;
                    uni[ui] |= ch & 0x3F;
                    if ((ch & 0xC0) != 0x80 || uni[ui] < 0x800) {
                        throw new IOException("Invalid UTF-8 sequence");
                    }
                } else {
                    throw new IOException("Unsupported UTF-8 sequence");
                }
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  7. docs/smb3-features/01-smb3-lease-design.md

    ## 3. Lease Types and States
    
    ### 3.1 Lease State Flags
    ```java
    public class Smb2LeaseState {
        // Lease state flags (can be combined)
        public static final int SMB2_LEASE_NONE           = 0x00;
        public static final int SMB2_LEASE_READ_CACHING   = 0x01;  // R - Read caching
        public static final int SMB2_LEASE_HANDLE_CACHING = 0x02;  // H - Handle caching  
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

            void testMaximumHashAlgoValues() throws SMBProtocolDecodingException {
                int[] hashAlgos = { 0xFFFF, 0x0000, 0x7FFF };
                byte[] salt = { (byte) 0xFF, 0x00, 0x7F };
                PreauthIntegrityNegotiateContext originalContext = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt);
    
                int encoded = originalContext.encode(buffer, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  9. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

        <magic priority="60">
          <match value="PE\000\000" type="string" offset="128">
             <match value="0x0200" type="little16" offset="132"/>
          </match>
          <match value="PE\000\000" type="string" offset="240">
             <match value="0x0200" type="little16" offset="244"/>
          </match>
        </magic>
      </mime-type>
      <mime-type type="application/x-msdownload;format=pe-armLE">
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Oct 16 07:46:32 UTC 2025
    - 320.2K bytes
    - Viewed (2)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

        }
    
        /**
         * LSA close handle message.
         */
        public static class LsarClose extends DcerpcMessage {
    
            @Override
            public int getOpnum() {
                return 0x00;
            }
    
            /** Return value from the RPC call. */
            public int retval;
            /** Policy handle to be closed. */
            public rpc.policy_handle handle;
    
            /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
Back to top