Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for 000 (0.01 sec)

  1. 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)
  2. 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);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. .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)
  6. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

     *
     * @author Chris Nokleberg
     */
    @NullUnmarked
    public class MultiInputStreamTest extends IoTestCase {
    
      public void testJoin() throws Exception {
        joinHelper(0);
        joinHelper(1);
        joinHelper(0, 0, 0);
        joinHelper(10, 20);
        joinHelper(10, 0, 20);
        joinHelper(0, 10, 20);
        joinHelper(10, 20, 0);
        joinHelper(10, 20, 1);
        joinHelper(1, 1, 1, 1, 1, 1, 1, 1);
        joinHelper(1, 0, 1, 0, 1, 0, 1, 0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. 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)
  8. guava-tests/test/com/google/common/hash/HashingTest.java

        assertEquals(hash32, Hashing.combineOrdered(ImmutableList.of(hash32)));
        assertEquals(
            HashCode.fromBytes(new byte[] {(byte) 0x80, 0, 0, 0}),
            Hashing.combineOrdered(ImmutableList.of(hash32, hash32)));
        assertEquals(
            HashCode.fromBytes(new byte[] {(byte) 0xa0, 0, 0, 0}),
            Hashing.combineOrdered(ImmutableList.of(hash32, hash32, hash32)));
        assertFalse(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  9. 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());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  10. 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)
Back to top