Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1031 - 1040 of 1,369 for Put (0.02 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. internal/grid/handlers.go

    		h.reqPool.Put(r)
    	}
    }
    
    // PutResponse will accept a response for reuse.
    // These should be returned by the caller.
    func (h *StreamTypeHandler[Payload, Req, Resp]) PutResponse(r Resp) {
    	if r != h.nilResp {
    		//nolint:staticcheck // SA6002 IT IS A GENERIC VALUE! (and always a pointer)
    		h.respPool.Put(r)
    	}
    }
    
    // NewResponse creates a new response.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  3. internal/s3select/message.go

    					freeSpace := bufLength - writer.payloadBufferIndex
    					if freeSpace == 0 {
    						if !writer.flushRecords() {
    							quitFlag = true
    							break
    						}
    					}
    				}
    
    				bufPool.Put(payload)
    			}
    
    		case <-recordStagingTicker.C:
    			if !writer.flushRecords() {
    				quitFlag = true
    			}
    
    		case <-keepAliveTicker.C:
    			if !writer.write(continuationMessage) {
    				quitFlag = true
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/org/codelibs/fess/es/config/bsentity/BsScheduledJob.java

            }
            return sourceMap;
        }
    
        protected void addFieldToSource(Map<String, Object> sourceMap, String field, Object value) {
            sourceMap.put(field, value);
        }
    
        // ===================================================================================
        //                                                                      Basic Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        GcFinalization.awaitClear(ref);
        assertNull(ref.get());
      }
    
      public void testAwaitDone_finalizationPredicate() {
        final WeakHashMap<Object, Object> map = new WeakHashMap<>();
        map.put(new Object(), Boolean.TRUE);
        GcFinalization.awaitDone(
            new FinalizationPredicate() {
              @Override
              public boolean isDone() {
                return map.isEmpty();
              }
            });
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

     *
     * <p><b>Warning:</b> The methods of {@code ForwardingSortedMap} forward <i>indiscriminately</i> to
     * the methods of the delegate. For example, overriding {@link #put} alone <i>will not</i> change
     * the behavior of {@link #putAll}, which can lead to unexpected behavior. In this case, you should
     * override {@code putAll} as well, either providing your own implementation, or delegating to the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top