Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 136 for retVal (0.08 sec)

  1. src/main/java/jcifs/dcerpc/msrpc/samr.java

            @Override
            public int getOpnum() {
                return 0x01;
            }
    
            /** The return value of the operation */
            public int retval;
            /** The handle to be closed */
            public rpc.policy_handle handle;
    
            /**
             * Constructs a SamrCloseHandle request.
             *
             * @param handle The policy handle to close
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

            @Override
            public int getOpnum() {
                return 0x01;
            }
    
            /** The return value of the operation */
            public int retval;
            /** The handle to be closed */
            public rpc.policy_handle handle;
    
            /**
             * Constructs a SamrCloseHandle request.
             *
             * @param handle The policy handle to close
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

            @Override
            public int getOpnum() {
                return 0x0f;
            }
    
            /**
             * The return value of the operation.
             */
            public int retval;
            /**
             * The name of the server.
             */
            public String servername;
            /**
             * The information level to return.
             */
            public int level;
            /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 27K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

            @Override
            public int getOpnum() {
                return 0x0f;
            }
    
            /**
             * The return value of the operation.
             */
            public int retval;
            /**
             * The name of the server.
             */
            public String servername;
            /**
             * The information level to return.
             */
            public int level;
            /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                // When: Decoding output
                message.decode_out(mockNdrBuffer);
    
                // Then: Should decode return value
                verify(mockNdrBuffer).dec_ndr_long();
                assertEquals(0, message.retval);
            }
        }
    
        @Nested
        @DisplayName("SamrConnect2 Tests")
        class SamrConnect2Tests {
    
            @Test
            @DisplayName("Should construct with correct parameters and opnum")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SIDCacheImplTest.java

            jcifs.SID[] sids = new jcifs.SID[] { sid("S-1-1-0") };
    
            // Arrange a minimal response with given retval
            doAnswer(inv -> {
                jcifs.dcerpc.msrpc.MsrpcLookupSids rpc = inv.getArgument(0);
                rpc.retval = ret;
                // Provide empty arrays to satisfy code paths
                rpc.names = new lsarpc.LsarTransNameArray();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

            @Override
            public int getOpnum() {
                return 0x00;
            }
    
            /** Return value from the RPC call. */
            public int retval;
            /** Policy handle to be closed. */
            public rpc.policy_handle handle;
    
            /**
             * Creates a new LsarClose message.
             *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SIDCacheImpl.java

            final MsrpcLookupSids rpc = new MsrpcLookupSids(policyHandle, sids);
            handle.sendrecv(rpc);
            switch (rpc.retval) {
            case 0:
            case NtStatus.NT_STATUS_NONE_MAPPED:
            case 0x00000107: // NT_STATUS_SOME_NOT_MAPPED
                break;
            default:
                throw new SmbException(rpc.retval, false);
            }
    
            for (int si = 0; si < sids.length; si++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

                // When: Decoding output
                message.decode_out(mockNdrBuffer);
    
                // Then: Should decode return value
                verify(mockNdrBuffer).dec_ndr_long();
                assertEquals(0, message.retval);
            }
        }
    
        @Nested
        @DisplayName("SamrConnect2 Tests")
        class SamrConnect2Tests {
    
            @Test
            @DisplayName("Should construct with correct parameters and opnum")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                final MsrpcDfsRootEnum rpc = new MsrpcDfsRootEnum(loc.getServer());
                handle.sendrecv(rpc);
                if (rpc.retval != 0) {
                    throw new SmbException(rpc.retval, true);
                }
                return rpc.getEntries();
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top