Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3551 - 3560 of 3,853 for qint (0.05 sec)

  1. guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals("20", Strings.repeat(input, 1));
        assertEquals("2020", Strings.repeat(input, 2));
        assertEquals("202020", Strings.repeat(input, 3));
    
        assertEquals("", Strings.repeat("", 4));
    
        for (int i = 0; i < 100; ++i) {
          assertEquals(2 * i, Strings.repeat(input, i).length());
        }
    
        assertThrows(IllegalArgumentException.class, () -> Strings.repeat("x", -1));
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CloserTest.java

            return closeable.equals(other.closeable)
                && thrown.equals(other.thrown)
                && suppressed.equals(other.suppressed);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return Objects.hashCode(closeable, thrown, suppressed);
        }
    
        @Override
        public String toString() {
          return MoreObjects.toStringHelper(this)
              .add("closeable", closeable)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RangeMap.java

       * #asMapOfRanges()}.
       */
      @Override
      boolean equals(@CheckForNull Object o);
    
      /** Returns {@code asMapOfRanges().hashCode()}. */
      @Override
      int hashCode();
    
      /** Returns a readable string representation of this range map. */
      @Override
      String toString();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/body.md

    The function parameters will be recognized as follows:
    
    * If the parameter is also declared in the **path**, it will be used as a path parameter.
    * If the parameter is of a **singular type** (like `int`, `float`, `str`, `bool`, etc) it will be interpreted as a **query** parameter.
    * If the parameter is declared to be of the type of a **Pydantic model**, it will be interpreted as a request **body**.
    
    /// note
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:58:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. docs/fr/docs/tutorial/body.md

    Les paramètres de la fonction seront reconnus comme tel :
    
    * Si le paramètre est aussi déclaré dans le **chemin**, il sera utilisé comme paramètre de chemin.
    * Si le paramètre est d'un **type singulier** (comme `int`, `float`, `str`, `bool`, etc.), il sera interprété comme un paramètre de **requête**.
    * Si le paramètre est déclaré comme ayant pour type un **modèle Pydantic**, il sera interprété comme faisant partie du **corps** de la requête.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:34:41 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/first-steps.md

    ///
    
    ### Шаг 5: верните результат
    
    ```Python hl_lines="8"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Вы можете вернуть `dict`, `list`, отдельные значения `str`, `int` и т.д.
    
    Также можно вернуть модели Pydantic (рассмотрим это позже).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. istioctl/pkg/workload/workload.go

    func marshalWorkloadEntryPodPorts(p map[string]uint32) string {
    	var out []model.PodPort
    	for name, port := range p {
    		out = append(out, model.PodPort{Name: name, ContainerPort: int(port)})
    	}
    	if len(out) == 0 {
    		return ""
    	}
    	sort.Slice(out, func(i, j int) bool {
    		return out[i].Name < out[j].Name
    	})
    	str, err := json.Marshal(out)
    	if err != nil {
    		return ""
    	}
    	return string(str)
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  8. istioctl/pkg/proxyconfig/proxyconfig.go

    )
    
    var (
    	fqdn, direction, subset string
    	port                    int
    	verboseProxyConfig      bool
    	waypointProxyConfig     bool
    
    	address, listenerType, statsType string
    
    	routeName string
    
    	clusterName, status string
    
    	// output format (json, yaml or short)
    	outputFormat string
    
    	proxyAdminPort int
    
    	configDumpFile string
    
    	labelSelector = ""
    	loggerName    string
    )
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  9. docs/uk/docs/tutorial/body.md

    ```
    
    ////
    
    Параметри функції будуть розпізнаватися наступним чином:
    
    * Якщо параметр також оголошено в **шляху**, він використовуватиметься як параметр шляху.
    * Якщо параметр має **сингулярний тип** (наприклад, `int`, `float`, `str`, `bool` тощо), він буде інтерпретуватися як параметр **запиту**.
    * Якщо параметр оголошується як тип **Pydantic моделі**, він інтерпретується як **тіло** запиту.
    
    /// note
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      }
    
      /**
       * Returns the number of key-value mappings in this map. If the map contains more than {@code
       * Integer.MAX_VALUE} elements, returns {@code Integer.MAX_VALUE}.
       */
      public int size() {
        return map.size();
      }
    
      /** Returns {@code true} if this map contains no key-value mappings. */
      public boolean isEmpty() {
        return map.isEmpty();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top