Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1511 - 1520 of 1,540 for PUT (0.04 seconds)

  1. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      }
    
      private static void insertIntoReplica(Map<Integer, AtomicInteger> replica, int newValue) {
        if (replica.containsKey(newValue)) {
          replica.get(newValue).incrementAndGet();
        } else {
          replica.put(newValue, new AtomicInteger(1));
        }
      }
    
      private static void removeMinFromReplica(
          SortedMap<Integer, AtomicInteger> replica, int minValue) {
        Integer replicatedMinValue = replica.firstKey();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  2. cmd/storage-rest-client.go

    	} else {
    		p.R.Reset(r)
    	}
    	return p
    }
    
    // readMsgpReaderPoolPut can be used to reuse a *msgp.Reader.
    func readMsgpReaderPoolPut(r *msgp.Reader) {
    	if r != nil {
    		readMsgpReaderPool.Put(r)
    	}
    }
    
    func (client *storageRESTClient) ReadVersion(ctx context.Context, origvolume, volume, path, versionID string, opts ReadOptions) (fi FileInfo, err error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 02:38:41 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            }
    
            @Override
            public void setRequestProperty(String key, String value) {
                List<String> list = new ArrayList<>();
                list.add(value);
                requestProperties.put(key, list);
            }
    
            public Map<String, List<String>> getRecordedRequestProperties() {
                return requestProperties;
            }
        }
    
        @Test
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

                        trans.connect();
                        tree = trans.getSmbSession(auth).getSmbTree(dr.share, service);
    
                        if (dr != start && dr.key != null) {
                            dr.map.put(dr.key, dr);
                        }
    
                        se = null;
    
                        break;
                    } catch (final IOException ioe) {
                        if (ioe instanceof SmbException) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/tutorial/response-model.md

    如果你加了回傳型別註解,工具與編輯器會(正確地)抱怨你的函式回傳的型別(例如 dict)與你宣告的(例如 Pydantic 模型)不同。
    
    在這些情況下,你可以使用「路徑操作裝飾器」參數 `response_model`,而不是函式的回傳型別。
    
    你可以在任何「路徑操作」上使用 `response_model` 參數:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * 等等。
    
    {* ../../docs_src/response_model/tutorial001_py310.py hl[17,22,24:27] *}
    
    /// note | 注意
    
    注意 `response_model` 是「裝飾器」方法(`get`、`post` 等)的參數。不是你的「路徑操作函式」的參數(像其他參數與請求主體那樣)。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/util/ComponentUtil.java

         * @param name The name to register the component under.
         */
        public static void register(final Object instance, final String name) {
            componentMap.put(name, instance);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/TreeRangeSet.java

      }
    
      private void replaceRangeWithSameLowerBound(Range<C> range) {
        if (range.isEmpty()) {
          rangesByLowerBound.remove(range.lowerBound);
        } else {
          rangesByLowerBound.put(range.lowerBound, range);
        }
      }
    
      @LazyInit private transient @Nullable RangeSet<C> complement;
    
      @Override
      public RangeSet<C> complement() {
        RangeSet<C> result = complement;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/reflect/ClassPath.java

        }
        for (URL url : getClassLoaderUrls(classloader)) {
          if (url.getProtocol().equals("file")) {
            File file = toFile(url);
            if (!entries.containsKey(file)) {
              entries.put(file, classloader);
            }
          }
        }
        return ImmutableMap.copyOf(entries);
      }
    
      private static ImmutableList<URL> getClassLoaderUrls(ClassLoader classloader) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  9. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

          return arguments.get(position);
        }
    
        final void calledWith(Object... args) {
          for (int i = 0; i < args.length; i++) {
            if (args[i] != null) {
              arguments.put(i, args[i]);
            }
          }
          for (Object arg : args) {
            checkNotNull(arg); // to fulfill null check
          }
        }
      }
    
      private enum Gender {
        MALE,
        FEMALE
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 47.9K bytes
    - Click Count (0)
  10. cmd/data-usage-cache.go

    	case <-ctx.Done():
    		return ctx.Err()
    	case maxConcurrentScannerSaves <- struct{}{}:
    	}
    
    	buf := bytebufferpool.Get()
    	defer func() {
    		<-maxConcurrentScannerSaves
    		buf.Reset()
    		bytebufferpool.Put(buf)
    	}()
    
    	if err := d.serializeTo(buf); err != nil {
    		return err
    	}
    
    	save := func(name string, timeout time.Duration) error {
    		// Abandon if more than a minute, so we don't hold up scanner.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
Back to Top