- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 1,052 for verifyCn (0.05 seconds)
-
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
assertEquals(24, encoded); // Verify offset (8 bytes) assertEquals(offset, SMBUtil.readInt8(buffer, 0)); // Verify length (8 bytes) assertEquals(length, SMBUtil.readInt8(buffer, 8)); // Verify flags (4 bytes) assertEquals(flags, SMBUtil.readInt4(buffer, 16)); // Verify reserved field is zeros (4 bytes)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
when(mockDigest.verify(buffer, 0, 100, 0, echoResponse)).thenReturn(false); boolean result = echoResponse.verifySignature(buffer, 0, 100); assertTrue(result); assertFalse(echoResponse.isVerifyFailed()); verify(mockDigest).verify(buffer, 0, 100, 0, echoResponse); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
// Resolve first two entries cache.resolveSids(ctx, null, arr, 0, 2); // Verify resolveSids0 called exactly once with the two SIDs needing resolution ArgumentCaptor<SID[]> captor = ArgumentCaptor.forClass(SID[].class); verify(cache, times(1)).resolveSids0(isNull(), same(ctx), captor.capture()); SID[] resolvedFirst = captor.getValue();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java
String[] returnedInputs = item.getInputs(); // Modifying returned array should not affect original returnedInputs[0] = "modified"; // Get again and verify not modified String[] inputs2 = item.getInputs(); assertEquals("a", inputs2[0]); assertEquals("b", inputs2[1]); assertEquals("c", inputs2[2]); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8K bytes - Click Count (1) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java
// Do NOT call setRootLoggerLevel - this is the fix! } // Verify that setRootLoggerLevel was not called assertEquals(0, slf4jConfiguration.setRootLoggerLevelCallCount); // Verify that system property was not set assertNull(System.getProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL)); } @TestCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Oct 08 21:10:33 GMT 2025 - 6.4K bytes - Click Count (0) -
tensorflow/c/c_api_function_test.cc
TF_Operation* func_feed = Placeholder(host_graph_, s_); TF_Operation* func_op = Use({func_feed, five}); Run({{func_feed, Int32Tensor(2)}}, func_op, 2 /*+=*/ + 5 + 1); // Verify input, output, and subset of edges in fdef. // The subset of edges we verify is a chain between feed1 and output to // make sure that the correct output is picked. tensorflow::FunctionDef fdef; ASSERT_TRUE(GetFunctionDef(func_, &fdef));
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 63.9K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
int testDialect = 0x0311; SMBUtil.writeInt2(testDialect, buffer, bufferIndex + 22); // Execute decode int bytesDecoded = response.decode(buffer, bufferIndex, 24); // Verify results assertEquals(24, bytesDecoded, "Should decode exactly 24 bytes"); assertEquals(testCapabilities, response.getCapabilities(), "Capabilities should match");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
import static org.mockito.Mockito.doReturn; import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.lenient; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.verify; import java.lang.reflect.Field; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
int dataLength = 200; contextResponse.decode(dataBuffer, dataOffset, dataLength); // Verify assertArrayEquals(nameBytes, contextResponse.getName()); assertEquals(dataLength, contextResponse.getData().length); // Verify data content for (int i = 0; i < dataLength; i++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/SMBSigningDigest.java
* @param length * The length of the data to verify * @param extraPad * extra padding to include in signature * @param msg * The message to verify * @return whether verification was unsuccessful */ boolean verify(byte[] data, int offset, int length, int extraPad, CommonServerMessageBlock msg);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (0)