Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for runAnalyzer (0.12 sec)

  1. tests/fuzz/analyzer_fuzzer.go

    		if err != nil {
    			return files, err
    		}
    		r := bytes.NewReader(rBytes)
    		files = append(files, local.ReaderSource{Name: name, Reader: r})
    	}
    	return files, nil
    }
    
    // runAnalyzer runs the analyzer
    func runAnalyzer(sa *local.IstiodAnalyzer) (local.AnalysisResult, error) {
    	prevLogLevel := scope.Processing.GetOutputLevel()
    	scope.Processing.SetOutputLevel(log.NoneLevel)
    	defer scope.Processing.SetOutputLevel(prevLogLevel)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/analyzers_bench_test.go

    			sa, err := setupAnalyzerForCase(tc, nil)
    			if err != nil {
    				b.Fatalf("Error setting up analysis for benchmark on testcase %s: %v", tc.name, err)
    			}
    
    			b.ResetTimer()
    
    			// Run the analysis
    			_, err = runAnalyzer(sa)
    			if err != nil {
    				b.Fatalf("Error running analysis for benchmark on testcase %s: %v", tc.name, err)
    			}
    		})
    	}
    }
    
    func BenchmarkAnalyzersArtificialBlankData100(b *testing.B) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/multicluster_analyzers_test.go

    			sa, err := setupMultiClusterEnvironmentForCase(tc, cr)
    			if err != nil {
    				t.Fatalf("Error setting up analysis for testcase %s: %v", tc.name, err)
    			}
    
    			// Run the analysis
    			result, err := runAnalyzer(sa)
    			if err != nil {
    				t.Fatalf("Error running analysis on testcase %s: %v", tc.name, err)
    			}
    
    			g.Expect(extractFields(result.Messages)).To(ConsistOf(tc.expected), "%v", prettyPrintMessages(result.Messages))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/analyzers_test.go

    			sa, err := setupAnalyzerForCase(tc, cr)
    			if err != nil {
    				t.Fatalf("Error setting up analysis for testcase %s: %v", tc.name, err)
    			}
    
    			// Run the analysis
    			result, err := runAnalyzer(sa)
    			if err != nil {
    				t.Fatalf("Error running analysis on testcase %s: %v", tc.name, err)
    			}
    
    			g.Expect(extractFields(result.Messages)).To(ConsistOf(tc.expected), "%v", prettyPrintMessages(result.Messages))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. tools/bug-report/pkg/bugreport/bugreport.go

    	analyzeTimeout := time.Until(beginTime.Add(time.Duration(config.CommandTimeout)))
    
    	// Analyze runs many queries internally, so run these queries sequentially and after everything else has finished.
    	runAnalyze(config, params, analyzeTimeout)
    }
    
    // getFromCluster runs a cluster info fetching function f against the cluster and writes the results to fileName.
    // Runs if a goroutine, with errors reported through gErrors.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 20:57:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top