- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 330 for isSmall (0.04 sec)
-
src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java
} @Test @DisplayName("Test invalid buffer size for decoding") public void testInvalidBufferSize() { byte[] smallBuffer = new byte[4]; // Too small assertThrows(SMBProtocolDecodingException.class, () -> { context.decode(smallBuffer, 0, smallBuffer.length); }); } @Test @DisplayName("Test algorithm name resolution")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
resetWithHole(); assertEquals(c, navigableSet.higher(a)); assertEquals(c, navigableSet.higher(b)); assertEquals(null, navigableSet.higher(c)); } /* * TODO(cpovirk): make "too small" and "too large" elements available for better navigation * testing. At that point, we may be able to eliminate the "hole" tests, which would mean that * ContiguousSet's tests would no longer need to suppress them. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
// Verify we can acquire the tree tree.acquire(); successCount.incrementAndGet(); // Small delay to increase chance of race conditions Thread.yield(); } } catch (Exception e) { exceptions.add(e); } finally {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params-numeric-validations.md
## Order the parameters as you need, tricks { #order-the-parameters-as-you-need-tricks } /// tip This is probably not as important or necessary if you use `Annotated`. /// Here's a **small trick** that can be handy, but you won't need it often. If you want to: * declare the `q` query parameter without a `Query` nor any default value * declare the path parameter `item_id` using `Path`
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
} @Override protected int doReceiveFragment(final byte[] buf) throws IOException { if (buf.length < getMaxRecv()) { throw new IllegalArgumentException("buffer too small"); } int off = this.handle.recv(buf, 0, buf.length); if (buf[0] != 5 || buf[1] != 0) { throw new IOException("Unexpected DCERPC PDU header"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java
protected void doReceiveFragment(final byte[] buf, final boolean isDirect) throws IOException { int off, flags, length; if (buf.length < max_recv) { throw new IllegalArgumentException("buffer too small"); } if (isStart && !isDirect) { // start of new frag, do trans off = in.read(buf, 0, 1024); } else { off = in.readDirect(buf, 0, buf.length); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
* interaction with {@link NdrBuffer}. All public behaviour is exercised. */ @ExtendWith(MockitoExtension.class) class NdrShortTest { /** * A small reusable buffer for encode/decode tests. */ private byte[] raw; private NdrBuffer buf; @BeforeEach void setUp() { // 10 bytes is more than enough for the 2-byte short
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/xml/XmlEscapersTest.java
assertEscaping(xmlEscaper, "\uFFFD", ch); } } // Test _all_ allowed characters (including surrogate values). for (char ch = 0x20; ch <= 0xFFFD; ch++) { // There are a small number of cases to consider, so just do it manually. if (ch == '&') { assertEscaping(xmlEscaper, "&", ch); } else if (ch == '<') { assertEscaping(xmlEscaper, "<", ch);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Credentials; /** * Tests for SmbRenewableCredentials interface. * * Since this file is an interface with a single method, we provide small * helper implementations to exercise expected interaction patterns and edge cases. */ @ExtendWith(MockitoExtension.class) public class SmbRenewableCredentialsTest {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java
assertSame(purgeThumbnailJob, result); // Test value was not changed assertEquals(originalExpiry, purgeThumbnailJob.getExpiry()); } // Test expiry setter with small positive value public void test_expiry_smallPositiveValue() { PurgeThumbnailJob result = purgeThumbnailJob.expiry(1L); // Test method chaining assertSame(purgeThumbnailJob, result);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.2K bytes - Viewed (0)