Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1071 - 1080 of 7,132 for String (0.05 seconds)

  1. src/test/java/org/codelibs/core/crypto/CachedCipherTest.java

        @Test
        public void testEncryptDecryptText() {
            final CachedCipher cipher = new CachedCipher();
            cipher.setKey("mySecretKey");
    
            final String original = "Hello World";
            final String encrypted = cipher.encryptText(original);
            final String decrypted = cipher.decryptText(encrypted);
    
            assertThat(encrypted, is(not(original)));
            assertThat(decrypted, is(original));
        }
    
        @Test
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java

    @NullMarked
    public class MapsTransformValuesTest extends AbstractMapsTransformValuesTest {
      @Override
      protected Map<String, String> makeEmptyMap() {
        return transformValues(new HashMap<String, String>(), Functions.<String>identity());
      }
    
      @Override
      protected Map<String, String> makePopulatedMap() {
        Map<String, Integer> underlying = new HashMap<>();
        underlying.put("a", 1);
        underlying.put("b", 2);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/MapsSortedTransformValuesTest.java

    public class MapsSortedTransformValuesTest extends AbstractMapsTransformValuesTest {
      @Override
      protected SortedMap<String, String> makeEmptyMap() {
        return transformValues(Maps.<String, String>newTreeMap(), Functions.<String>identity());
      }
    
      @Override
      protected SortedMap<String, String> makePopulatedMap() {
        SortedMap<String, Integer> underlying = Maps.newTreeMap();
        underlying.put("a", 1);
        underlying.put("b", 2);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  4. cmd/auth-handler_test.go

    					Host:   "127.0.0.1:9000",
    					Scheme: httpScheme,
    					Path:   SlashSeparator,
    				},
    				Header: http.Header{
    					"Authorization":        []string{"AWS4-HMAC-SHA256 <cred_string>"},
    					"X-Amz-Content-Sha256": []string{streamingContentSHA256},
    					"Content-Encoding":     []string{streamingContentEncoding},
    				},
    				Method: http.MethodPut,
    				Body:   nopCloser,
    			},
    			authT: authTypeStreamingSigned,
    		},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  5. samples/slack/src/main/java/okhttp3/slack/SlackClient.java

      public void startRtm() throws IOException {
        String accessToken;
        synchronized (this) {
          accessToken = session.access_token;
        }
    
        RtmSession rtmSession = new RtmSession(slackApi);
        rtmSession.open(accessToken);
      }
    
      public static void main(String... args) throws Exception {
        String clientId = "0000000000.00000000000";
        String clientSecret = "00000000000000000000000000000000";
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 3.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java

      }
    
      private TreeMultimap<String, Integer> createMultimap() {
        TreeMultimap<String, Integer> multimap =
            TreeMultimap.create(
                Ordering.<String>natural().nullsFirst(), Ordering.<Integer>natural().nullsFirst());
        multimap.put("a", -1);
        multimap.put("a", -3);
        multimap.put("z", -2);
        return multimap;
      }
    
      @Override
      protected Map<String, Collection<Integer>> makeEmptyMap() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactoryRequest.java

    public interface ArtifactFactoryRequest extends Request<Session> {
    
        String getGroupId();
    
        String getArtifactId();
    
        String getVersion();
    
        String getClassifier();
    
        String getExtension();
    
        String getType();
    
        static ArtifactFactoryRequest build(
                Session session, String groupId, String artifactId, String version, String extension) {
            return ArtifactFactoryRequest.builder()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/util/MapValueExtractorTest.java

        }
    
        @Test
        public void testGetMap() {
            Map<String, Object> inner = new HashMap<>();
            inner.put("innerKey", "innerValue");
    
            Map<String, Object> map = new HashMap<>();
            map.put("nested", inner);
    
            Map<String, Object> result = MapValueExtractor.getMap(map, "nested");
            assertNotNull(result);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java

        public void test_crawl_withBothConfigs() {
            List<String> webConfigIds = Arrays.asList("webConfig1");
            List<String> fileConfigIds = Arrays.asList("fileConfig1");
    
            // Mock CrawlingConfigHelper
            CrawlingConfigHelper crawlingConfigHelper = new CrawlingConfigHelper() {
                @Override
                public List<WebConfig> getWebConfigListByIds(List<String> webConfigIdList) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                UpgradeContext context = createMockContext();
                strategy.doApply(context, pomMap);
    
                // Convert to string to check formatting
                String result = DomUtils.toXml(document);
    
                // Check that the plugin version was upgraded
                assertTrue(result.contains("<version>3.2</version>"), "Plugin version should be upgraded to 3.2");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
Back to Top