Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 1,224 for results2 (0.04 sec)

  1. src/test/java/jcifs/internal/util/StringUtilTest.java

            String longString1 = "a".repeat(1000);
            String longString2 = "b".repeat(1000);
            String result = StringUtil.join(",", longString1, longString2);
            assertEquals(2001, result.length()); // 1000 + 1 + 1000
            assertTrue(result.startsWith("aaa"));
            assertTrue(result.endsWith("bbb"));
            assertTrue(result.contains(","));
        }
    
        @Test
        @DisplayName("Should handle long delimiter")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTest.java

        Map<String, String> result = Maps.fromProperties(testProp);
        assertTrue(result.isEmpty());
        testProp.setProperty("first", "true");
    
        result = Maps.fromProperties(testProp);
        assertEquals("true", result.get("first"));
        assertEquals(1, result.size());
        testProp.setProperty("second", "null");
    
        result = Maps.fromProperties(testProp);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
  3. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        val response = client.newCall(request).execute()
    
        val results =
          response.use {
            moshi.adapter(HowsMySslResults::class.java).fromJson(response.body.string())!!
          }
    
        Platform.get().log("results $results", Platform.WARN)
    
        assertTrue(results.session_ticket_supported)
        assertEquals("Probably Okay", results.rating)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/CryptoTest.java

            byte[] data = "Hello World".getBytes();
    
            // When
            MessageDigest hmac = Crypto.getHMACT64(key);
            byte[] result = hmac.digest(data);
    
            // Then
            assertNotNull(result);
            assertTrue(result.length > 0, "HMAC-T64 should produce non-empty result");
        }
    
        @Test
        @DisplayName("Should perform RC4 encryption/decryption")
        void testRC4() throws Exception {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKanaTest.java

            String result = normalizer.normalize("アイウエオ", "field");
    
            assertEquals("アイウエオ", result);
        }
    
        @Test
        public void test_voicedSounds() throws Exception {
            HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana();
    
            String result = normalizer.normalize("ガギグゲゴ", "field");
    
            assertEquals("ガギグゲゴ", result);
        }
    
        @Test
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:23:01 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/io/CopyUtilTest.java

        public void testIsToOs() throws Exception {
            final int result = copy(is, os);
            assertThat(result, is(srcBytes.length));
            assertThat(os.toByteArray(), is(srcBytes));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testReaderToWriter() throws Exception {
            final int result = copy(reader, writer);
            assertThat(result, is(srcString.length()));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsFileConfigBhv.java

        }
    
        @Override
        protected <RESULT extends FileConfig> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setAvailable(DfTypeUtil.toBoolean(source.get("available")));
                result.setBoost(DfTypeUtil.toFloat(source.get("boost")));
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

            // When
            CommonServerMessageBlockRequest result = request.getNext();
    
            // Then
            assertNotNull(result);
            assertEquals(nextRequest, result);
            verify(request, times(1)).getNext();
        }
    
        @Test
        @DisplayName("Test getNext returns null when no chained message")
        void testGetNextWithNoChainedMessage() {
            // Given
            when(request.getNext()).thenReturn(null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/HexdumpTest.java

            byte[] data = createTestData(32);
    
            // When
            String result = Hexdump.toHexString(data, 0, data.length);
    
            // Then
            assertNotNull(result);
            assertFalse(result.isEmpty());
            // Should contain hex representation of first bytes
            assertTrue(result.startsWith("00010203"));
            assertEquals(64, result.length()); // 32 bytes * 2 chars per byte
        }
    
        @ParameterizedTest
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFile.java

            return this.fileLocator.getParent();
        }
    
        /**
         * Returns the full uncanonicalized URL of this SMB resource. An
         * <code>SmbFile</code> constructed with the result of this method will
         * result in an <code>SmbFile</code> that is equal to the original.
         *
         * @return The uncanonicalized full URL of this SMB resource.
         */
    
        public String getPath() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top