- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,560 for bize (0.03 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
public void testSubList_size() { List<E> list = getList(); int size = getNumElements(); assertEquals(size, list.subList(0, size).size()); assertEquals(size - 1, list.subList(0, size - 1).size()); assertEquals(size - 1, list.subList(1, size).size()); assertEquals(0, list.subList(size, size).size()); assertEquals(0, list.subList(0, 0).size()); } @CollectionSize.Require(absent = {ZERO})
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
assertTrue(result > 0); List<FileNotifyInformation> notifications = response.getNotifyInformation(); assertEquals(1, notifications.size()); FileNotifyInformation info = notifications.get(0); assertEquals("test.txt", info.getFileName()); assertEquals(FileNotifyInformation.FILE_ACTION_ADDED, info.getAction()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
@DisplayName("Should return max transact size") void testGetMaxTransactSize() throws Exception { // Given setPrivateField(response, "maxTransactSize", 1048576); // When int size = response.getMaxTransactSize(); // Then assertEquals(1048576, size); } @Test @DisplayName("Should return transaction buffer size")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/MemoryUtil.java
* Converts byte count to human-readable size format. * * @param size the size in bytes * @return formatted size string */ public static String byteCountToDisplaySize(final long size) { return byteCountToDisplaySize(BigInteger.valueOf(size)); } private static String byteCountToDisplaySize(final BigInteger size) { Objects.requireNonNull(size, "size"); final String displaySize;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/RoleTypePager.java
} /** * Gets the page size. * @return The page size. */ public int getPageSize() { if (pageSize <= 0) { pageSize = getDefaultPageSize(); } return pageSize; } /** * Sets the page size. * @param pageSize The page size. */ public void setPageSize(final int pageSize) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
// When int size = copy.size(); // Then assertEquals(HEADER_SIZE, size); } @Test @DisplayName("Should return correct size with single chunk") void testSizeWithSingleChunk() { // Given byte[] sourceKey = new byte[SOURCE_KEY_SIZE];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
byte[] buffer = new byte[104]; // Exact size needed int offset = 0; setHeaderStart(response, 64); // Write structure SMBUtil.writeInt2(9, buffer, offset); SMBUtil.writeInt2(80 - 64, buffer, offset + 2); SMBUtil.writeInt4(24, buffer, offset + 4); // Exact notification size // Write notification int notifyOffset = 80;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java
return create(e1, e2, e3, e4, e5); } @SuppressWarnings("unchecked") public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E... others) { int size = others.length + 6; List<E> all = new ArrayList<E>(size); Collections.addAll(all, e1, e2, e3, e4, e5, e6); Collections.addAll(all, others); return copyOf(all.iterator()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Hexdump.java
* @return a hexadecimal string representation of the byte array */ public static String toHexString(final byte[] src, final int srcIndex, int size) { final char[] c = new char[size]; size = size % 2 == 0 ? size / 2 : size / 2 + 1; for (int i = 0, j = 0; i < size; i++) { c[j] = HEX_DIGITS[src[i] >> 4 & 0x0F]; j++; if (j == c.length) { break;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
} /** * Modifies [ranges] to combine any adjacent [MappedRange.InlineDelta] of same size to single entry. * @returns same instance of [ranges] for convenience */ internal fun mergeAdjacentDeltaMappedRanges(ranges: MutableList<MappedRange>): MutableList<MappedRange> { var i = 0 while (i < ranges.size) { val curr = ranges[i] if (curr is MappedRange.InlineDelta) { val j = i + 1
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.3K bytes - Viewed (0)