Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 941 - 950 of 1,500 for PUT (0.02 seconds)

  1. android/guava-tests/test/com/google/common/base/JoinerTest.java

        assertThat(j.join(ImmutableMap.of("", ""))).isEqualTo(":");
    
        Map<@Nullable String, @Nullable String> mapWithNulls = new LinkedHashMap<>();
        mapWithNulls.put("a", null);
        mapWithNulls.put(null, "b");
    
        assertThrows(NullPointerException.class, () -> j.join(mapWithNulls));
    
        assertThat(j.useForNull("00").join(mapWithNulls)).isEqualTo("a:00;00:b");
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java

            // Intentionally notNull because Super POM may not contain a modelId
            Objects.requireNonNull(modelId, "modelId cannot null");
    
            rawModels.put(modelId, rawModel);
    
            return this;
        }
    
        @Override
        public List<Profile> getActivePomProfiles(String modelId) {
            return activePomProfiles.get(modelId);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java

            if (!recessivePlugins.isEmpty() || !plugins.isEmpty()) {
                LinkedHashMap<String, Plugin> mergedPlugins = new LinkedHashMap<>();
                recessivePlugins.forEach(p -> mergedPlugins.put(p.getPrefix(), p));
                plugins.forEach(p -> mergedPlugins.put(p.getPrefix(), p));
                metadata.setPlugins(new ArrayList<>(mergedPlugins.values()));
            }
    
            // just carry-on as-is
            if (recessive.getVersioning() != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4K bytes
    - Click Count (0)
  4. docs_src/body_multiple_params/tutorial003_py310.py

    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    class User(BaseModel):
        username: str
        full_name: str | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item, user: User, importance: int = Body()):
        results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 504 bytes
    - Click Count (0)
  5. docs_src/schema_extra_example/tutorial003_an_py310.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: int,
        item: Annotated[
            Item,
            Body(
                examples=[
                    {
                        "name": "Foo",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 673 bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/exentity/FileConfig.java

                }
            }
            paramMap.put(Param.Client.SMB_AUTHENTICATIONS, smbAuthList.toArray(new SmbAuthentication[smbAuthList.size()]));
            if (logger.isDebugEnabled()) {
                smbAuthList.forEach(smbAuth -> logger
                        .debug("SmbAuthentication: " + smbAuth.getServer() + ":" + smbAuth.getPort() + " " + smbAuth.getUsername()));
            }
            paramMap.put(Param.Client.SMB1_AUTHENTICATIONS,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

         * Builder} and its comparator.
         */
        @Override
        public ImmutableSortedSet<E> build() {
          @SuppressWarnings("unchecked") // we're careful to put only E's in here
          E[] contentsArray = (E[]) contents;
          ImmutableSortedSet<E> result = construct(comparator, size, contentsArray);
          this.size = result.size(); // we eliminated duplicates in-place in contentsArray
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 36.8K bytes
    - Click Count (0)
  8. internal/grid/types.go

    	return t2[:0]
    }
    
    func (p *ArrayOf[T]) putA(v []T) {
    	var zero T // nil
    	for i, t := range v {
    		//nolint:staticcheck // SA6002 IT IS A GENERIC VALUE!
    		p.ePool.Put(t)
    		v[i] = zero
    	}
    	if v != nil {
    		v = v[:0]
    		p.aPool.Put(&v)
    	}
    }
    
    func (p *ArrayOf[T]) newE() T {
    	return p.ePool.Get()
    }
    
    // Array provides a wrapper for an underlying array of serializable objects.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Iterables.java

       *
       * <p><b>Java 8+ users:</b> If passing a single element {@code e}, the {@code Stream} equivalent
       * of this method is {@code Stream.generate(() -> e)}. Otherwise, put the elements in a collection
       * and use {@code Stream.generate(() -> collection).flatMap(Collection::stream)}.
       */
      @SafeVarargs
      public static <T extends @Nullable Object> Iterable<T> cycle(T... elements) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java

            Map<String, ExecutionPlanItem> lastInExistingPhases = new HashMap<>();
            for (ExecutionPlanItem executionPlanItem : getExecutionPlanItems()) {
                lastInExistingPhases.put(executionPlanItem.getLifecyclePhase(), executionPlanItem);
            }
    
            ExecutionPlanItem lastSeenExecutionPlanItem = null;
    
            for (String phase : totalPhaseSet) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.3K bytes
    - Click Count (0)
Back to Top