Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for enc_ndr_hyper (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

            // Configure the mock NdrBuffer to return a specific value when dec_ndr_hyper is called
            when(mockNdrBuffer.dec_ndr_hyper()).thenReturn(decodedValue);
    
            // Call the decode method with the mocked NdrBuffer
            ndrHyper.decode(mockNdrBuffer);
    
            // Verify that dec_ndr_hyper was called exactly once
            verify(mockNdrBuffer, times(1)).dec_ndr_hyper();
            verifyNoMoreInteractions(mockNdrBuffer);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

         */
        @Test
        @DisplayName("Encode should call NdrBuffer.enc_ndr_hyper with correct value")
        public void testEncodeInteraction() throws NdrException {
            NdrBuffer buf = mock(NdrBuffer.class);
            NdrHyper hyper = new NdrHyper(12345L);
            hyper.encode(buf);
            verify(buf, times(1)).enc_ndr_hyper(12345L);
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/dcerpc/ndr/NdrHyper.java

            this.value = value;
        }
    
        @Override
        public void encode(final NdrBuffer dst) throws NdrException {
            dst.enc_ndr_hyper(value);
        }
    
        @Override
        public void decode(final NdrBuffer src) throws NdrException {
            value = src.dec_ndr_hyper();
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/dcerpc/ndr/NdrHyper.java

            this.value = value;
        }
    
        @Override
        public void encode(final NdrBuffer dst) throws NdrException {
            dst.enc_ndr_hyper(this.value);
        }
    
        @Override
        public void decode(final NdrBuffer src) throws NdrException {
            this.value = src.dec_ndr_hyper();
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top