Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,996 for _size (0.02 sec)

  1. src/main/java/jcifs/internal/fscc/FileSystemInformation.java

        /**
         * SMB information allocation constant.
         */
        byte SMB_INFO_ALLOCATION = -1;
    
        /**
         * File system size information constant.
         */
        byte FS_SIZE_INFO = 3;
        /**
         * File system full size information constant.
         */
        byte FS_FULL_SIZE_INFO = 7;
    
        /**
         * Gets the file system information class.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

            assertNotNull(result);
            assertTrue(result instanceof List);
            @SuppressWarnings("unchecked")
            List<Map<String, Object>> resultList = (List<Map<String, Object>>) result;
            assertEquals(2, resultList.size());
    
            Map<String, Object> map1 = resultList.get(0);
            assertEquals("name1", map1.get("name"));
    
            Map<String, Object> map2 = resultList.get(1);
            assertEquals("name2", map2.get("name"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                throw new RuntimeException(e);
            }
    
            int size = request.size();
    
            // Expected size calculation: size8(SMB2_HEADER_LENGTH + 40 + inputBuffer.size())
            int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 40 + 100;
            int expectedSize = (expectedRawSize + 7) & ~7;
            assertEquals(expectedSize, size);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            // Write structure size (4) at offset
            SMBUtil.writeInt2(4, buffer, offset);
            SMBUtil.writeInt2(0, buffer, offset + 2); // Reserved field
    
            // When
            int bytesRead = response.readBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(4, bytesRead);
        }
    
        @DisplayName("Should throw exception for invalid structure size")
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/BufferCacheImplTest.java

        @Mock
        Configuration cfg;
    
        // Verifies constructor that accepts Configuration reads the expected values and uses them
        @Test
        @DisplayName("Constructor(Configuration) uses cache size and maximum buffer size from config")
        void constructorUsesConfigurationAndAllocatesWithConfiguredSize() {
            when(cfg.getBufferCacheSize()).thenReturn(2);
            when(cfg.getMaximumBufferSize()).thenReturn(5);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java

            BoolQueryBuilder boolResult = (BoolQueryBuilder) result;
            assertTrue(boolResult.hasClauses());
            assertEquals(1, boolResult.must().size());
            assertEquals(1, boolResult.should().size());
            assertEquals(1, boolResult.mustNot().size());
        }
    
        // Test convertBooleanQuery with empty BooleanQuery
        public void test_convertBooleanQuery_withEmptyQuery() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. src/archive/zip/reader.go

    func NewReader(r io.ReaderAt, size int64) (*Reader, error) {
    	if size < 0 {
    		return nil, errors.New("zip: size cannot be negative")
    	}
    	zr := new(Reader)
    	var err error
    	if err = zr.init(r, size); err != nil && err != ErrInsecurePath {
    		return nil, err
    	}
    	return zr, err
    }
    
    func (r *Reader) init(rdr io.ReaderAt, size int64) error {
    	end, baseOffset, err := readDirectoryEnd(rdr, size)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

        }
    
        /**
         * Set the maximum pool size
         * @param size the maximum number of connections in the pool
         */
        public void setMaxPoolSize(int size) {
            if (size <= 0) {
                throw new IllegalArgumentException("Pool size must be positive");
            }
            this.maxPoolSize = size;
            log.info("Set maximum pool size to {}", size);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt

      /** The number of key-value pairs in this form-encoded body. */
      @get:JvmName("size")
      val size: Int
        get() = encodedNames.size
    
      @JvmName("-deprecated_size")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "size"),
        level = DeprecationLevel.ERROR,
      )
      fun size(): Int = size
    
      fun encodedName(index: Int): String = encodedNames[index]
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java

            assertEquals(5, itemList1.size());
            assertEquals(5, itemList1.getAllRecordCount());
            assertEquals(1, itemList1.getCurrentPageNumber());
            assertEquals(20, itemList1.getPageSize());
    
            final PagingList<SynonymItem> itemList2 = synonymFile.selectList(4, 2);
            assertEquals(1, itemList2.size());
            assertEquals(5, itemList2.getAllRecordCount());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top