Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for filterFiles (0.1 sec)

  1. src/go/ast/filter.go

    // always removed. The [File.Comments] list is not changed.
    //
    // FilterFile reports whether there are any top-level declarations
    // left after filtering.
    func FilterFile(src *File, f Filter) bool {
    	return filterFile(src, f, false)
    }
    
    func filterFile(src *File, f Filter, export bool) bool {
    	j := 0
    	for _, d := range src.Decls {
    		if filterDecl(d, f, export) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/lifecycle.go

    		for _, otherRule := range otherRules {
    			if lc.Rules[i].ID == otherRule.ID {
    				return errLifecycleDuplicateID
    			}
    		}
    	}
    	return nil
    }
    
    // FilterRules returns the rules filtered by the status, prefix and tags
    func (lc Lifecycle) FilterRules(obj ObjectOpts) []Rule {
    	if obj.Name == "" {
    		return nil
    	}
    	var rules []Rule
    	for _, rule := range lc.Rules {
    		if rule.Status == Disabled {
    			continue
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. pkg/proxy/iptables/number_generated_rules_test.go

    			fp.syncProxyRules()
    			t.Logf("time to sync rule: %v", time.Since(now))
    			t.Logf("iptables data size: %d bytes", fp.iptablesData.Len())
    
    			if fp.filterRules.Lines() != test.expectedFilterRules {
    				t.Errorf("expected number of Filter rules: %d, got: %d", test.expectedFilterRules, fp.filterRules.Lines())
    			}
    
    			if fp.natRules.Lines() != test.expectedNatRules {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/normalization/ConfigureRuntimeClasspathNormalizationIntegrationTest.groovy

        static final String PROPERTIES_FILTER_FLAG = "filterProperties"
        static final String META_INF_FILTER_FLAG = "filterMetaInf"
        static final String FILE_FILTER_FLAG = "filterFile"
    
        enum Api {
            RUNTIME, ANNOTATION
        }
    
        class ProjectWithRuntimeClasspathNormalization {
            final TestFile root
            final TestFile buildCacheDir
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 37.2K bytes
    - Viewed (0)
Back to top