Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 438 for smaller (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

        }
    
        @Test
        void testReadDataWireFormat_BufferTooSmall() throws Exception {
            // Test with buffer too small for complete data
            response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            byte[] buffer = new byte[10]; // Too small for SmbInfoAllocation
    
            // Set dataCount
            setDataCount(response, 10);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsKeyMatchCA.java

    import org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.range.RangeAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.sampler.SamplerAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 61.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test writeParametersWireFormat with small buffer throws ArrayIndexOutOfBoundsException")
        void testWriteParametersWireFormatSmallBuffer() {
            netShareEnum = new NetShareEnum(realConfig);
    
            // Buffer too small for the full parameters (need at least 19 bytes)
            byte[] dst = new byte[10];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

            // Reserved (2 bytes, LE) == 0
            assertEquals(0, SMBUtil.readInt2(buf, offset + 2));
        }
    
        @Test
        @DisplayName("writeBytesWireFormat throws when buffer too small")
        void writeBytesWireFormat_throwsIfInsufficientSpace() {
            // Arrange
            Smb2LogoffRequest req = newRequest();
            byte[] tiny = new byte[3]; // less than 4 bytes available
    
            // Act/Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NtStatus.java

        int NT_STATUS_MORE_PROCESSING_REQUIRED = 0xC0000016;
        /** Access is denied */
        int NT_STATUS_ACCESS_DENIED = 0xC0000022;
        /** The data area passed to a system call is too small */
        int NT_STATUS_BUFFER_TOO_SMALL = 0xC0000023;
        /** The object name is invalid */
        int NT_STATUS_OBJECT_NAME_INVALID = 0xC0000033;
        /** The object was not found */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsRelatedQueryCA.java

    import org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.range.RangeAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.sampler.SamplerAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 46.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsRequestHeaderCA.java

    import org.opensearch.search.aggregations.bucket.range.IpRangeAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.range.RangeAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.sampler.SamplerAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder;
    import org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 46.7K bytes
    - Viewed (0)
  8. cmd/object-handlers_test.go

    	// downloading is done. Data bytes are from DummyDataGen.
    	objectInputs := []ObjectInput{
    		// // cases 0-3: small single part objects
    		{"nothing", []int64{0}, make(map[string]string)},
    		{"small-0", []int64{11}, make(map[string]string)},
    		{"small-1", []int64{509}, make(map[string]string)},
    		{"small-2", []int64{5 * oneMiB}, make(map[string]string)},
    		// // // cases 4-7: multipart part objects
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

    import org.mockito.junit.jupiter.MockitoSettings;
    import org.mockito.quality.Strictness;
    
    import jcifs.Configuration;
    
    /**
     * Unit tests for {@link SmbComQueryInformation}.  The class is very small and
     * mainly focuses on serialising a command header that contains a file name.
     * <p>
     * Because most of the logic lives in {@link jcifs.internal.smb1.ServerMessageBlock}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            byte[] buffer = new byte[32];
            // Mock data for FsFullSizeInformation
            writeInt8(3000, buffer, 0); // total allocation units
            writeInt8(1500, buffer, 8); // caller available allocation units
            writeInt8(1500, buffer, 16); // actual free units (skipped)
            writeInt4(4, buffer, 24); // sectors per allocation unit
            writeInt4(8192, buffer, 28); // bytes per sector
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top