Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 202 for Pointer (0.04 sec)

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

         * @param maxLength the maximum allocated length for the string in bytes
         * @param pointer the pointer/offset to the string data
         */
        public PacUnicodeString(final short length, final short maxLength, final int pointer) {
            this.length = length;
            this.maxLength = maxLength;
            this.pointer = pointer;
        }
    
        /**
         * Gets the actual length of the string in bytes.
         *
         * @return the string length
    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. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

             *
             * @return the link kind
             */
            Kind kind();
    
            /**
             * Returns the pointer to the target phase.
             *
             * @return the phase pointer
             */
            Pointer pointer();
        }
    
        interface Pointer {
            enum Type {
                PROJECT,
                DEPENDENCIES,
                CHILDREN
            }
    
            /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

       */
    
      /**
       * Contains the link pointers corresponding with the entries, in the range of [0, size()). The
       * high 32 bits of each long is the "prev" pointer, whereas the low 32 bits is the "succ" pointer
       * (pointing to the nextEntry entry in the linked list). The pointers in [size(), entries.length)
       * are all "null" (UNSET).
       *
       * <p>A node with "prev" pointer equal to {@code ENDPOINT} is the first node in the linked list,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

            }
    
            // NetName (wide string pointer)
            encodeWideStringPointer(buf, netName);
    
            // ShareName (wide string pointer, optional)
            encodeWideStringPointer(buf, shareName);
    
            // IpAddress (wide string pointer, optional)
            encodeWideStringPointer(buf, ipAddress);
    
            // ClientComputerName (wide string pointer)
            encodeWideStringPointer(buf, clientComputerName);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/PacUnicodeStringTest.java

        @Test
        void testConstructorAndGetters() {
            // Create a new instance with some test data
            short length = 10;
            short maxLength = 20;
            int pointer = 100;
            PacUnicodeString pacString = new PacUnicodeString(length, maxLength, pointer);
    
            // Verify that the object was created
            assertNotNull(pacString, "The PacUnicodeString object should not be null.");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

            when(mockNdrBuffer.dec_ndr_long()).thenReturn(0); // null pointer
    
            shareInfo0.decode(mockNdrBuffer);
    
            assertNull(shareInfo0.netname);
            verify(mockNdrBuffer).align(4);
            verify(mockNdrBuffer).dec_ndr_long();
            // Should not decode string if pointer is null
            verify(mockDeferredBuffer, never()).dec_ndr_string();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                assertEquals(6, entry.name.maximum_length);
            }
    
            @Test
            @DisplayName("Should decode entry with null buffer pointer")
            void testDecodeNullBufferPointer() throws NdrException {
                // Given: Mocked buffer data with null pointer
                samr.SamrSamEntry entry = new samr.SamrSamEntry();
                when(mockNdrBuffer.dec_ndr_long()).thenReturn(1, 0); // idx, _name_bufferp = 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacLogonInfoTest.java

        }
    
        @Test
        @DisplayName("Test PacUnicodeString check method with null pointer")
        void testPacUnicodeStringCheckWithNullPointer() throws Exception {
            // When pointer is 0, the string should be null
            PacUnicodeString unicodeString = new PacUnicodeString((short) 0, (short) 0, 0);
    
            // check() expects null when pointer is 0 but doesn't accept empty string
            assertThrows(PACDecodingException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

      /**
       * Pointer to the predecessor of an entry in insertion order. ENDPOINT indicates a node is the
       * first node in insertion order; all values at indices ≥ {@link #size()} are UNSET.
       */
      private transient int @Nullable [] predecessor;
    
      /**
       * Pointer to the successor of an entry in insertion order. ENDPOINT indicates a node is the last
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java

            NdrBuffer dstOut = new NdrBuffer(encodeBufferOut, 0);
    
            // Simulate info pointer (non-null)
            dstOut.enc_ndr_long(1); // Non-null pointer for info
            info.encode(dstOut); // Encode the info structure
    
            // Simulate totalentries pointer (non-null)
            dstOut.enc_ndr_long(1); // Non-null pointer for totalentries
            totalentries.encode(dstOut); // Encode the totalentries
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.9K bytes
    - Viewed (0)
Back to top