Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for 123a456 (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                testMessage.setMid(12345L);
                assertEquals(12345, testMessage.hashCode());
            }
    
            @Test
            @DisplayName("Should be equal when MIDs match")
            void testEquals() {
                TestServerMessageBlock2 other = new TestServerMessageBlock2(mockConfig);
                testMessage.setMid(12345L);
                other.setMid(12345L);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java

        @Test
        void testToString() {
            SmbComWriteAndXResponse response = new SmbComWriteAndXResponse();
            response.count = 12345L;
    
            String result = response.toString();
    
            // The toString method should return a string containing the count.
            assertTrue(result.contains("count=12345"));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. src/archive/tar/strconv_test.go

    	}
    }
    
    func BenchmarkParsePAXTIme(b *testing.B) {
    	tests := []struct {
    		name string
    		in   string
    		want time.Time
    		ok   bool
    	}{
    		{
    			name: "NoNanos",
    			in:   "123456",
    			want: time.Unix(123456, 0),
    			ok:   true,
    		},
    		{
    			name: "ExactNanos",
    			in:   "1.123456789",
    			want: time.Unix(1, 123456789),
    			ok:   true,
    		},
    		{
    			name: "WithNanoPadding",
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            assertTrue(str1.endsWith("]"));
    
            // Test with specific value
            FileEndOfFileInformation info = new FileEndOfFileInformation(12345L);
            String str2 = info.toString();
            assertEquals("EndOfFileInformation[endOfFile=12345]", str2);
        }
    
        @Test
        @DisplayName("Test toString with various values")
        void testToStringWithVariousValues() {
            // Test negative value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

            // Test with empty string
            searchRenderData.setQueryId("");
            assertEquals("", searchRenderData.getQueryId());
    
            // Test with UUID-like string
            String uuid = "123e4567-e89b-12d3-a456-426614174000";
            searchRenderData.setQueryId(uuid);
            assertEquals(uuid, searchRenderData.getQueryId());
    
            // Test with simple ID
            searchRenderData.setQueryId("query-001");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

            }
    
            @Test
            @DisplayName("isResponseAsync should return true when asyncId is not 0")
            void testIsResponseAsyncTrue() {
                testRequest.setAsyncId(12345L);
                assertTrue(testRequest.isResponseAsync());
            }
    
            @ParameterizedTest
            @ValueSource(longs = { 1L, 100L, Long.MAX_VALUE })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

        class ConstructorTests {
    
            private Configuration mockConfig;
    
            @BeforeEach
            void setUp() {
                mockConfig = mock(Configuration.class);
                when(mockConfig.getPid()).thenReturn(12345);
            }
    
            @Test
            @DisplayName("Should initialize with correct command and MID")
            void testConstructorInitialization() throws Exception {
                // Given
                int testMid = 42;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                buffer.putLong(123456L);
                buffer.putLong(78910L);
                buffer.putInt(16);
                buffer.putInt(4096);
    
                // When
                fileFsSizeInfo.decode(buffer.array(), 0, 24);
                String result = fileFsSizeInfo.toString();
    
                // Then
                String expected = "SmbInfoAllocation[alloc=123456,free=78910,sectPerAlloc=16,bytesPerSect=4096]";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

         */
        @Test
        void lockRangeEncodeDecodeRoundTrip() throws Exception {
            LockingAndXRange range = new LockingAndXRange(false);
            setField(range, "pid", 99);
            setField(range, "byteOffset", 123456L);
            setField(range, "lengthInBytes", 654321L);
            byte[] dst = new byte[20];
            int writtenSize = range.encode(dst, 0);
            assertEquals(10, writtenSize, "Range size when not large should be 10");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            dnsDomainInfo.domain_guid.clock_seq_hi_and_reserved = 0x12;
            dnsDomainInfo.domain_guid.clock_seq_low = 0x34;
            dnsDomainInfo.domain_guid.node = new byte[] { 1, 2, 3, 4, 5, 6 };
    
            dnsDomainInfo.sid = new rpc.sid_t();
            dnsDomainInfo.sid.revision = 1;
            dnsDomainInfo.sid.identifier_authority = new byte[] { 0, 0, 0, 0, 0, 5 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top