Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 291 for retVal (0.25 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/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java

            int access = 123;
    
            // Mock the behavior of sendrecv for MsrpcLsarOpenPolicy2
            doAnswer(invocation -> {
                MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0);
                rpc.retval = 0; // Simulate success
                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarOpenPolicy2.class));
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java

            this.handle = handle;
            final MsrpcSamrOpenDomain rpc = new MsrpcSamrOpenDomain(policyHandle, access, sid, this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
                throw new SmbException(rpc.retval, false);
            }
            this.opened = true;
        }
    
        @Override
        public synchronized void close() throws IOException {
            if (this.opened) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactStatus.java

            }
            map.put(key, this);
        }
    
        public static ArtifactStatus valueOf(String status) {
            ArtifactStatus retVal = null;
    
            if (status != null) {
                retVal = map.get(status);
            }
    
            return retVal != null ? retVal : NONE;
        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. 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)
Back to top