Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 842 for filterBy (0.23 sec)

  1. tensorflow/c/checkpoint_reader.cc

          const auto& slice_proto = entry.slices(i);
          CHECK(filtered_keys
                    .insert(EncodeTensorNameSlice(
                        string(v2_reader_->key()) /* full var's name */,
                        TensorSlice(slice_proto)))
                    .second);
        }
      }
    
      // Second pass: adds the entries, ignoring the filtered keys.
      std::unique_ptr<TensorSliceReader::VarToShapeMap> var_to_shape_map(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

        }
        if (unfiltered instanceof FilteredSet) {
          // Support clear(), removeAll(), and retainAll() when filtering a filtered
          // collection.
          FilteredSet<E> filtered = (FilteredSet<E>) unfiltered;
          Predicate<E> combinedPredicate = Predicates.and(filtered.predicate, predicate);
          return new FilteredSet<>((Set<E>) filtered.unfiltered, combinedPredicate);
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  3. tests/test_filter_pydantic_sub_model/test_filter_pydantic_sub_model_pv1.py

    from ..utils import needs_pydanticv1
    
    
    @pytest.fixture(name="client")
    def get_client():
        from .app_pv1 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_pydanticv1
    def test_filter_sub_model(client: TestClient):
        response = client.get("/model/modelA")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "modelA",
            "description": "model-a-desc",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/FluentIterableTest.java

      public void testFilter() {
        FluentIterable<String> filtered =
            FluentIterable.from(asList("foo", "bar")).filter(Predicates.equalTo("foo"));
    
        List<String> expected = Collections.singletonList("foo");
        List<String> actual = Lists.newArrayList(filtered);
        assertEquals(expected, actual);
        assertCanIterateAgain(filtered);
        assertEquals("[foo]", filtered.toString());
      }
    
      private static class TypeA {}
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/BloomFilter.java

      }
    
      /**
       * Combines this Bloom filter with another Bloom filter by performing a bitwise OR of the
       * underlying data. The mutations happen to <b>this</b> instance. Callers must ensure the Bloom
       * filters are appropriately sized to avoid saturating them.
       *
       * @param that The Bloom filter to combine this Bloom filter with. It is not mutated.
       * @throws IllegalArgumentException if {@code isCompatible(that) == false}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

       *
       * <p>When methods such as {@code removeAll()} and {@code clear()} are called on the filtered
       * multimap or its views, only mappings whose keys satisfy the filter will be removed from the
       * underlying multimap.
       *
       * <p>The returned multimap isn't threadsafe or serializable, even if {@code unfiltered} is.
       *
       * <p>Many of the filtered multimap's methods, such as {@code size()}, iterate across every
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/TypeArtifactFilter.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.resolver.filter;
    
    import org.apache.maven.artifact.Artifact;
    
    /** Artifact Filter which filters on artifact type */
    @Deprecated
    public class TypeArtifactFilter implements ArtifactFilter {
        private String type = "jar";
    
        public TypeArtifactFilter(String type) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/response-change-status-code.md

    And if you declared a `response_model`, it will still be used to filter and convert the object you returned.
    
    **FastAPI** will use that *temporal* response to extract the status code (also cookies and headers), and will put them in the final response that contains the value you returned, filtered by any `response_model`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  9. tests/test_filter_pydantic_sub_model_pv2.py

            return {"name": name, "description": "model-a-desc", "foo": model_c}
    
        client = TestClient(app)
        return client
    
    
    @needs_pydanticv2
    def test_filter_sub_model(client: TestClient):
        response = client.get("/model/modelA")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "modelA",
            "description": "model-a-desc",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/user/cbean/cq/bs/BsRoleCQ.java

            }
        }
    
        public void filtered(FilteredCall<RoleCQ, RoleCQ> filteredLambda) {
            filtered(filteredLambda, null);
        }
    
        public void filtered(FilteredCall<RoleCQ, RoleCQ> filteredLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
            bool((must, should, mustNot, filter) -> {
                filteredLambda.callback(must, filter);
            }, opLambda);
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 13.9K bytes
    - Viewed (0)
Back to top