- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 494 for enough (0.13 seconds)
-
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
// Given byte[] buffer = new byte[10]; // When & Then assertThrows(ArrayIndexOutOfBoundsException.class, () -> response.readBytesWireFormat(buffer, 9) // Not enough space to read 2 bytes ); } @Test @DisplayName("Should handle negative values as unsigned") void testReadBytesWireFormatNegativeAsUnsigned() { // GivenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
* copied in a single call. */ @Test public void readBytesWireFormat_succeedsWithSingleRead() { DummyResponse d = new DummyResponse(); // Allocate a transaction buffer large enough for the copy byte[] tx = new byte[100]; d.txn_buf = tx; // Set up a scenario where the full transaction is read in one call d.bufParameterStart = 0; d.bufDataStart = 20;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
*/ @GwtIncompatible @J2ktIncompatible @J2ObjCIncompatible // gc @NullMarked public final class GcFinalization { private GcFinalization() {} /** * 10 seconds ought to be long enough for any object to be GC'ed and finalized. Unless we have a * gigantic heap, in which case we scale by heap size. */ private static long timeoutSeconds() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:19:19 GMT 2026 - 12.3K bytes - Click Count (0) -
architecture/standards/0010-gradle-properties-naming.md
Since the name of the property is the primary source of immediate information for users, both the names themselves and their structure should convey enough information to set the right expectations. Previously, there was no formalization of property naming; only loose conventions were followed.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 06 09:25:54 GMT 2026 - 8K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/ThrowablesTest.java
Integer javaVersion = Ints.tryParse(JAVA_SPECIFICATION_VERSION.value()); if (javaVersion != null && javaVersion >= 9) { return; } // Obviously this isn't guaranteed in every environment, but it works well enough for now: assertTrue(lazyStackTraceIsLazy()); } @J2ktIncompatible @GwtIncompatible // lazyStackTrace(Throwable) public void testLazyStackTrace() { Exception e = new Exception();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 15K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt
// b: 10 // after: { 11, 11, 22, 22, 33, 33, 00, 00, 00, 00, 00, 00, 77, 77, 88, 88 } // if (b != address.size) { if (compress == -1) return null // Address didn't have compression or enough groups. address.copyInto(address, address.size - (b - compress), compress, b) address.fill(0.toByte(), compress, compress + (address.size - b)) } return address }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 11.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
} /** * Creates a larger buffer suitable for testing negotiate contexts. */ private byte[] createLargeBufferForContexts() { byte[] buffer = new byte[1024]; // Large enough for contexts // Copy basic structure byte[] basic = createBasicNegotiateResponseBuffer(); System.arraycopy(basic, 0, buffer, 0, basic.length); return buffer; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NbtAddress.java
* to create an NbtAddress internal to this netbios package), no query is * sent on the wire and the only state this object has is it's IP address * (but that's enough to connect to a host using *SMBSERVER for CallingName). * * 2) IP Address, NetBIOS name, nodeType, groupName - If however a * legal NetBIOS name string is used a name query request will retreiveCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/SLinkedList.java
return result; } /** * Converts the list to an array. * * @param array the array to store the elements. A new array of the same runtime type is allocated if the array is not large enough. * @return the array */ @SuppressWarnings("unchecked") public E[] toArray(E[] array) { if (array.length < size) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 10.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/chat/ChatClientTest.java
} @Test public void test_sourceTitles_emptyTitles() { final ChatMessage msg = ChatMessage.assistantMessage("Some content here that is quite long enough to be truncated."); final Map<String, Object> doc = new HashMap<>(); doc.put("title", ""); doc.put("url", "http://example.com/1"); msg.addSource(new ChatSource(1, doc));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 40.6K bytes - Click Count (0)