Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,666 for add1 (0.04 sec)

  1. docs/en/docs/advanced/additional-responses.md

                    }
                }
            }
        }
    }
    ```
    
    ## Additional media types for the main response
    
    You can use this same `responses` parameter to add different media types for the same main response.
    
    For example, you can add an additional media type of `image/png`, declaring that your *path operation* can return a JSON object (with media type `application/json`) or a PNG image:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:07:07 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

            val equalsOffset = indexOf('=', pos)
            if (equalsOffset == -1 || equalsOffset > ampersandOffset) {
              result.add(substring(pos, ampersandOffset))
              result.add(null) // No value for this name.
            } else {
              result.add(substring(pos, equalsOffset))
              result.add(substring(equalsOffset + 1, ampersandOffset))
            }
            pos = ampersandOffset + 1
          }
          return result
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

          for (int i = entry.getCount(); i > 0; i--) {
            list.add(element);
          }
        }
        return list;
      }
    
      // Modification Operations
    
      /**
       * Adds a number of occurrences of the specified element to this multiset.
       *
       * @param element the element to add
       * @param occurrences the number of occurrences to add
       * @return the previous count of the element before the operation; possibly zero
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. cmd/admin-handlers_test.go

    	mkParams := func(clientToken string, forceStart, forceStop bool) url.Values {
    		v := url.Values{}
    		if clientToken != "" {
    			v.Add(mgmtClientToken, clientToken)
    		}
    		if forceStart {
    			v.Add(mgmtForceStart, "")
    		}
    		if forceStop {
    			v.Add(mgmtForceStop, "")
    		}
    		return v
    	}
    	qParamsArr := []url.Values{
    		// Invalid cases
    		mkParams("", true, true),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertIntact(mmHeap);
      }
    
      public void testSmall() {
        MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create();
        mmHeap.add(1);
        mmHeap.add(4);
        mmHeap.add(2);
        mmHeap.add(3);
        assertEquals(4, (int) mmHeap.pollLast());
        assertEquals(3, (int) mmHeap.peekLast());
        assertEquals(3, (int) mmHeap.pollLast());
        assertEquals(1, (int) mmHeap.peek());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

                } else {
                    UniAddress addr;
                    try {
                        addr = getAddress();
                    } catch( UnknownHostException uhe ) {
                        throw new SmbException( url.toString(), uhe );
                    }
                    if( addr.getAddress() instanceof NbtAddress ) {
                        int code = ((NbtAddress)addr.getAddress()).getNameType();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

              }
    
            if (recorded) {
              synchronized(clientEventsList) {
                clientEventsList.add(record.message)
    
                if (record.loggerName == "javax.net.ssl") {
                  val parameters = record.parameters
    
                  if (parameters != null) {
                    clientEventsList.add(parameters.first().toString())
                  }
                }
              }
            }
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. docs/zh/docs/contributing.md

    这样,你可以编辑文档 / 源文件并实时查看更改。
    
    /// tip
    
    或者你也可以手动执行和该脚本一样的操作
    
    进入语言目录,如果是英文文档,目录则是 `docs/en/`:
    
    ```console
    $ cd docs/en/
    ```
    
    在该目录执行 `mkdocs` 命令
    
    ```console
    $ mkdocs serve --dev-addr 8008
    ```
    
    ///
    
    #### Typer CLI (可选)
    
    本指引向你展示了如何直接用 `python` 运行 `./scripts/docs.py` 中的脚本。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

            }
            this.sessions.add(ssn);
            return ssn;
        }
    
    
        boolean matches ( Address addr, int prt, InetAddress laddr, int lprt, String hostName ) {
            if ( this.state == 5 || this.state == 6 ) {
                // don't reuse disconnecting/disconnected transports
                return false;
            }
            if ( hostName == null )
                hostName = addr.getHostName();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

             * @param arg2
             * @return Number
             */
            public Number add(final Number arg1, final Number arg2) {
                return new Integer(3);
            }
    
            /**
             * @param arg1
             * @param arg2
             * @return int
             */
            public int add2(final int arg1, final int arg2) {
                return arg1 + arg2;
            }
    
            /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top