Search Options

Results per page
Sort
Preferred Languages
Advance

Results 841 - 850 of 1,467 for dist (0.04 sec)

  1. guava-tests/test/com/google/common/reflect/SubtypeTester.java

     *   @TestSubtype(suppressGetSubtype = true, suppressGetSupertype = true)
     *   public <T> Iterable<? extends T> listIsSubtypeOfIterable(List<T> list) {
     *     return isSubtype(list);
     *   }
     *
     *   @TestSubtype
     *   public List<String> intListIsNotSubtypeOfStringList(List<Integer> intList) {
     *     return notSubtype(intList);
     *   }
     * }
     *
     * public void testMySubtypes() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. docs_src/python_types/tutorial006.py

    from typing import List
    
    
    def process_items(items: List[str]):
        for item in items:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 106 bytes
    - Viewed (0)
  3. tests/test_serialize_response_dataclass.py

    from dataclasses import dataclass
    from datetime import datetime
    from typing import List, Optional
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @dataclass
    class Item:
        name: str
        date: datetime
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 26 13:56:47 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java

      @Override
      public AnEnum[] createArray(int length) {
        return new AnEnum[length];
      }
    
      /** Sorts the enums according to their natural ordering. */
      @Override
      public List<AnEnum> order(List<AnEnum> insertionOrder) {
        sort(insertionOrder);
        return insertionOrder;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutAllTester.java

    public class ListMultimapPutAllTester<K, V> extends AbstractListMultimapTester<K, V> {
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllAddsAtEndInOrder() {
        List<V> values = asList(v3(), v1(), v4());
    
        for (K k : sampleKeys()) {
          resetContainer();
    
          List<V> expectedValues = copyToList(multimap().get(k));
    
          assertTrue(multimap().putAll(k, values));
          expectedValues.addAll(values);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/MailingListTest.java

        @Test
        void testToStringNullSafe() {
            assertNotNull(new MailingList().toString());
        }
    
        public void testToStringNotNonsense() {
            MailingList list = new MailingList();
            list.setName("modello-dev");
    
            String s = list.toString();
    
            assertEquals("MailingList {name=modello-dev, archive=null}", s);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Futures.java

        @SuppressWarnings("nullness")
        ListenableFuture<List<V>> nonNull = nullable;
        return nonNull;
      }
    
      /**
       * Creates a new {@code ListenableFuture} whose value is a list containing the values of all its
       * input futures, if all succeed.
       *
       * <p>The list of results is in the same order as the input list.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.app.service.DuplicateHostService;
    import org.codelibs.fess.es.config.exentity.DuplicateHost;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. cmd/iam-object-store.go

    	setDefaultCannedPolicies(cache.iamPolicyDocsMap)
    
    	listStartTime := UTCNow()
    	listedConfigItems, err := iamOS.listAllIAMConfigItems(ctx)
    	if err != nil {
    		return fmt.Errorf("unable to list IAM data: %w", err)
    	}
    	if took := time.Since(listStartTime); took > maxIAMLoadOpTime {
    		var s strings.Builder
    		for k, v := range listedConfigItems {
    			s.WriteString(fmt.Sprintf("    %s: %d items\n", k, len(v)))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Resolution.java

     * If the type is {@link org.apache.maven.api.Node Node} or
     * {@code List<}{@link org.apache.maven.api.Node Node}{@code >},
     * and {@code pathScope != ""}, the dependencies will be <i>flattened</i>.
     * Else the dependencies will be <i>resolved</i> and {@code pathScope} must be non empty,
     * and the field type can be {@link org.apache.maven.api.Node Node},
     * {@code List<}{@link org.apache.maven.api.Node Node}{@code >},
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top