- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 253 for zeroed (1.14 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/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/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/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/dcerpc/rpcTest.java
verify(mockNdrBuffer).advance(8); // sub_authority advance (4 * 2) verify(mockNdrBuffer, times(2)).derive(anyInt()); // Verify identifier_authority bytes (5 zeros + 1 five) verify(mockNdrBuffer, times(5)).enc_ndr_small((byte) 0); verify(mockNdrBuffer).enc_ndr_small((byte) 5); // Verify sub_authority values
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
@Test @DisplayName("Test with edge case time values") void testWithEdgeCaseTimeValues() { // Test with various time values including edge cases long[][] timeValues = { { 0L, 0L, 0L, 0L }, // All zeros { Long.MAX_VALUE, Long.MAX_VALUE, Long.MAX_VALUE, Long.MAX_VALUE }, // Max values { 1L, 2L, 3L, 4L }, // Small valuesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
} if (usage == 0) { if (log.isTraceEnabled()) { log.trace("Transport usage dropped to zero " + this); } } else if (usage < 0) { throw new RuntimeCIFSException("Usage count dropped below zero"); } } /** * {@inheritDoc} * * @see java.lang.Object#finalize() */ @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K 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)