Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 200 for retVal (0.04 seconds)

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

  1. 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;
            /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 26.3K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                            if (subResult != null) {
                                retVal += subResult;
                            } else {
                                retVal += "$" + expr.substring(index + 1, lastIndex + 1);
                            }
                        }
    
                        retVal += evaluate(expr.substring(lastIndex + 1));
                        return retVal;
                    }
                }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  3. 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")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  4. 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();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14K bytes
    - Click Count (0)
  5. src/main/java/jcifs/dcerpc/msrpc/SamrPolicyHandle.java

            if (this.opened) {
                this.opened = false;
                final samr.SamrCloseHandle rpc = new MsrpcSamrCloseHandle(this);
                this.handle.sendrecv(rpc);
                if (rpc.retval != 0) {
                    throw new SmbException(rpc.retval, false);
                }
            }
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  6. 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.
             *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 44.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

            ArgumentCaptor<MsrpcSamrCloseHandle> closeCaptor = ArgumentCaptor.forClass(MsrpcSamrCloseHandle.class);
            doAnswer(invocation -> {
                MsrpcSamrCloseHandle rpc = invocation.getArgument(0);
                rpc.retval = 0; // Simulate success
                return null;
            }).when(mockHandle).sendrecv(closeCaptor.capture());
    
            SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access);
            handle.close();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java

         */
        public void close() throws IOException {
            final MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
                throw new SmbException(rpc.retval, false);
            }
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java

            // Arrange
            short level = 1;
    
            // Act
            queryPolicy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject);
    
            // Assert
            assertEquals(0, queryPolicy.retval);
        }
    
        @Test
        void constructor_withMinimumShortValue() {
            // Arrange
            short level = Short.MIN_VALUE;
    
            // Act
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java

            totalentries.encode(dstOut); // Encode the totalentries
    
            dstOut.enc_ndr_long(0); // Simulate retval
    
            // Use the encoded data for decoding
            NdrBuffer srcOut = new NdrBuffer(encodeBufferOut, 0);
            decodedEnumEx.decode_out(srcOut);
    
            assertEquals(0, decodedEnumEx.retval);
            assertEquals(info.level, decodedEnumEx.info.level);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.9K bytes
    - Click Count (0)
Back to Top