Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 380 for Fact (0.04 sec)

  1. src/cmd/vendor/golang.org/x/tools/internal/facts/facts.go

    					// TODO(adonovan): audit for other possibilities.
    					logf("no object for path: %v; discarding %s", err, f.Fact)
    					continue
    				}
    				key.obj = obj
    				logf("read %T fact %s for %v", f.Fact, f.Fact, key.obj)
    			} else {
    				// package fact
    				logf("read %T fact %s for %v", f.Fact, f.Fact, factPkg)
    			}
    			m[key] = f.Fact
    		}
    	}
    
    	return &Set{pkg: d.pkg, m: m}, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go

    associated either with an object or with a package:
    
    	type Pass struct {
    		...
    		ExportObjectFact func(types.Object, Fact)
    		ImportObjectFact func(types.Object, Fact) bool
    
    		ExportPackageFact func(fact Fact)
    		ImportPackageFact func(*types.Package, Fact) bool
    	}
    
    An Analyzer may only export facts associated with the current package or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    			desc = "print"
    		}
    		pass.ReportRangef(call, "missing ... in args forwarded to %s-like function", desc)
    		return
    	}
    	fn := w.obj
    	var fact isWrapper
    	if !pass.ImportObjectFact(fn, &fact) {
    		fact.Kind = kind
    		pass.ExportObjectFact(fn, &fact)
    		res.funcs[fn] = kind
    		for _, caller := range w.callers {
    			checkPrintfFwd(pass, caller.w, caller.call, kind, res)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go

    			pass.ReadFile = analysisinternal.MakeReadFile(pass)
    
    			t0 := time.Now()
    			act.result, act.err = a.Run(pass)
    
    			if act.err == nil { // resolve URLs on diagnostics.
    				for i := range act.diagnostics {
    					if url, uerr := analysisflags.ResolveURL(a, act.diagnostics[i]); uerr == nil {
    						act.diagnostics[i].URL = url
    					} else {
    						act.err = uerr // keep the last error
    					}
    				}
    			}
    			if false {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. pkg/kubemark/controller.go

    }
    
    // kubemarkCluster is used to delete nodes from kubemark cluster once their
    // respective replication controllers have been deleted and the nodes have
    // become unready. This is to cover for the fact that there is no proper cloud
    // provider for kubemark that would care for deleting the nodes.
    type kubemarkCluster struct {
    	client            kubeclient.Interface
    	nodeLister        listersv1.NodeLister
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 17 23:02:17 UTC 2020
    - 14.1K bytes
    - Viewed (0)
  6. src/math/rand/rand_test.go

    	for i, x := range s {
    		r := s[i+1:]
    		for j, y := range r {
    			if y > x {
    				r[j]--
    			}
    		}
    	}
    	// Convert to int in [0, n!).
    	m := 0
    	fact := 1
    	for i := len(s) - 1; i >= 0; i-- {
    		m += s[i] * fact
    		fact *= len(s) - i
    	}
    	return m
    }
    
    // TestUniformFactorial tests several ways of generating a uniform value in [0, n!).
    func TestUniformFactorial(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go

    // parses the flags, then filters and returns the list of
    // analyzers enabled by flags.
    //
    // The result is intended to be passed to unitchecker.Run or checker.Run.
    // Use in unitchecker.Run will gob.Register all fact types for the returned
    // graph of analyzers but of course not the ones only reachable from
    // dropped analyzers. To avoid inconsistency about which gob types are
    // registered from run to run, Parse itself gob.Registers all the facts
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/podtopologyspread/filtering.go

    	return &copy
    }
    
    // CAVEAT: the reason that `[2]criticalPath` can work is based on the implementation of current
    // preemption algorithm, in particular the following 2 facts:
    // Fact 1: we only preempt pods on the same node, instead of pods on multiple nodes.
    // Fact 2: each node is evaluated on a separate copy of the preFilterState during its preemption cycle.
    // If we plan to turn to a more complex algorithm like "arbitrary pods on multiple nodes", this
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 12.4K bytes
    - Viewed (1)
  9. src/cmd/compile/internal/ssa/nilcheck.go

    	// indices: x is non-nil iff x.a.b[i].c is.
    
    	type walkState int
    	const (
    		Work     walkState = iota // process nil checks and traverse to dominees
    		ClearPtr                  // forget the fact that ptr is nil
    	)
    
    	type bp struct {
    		block *Block // block, or nil in ClearPtr state
    		ptr   *Value // if non-nil, ptr that is to be cleared in ClearPtr state
    		op    walkState
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesUseCasesIntegrationTest.groovy

         * individual modules on the classpath, so we need a way to declare that we prefer to use
         * the fat jar.
         *
         * This is from the consumer point of view, fixing the fact the library doesn't declare capabilities.
         */
        def "can select groovy-all over individual groovy-whatever (#description)"() {
            given:
            repository {
                'org.apache:groovy:1.0'()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.9K bytes
    - Viewed (0)
Back to top