- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 574 for sine (0.89 sec)
-
src/test/java/jcifs/internal/fscc/FileInformationTest.java
when(mockFileInfo.size()).thenReturn(8); // Test encode int encoded = mockFileInfo.encode(dst, 0); assertEquals(8, encoded); // Test size int size = mockFileInfo.size(); assertEquals(8, size); // Verify interactions verify(mockFileInfo).encode(dst, 0); verify(mockFileInfo).size(); } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
assertEquals(2 + (count * 2), encoded); // Note: size() returns 4 + count*2, but encode returns 2 + count*2 // This is an implementation inconsistency in the original code assertNotEquals(context.size(), encoded); assertEquals(4 + (count * 2), context.size()); } @Test @DisplayName("Should encode and decode correctly")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/DisposableUtilTest.java
public void test1() throws Exception { DisposableUtil.add(new TestDisposable("a")); assertThat(DisposableUtil.disposables.size(), is(1)); DisposableUtil.dispose(); assertThat(count, is(1)); assertThat(names, is("a")); assertThat(DisposableUtil.disposables.size(), is(0)); } /** * @throws Exception */ @Test public void test2() throws Exception {
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
private final long size; private final long lastModified; private final boolean isDirectory; private final long attributes; private final long creationTime; private final long lastAccessTime; /** * Create file info from name and attributes * * @param name file name * @param size file sizeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtAddressTest.java
NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE); assertFalse(nbtAddress.isGroupAddress(mockContext)); // No need to verify since we're not setting up the mock context } @Test void testGetNodeType_CheckDataCalled() throws UnknownHostException { // Test getNodeType when checkData is called (hostName is unknown)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
} @Test @DisplayName("Should align size to 8-byte boundary") void testSizeAlignment() { // Test various data lengths to ensure 8-byte alignment for (int i = 0; i < 16; i++) { request.setData(new byte[i], 0, i); int size = request.size(); assertEquals(0, size % 8, "Size should be aligned to 8-byte boundary");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
assertEquals(expectedSize, req.size()); } @Test @DisplayName("Should align size to 8-byte boundary") void testSizeAlignment() { int size = request.size(); assertEquals(0, size % 8, "Size should be aligned to 8-byte boundary"); } @ParameterizedTest @DisplayName("Should calculate size for various lock counts")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryFile.java
parent = list; this.allRecordCount = allRecordCount; pageSize = size; currentPageNumber = offset / size + 1; allPageCount = allRecordCount == 0 ? 0 : (allRecordCount - 1) / size + 1; } @Override public int size() { return parent.size(); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 07:09:00 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
assertEquals(result1.size(), result2.size()); assertEquals(result2.size(), result3.size()); for (int i = 0; i < result1.size(); i++) { assertEquals(result1.get(i), result2.get(i)); assertEquals(result2.get(i), result3.get(i)); } // Verify content is correct assertEquals(2, result1.size());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/CustomSize.java
/** * Gets the configuration key for the minimum size constraint. * @return name of size the element must be higher or equal to */ String minKey() default StringUtil.EMPTY; /** * Gets the configuration key for the maximum size constraint. * * @return name of size the element must be lower or equal to */ String maxKey() default StringUtil.EMPTY;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.3K bytes - Viewed (0)