Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 476 for actuel (1.27 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Unit tests for the SmbFile class.
     * This class focuses on testing the logic of SmbFile without actual network communication,
     * using mocks where necessary.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbFileTest {
    
        @Mock
        private NtlmPasswordAuthentication mockAuth;
    
        @BeforeEach
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/MIENameTest.java

                    Arguments.of("name length exceeds remaining", (java.util.function.Supplier<byte[]>) () -> {
                        byte[] buf = buildBuffer(der, nameBytes);
                        // Corrupt NAME_LEN to be larger than actual by +5
                        int i = 2 + 2 + der.length; // index where NAME_LEN starts
                        int fakeLen = nameBytes.length + 5;
                        buf[i] = (byte) ((fakeLen >>> 24) & 0xFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. cmd/object-api-utils.go

    	return true, fmt.Errorf("unknown compression scheme: %s", scheme)
    }
    
    // GetActualSize - returns the actual size of the stored object
    func (o ObjectInfo) GetActualSize() (int64, error) {
    	if o.ActualSize != nil {
    		return *o.ActualSize, nil
    	}
    	if o.IsCompressed() {
    		sizeStr := o.UserDefined[ReservedMetadataPrefix+"actual-size"]
    		if sizeStr != "" {
    			size, err := strconv.ParseInt(sizeStr, 10, 64)
    			if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java

        //                                                                        ============
        /**
         * Verifies that the CRUD mode matches the expected mode.
         *
         * @param crudMode the actual CRUD mode
         * @param expectedMode the expected CRUD mode
         */
        protected void verifyCrudMode(final int crudMode, final int expectedMode) {
            if (crudMode != expectedMode) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java

        //                                                                        ============
        /**
         * Verifies that the CRUD mode matches the expected mode.
         *
         * @param crudMode the actual CRUD mode
         * @param expectedMode the expected CRUD mode
         */
        protected void verifyCrudMode(final int crudMode, final int expectedMode) {
            if (crudMode != expectedMode) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/QueryResponseList.java

     * functionality such as page navigation, record counts, and query execution times.
     */
    public class QueryResponseList implements List<Map<String, Object>> {
    
        /** The underlying list that contains the actual search result documents. */
        protected final List<Map<String, Object>> parent;
    
        /** The starting position of the current page in the overall result set. */
        protected final int start;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                byte[] testBuffer = new byte[20];
                int offset = 5;
                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
                // Add padding before actual data
                bb.position(offset);
                bb.putShort((short) 24); // pathConsumed
                bb.putShort((short) 0); // numReferrals
                bb.putShort((short) 10); // tflags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            SMBUtil.writeInt2(100000, buffer, 58); // This becomes 34464 due to 16-bit truncation
    
            // Since 34464 is within the 16-bit range but could still be considered excessive for security buffer,
            // let's test the actual validation logic instead
            byte[] buffer2 = createBasicNegotiateResponseBuffer();
            // Set maximum 16-bit value
            SMBUtil.writeInt2(65535, buffer2, 58);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

         * pagination metadata and functionality.
         *
         * @param <E> the type of elements in this list
         */
        public static class PagingList<E> implements List<E> {
            /** The underlying list containing the actual data. */
            private final List<E> parent;
    
            /** The total number of pages available. */
            protected int allPageCount;
    
            /** The total number of records across all pages. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java

        //                                                                        ============
        /**
         * Verifies that the provided CRUD mode matches the expected mode.
         *
         * @param crudMode the actual CRUD mode
         * @param expectedMode the expected CRUD mode
         */
        protected void verifyCrudMode(final int crudMode, final int expectedMode) {
            if (crudMode != expectedMode) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16K bytes
    - Viewed (0)
Back to top