Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 554 for minimal (0.04 seconds)

  1. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

        }
    
        @Test
        @DisplayName("Test decode returns correct bytes consumed")
        void testDecodeBytesConsumed() throws SMBProtocolDecodingException {
            // Prepare minimal buffer
            byte[] buffer = new byte[24];
    
            // Test with offset 0
            int bytesDecoded = response.decode(buffer, 0, 24);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/NbtAddressTest.java

        @BeforeEach
        void setUp() {
            // Setup will be done per test as needed
        }
    
        @Test
        void testConstructorWithMinimalParameters() throws UnknownHostException {
            // Test the constructor with minimal parameters
            mockName = new Name(mockConfig, "TESTHOST", 0x20, null);
            NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
    
            assertNotNull(nbtAddress);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/spnego/NegTokenInitTest.java

            assertTrue(parsed.getContextFlag(NegTokenInit.INTEGRITY));
            assertFalse(parsed.getContextFlag(NegTokenInit.CONFIDENTIALITY));
        }
    
        @Test
        @DisplayName("Minimal token: no fields present")
        void testMinimalTokenRoundTrip() throws Exception {
            NegTokenInit init = new NegTokenInit(); // no fields
            byte[] bytes = init.toByteArray();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelBuildingRequest {
    
        /**
         * Denotes minimal validation of POMs. This validation level is meant for processing of POMs from repositories
         * during metadata retrieval.
         */
        int VALIDATION_LEVEL_MINIMAL = 0;
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

        }
        return builder.buildOrThrow();
      }
    
      // The bulk of the toImmutableTable tests can be found in TableCollectorsTest.
      // This gives minimal coverage to the forwarding functions
      public void testToImmutableTableSanityTest() {
        Collector<Cell<String, String, Integer>, ?, ImmutableTable<String, String, Integer>> collector =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SIDTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.SidResolver;
    import jcifs.dcerpc.rpc;
    
    class SIDTest {
    
        // Helper to build a minimal sid_t
        private static rpc.sid_t buildSidT(byte revision, byte[] identAuth, int... subs) {
            rpc.sid_t s = new rpc.sid_t();
            s.revision = revision;
            s.sub_authority_count = (byte) subs.length;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            assertEquals(TEST_BATCH_COUNT, SMBUtil.readInt2(buffer, 2));
            assertEquals(TEST_RESUME_KEY, SMBUtil.readInt4(buffer, 6));
    
            // Empty filename should result in minimal bytes written
            assertTrue(written >= 12); // At least the fixed parameters
        }
    
        @Test
        void testInformationLevelConstant() {
            // Verify the information level is set correctly
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

        @Test
        void readWireFormat_shouldDelegateToParent() {
            // Arrange
            nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName);
            byte[] src = new byte[200];
            // Setup minimal valid header
            src[0] = 0x00;
            src[1] = 0x01; // Transaction ID
            src[2] = 0x00; // Flags
            src[3] = 0x00; // Flags
            src[4] = 0x00;
            src[5] = 0x01; // Question count
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/util/QueryResponseList.java

        /** The time taken to execute the search query in milliseconds. */
        protected long queryTime;
    
        /**
         * Constructor for testing purposes.
         * Creates a QueryResponseList with minimal pagination information.
         *
         * @param documentList the list of documents to wrap
         * @param start the starting position of the current page
         * @param pageSize the number of records per page
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

        @Test
        @DisplayName("Test writeParameterWordsWireFormat returns correct byte count")
        void testWriteParameterWordsWireFormatReturnValue() {
            byte[] dst = new byte[256];
    
            // Set up minimal transaction
            transaction.setSetupCount(0);
    
            // Execute for primary transaction
            int primaryBytes = transaction.writeParameterWordsWireFormat(dst, 0);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
Back to Top