Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2261 - 2270 of 3,763 for Int (0.02 sec)

  1. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

      public static boolean tryAcquireUninterruptibly(
          Semaphore semaphore, int permits, Duration timeout) {
        return tryAcquireUninterruptibly(
            semaphore, permits, toNanosSaturated(timeout), TimeUnit.NANOSECONDS);
      }
    
      /**
       * Invokes {@code semaphore.}{@link Semaphore#tryAcquire(int, long, TimeUnit) tryAcquire(permits,
       * timeout, unit)} uninterruptibly.
       *
       * @since 18.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  2. lib/wasm/wasm_exec.js

    						Reflect.deleteProperty(loadValue(sp + 8), loadString(sp + 16));
    					},
    
    					// func valueIndex(v ref, i int) ref
    					"syscall/js.valueIndex": (sp) => {
    						sp >>>= 0;
    						storeValue(sp + 24, Reflect.get(loadValue(sp + 8), getInt64(sp + 16)));
    					},
    
    					// valueSetIndex(v ref, i int, x ref)
    					"syscall/js.valueSetIndex": (sp) => {
    						sp >>>= 0;
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. doc/next/6-stdlib/99-minor/math/big/62384.md

    [Float], [Int] and [Rat] now implement the [encoding.TextAppender] interface....
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Aug 15 23:43:00 UTC 2024
    - 78 bytes
    - Viewed (0)
  4. src/bytes/buffer_test.go

    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func TestGrow(t *testing.T) {
    	x := []byte{'x'}
    	y := []byte{'y'}
    	tmp := make([]byte, 72)
    	for _, growLen := range []int{0, 100, 1000, 10000, 100000} {
    		for _, startLen := range []int{0, 100, 1000, 10000, 100000} {
    			xBytes := Repeat(x, startLen)
    
    			buf := NewBuffer(xBytes)
    			// If we read, this affects buf.off, which is good to test.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. docs/en/docs/index.md

    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    The `fastapi dev` server should reload automatically.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. docs/vi/docs/python-types.md

    //// tab | Python 3.8+
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial007.py!}
    ```
    
    ////
    
    Điều này có nghĩa là:
    
    * Biến `items_t` là một `tuple` với 3 phần tử, một `int`, một `int` nữa, và một `str`.
    * Biến `items_s` là một `set`, và mỗi phần tử của nó có kiểu `bytes`.
    
    #### Dict
    
    Để định nghĩa một `dict`, bạn truyền 2 tham số kiểu dữ liệu, phân cách bởi dấu phẩy.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

        @Override
        public Entry<Country, String>[] createArray(int length) {
          return (Entry<Country, String>[]) new Entry<?, ?>[length];
        }
    
        @Override
        public Iterable<Entry<Country, String>> order(List<Entry<Country, String>> insertionOrder) {
          return insertionOrder;
        }
    
        @Override
        public Country[] createKeyArray(int length) {
          return new Country[length];
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/timer/TimeoutManager.java

         * 管理している {@link TimeoutTask}の数を返します。
         *
         * @return 管理している {@link TimeoutTask}の数
         */
        public synchronized int getTimeoutTaskCount() {
            return timeoutTaskList.size();
        }
    
        @Override
        public void run() {
            int nThreads = Runtime.getRuntime().availableProcessors() / 2;
            final String value = System.getProperty("corelib.timeout_task.num_of_threads");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. cmd/httprange.go

    func (h *HTTPRangeSpec) ToHeader() (string, error) {
    	if h == nil {
    		return "", nil
    	}
    	start := strconv.Itoa(int(h.Start))
    	end := strconv.Itoa(int(h.End))
    	switch {
    	case h.Start >= 0 && h.End >= 0:
    		if h.Start > h.End {
    			return "", errInvalidRange
    		}
    	case h.IsSuffixLength:
    		end = strconv.Itoa(int(h.Start * -1))
    		start = ""
    	case h.Start > -1:
    		end = ""
    	default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 08:44:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

        }
    
        /** {@inheritDoc} */
        public void setOptional(boolean optional) {
            artifact.setOptional(optional);
        }
    
        /** {@inheritDoc} */
        public int hashCode() {
            int result = 17;
    
            result = 37 * result + getGroupId().hashCode();
            result = 37 * result + getArtifactId().hashCode();
            result = 37 * result + getType().hashCode();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top