Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1041 - 1050 of 1,369 for PUT (0.03 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                if (collision == null) {
                    index.put(projectId, project);
                } else {
                    List<File> pomFiles = collisions.get(projectId);
    
                    if (pomFiles == null) {
                        pomFiles = new ArrayList<>(Arrays.asList(collision.getFile(), project.getFile()));
                        collisions.put(projectId, pomFiles);
                    } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  2. docs/zh/docs/tutorial/cors.md

    你可以在 **FastAPI** 应用中使用 `CORSMiddleware` 来配置它。
    
    * 导入 `CORSMiddleware`。
    * 创建一个允许的源列表(由字符串组成)。
    * 将其作为「中间件」添加到你的 **FastAPI** 应用中。
    
    你也可以指定后端是否允许:
    
    * 凭证(授权 headers,Cookies 等)。
    * 特定的 HTTP 方法(`POST`,`PUT`)或者使用通配符 `"*"` 允许所有方法。
    * 特定的 HTTP headers 或者使用通配符 `"*"` 允许所有 headers。
    
    ```Python hl_lines="2  6-11  13-19"
    {!../../docs_src/cors/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

                    line = br.readLine();
                }
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
    
            if (!errorsForFile.isEmpty()) {
                errors.put(sourceFile, errorsForFile);
            }
        }
    
        private void gatherMarkdownLinksInLine(File sourceFile, String line, int lineNumber, List<Error> errorsForFile) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 08:08:05 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                                builder.setScript(script);
                                final Map<String, Object> upsertMap = new HashMap<>();
                                upsertMap.put(fessConfig.getIndexFieldFavoriteCount(), 1);
                                builder.setUpsert(upsertMap);
                                builder.setRefreshPolicy(Constants.TRUE);
                            });
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

            allowedPriorLocks.put(acquiredLock, new ExampleStackTrace(acquiredLock, this));
          } else {
            // Unsafe acquisition order detected. Create and cache a
            // PotentialDeadlockException.
            PotentialDeadlockException exception =
                new PotentialDeadlockException(acquiredLock, this, path);
            disallowedPriorLocks.put(acquiredLock, exception);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

      protected void setUp() throws Exception {
        map = new MutableTypeToInstanceMap<>();
      }
    
      public void testPutThrows() {
        assertThrows(
            UnsupportedOperationException.class,
            () -> map.put(TypeToken.of(Integer.class), Integer.valueOf(5)));
      }
    
      public void testPutAllThrows() {
        assertThrows(
            UnsupportedOperationException.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/UpgradeUtil.java

    import org.opensearch.action.admin.indices.mapping.get.GetFieldMappingsResponse.FieldMappingMetadata;
    import org.opensearch.action.admin.indices.mapping.get.GetMappingsResponse;
    import org.opensearch.action.admin.indices.mapping.put.PutMappingRequestBuilder;
    import org.opensearch.action.index.IndexRequest;
    import org.opensearch.action.support.master.AcknowledgedResponse;
    import org.opensearch.client.Client;
    import org.opensearch.client.IndicesAdminClient;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKuromojiTokenizerFactory.java

                            @SuppressWarnings("unchecked")
                            final EnumMap<Type, Dictionary> dictionaryMap = (EnumMap<Type, Dictionary>) dictionaryMapField.get(tokenizer);
                            dictionaryMap.put(Type.USER, userDictionary);
                        } catch (final Exception e) {
                            throw new IllegalStateException("Failed to update the tokenizer.", e);
                        }
                    }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

                this.referent = 1;
            }
    
            if ( ( e = this.referents.get(obj) ) == null ) {
                e = new Entry(this.referent++, obj);
                this.referents.put(obj, e);
            }
    
            return e.referent;
        }
    
    
        public void enc_ndr_referent ( Object obj, int type ) {
            if ( obj == null ) {
                enc_ndr_long(0);
                return;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/cors.md

    * Adicione-a como um "middleware" à sua aplicação **FastAPI**.
    
    Você também pode especificar se o seu backend permite:
    
    * Credenciais (Cabeçalhos de autorização, Cookies, etc).
    * Métodos HTTP específicos (`POST`, `PUT`) ou todos eles com o curinga `"*"`.
    * Cabeçalhos HTTP específicos ou todos eles com o curinga `"*"`.
    
    ```Python hl_lines="2  6-11  13-19"
    {!../../docs_src/cors/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top