Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for length_is (0.42 sec)

  1. src/main/java/jcifs/smb1/dcerpc/rpc.idl

    	/*
    	 * typedef struct _UNICODE_STRING
    	 *     USHORT Length;
    	 *     USHORT MaximumLength;
    	 *     [size_is(MaximumLength / 2), length_is((Length) / 2) ] USHORT *  Buffer;
    	 * } UNICODE_STRING;
    	 */
    
    	typedef struct {
    		uint16_t length;
    		uint16_t maximum_length;
    		[length_is(length / 2),size_is(maximum_length / 2)] uint16_t *buffer;
    	} unicode_string;
    
    	/* 
    	 * typedef struct _SID_IDENTIFIER_AUTHORITY {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/rpc.idl

    	/*
    	 * typedef struct _UNICODE_STRING
    	 *     USHORT Length;
    	 *     USHORT MaximumLength;
    	 *     [size_is(MaximumLength / 2), length_is((Length) / 2) ] USHORT *  Buffer;
    	 * } UNICODE_STRING;
    	 */
    
    	typedef struct {
    		uint16_t length;
    		uint16_t maximum_length;
    		[length_is(length / 2),size_is(maximum_length / 2)] uint16_t *buffer;
    	} unicode_string;
    
    	/* 
    	 * typedef struct _SID_IDENTIFIER_AUTHORITY {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java

    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    
    /**
     * Helper class for managing content length limits based on MIME types.
     * It allows setting default and MIME type-specific maximum content lengths.
     * The class provides methods to add, retrieve, and manage these limits.
     */
    public class ContentLengthHelper {
        /**
         * Constructs a new ContentLengthHelper.
         */
        public ContentLengthHelper() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                byte[] data = new byte[size];
                assertDoesNotThrow(() -> request.setData(data, 0, size));
            }
    
            @ParameterizedTest
            @DisplayName("Should handle various offsets and lengths")
            @CsvSource({ "1024, 0, 1024", "1024, 100, 900", "1024, 500, 524", "2048, 1024, 1024", "4096, 2048, 2048", "65536, 32768, 32768" })
            void testVariousOffsetsAndLengths(int dataSize, int offset, int length) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/NetbiosAddressTest.java

            String smbServer = NbtAddress.SMBSERVER_NAME;
    
            assertNotNull(anyHosts);
            assertNotNull(masterBrowser);
            assertNotNull(smbServer);
    
            // Test that they have expected lengths
            assertEquals(16, anyHosts.length());
            assertEquals(15, masterBrowser.length());
            assertEquals(15, smbServer.length());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.java

     */
    package jcifs.internal.smb2.rdma;
    
    /**
     * RDMA channel information for SMB Direct operations.
     *
     * This class encapsulates RDMA channel metadata including remote memory keys,
     * addresses, and lengths for direct memory access operations.
     */
    public class RdmaChannelInfo {
    
        private final Smb2RdmaTransform transform;
    
        /**
         * Create new RDMA channel info
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            if (keyManager == null && (encryptionKey == null || decryptionKey == null)) {
                log.error("No encryption keys available");
                return false;
            }
    
            // Validate key lengths
            try {
                int expectedKeyLength = getKeyLength();
                byte[] encKey = getEncryptionKey();
                byte[] decKey = getDecryptionKey();
    
                try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/NetbiosNameTest.java

            // When
            String scope = mockNetbiosName.getScope();
    
            // Then
            assertNull(scope);
        }
    
        @Test
        @DisplayName("Should handle various name lengths")
        void testVariousNameLengths() {
            // NetBIOS names can be up to 15 characters
            String[] testNames = { "A", "SERVER", "LONGSERVERNAME", "EXACTLY15CHARS1" };
    
            for (String testName : testNames) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

                } else if (longestAllowMatch == null && longestDisallowMatch != null) {
                    // Only Disallow matches
                    return false;
                } else {
                    // Both match - compare lengths
                    final int allowLength = longestAllowMatch.getPriorityLength();
                    final int disallowLength = longestDisallowMatch.getPriorityLength();
    
                    if (allowLength > disallowLength) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

            }
    
            @Test
            @DisplayName("Should align to 8-byte boundary")
            void testPaddingAlignment() {
                // Test various name lengths to ensure proper padding
                for (int nameLen = 1; nameLen <= 32; nameLen++) {
                    byte[] name = new byte[nameLen];
                    Arrays.fill(name, (byte) 'A');
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top