- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for 000 (0.02 sec)
-
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
when(mockAuth.getDomain()).thenReturn(domain); NtlmContext context = new NtlmContext(mockAuth, true); byte[] type1Token = context.initSecContext(new byte[0], 0, 0); assertNotNull(type1Token); assertTrue(type1Token.length > 0); // Decode the token to verify its properties Type1Message type1Message = new Type1Message(type1Token);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java
// When int result = trans2SetFileInformation.readSetupWireFormat(new byte[0], 0, 0); // Then assertEquals(0, result); } @Test void testReadParametersWireFormat() { // When int result = trans2SetFileInformation.readParametersWireFormat(new byte[0], 0, 0); // Then assertEquals(0, result); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
assertThat(parse("http://[a:0:0:0:b:0:0:0]/").host).isEqualTo("a::b:0:0:0") assertThat(parse("http://[a:b:0:0:c:0:0:0]/").host).isEqualTo("a:b:0:0:c::") assertThat(parse("http://[a:b:0:0:0:c:0:0]/").host).isEqualTo("a:b::c:0:0") assertThat(parse("http://[a:0:0:0:b:0:0:0]/").host).isEqualTo("a::b:0:0:0") assertThat(parse("http://[0:0:0:a:b:0:0:0]/").host).isEqualTo("::a:b:0:0:0")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeOutputStream.java
/** * @param handle * @throws SmbException */ SmbPipeOutputStream(final SmbPipeHandleImpl handle, final SmbTreeHandleImpl th) throws CIFSException { super(handle.getPipe(), th, null, 0, 0, 0); this.handle = handle; } /** * {@inheritDoc} * * @see jcifs.smb.SmbFileOutputStream#isOpen() */ @Override public boolean isOpen() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt
data class VersionedSettingsBranch( val branchName: String, ) { /** * 0~23. * To avoid nightly promotion jobs running at the same time, * we run each branch on different hours. * master - 0:00 * release - 1:00 * release6x - 2:00 * release7x - 3:00 * ... * releaseNx - (N-4):00 */ val nightlyPromotionTriggerHour: Int? = determineNightlyPromotionTriggerHour(branchName)
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Tue Jun 17 09:57:45 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
} @Test @DisplayName("Should decode zero values") void testDecodeZeroValues() throws SMBProtocolDecodingException { byte[] buffer = createValidCopyChunkResponse(0, 0, 0); int bytesDecoded = response.decode(buffer, 0, buffer.length); assertEquals(12, bytesDecoded); assertEquals(0, response.getChunksWritten());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
class SizeCalculationTests { @Test @DisplayName("Should calculate size correctly with no data") void testSizeWithNoData() { request.setData(new byte[0], 0, 0); int expectedSize = ((Smb2Constants.SMB2_HEADER_LENGTH + 48 + 7) / 8) * 8; assertEquals(expectedSize, request.size()); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
// Setup deferred buffer chain for entry decoding mockDeferredBuffer.deferred = mockDeferredBuffer; when(mockDeferredBuffer.dec_ndr_short()).thenReturn(0, 0, 0); // SamrSamEntry fields // When: Decoding array array.decode(mockNdrBuffer); // Then: Should have entries assertEquals(1, array.count);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheStats.java
* in a single load operation. */ public double missRate() { long requestCount = requestCount(); return (requestCount == 0) ? 0.0 : (double) missCount / requestCount; } /** * Returns the total number of times that {@link Cache} lookup methods attempted to load new
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
class SizeTests { @Test @DisplayName("Should return correct size of 24 bytes") void testSize() { // Given SrvCopychunk chunk = new SrvCopychunk(0, 0, 0); // When int size = chunk.size(); // Then assertEquals(EXPECTED_SIZE, size); } @ParameterizedTestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0)