- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 909 for short (0.02 seconds)
-
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
} @Test @DisplayName("Should handle parsing invalid message bytes") void testInvalidMessageBytes() { // Given byte[] invalidBytes = { 1, 2, 3, 4, 5 }; // Too short and invalid // When/Then assertThrows(IOException.class, () -> { new Type1Message(invalidBytes); }); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
Smb2LeaseKey key = leaseManager.requestLease(path, requestedState); assertNotNull(leaseManager.getLease(key)); // Wait a bit and then cleanup with a very short expiration time Thread.sleep(10); int cleaned = leaseManager.cleanupExpiredLeases(1); // 1ms expiration assertEquals(1, cleaned); assertNull(leaseManager.getLease(key)); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
@Test @DisplayName("Test constructor initializes with config") void testConstructor() { assertNotNull(response); // Command is not set in constructor, only after decoding assertEquals((short) 0, response.getCommand()); } @Test @DisplayName("Test writeBytesWireFormat returns 0") void testWriteBytesWireFormat() { byte[] dst = new byte[1024]; int dstIndex = 0;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
@Test @DisplayName("Test automatic cleanup of old resources") @Timeout(value = 5, unit = TimeUnit.SECONDS) void testAutomaticCleanup() throws InterruptedException { // Configure with very short max age for testing resourceManager.configure(100, 50, true, true); TestResource resource = new TestResource("old"); resourceManager.registerResource(resource);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/TransportTest.java
assertArrayEquals("Hello".getBytes(), java.util.Arrays.copyOfRange(buffer, 0, 5)); } @Test @DisplayName("readn should throw IOException when buffer too short") void shouldThrowWhenBufferTooShort() { InputStream is = new ByteArrayInputStream("test".getBytes()); assertThrows(IOException.class, () -> Transport.readn(is, new byte[5], 0, 10)); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
api/maven-api-plugin/src/main/mdo/plugin.mdo
<description> A version range which specifies the supported Java versions. A version range can either use the usual mathematical syntax "[2.0.10,2.1.0),[3.0,)" or use a single version "2.2.1". The latter is a short form for "[2.2.1,)", i.e. denotes the minimum version required. @since Maven 4.0.0-alpha-3 </description> <type>String</type> </field> <field>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:28:41 GMT 2025 - 24.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java
* * <p>Note on class-level isolation: Compiled Script classes are cached and reused. * Class-level state (static fields, metaclass mutations) persists across evaluations * of the same script. In Fess, scripts are short expressions configured by * administrators (e.g., "data1 > 10", "10 * boost1 + boost2") and do not use * static state, so this is acceptable.</p> *
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 11.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
assertTrue("Exception handling should be fast", true); } } @Test public void test_setCrawlingExecutionInterval() { long interval = 100L; // Keep test intervals short dataIndexHelper.setCrawlingExecutionInterval(interval); try { Field field = DataIndexHelper.class.getDeclaredField("crawlingExecutionInterval"); field.setAccessible(true);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt
assertData(format("%04X", payload.completeSegmentByteCount())) assertData(payload.readByteString()) } @Test fun serverMessageLengthLong() { // Create a payload which will overflow the normal and short payload byte size. val payload = Buffer() while (payload.completeSegmentByteCount() <= PAYLOAD_SHORT_MAX) { payload.writeByte('0'.code) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 9.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
public ClassSanityTester() { // TODO(benyu): bake these into ArbitraryInstances. setDefault(byte.class, (byte) 1); setDefault(Byte.class, (byte) 1); setDefault(short.class, (short) 1); setDefault(Short.class, (short) 1); setDefault(int.class, 1); setDefault(Integer.class, 1); setDefault(long.class, 1L); setDefault(Long.class, 1L); setDefault(float.class, 1F);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 32.5K bytes - Click Count (0)