- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 619 for Correct (0.04 seconds)
-
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
try { int read = sis.read(buffer, 0, 10); // Should read all 5 available bytes assertEquals(5, read); // Verify correct data for (int i = 0; i < 5; i++) { assertEquals(i + 1, buffer[i]); } // Next read will try to read header and should failCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
} @Test public void edgesConnecting_oneEdge() { addEdge(N1, N2, E12); assertThat(network.edgesConnecting(N1, N2)).containsExactly(E12); // Passed nodes should be in the correct edge direction, first is the // source node and the second is the target node assertThat(network.edgesConnecting(N2, N1)).isEmpty(); } @Test public void inEdges_oneEdge() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 21.3K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
msg.decode_header(fragBuf); final int stub_frag_len = msg.length - 24; if (off + stub_frag_len > in.length) { // shouldn't happen if alloc_hint is correct or greater final byte[] tmp = new byte[off + stub_frag_len]; System.arraycopy(in, 0, tmp, 0, off); in = tmp; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
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()); assertEquals(mockNotifyInfo1, result1.get(0)); assertEquals(mockNotifyInfo2, result1.get(1)); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0) -
src/archive/zip/struct.go
This package does not support disk spanning. A note about ZIP64: To be backwards compatible the FileHeader has both 32 and 64 bit Size fields. The 64 bit fields will always contain the correct value and for normal archives both fields will be the same. For files requiring the ZIP64 format the 32 bit fields will be 0xffffffff and the 64 bit fields must be used instead.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue May 28 21:41:09 GMT 2024 - 12.1K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
* difference. A CharEscaper can only process Java <a * href="http://en.wikipedia.org/wiki/UTF-16">UTF16</a> characters in isolation and may not cope * when it encounters surrogate pairs. This class facilitates the correct escaping of all Unicode * characters. * * <p>As there are important reasons, including potential security issues, to handle Unicode
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 24 04:06:11 GMT 2026 - 13.2K bytes - Click Count (0) -
docs/en/docs/deployment/https.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 14K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/WebApiUtilTest.java
} @Test public void test_static_method_signatures() { // Verify all public static methods exist with correct signatures try { // setObject(String, Object) Method setObjectMethod = WebApiUtil.class.getMethod("setObject", String.class, Object.class);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 17.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
// Should write FileInformation data + 6 bytes padding assertEquals(36, written); // 30 + 6 // Verify encode was called with correct offset verify(mockFileInfo).encode(buffer, offset); } @Test @DisplayName("Test readSetupWireFormat returns 0") void testReadSetupWireFormat() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
// Create a new digest for verification with same key SMB1SigningDigest verifyDigest = new SMB1SigningDigest(testMacSigningKey); // Verify should return false when signature is correct (no error) // The code returns true on line 281 when signatures DON'T match boolean result = verifyDigest.verify(data, 0, data.length, 0, mockRequest);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0)