Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 770 for Seys (0.23 sec)

  1. tests/test_orjson_response_class.py

    app = FastAPI(default_response_class=ORJSONResponse)
    
    
    @app.get("/orjson_non_str_keys")
    def get_orjson_non_str_keys():
        key = quoted_name(value="msg", quote=False)
        return {key: "Hello World", 1: 1}
    
    
    client = TestClient(app)
    
    
    def test_orjson_non_str_keys():
        with client:
            response = client.get("/orjson_non_str_keys")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Sep 02 10:17:31 GMT 2022
    - 562 bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutPresentKeyPropagatesToGet() {
        List<K> keys = Helpers.copyToList(multimap().keySet());
        for (K key : keys) {
          resetContainer();
    
          int size = getNumElements();
    
          Collection<V> collection = multimap().get(key);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMap.java

        }
    
        @SuppressWarnings("unchecked")
        final Object legacyReadResolve() {
          K[] keys = (K[]) this.keys;
          V[] values = (V[]) this.values;
    
          Builder<K, V> builder = makeBuilder(keys.length);
    
          for (int i = 0; i < keys.length; i++) {
            builder.put(keys[i], values[i]);
          }
          return builder.buildOrThrow();
        }
    
        /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  4. internal/store/batch_test.go

    	}
    	keys, items, err := batch.GetAll()
    	if err != nil {
    		t.Fatalf("unable to get the items from the batch; %v", err)
    	}
    	if len(items) != int(limit) {
    		t.Fatalf("Expected length of the batch items to be %v but got %v", limit, len(items))
    	}
    	if len(keys) != int(limit) {
    		t.Fatalf("Expected length of the batch keys to be %v but got %v", limit, len(items))
    	}
    	batchLen = batch.Len()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java

            Helpers.mapEntry(k0(), v0()), Helpers.mapEntry(k0(), v1()), Helpers.mapEntry(k1(), v0()));
        Multiset<K> keys = multimap().keys();
        assertEquals(2, keys.count(k0()));
        assertEquals(1, keys.count(k1()));
        assertEquals(3, keys.size());
        assertContainsAllOf(keys, k0(), k1());
        assertContainsAllOf(
            keys.entrySet(), Multisets.immutableEntry(k0(), 2), Multisets.immutableEntry(k1(), 1));
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 4.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java

            Helpers.mapEntry(k0(), v0()), Helpers.mapEntry(k0(), v1()), Helpers.mapEntry(k1(), v0()));
        Multiset<K> keys = multimap().keys();
        assertEquals(2, keys.count(k0()));
        assertEquals(1, keys.count(k1()));
        assertEquals(3, keys.size());
        assertContainsAllOf(keys, k0(), k1());
        assertContainsAllOf(
            keys.entrySet(), Multisets.immutableEntry(k0(), 2), Multisets.immutableEntry(k1(), 1));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 4.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

        List<? extends Entry<?, ?>> entries = Lists.newArrayList(map.entrySet());
        List<Object> keys = Lists.newArrayList(map.keySet());
        List<Object> values = Lists.newArrayList(map.values());
        assertEquals(2 * entries.size(), alternatingKeysAndValues.length);
        assertEquals(2 * keys.size(), alternatingKeysAndValues.length);
        assertEquals(2 * values.size(), alternatingKeysAndValues.length);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 21 14:41:51 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeBasedTable.java

    import java.util.TreeMap;
    import javax.annotation.CheckForNull;
    
    /**
     * Implementation of {@code Table} whose row keys and column keys are ordered by their natural
     * ordering or by supplied comparators. When constructing a {@code TreeBasedTable}, you may provide
     * comparators for the row keys and the column keys, or you may use natural ordering for both.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

            .withFeatures(
                MapFeature.GENERAL_PURPOSE,
                MapFeature.ALLOWS_NULL_KEYS,
                MapFeature.ALLOWS_NULL_VALUES,
                MapFeature.ALLOWS_ANY_NULL_QUERIES,
                MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                MapFeature.RESTRICTS_KEYS,
                MapFeature.RESTRICTS_VALUES,
                CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 17K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableBiMap.java

      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableBiMap} whose keys
       * and values are the result of applying the provided mapping functions to the input elements.
       * Entries appear in the result {@code ImmutableBiMap} in encounter order.
       *
       * <p>If the mapped keys or values contain duplicates (according to {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
Back to top