Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 98 for 123a456 (0.04 sec)

  1. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

                    org.junit.jupiter.params.provider.Arguments.of(0xFFFF, 0x12345678),
                    org.junit.jupiter.params.provider.Arguments.of(-1, -123456));
        }
    
        @ParameterizedTest
        @MethodSource("validInputs")
        void writeParametersWireFormat_writesCorrectly(int fid, int securityInformation) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  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/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)
  7. 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)
  8. src/test/java/jcifs/smb/SIDTest.java

            }
    
            @Test
            @DisplayName("toString uses hex authority when high bytes are non-zero")
            void testToStringHexAuthority() {
                byte[] ident = new byte[] { 1, 2, 3, 4, 5, 6 }; // high bytes non-zero -> hex representation
                SID sid = new SID(buildSidT((byte) 1, ident, 7, 8), jcifs.SID.SID_TYPE_USE_NONE, null, null, false);
                String s = sid.toString();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

        assertCrc(0xf3dbd4fe, "1234567890".getBytes(UTF_8));
        assertCrc(0xBFE92A83, "23456789".getBytes(UTF_8));
      }
    
      public void testAgainstSimplerImplementation() {
        Random r = new Random(1234567);
        for (int length = 0; length < 1000; length++) {
          byte[] bytes = new byte[length];
          r.nextBytes(bytes);
          assertCrc(referenceCrc(bytes), bytes);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

        }
    
        @Test
        @DisplayName("Test createCancel method returns SmbComNtCancel")
        void testCreateCancel() {
            // Set a MID for the transaction
            transaction.setMid(12345);
    
            // Create cancel request
            CommonServerMessageBlockRequest cancelRequest = transaction.createCancel();
    
            // Verify it returns an SmbComNtCancel instance
            assertNotNull(cancelRequest);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top