Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2821 - 2830 of 3,609 for uint (0.1 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java

      }
    
      public void testKeysElementSet() {
        assertEquals(multimap().keySet(), multimap().keys().elementSet());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testKeysRemove() {
        int original = multimap().keys().remove(k0(), 1);
        assertEquals(max(original - 1, 0), multimap().get(k0()).size());
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

        }
    
        @Override
        public Set<E> create(Object... elements) {
          return (Set<E>) SerializableTester.reserialize(gen.create(elements));
        }
    
        @Override
        public E[] createArray(int length) {
          return gen.createArray(length);
        }
    
        @Override
        public Iterable<E> order(List<E> insertionOrder) {
          return gen.order(insertionOrder);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. cmd/rebalance-admin.go

    	Bucket      string        `json:"bucket"`
    	Object      string        `json:"object"`
    	Elapsed     time.Duration `json:"elapsed"`
    	ETA         time.Duration `json:"eta"`
    }
    
    type rebalancePoolStatus struct {
    	ID       int               `json:"id"`                 // Pool index (zero-based)
    	Status   string            `json:"status"`             // Active if rebalance is running, empty otherwise
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 22 00:56:43 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                List<Boolean> oldParametersNullability = parametersNullabilityOf(oldBehavior)
                List<Boolean> newParametersNullability = parametersNullabilityOf(newBehavior)
    
                for (int idx = 0; idx < oldParametersNullability.size(); idx++) {
                    def oldNullability = oldParametersNullability[idx]
                    def newNullability = newParametersNullability[idx]
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Apr 13 10:04:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/MethodUtil.java

         */
        public static boolean isHashCodeMethod(final Method method) {
            assertArgumentNotNull("method", method);
    
            return method != null && method.getName().equals("hashCode") && method.getReturnType() == int.class
                    && method.getParameterTypes().length == 0;
        }
    
        /**
         * {@literal toString()}メソッドかどうか返します。
         *
         * @param method
         *            メソッド。{@literal null}であってはいけません
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/body-nested-models.md

    ## 任意の`dict`のボディ
    
    また、ある型のキーと別の型の値を持つ`dict`としてボディを宣言することもできます。
    
    有効なフィールド・属性名を事前に知る必要がありません(Pydanticモデルの場合のように)。
    
    これは、まだ知らないキーを受け取りたいときに便利だと思います。
    
    ---
    
    他にも、`int`のように他の型のキーを持ちたい場合などに便利です。
    
    それをここで見ていきましょう。
    
    この場合、`int`のキーと`float`の値を持つものであれば、どんな`dict`でも受け入れることができます:
    
    ```Python hl_lines="15"
    {!../../docs_src/body_nested_models/tutorial009.py!}
    ```
    
    /// tip | "豆知識"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/Graph.java

       *
       * <p>If the count is greater than {@code Integer.MAX_VALUE}, returns {@code Integer.MAX_VALUE}.
       *
       * @throws IllegalArgumentException if {@code node} is not an element of this graph
       */
      @Override
      int degree(N node);
    
      /**
       * Returns the count of {@code node}'s incoming edges (equal to {@code predecessors(node).size()})
       * in a directed graph. In an undirected graph, returns the {@link #degree(Object)}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        assertTrue(entrySet.toArrayCalled);
      }
    
      private static class IntegerDiv10 implements Comparable<IntegerDiv10> {
        final int value;
    
        IntegerDiv10(int value) {
          this.value = value;
        }
    
        @Override
        public int compareTo(IntegerDiv10 o) {
          return value / 10 - o.value / 10;
        }
    
        @Override
        public String toString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/Graph.java

       *
       * <p>If the count is greater than {@code Integer.MAX_VALUE}, returns {@code Integer.MAX_VALUE}.
       *
       * @throws IllegalArgumentException if {@code node} is not an element of this graph
       */
      @Override
      int degree(N node);
    
      /**
       * Returns the count of {@code node}'s incoming edges (equal to {@code predecessors(node).size()})
       * in a directed graph. In an undirected graph, returns the {@link #degree(Object)}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/Invokable.java

     * will resolve the type parameters of the method or constructor in the context of the owner type,
     * which may be a subtype of the declaring class. For example:
     *
     * <pre>{@code
     * Method getMethod = List.class.getMethod("get", int.class);
     * Invokable<List<String>, ?> invokable = new TypeToken<List<String>>() {}.method(getMethod);
     * assertEquals(TypeToken.of(String.class), invokable.getReturnType()); // Not Object.class!
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
Back to top