Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 1,007 for put (0.02 seconds)

  1. compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

        void testXmlRoundtripWithProperties() throws Exception {
            Map<String, String> props = new LinkedHashMap<>();
            props.put("javax.version", "3.1.0");
            props.put("mockito.version", "1.10.19");
            props.put("hamcret.version", "2.1");
            props.put("lombok.version", "1.18.6");
            props.put("junit.version", "4.12");
            Model model = Model.newBuilder(true).properties(props).build();
            String xml = toXml(model);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_body_nested_models/test_tutorial006.py

        mod = importlib.import_module(f"docs_src.body_nested_models.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    def test_put_all(client: TestClient):
        response = client.put(
            "/items/123",
            json={
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
                "tags": ["foo", "bar", "foo"],
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRuleSetup.java

        @SuppressWarnings("unchecked")
        public void execute(ViolationCheckContext context) {
            Map<String, Object> userData = (Map<String, Object>) context.getUserData();
            userData.put("acceptedApiChanges", acceptedApiChanges);
            userData.put("seenApiChanges", new HashSet<ApiChange>());
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/DefaultLifecycleMapping.java

            if (lifecycleMap == null) {
                lifecycleMap = new HashMap<>();
    
                if (lifecycles != null) {
                    for (Lifecycle lifecycle : lifecycles) {
                        lifecycleMap.put(lifecycle.getId(), lifecycle);
                    }
                } else {
                    /*
                     * NOTE: This is to provide a migration path for implementors of the legacy API which did not know about
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryCache.java

        /**
         * Puts the specified data into the cache. <strong>Warning:</strong> The cache will directly save the provided
         * reference. If the cached data is mutable, i.e. could be modified after being put into the cache, the caller is
         * responsible for creating a copy of the original data and store the copy in the cache.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilder.java

                if (classExtensionDoc == null) {
                    classExtensionDoc = new ClassExtensionDoc(pluginId, classDoc);
                    plugins.put(pluginId, classExtensionDoc);
                }
                classExtensionDoc.getExtensionClasses().put(extension.getExtensionId(), model.getClassDoc(extension.getExtensionClass()));
            }
            for (ClassExtensionDoc extensionDoc : plugins.values()) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/TreeRangeMap.java

          }
          return Range.create(lowerBound, upperBound);
        }
    
        @Override
        public void put(Range<K> range, V value) {
          checkArgument(
              subRange.encloses(range), "Cannot put range %s into a subRangeMap(%s)", range, subRange);
          TreeRangeMap.this.put(range, value);
        }
    
        @Override
        public void putCoalescing(Range<K> range, V value) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/cache/AbstractCache.java

     *
     * <p>To implement a cache, the programmer needs only to extend this class and provide an
     * implementation for the {@link #put} and {@link #getIfPresent} methods. {@link #getAllPresent} is
     * implemented in terms of {@link #getIfPresent}; {@link #putAll} is implemented in terms of {@link
     * #put}, {@link #invalidateAll(Iterable)} is implemented in terms of {@link #invalidate}. The
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenPropertiesLoader.java

                }
                if (name.startsWith(OVERRIDE_PREFIX)) {
                    String overrideName = name.substring(OVERRIDE_PREFIX.length());
                    props.put(overrideName, substVars(value, name, props, callback));
                } else {
                    props.put(name, substVars(value, name, props, callback));
                }
            }
            props.keySet().removeIf(k -> k.startsWith(OVERRIDE_PREFIX));
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/StartStopExtension.kt

        for (field in staticFields) {
          field.setAccessible(true)
          val server = field.get(null) as? MockWebServer ?: continue
    
          // Put the instance in the store, so JUnit closes it for us in afterAll.
          store.put(field, server)
    
          server.start()
        }
      }
    
      override fun beforeEach(context: ExtensionContext) {
        val testInstance = context.testInstance.get()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jun 19 11:44:16 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top