Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 2,028 for ksize (0.02 sec)

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

      public void testElementSetRemovePropagatesToMultiset() {
        Set<E> elementSet = getMultiset().elementSet();
        int size = getNumElements();
        int expectedSize = size - getMultiset().count(e0());
        assertTrue(elementSet.remove(e0()));
        assertFalse(getMultiset().contains(e0()));
        assertEquals(expectedSize, getMultiset().size());
      }
    
      @CollectionSize.Require(SEVERAL)
      @CollectionFeature.Require(SUPPORTS_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. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

            Map<String, Dependency> normalized = new LinkedHashMap<>(dependencies.size() * 2);
    
            for (Dependency dependency : dependencies) {
                normalized.put(dependency.getManagementKey(), dependency);
            }
    
            if (dependencies.size() != normalized.size()) {
                builder.dependencies(normalized.values());
            }
    
            return builder.build();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/boostdoc/CreateForm.java

    import jakarta.validation.constraints.Max;
    import jakarta.validation.constraints.Min;
    import jakarta.validation.constraints.Size;
    
    public class CreateForm {
    
        @ValidateTypeFailure
        public Integer crudMode;
    
        @Required
        @Size(max = 10000)
        public String urlExpr;
    
        @Required
        @Size(max = 10000)
        public String boostExpr;
    
        @Required
        @Min(value = 0)
        @Max(value = 2147483647)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/EditForm.java

    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * @author Keiichi Watanabe
     */
    public class EditForm extends CreateForm {
    
        @Required
        @Size(max = 1000)
        public String id;
    
        @Size(max = 1000)
        public String updatedBy;
    
        @ValidateTypeFailure
        public Long updatedTime;
    
        @Required
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertNull(map.getInstance(Integer.class));
        assertEquals(2, map.size());
      }
    
      public void testParameterizedType() {
        TypeToken<ImmutableList<Integer>> type = new TypeToken<ImmutableList<Integer>>() {};
        map.putInstance(type, ImmutableList.of(1));
        assertEquals(1, map.size());
        assertEquals(ImmutableList.of(1), map.getInstance(type));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_additional_status_codes/test_tutorial001_py310.py

        assert response.status_code == 200, response.text
        assert response.json() == {"name": "Wrestlers", "size": None}
    
    
    @needs_py310
    def test_create(client: TestClient):
        response = client.put("/items/red", json={"name": "Chillies"})
        assert response.status_code == 201, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 738 bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMap.java

          return this;
        }
    
        @CanIgnoreReturnValue
        Builder<K, V> combine(Builder<K, V> other) {
          checkNotNull(other);
          ensureCapacity(this.size + other.size);
          arraycopy(other.entries, 0, this.entries, this.size, other.size);
          this.size += other.size;
          return this;
        }
    
        private ImmutableMap<K, V> build(boolean throwIfDuplicateKeys) {
          /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/collect/StreamsBenchmark.java

    import java.util.stream.Stream;
    
    /**
     * Test stream operation speed.
     *
     * @author Louis Wasserman
     */
    public class StreamsBenchmark {
      @Param({"1", "10", "100", "1000", "10000"})
      private int size;
    
      enum CollectionType {
        ARRAY_LIST(ArrayList::new),
        LINKED_LIST(LinkedList::new);
    
        final Supplier<Collection<Object>> supplier;
    
        private CollectionType(Supplier<Collection<Object>> supplier) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/go/GoForm.java

    import java.util.HashMap;
    import java.util.Map;
    
    import org.lastaflute.web.validation.Required;
    
    import jakarta.validation.constraints.Size;
    
    public class GoForm {
        @Required
        @Size(max = 100)
        public String docId;
    
        @Size(max = 10000)
        @Required
        public String rt;
    
        public String hash;
    
        @Required
        public String queryId;
    
        public Integer order;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/CreateForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * @author shinsuke
     * @author Keiichi Watanabe
     */
    public class CreateForm {
    
        @Required
        public String dictId;
    
        @ValidateTypeFailure
        public Integer crudMode;
    
        @Required
        @Size(max = 1000)
        public String input;
    
        @Required
        @Size(max = 1000)
        public String output;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top