Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2071 - 2080 of 3,402 for rint (0.02 sec)

  1. docs/pt/docs/tutorial/query-params.md

    ```Python hl_lines="10"
    {!> ../../docs_src/query_params/tutorial006.py!}
    ```
    
    ////
    
    Nesse caso, existem 3 parâmetros de consulta:
    
    * `needy`, um `str` obrigatório.
    * `skip`, um `int` com o valor padrão `0`.
    * `limit`, um `int` opcional.
    
    /// tip | "Dica"
    
    Você também poderia usar `Enum` da mesma forma que com [Path Parameters](path-params.md#valores-predefinidos){.internal-link target=_blank}.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. src/bufio/example_test.go

    	const input = "1234 5678 1234567901234567890"
    	scanner := bufio.NewScanner(strings.NewReader(input))
    	// Create a custom split function by wrapping the existing ScanWords function.
    	split := func(data []byte, atEOF bool) (advance int, token []byte, err error) {
    		advance, token, err = bufio.ScanWords(data, atEOF)
    		if err == nil && token != nil {
    			_, err = strconv.ParseInt(string(token), 10, 32)
    		}
    		return
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/endpoint.go

    		addrs = append(addrs, a.GetAddress())
    	}
    	result := make([]string, 0, len(addrs))
    	for _, addr := range addrs {
    		if addr := addr.GetSocketAddress(); addr != nil {
    			result = append(result, addr.Address+":"+strconv.Itoa(int(addr.GetPortValue())))
    			continue
    		}
    		if addr := addr.GetPipe(); addr != nil {
    			result = append(result, addr.GetPath())
    			continue
    		}
    		if internal := addr.GetEnvoyInternalAddress(); internal != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 22 09:57:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

        //                                                                        Small Helper
        //                                                                        ============
        protected void verifyCrudMode(final int crudMode, final int expectedMode, final String dictId) {
            if (crudMode != expectedMode) {
                throwValidationError(messages -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

        //                                                                        Small Helper
        //                                                                        ============
        protected void verifyCrudMode(final int crudMode, final int expectedMode) {
            if (crudMode != expectedMode) {
                throwValidationError(messages -> {
                    messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

        //                                                                        Small Helper
        //                                                                        ============
        protected void verifyCrudMode(final int crudMode, final int expectedMode) {
            if (crudMode != expectedMode) {
                throwValidationError(messages -> {
                    messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  7. cmd/xl-storage-meta-inline.go

    	}
    	*x = payload
    }
    
    // entries returns the number of entries in the data.
    func (x xlMetaInlineData) entries() int {
    	if len(x) == 0 || !x.versionOK() {
    		return 0
    	}
    	sz, _, _ := msgp.ReadMapHeaderBytes(x.afterVersion())
    	return int(sz)
    }
    
    // replace will add or replace a key/value pair.
    func (x *xlMetaInlineData) replace(key string, value []byte) {
    	in := x.afterVersion()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. cmd/bucket-replication-metrics.go

    }
    
    // SMA struct for calculating simple moving average
    type SMA struct {
    	buf       []float64
    	window    int     // len of buf
    	idx       int     // current index in buf
    	CAvg      float64 // cumulative average
    	prevSMA   float64
    	filledBuf bool
    }
    
    func newSMA(ln int) *SMA {
    	if ln <= 0 {
    		ln = defaultWindowSize
    	}
    	return &SMA{
    		buf:    make([]float64, ln),
    		window: ln,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Equivalence.java

       *       equivalence(x, y)} is false, {@code hash(x) == hash(y)} may still be true.
       *   <li>{@code hash(null)} is {@code 0}.
       * </ul>
       */
      public final int hash(@CheckForNull T t) {
        if (t == null) {
          return 0;
        }
        return doHash(t);
      }
    
      /**
       * Implemented by the user to return a hash code for {@code t}, subject to the requirements
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/TypeResolver.java

                "Incompatible type: %s vs. %s",
                fromWildcardType,
                to);
            for (int i = 0; i < fromUpperBounds.length; i++) {
              populateTypeMappings(mappings, fromUpperBounds[i], toUpperBounds[i]);
            }
            for (int i = 0; i < fromLowerBounds.length; i++) {
              populateTypeMappings(mappings, fromLowerBounds[i], toLowerBounds[i]);
            }
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
Back to top