Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 190 for pointers (0.17 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        queue.addListener(listener, directExecutor());
    
        Multiset<Object> counters = ConcurrentHashMultiset.create();
        queue.enqueue(incrementingEvent(counters, listener, 1));
        queue.enqueue(incrementingEvent(counters, listener, 2));
        queue.enqueue(incrementingEvent(counters, listener, 3));
        queue.enqueue(incrementingEvent(counters, listener, 4));
        assertEquals(0, counters.size());
        queue.dispatch();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        queue.addListener(listener, directExecutor());
    
        Multiset<Object> counters = ConcurrentHashMultiset.create();
        queue.enqueue(incrementingEvent(counters, listener, 1));
        queue.enqueue(incrementingEvent(counters, listener, 2));
        queue.enqueue(incrementingEvent(counters, listener, 3));
        queue.enqueue(incrementingEvent(counters, listener, 4));
        assertEquals(0, counters.size());
        queue.dispatch();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. src/main/webapp/css/bootstrap.min.css.map

    and Safari.\n// 3. Opinionated: add \"hand\" cursor to non-disabled button elements.\n\nbutton,\n[type=\"button\"], // 1\n[type=\"reset\"],\n[type=\"submit\"] {\n  -webkit-appearance: button; // 2\n\n  @if $enable-button-pointers {\n    &:not(:disabled) {\n      cursor: pointer; // 3\n    }\n  }\n}\n\n// Remove inner border and padding from Firefox, but don't restore the outline like Normalize.\n\n::-moz-focus-inner {\n  padding: 0;\n  border-style: none;\n}\n\n// 1. Textareas should really only...
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Jan 12 06:14:02 UTC 2025
    - 575.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        /**
         * Returns the current position of the file pointer.
         *
         * @return the current file pointer position
         * @throws SmbException if an I/O error occurs
         */
        public long getFilePointer() throws SmbException {
            return fp;
        }
    
        /**
         * Sets the file pointer to the specified position.
         *
         * @param pos the new file pointer position
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.9K bytes
    - Viewed (0)
Back to top