- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 248 for zeros (0.72 sec)
-
src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java
bufferIndex += 2; setupCount = buffer[bufferIndex] & 0xFF; bufferIndex += 2; if ((setupCount != 0) && (LogStream.level > 2)) { log.println("setupCount is not zero: " + setupCount); } return bufferIndex - start; } @Override int readBytesWireFormat(final byte[] buffer, int bufferIndex) { pad = pad1 = 0; final int n;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
for (int i = startIndex + 4; i < buffer.length; i++) { assertEquals((byte) 0xFF, buffer[i]); } } @Test @DisplayName("Should handle zero offset") void testWriteBytesAtZeroOffset() { byte[] buffer = new byte[10]; int bytesWritten = echoRequest.writeBytesWireFormat(buffer, 0); assertEquals(4, bytesWritten);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
channelInfo.setState(ChannelState.ACTIVE); int activeScore = channelInfo.getScore(); assertTrue(activeScore < baseScore); // Failed channel should have zero score channelInfo.setState(ChannelState.FAILED); assertEquals(0, channelInfo.getScore()); // Primary channel should have higher score channelInfo.setState(ChannelState.ESTABLISHED);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
assertEquals(1048576L * 8 * 512, fileFsFullSizeInfo.getCapacity()); assertEquals(524288L * 8 * 512, fileFsFullSizeInfo.getFree()); } @Test @DisplayName("Should decode buffer with zero values") void shouldDecodeBufferWithZeroValues() throws SMBProtocolDecodingException { // Given ByteBuffer buffer = ByteBuffer.allocate(32); buffer.order(ByteOrder.LITTLE_ENDIAN);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
when(messageBlock.getMid()).thenReturn(minMid); messageBlock.setMid(minMid); assertEquals(minMid, messageBlock.getMid()); // Test with zero long zeroMid = 0L; doNothing().when(messageBlock).setMid(zeroMid); when(messageBlock.getMid()).thenReturn(zeroMid); messageBlock.setMid(zeroMid);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
assertEquals(0, response.readDataWireFormat(largeBuffer, 0, 65536)); } @Test @DisplayName("Test boundary conditions for read methods with zero length") void testReadMethodsWithZeroLength() { // Arrange byte[] buffer = new byte[100]; // Act & Assert assertEquals(0, response.readSetupWireFormat(buffer, 0, 0));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
char[] decrypted = storage.decryptCredentials(encrypted); assertNotNull(decrypted, "Decrypted empty data should not be null"); assertEquals(0, decrypted.length, "Decrypted empty array should have zero length"); } @Test public void testEncryptDecryptNull() throws Exception { byte[] encrypted = storage.encryptCredentials(null); assertNull(encrypted, "Encrypting null should return null");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java
assertEquals(roles, elevateWord.getRoles()); } @Test public void testConstructorWithZeroBoost() { // Test constructor with zero boost String word = "zero boost"; float boost = 0.0f; List<String> readings = Arrays.asList("reading1"); List<String> fields = Arrays.asList("field1"); List<String> tags = Arrays.asList("tag1");
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class)); } @Test void testClose_SmbExceptionOnClose() throws IOException { // Test case: close() with non-zero retval from MsrpcSamrCloseHandle, should throw SmbException String server = "testServer"; int access = 123; int errorRetval = 12345; // Simulate an error code
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0)