- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 735 for ZERO (1.94 sec)
-
src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java
// Pad with zeros if context handle is shorter than 20 bytes for (int i = contextHandle.length; i < 20; i++) { buf.enc_ndr_small(0); } } else { // Write 20 zero bytes for null context handle for (int i = 0; i < 20; i++) { buf.enc_ndr_small(0); } } } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java
assertTrue(Smb2LeaseState.hasWriteCaching(customState)); assertTrue(Smb2LeaseState.hasHandleCaching(customState)); } @Test @DisplayName("Should handle zero state") void testZeroState() { assertFalse(Smb2LeaseState.hasReadCaching(0)); assertFalse(Smb2LeaseState.hasWriteCaching(0)); assertFalse(Smb2LeaseState.hasHandleCaching(0)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java
// Test null version NullSearchLogEvent nullEvent = new NullSearchLogEvent(); assertNull(nullEvent.getVersionNo()); // Test zero version EmptySearchLogEvent emptyEvent = new EmptySearchLogEvent(); assertEquals(Long.valueOf(0L), emptyEvent.getVersionNo()); // Test negative version event.setVersionNo(-1L);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
assertEquals(0, response.getData().length); // The decode method returns only the header size (16 bytes)\n assertEquals(16, bytesDecoded); } @Test @DisplayName("Test decode with non-zero buffer index") void testDecodeWithNonZeroBufferIndex() throws SMBProtocolDecodingException { // Prepare test data with offset int offset = 10;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacUnicodeString.java
return this.pointer; } /** * Validates the provided string against this structure's metadata. * Checks that the string length matches the expected length and that * null strings have a zero pointer. * * @param string the string to validate * @return the validated string * @throws PACDecodingException if validation fails */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
@Test @DisplayName("Test readDataWireFormat with error code returns 4") void testReadDataWireFormatWithErrorCode() throws Exception { byte[] buffer = new byte[100]; // Set error code to non-zero setErrorCode(response, 1); int result = response.readDataWireFormat(buffer, 0, buffer.length); assertEquals(4, result); assertNull(response.getSecurityDescriptor()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
cmd/metrics-v3-types.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Feb 28 19:33:08 UTC 2025 - 15.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
long remainingNanos = unit.toNanos(timeout); long end = System.nanoTime() + remainingNanos; while (true) { try { // TimeUnit.timedJoin() treats negative timeouts just like zero. NANOSECONDS.timedJoin(thread, remainingNanos); return; } catch (InterruptedException e) { interrupted = true; remainingNanos = end - System.nanoTime(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java
dstIndex += 16; // LeaseState (4 bytes) SMBUtil.writeInt4(leaseState, dst, dstIndex); dstIndex += 4; // LeaseDuration (8 bytes) - must be zero for acknowledgment SMBUtil.writeInt8(0, dst, dstIndex); dstIndex += 8; return dstIndex - start; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.2K bytes - Viewed (0)