Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 2,582 for map (0.01 seconds)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

      fun allocate(count: Int): List<InetAddress> {
        val from = nextAddress
        nextAddress += count
        return (from until nextAddress)
          .map {
            return@map InetAddress.getByAddress(
              Buffer().writeInt(it.toInt()).readByteArray(),
            )
          }
      }
    
      /** Allocates and returns `count` fake IPv6 addresses like [::ff00:64, ::ff00:65].  */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 20:20:29 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                // This is also acceptable behavior
            }
        }
    
        @Test
        public void test_generateId_withDataMap_edgeCases() {
            // Test with empty data map
            Map<String, Object> emptyMap = new HashMap<>();
            try {
                String result = crawlingInfoHelper.generateId(emptyMap);
                // May throw exception or return result - both acceptable
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

         * Parses a sequence of XML elements and converts them to the appropriate {@link Map} type.
         *
         * @param parser The XML parser
         * @return Converted Map instance
         */
        private Map<String, Object> parseMap(final MXParser parser, final TypeLiteral<?> toType) throws Exception {
            @SuppressWarnings("unchecked")
            final Map<String, Object> map = newImplementation(parser, HashMap.class);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                        .plugin("org.apache.maven.plugins", "maven-compiler-plugin", "3.8.1")
                        .build();
    
                Document document = Document.of(pomXml);
                Map<Path, Document> pomMap = Map.of(Paths.get("pom.xml"), document);
    
                UpgradeContext context = createMockContext();
                UpgradeResult result = strategy.doApply(context, pomMap);
    
    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)
  5. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            }
        }
    
        /**
         * Sets multiple settings from a map.
         * @param map The map of settings to set.
         */
        public void set(final Map<String, Object> map) {
            if (logger.isDebugEnabled()) {
                logger.debug("Setting suggest settings (bulk): index={}, settingsId={}, settings={}", settingsIndexName, settingsId,
                        map.toString());
            }
            try {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java

            Map map = project1.getArtifactMap();
    
            assertNotNull(map, "No artifacts");
            assertFalse(map.isEmpty(), "No Artifacts");
            assertTrue(map.size() == 2, "Set size should be 2, is " + map.size());
    
            assertTrue(map.containsKey("maven-test:t09-a"), "maven-test:t09-a is not in the project");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5K bytes
    - Click Count (0)
  7. cmd/api-response_test.go

    			request: &http.Request{
    				Host: "127.0.0.1:9000",
    				Header: map[string][]string{
    					"X-Forwarded-Scheme": {httpScheme},
    				},
    			},
    			bucket:           "testbucket1",
    			object:           "test/1.txt",
    			expectedLocation: "http://127.0.0.1:9000/testbucket1/test/1.txt",
    		},
    		{
    			request: &http.Request{
    				Host: "127.0.0.1:9000",
    				Header: map[string][]string{
    					"X-Forwarded-Scheme": {httpsScheme},
    				},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/log/exentity/ClickLog.java

            return getUrl();
        }
    
        @Override
        public Map<String, Object> toSource() {
            final Map<String, Object> sourceMap = super.toSource();
            if (fields != null) {
                sourceMap.putAll(fields);
            }
            return sourceMap;
        }
    
        @Override
        protected void addFieldToSource(final Map<String, Object> sourceMap, final String field, final Object value) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/user/exentity/Group.java

            return "Group [name=" + name + "]";
        }
    
        public Map<String, String> getAttributes() {
            return attributes;
        }
    
        public void setAttributes(final Map<String, String> attributes) {
            this.attributes = attributes;
        }
    
        @Override
        public Map<String, Object> toSource() {
            final Map<String, Object> sourceMap = new HashMap<>();
            if (name != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java

            return List.of();
        }
    
        @Override
        public <T> Map<String, T> lookupMap(Class<T> type) {
            return Map.of();
        }
    
        public static Builder builder() {
            return new Builder();
        }
    
        public static class Builder {
            private final Map<Class<?>, Object> components = new HashMap<>();
    
            public ProtoLookup build() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
Back to Top