- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 1,362 for differ (0.06 sec)
-
android/guava-tests/test/com/google/common/math/PairedStatsTest.java
} public void testFromByteArrayWithTooShortArrayInputThrowsIllegalArgumentException() { byte[] buffer = MANY_VALUES_PAIRED_STATS.toByteArray(); byte[] tooShortByteArray = ByteBuffer.allocate(buffer.length - 1) .order(ByteOrder.LITTLE_ENDIAN) .put(buffer, 0, buffer.length - 1) .array(); assertThrows(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 14K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/PairedStatsTest.java
} public void testFromByteArrayWithTooShortArrayInputThrowsIllegalArgumentException() { byte[] buffer = MANY_VALUES_PAIRED_STATS.toByteArray(); byte[] tooShortByteArray = ByteBuffer.allocate(buffer.length - 1) .order(ByteOrder.LITTLE_ENDIAN) .put(buffer, 0, buffer.length - 1) .array(); assertThrows(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
// Test wire format writing byte[] buffer = new byte[512]; int bytesWritten = request.writeBytesWireFormat(buffer, 64); // Verify all fields in the buffer assertEquals(33, SMBUtil.readInt2(buffer, 64)); // Structure size assertEquals((byte) 0x02, buffer[66]); // Info type assertEquals((byte) 0x08, buffer[67]); // File info classRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
assertEquals(1, validator.safeMultiply(1, 1)); // Test exact buffer boundaries byte[] buffer = new byte[100]; validator.validateBufferAccess(buffer, 0, 100); // Exactly full buffer validator.validateBufferAccess(buffer, 100, 0); // Zero length at end }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java
/** * Constructs a file notify information from the given buffer. * * @param buffer the buffer containing the notification data * @param bufferIndex the starting index in the buffer * @param len the length of data to decode * @throws IOException if an I/O error occurs during decoding */ public FileNotifyInformationImpl(final byte[] buffer, final int bufferIndex, final int len) throws IOException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
buffer[6] = 0x00; buffer[7] = 0x00; // Capabilities (DFS) buffer[8] = 0x08; buffer[9] = 0x00; buffer[10] = 0x00; buffer[11] = 0x00; // Maximal access buffer[12] = (byte) 0xFF; buffer[13] = 0x01; buffer[14] = 0x1F; buffer[15] = 0x00; // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 26.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageDeflater.kt
private val deflaterSink = DeflaterSink(deflatedBytes, deflater) /** Deflates [buffer] in place as described in RFC 7692 section 7.2.1. */ @Throws(IOException::class) fun deflate(buffer: Buffer) { require(deflatedBytes.size == 0L) if (noContextTakeover) { deflater.reset() } deflaterSink.write(buffer, buffer.size) deflaterSink.flush() if (deflatedBytes.endsWith(EMPTY_DEFLATE_BLOCK)) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/BufferCacheTest.java
when(mockBufferCache.getBuffer()).thenReturn(expectedBuffer); // When byte[] buffer = mockBufferCache.getBuffer(); // Then assertNotNull(buffer, "getBuffer should never return null"); assertSame(expectedBuffer, buffer, "Should return configured buffer"); } @Test @DisplayName("releaseBuffer should accept byte arrays gracefully")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
* the configuration to use for this request * @param fileId * the file ID to read from * @param outputBuffer * the buffer to read data into * @param outputBufferOffset * the offset in the output buffer to start writing data */ public Smb2ReadRequest(final Configuration config, final byte[] fileId, final byte[] outputBuffer, final int outputBufferOffset) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.8K bytes - Viewed (0)