Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for getLength (0.05 sec)

  1. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            ndrBuffer.advance(10);
            assertEquals(10, ndrBuffer.getLength());
    
            ndrBuffer.setLength(20);
            assertEquals(20, ndrBuffer.getLength());
    
            // Test with derived buffer
            NdrBuffer derived = ndrBuffer.derive(0);
            derived.setLength(5);
            assertEquals(5, derived.getLength());
            assertEquals(5, ndrBuffer.getLength()); // Should affect original's deferred length
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.java

        public long getAddress() {
            return transform.getOffset();
        }
    
        /**
         * Get length of memory region
         *
         * @return length in bytes
         */
        public int getLength() {
            return transform.getLength();
        }
    
        /**
         * Get the underlying RDMA transform structure
         *
         * @return RDMA transform
         */
        public Smb2RdmaTransform getTransform() {
            return transform;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. cmd/httprange.go

    type HTTPRangeSpec struct {
    	// Does the range spec refer to a suffix of the object?
    	IsSuffixLength bool
    
    	// Start and end offset specified in range spec
    	Start, End int64
    }
    
    // GetLength - get length of range
    func (h *HTTPRangeSpec) GetLength(resourceSize int64) (rangeLength int64, err error) {
    	switch {
    	case resourceSize < 0:
    		return 0, errors.New("Resource size cannot be negative")
    
    	case h == nil:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ModelBuilderSupport.java

        protected List<Element> children(Element element, String childName) {
            List<Element> matches = new ArrayList<Element>();
            NodeList childNodes = element.getChildNodes();
            for (int i = 0; i < childNodes.getLength(); i++) {
                Node node = childNodes.item(i);
                if (node instanceof Element) {
                    Element childElement = (Element) node;
                    if (childElement.getTagName().equals(childName)) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            @Test
            @DisplayName("Should get length")
            void testGetLength() {
                assertEquals(0, testMessage.getLength());
                byte[] buffer = new byte[1024];
                testMessage.setBytesWritten(20);
                testMessage.encode(buffer, 0);
                assertTrue(testMessage.getLength() > 0);
            }
    
            @Test
            @DisplayName("Should get status")
            void testGetStatus() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomAttributePointer.java

        @Override
        public Object getBaseValue() {
            return attrib;
        }
    
        @Override
        public Object getImmediateNode() {
            return attrib;
        }
    
        @Override
        public int getLength() {
            return 1;
        }
    
        @Override
        public QName getName() {
            return new QName(null, attrib.getKey());
        }
    
        @Override
        public boolean isActual() {
            return true;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

             */
            public int getLength() {
                return length;
            }
    
            /**
             * Sets the total length of the notification response.
             *
             * @param length the length in bytes of the entire notification response
             */
            public void setLength(int length) {
                this.length = length;
            }
    
            /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

         * Returns the length of data in the buffer.
         *
         * @return the data length
         */
        public int getLength() {
            return this.deferred.length;
        }
    
        /**
         * Sets the length of data in the buffer.
         *
         * @param length the new data length
         */
        public void setLength(final int length) {
            this.deferred.length = length;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/xml/DomUtil.java

        public static void appendChildren(final NodeList children, final StringBuilder buf) {
            assertArgumentNotNull("children", children);
            assertArgumentNotNull("buf", buf);
    
            final int length = children.getLength();
            for (int i = 0; i < length; ++i) {
                appendNode(children.item(i), buf);
            }
        }
    
        /**
         * Appends the string representation of a {@link NamedNodeMap}.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

         * Returns the length of data in the buffer.
         *
         * @return the data length
         */
        public int getLength() {
            return deferred.length;
        }
    
        /**
         * Sets the length of data in the buffer.
         *
         * @param length the new data length
         */
        public void setLength(final int length) {
            deferred.length = length;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top