Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getPointer (0.63 sec)

  1. src/main/java/jcifs/pac/PacUnicodeString.java

        public short getMaxLength() {
            return this.maxLength;
        }
    
        /**
         * Gets the pointer/offset to the string data.
         *
         * @return the pointer to the string data
         */
        public int getPointer() {
            return this.pointer;
        }
    
        /**
         * Validates the provided string against this structure's metadata.
         * Checks that the string length matches the expected length and that
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacUnicodeStringTest.java

            assertEquals(maxLength, pacString.getMaxLength(), "The maxLength should match the value provided in the constructor.");
            assertEquals(pointer, pacString.getPointer(), "The pointer should match the value provided in the constructor.");
        }
    
        /**
         * Tests the {@link PacUnicodeString#check(String)} method with a valid string.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            PacUnicodeString str = pdis.readUnicodeString();
            assertEquals(4, str.getLength());
            assertEquals(4, str.getMaxLength());
            assertEquals(0x1234, str.getPointer());
        }
    
        @Test
        public void testReadUnicodeStringMalformed() throws IOException {
            // length > maxLength
            byte[] data = new byte[] { 0x08, 0x00, 0x04, 0x00, 0x34, 0x12, 0x00, 0x00 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java

            @Override
            public int problemsReportedFor(BuilderProblem.Severity... severity) {
                int result = 0;
                for (BuilderProblem.Severity s : severity) {
                    result += getCounter(s).intValue();
                }
                return result;
            }
    
            @Override
            public boolean problemsOverflow() {
                return totalCount.get() > maxCountLimit;
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 18 17:30:19 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top