Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 218 for 120 (0.03 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>.
     *
     * @author Louis Wasserman
     * @since 12.0
     */
    @GwtIncompatible // hasn't been tested yet
    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableSortedMultiset<E> extends ImmutableMultiset<E>
        implements SortedMultiset<E> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

      private static final List<Double> BAD_TOLERANCE_CANDIDATES =
          Doubles.asList(
              -Double.MIN_VALUE,
              -Double.MIN_NORMAL,
              -1,
              -20,
              Double.NaN,
              Double.NEGATIVE_INFINITY,
              -0.001);
    
      public void testFuzzyEqualsFinite() {
        for (double a : FINITE_DOUBLE_CANDIDATES) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

     * number types; reasonable default instance for other stateless types. For mutable types, a fresh
     * instance is created each time {@code get()} is called.
     *
     * @author Kevin Bourrillion
     * @author Ben Yu
     * @since 12.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    public final class ArbitraryInstances {
    
      private static final Ordering<Field> BY_FIELD_NAME =
          new Ordering<Field>() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. src/bytes/bytes_test.go

    		}) != ct.expected {
    			t.Errorf("ContainsFunc(%q, func(%q)) = %v, want %v",
    				ct.b, ct.r, !ct.expected, ct.expected)
    		}
    	}
    }
    
    var makeFieldsInput = func() []byte {
    	x := make([]byte, 1<<20)
    	// Input is ~10% space, ~10% 2-byte UTF-8, rest ASCII non-space.
    	for i := range x {
    		switch rand.Intn(10) {
    		case 0:
    			x[i] = ' '
    		case 1:
    			if i > 0 && x[i-1] == 'x' {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/BytesTest.java

        testRotate(new byte[] {1, 2}, -3, new byte[] {2, 1});
        testRotate(new byte[] {1, 2}, -1, new byte[] {2, 1});
        testRotate(new byte[] {1, 2}, -2, new byte[] {1, 2});
        testRotate(new byte[] {1, 2}, 0, new byte[] {1, 2});
        testRotate(new byte[] {1, 2}, 1, new byte[] {2, 1});
        testRotate(new byte[] {1, 2}, 2, new byte[] {1, 2});
        testRotate(new byte[] {1, 2}, 3, new byte[] {2, 1});
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. docs/site-replication/run-sse-kms-object-replication.sh

    ./mc cp /tmp/data/defpartsize minio1/test-bucket --insecure
    ./mc put /tmp/data/custpartsize minio1/test-bucket --insecure --part-size 50MiB
    sleep 120
    
    # List the objects from source site
    echo "Objects from source instance"
    ./mc ls minio1/test-bucket --insecure
    count1=$(./mc ls minio1/test-bucket/encrypted --insecure | wc -l)
    if [ "${count1}" -ne 1 ]; then
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. src/archive/tar/format.go

    	prefixSize = 155 // Max length of the prefix field in USTAR format
    
    	// Max length of a special file (PAX header, GNU long name or link).
    	// This matches the limit used by libarchive.
    	maxSpecialFileSize = 1 << 20
    )
    
    // blockPadding computes the number of bytes needed to pad offset up to the
    // nearest block edge where 0 <= n < blockSize.
    func blockPadding(offset int64) (n int64) {
    	return -offset & (blockSize - 1)
    }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/extra-models.md

    ```Python hl_lines="1 14 15 18 19 20 33"
    {!../../docs_src/extra_models/tutorial003.py!}
    ```
    
    ## モデルのリスト
    
    同じように、オブジェクトのリストのレスポンスを宣言することができます。
    
    そのためには、標準のPythonの`typing.List`を使用する:
    
    ```Python hl_lines="1 20"
    {!../../docs_src/extra_models/tutorial004.py!}
    ```
    
    ## 任意の`dict`を持つレスポンス
    
    また、Pydanticモデルを使用せずに、キーと値の型だけを定義した任意の`dict`を使ってレスポンスを宣言することもできます。
    
    これは、有効なフィールド・属性名(Pydanticモデルに必要なもの)を事前に知らない場合に便利です。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

     * number types; reasonable default instance for other stateless types. For mutable types, a fresh
     * instance is created each time {@code get()} is called.
     *
     * @author Kevin Bourrillion
     * @author Ben Yu
     * @since 12.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    public final class ArbitraryInstances {
    
      private static final Ordering<Field> BY_FIELD_NAME =
          new Ordering<Field>() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Optional.java

       * throws an exception, whereas the Java 8+ method returns {@code Optional.absent()}.
       *
       * @throws NullPointerException if the function returns {@code null}
       * @since 12.0
       */
      public abstract <V> Optional<V> transform(Function<? super T, V> function);
    
      /**
       * Returns {@code true} if {@code object} is an {@code Optional} instance, and either the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top