Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 105 for B23456 (0.07 sec)

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

            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Test constructor with non-zero asyncId sets async flag")
        void testConstructorWithNonZeroAsyncId() {
            // Given
            long mid = 12345L;
            long asyncId = 67890L;
    
            // When
            Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, mid, asyncId);
    
            // Then
            assertEquals(SMB2_CANCEL, request.getCommand());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/FileEntryTest.java

            when(mockEntry.createTime()).thenReturn(100L);
            when(mockEntry.lastModified()).thenReturn(200L);
            when(mockEntry.lastAccess()).thenReturn(300L);
            when(mockEntry.length()).thenReturn(12345L);
    
            // Act: call methods, some multiple times
            String name = mockEntry.getName();
            int type1 = mockEntry.getType();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

            void testConstructorAndOpnum() {
                // When: Creating open alias message
                samr.SamrOpenAlias message = new samr.SamrOpenAlias(mockPolicyHandle, 123, 456, mockPolicyHandle);
    
                // Then: Should have correct values
                assertEquals(0x1b, message.getOpnum());
                assertEquals(mockPolicyHandle, message.domain_handle);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertEquals(Long.valueOf(123456789L), DocumentUtil.getValue(doc, "longStr", Long.class));
    
            doc.put("doubleStr", "123.45");
            assertEquals(Double.valueOf(123.45), DocumentUtil.getValue(doc, "doubleStr", Double.class));
    
            doc.put("floatStr", "123.45");
            assertEquals(Float.valueOf(123.45f), DocumentUtil.getValue(doc, "floatStr", Float.class));
    
            doc.put("boolStr", "true");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            setFieldValue(response, "fileSize", 12345);
    
            String result = response.toString();
    
            assertNotNull(result);
            assertTrue(result.contains("SmbComQueryInformationResponse"));
            assertTrue(result.contains("fileAttributes=0x"));
            assertTrue(result.contains("lastWriteTime="));
            assertTrue(result.contains("fileSize=12345"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java

        @Test
        void testGetKeys_WithOtherCredentialTypes() throws LoginException {
            Set<Object> privateCredentials = new HashSet<>();
            privateCredentials.add("a string credential");
            privateCredentials.add(12345L);
            when(subject.getPrivateCredentials()).thenReturn(privateCredentials);
    
            try (MockedConstruction<LoginContext> mocked = Mockito.mockConstruction(LoginContext.class, (mock, context) -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

      public void testBytes() {
        Sink sink = new Sink(4); // byte order insignificant here
        byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8};
        sink.putByte((byte) 1);
        sink.putBytes(new byte[] {2, 3, 4, 5, 6});
        sink.putByte((byte) 7);
        sink.putBytes(new byte[] {});
        sink.putBytes(new byte[] {8});
        HashCode unused = sink.hash();
        sink.assertInvariants(8);
        sink.assertBytes(expected);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

            assertTrue(result.isPresent());
            assertEquals(testValue, result.get());
        }
    
        public void test_ofNullable_withBigDecimal() {
            BigDecimal testValue = new BigDecimal("123.456");
            OptionalEntity<BigDecimal> result = OptionalUtil.ofNullable(testValue);
    
            assertNotNull(result);
            assertTrue(result.isPresent());
            assertEquals(testValue, result.get());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/LongMath.java

      }
    
      static final long[] factorials = {
        1L,
        1L,
        1L * 2,
        1L * 2 * 3,
        1L * 2 * 3 * 4,
        1L * 2 * 3 * 4 * 5,
        1L * 2 * 3 * 4 * 5 * 6,
        1L * 2 * 3 * 4 * 5 * 6 * 7,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
Back to top