Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 1,369 for Put (0.09 sec)

  1. tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310.py

        client = TestClient(app)
        return client
    
    
    @needs_py310
    @needs_pydanticv2
    def test_post_body_example(client: TestClient):
        response = client.put(
            "/items/5",
            json={
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
            },
        )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/admin/BadWordTests.java

            final String keyProp = NAME_PREFIX + id;
            requestBody.put(KEY_PROPERTY, keyProp);
            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
            updateMap.put(KEY_PROPERTY, NAME_PREFIX + "new");
            return updateMap;
        }
    
        @Test
        void crudTest() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

                    doc.put(ID_FIELD, Integer.toString(mainSize - i - 1));
                    doc.put("score", 1.0f / (i + 2));
                    builder.addDocument(doc);
                }
                for (int i = 100; i < inSize + 100; i++) {
                    Map<String, Object> doc = new HashMap<>();
                    doc.put(ID_FIELD, Integer.toString(i));
                    doc.put("score", 1.0f / (mainSize + i + 2));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableTable.java

       *
       * <pre>{@code
       * static final ImmutableTable<Integer, Character, String> SPREADSHEET =
       *     new ImmutableTable.Builder<Integer, Character, String>()
       *         .put(1, 'A', "foo")
       *         .put(1, 'B', "bar")
       *         .put(2, 'A', "baz")
       *         .buildOrThrow();
       * }</pre>
       *
       * <p>By default, the order in which cells are added to the builder determines the iteration
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

              fileSystem.source(this@asRequestBody).use { source -> sink.writeAll(source) }
            }
          }
        }
    
        @JvmStatic
        @Deprecated(
          message = "Moved to extension function. Put the 'content' argument first to fix Java",
          replaceWith =
            ReplaceWith(
              expression = "content.toRequestBody(contentType)",
              imports = ["okhttp3.RequestBody.Companion.toRequestBody"],
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. internal/config/dns/etcd_dns.go

    	}
    	sort.Slice(srvRecords, func(i int, j int) bool {
    		return srvRecords[i].Key < srvRecords[j].Key
    	})
    	return srvRecords, nil
    }
    
    // Put - Adds DNS entries into etcd endpoint in CoreDNS etcd message format.
    func (c *CoreDNS) Put(bucket string) error {
    	c.Delete(bucket) // delete any existing entries.
    
    	t := time.Now().UTC()
    	for ip := range c.domainIPs {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java

        return Multimaps.forMap(map).asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Map<String, Integer> map = Maps.newHashMap();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("cow", 3);
        return Multimaps.forMap(map).asMap();
      }
    
      @Override
      public void testEntrySetRemoveAllNullFromEmpty() {
        try {
          super.testEntrySetRemoveAllNullFromEmpty();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/plugin/ApiAdminPluginAction.java

            return asJson(new ApiResult.ApiPluginResponse().plugins(list).status(ApiResult.Status.OK).result());
        }
    
        // PUT /api/admin/plugin
        @Execute
        public JsonResponse<ApiResult> put$index(final InstallBody body) {
            validateApi(body, messages -> {});
            final Artifact artifact = ComponentUtil.getPluginHelper().getArtifact(body.name, body.version);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

                            fieldMap.put("name", field.getName());
                            fieldMap.put("result", field.getValueCountMap().entrySet().stream().map(e -> {
                                final Map<String, Object> valueCount = new HashMap<>(2, 1f);
                                valueCount.put("value", e.getKey());
                                valueCount.put("count", e.getValue());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/Dfs.java

                            } while (tmp != dr);
    
                            if (dr.key != null)
                                links.map.put(dr.key, dr);
    
                            roots.put(root, links);
                        } else if (path == null) {
                            roots.put(root, Dfs.FALSE_ENTRY);
                        }
                    } else if (links == Dfs.FALSE_ENTRY) {
                        links = null;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
Back to top