Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,351 for filterFn (0.17 sec)

  1. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

        Multimap<String, Integer> filtered = Multimaps.filterValues(keyFiltered, VALUE_PREDICATE);
        assertEquals(1, filtered.size());
        assertTrue(filtered.containsEntry("foo", 1));
        assertTrue(filtered.keySet().retainAll(Arrays.asList("cat", "dog")));
        assertEquals(0, filtered.size());
      }
    
      // TODO(jlevy): Many more tests needed.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.3K bytes
    - Viewed (0)
  2. build-logic/packaging/src/main/kotlin/gradlebuild.public-api-jar.gradle.kts

        configureAsRuntimeJarClasspath(objects)
    }
    
    enum class Filtering {
        PUBLIC_API, ALL
    }
    
    val filteredAttribute: Attribute<Filtering> = Attribute.of("org.gradle.apijar.filtered", Filtering::class.java)
    
    dependencies {
        artifactTypes.getByName("jar") {
            attributes.attribute(filteredAttribute, Filtering.ALL)
        }
    
        // Filters out classes that are not exposed by our API.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:55 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/podtopologyspread/filtering.go

    	}
    	for pair, num := range s.TpPairToMatchNum {
    		s.TpKeyToCriticalPaths[pair.key].update(pair.value, num)
    	}
    
    	return &s, nil
    }
    
    // Filter invoked at the filter extension point.
    func (pl *PodTopologySpread) Filter(ctx context.Context, cycleState *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status {
    	node := nodeInfo.Node()
    
    	s, err := getPreFilterState(cycleState)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DosFileFilter.java

        protected String wildcard;
        protected int attributes;
    
    
        /**
         * This filter can be considerably more efficient than other file filters
         * as the specified wildcard and attributes are passed to the server for
         * filtering there (although attributes are largely ignored by servers
         * they are filtered locally by the default accept method).
         * 
         * @param wildcard
         * @param attributes
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/testdata/envoy-filter-filterchain.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: EnvoyFilter
    metadata:
      name: test-patch-filter-chain
      namespace: egress
    spec:
      configPatches:
        - applyTo: FILTER_CHAIN
          match:
            listener:
              filterChain:
                sni: www.example.com
          patch:
            operation: MERGE
            value:
              transportSocket:
                name: envoy.transport_sockets.tls
                typedConfig:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 16 03:57:19 UTC 2023
    - 815 bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

        /**
         * Returns a new tree starting at this node, filtering the children.
         * Note that this node will not be filtered and only the children
         * and its descendant will be checked.
         *
         * @param filter the filter to apply
         * @return a new filtered graph
         */
        @Nonnull
        Node filter(@Nonnull Predicate<Node> filter);
    
        /**
         * Returns a string representation of this dependency node.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/ProviderSpec.groovy

            0 * transform._
        }
    
        def "filtering provider uses the result of the provider when spec returns true"() {
            def spec = Mock(Spec)
    
            given:
            def provider = providerWithValue(someValue())
    
            when:
            def filtered = provider.filter(spec)
    
            then:
            0 * spec._
    
            when:
            def present = filtered.present
    
            then:
            present
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/native/swift_testing.adoc

    Here’s an example of some filters that are applied every time the build runs:
    
    .Filter tests on every build
    ====
    include::sample[dir="snippets/swift/testFiltering/kotlin",files="build.gradle.kts[tags=test-filtering]"]
    include::sample[dir="snippets/swift/testFiltering/groovy",files="build.gradle[tags=test-filtering]"]
    ====
    
    For more details and examples of declaring filters in the build script, please see the TestFilter reference.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  9. src/go/doc/testdata/generics.go

    //
    // Neither type parameters nor regular parameters should be filtered.
    func AnotherFunc[T ~struct{ f int }](_ struct{ f int }) {}
    
    // AFuncType demonstrates filtering of parameters and type parameters. Here we
    // don't filter type parameters (to be consistent with function declarations),
    // but DO filter the RHS.
    type AFuncType[T ~struct{ f int }] func(_ struct{ f int })
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 10 18:06:32 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  10. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestSelection.java

    import java.util.Set;
    
    /**
     * Describes the set of filtered XCTests.
     *
     * NOTE: Eventually we want to support regular Java-like test filtering, like filtering for a set of test cases
     * or test suites that match a particular pattern.  Unfortunately, XCTest is very limited with how much up-front
     * test discovery we can do and the kind of filtering we can specify from the command-line.  This class reflects
     * those limitations.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top