Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 141 for PASS (0.17 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    				checkExampleName(pass, fn)
    				checkExampleOutput(pass, fn, f.Comments)
    			case strings.HasPrefix(fn.Name.Name, "Test"):
    				checkTest(pass, fn, "Test")
    			case strings.HasPrefix(fn.Name.Name, "Benchmark"):
    				checkTest(pass, fn, "Benchmark")
    			case strings.HasPrefix(fn.Name.Name, "Fuzz"):
    				checkTest(pass, fn, "Fuzz")
    				checkFuzz(pass, fn)
    			}
    		}
    	}
    	return nil, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    		case *ast.ReturnStmt:
    			checkCopyLocksReturnStmt(pass, node)
    		}
    	})
    	return nil, nil
    }
    
    // checkCopyLocksAssign checks whether an assignment
    // copies a lock.
    func checkCopyLocksAssign(pass *analysis.Pass, as *ast.AssignStmt) {
    	for i, x := range as.Rhs {
    		if path := lockPathRhs(pass, x); path != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    		call := n.(*ast.CallExpr)
    		fn, kind := printfNameAndKind(pass, call)
    		switch kind {
    		case KindPrintf, KindErrorf:
    			checkPrintf(pass, kind, call, fn)
    		case KindPrint:
    			checkPrint(pass, call, fn)
    		}
    	})
    }
    
    func printfNameAndKind(pass *analysis.Pass, call *ast.CallExpr) (fn *types.Func, kind Kind) {
    	fn, _ = typeutil.Callee(pass.TypesInfo, call).(*types.Func)
    	if fn == nil {
    		return nil, 0
    	}
    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. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceIntegrationTest.groovy

        }
    
        def "credentials can be specified via DSL"() {
            httpBuildCacheServer.withBasicAuth("user", "pass")
            settingsFile << """
                buildCache {
                    remote.credentials {
                        username = "user"
                        password = "pass"
                    }
                }
            """
    
            when:
            withBuildCache().run "jar"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/loopclosure/loopclosure.go

    func reportCaptured(pass *analysis.Pass, vars []types.Object, checkStmt ast.Stmt) {
    	ast.Inspect(checkStmt, func(n ast.Node) bool {
    		id, ok := n.(*ast.Ident)
    		if !ok {
    			return true
    		}
    		obj := pass.TypesInfo.Uses[id]
    		if obj == nil {
    			return true
    		}
    		for _, v := range vars {
    			if v == obj {
    				pass.ReportRangef(id, "loop variable %s captured by func literal", id.Name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    func CheckReadable(pass *analysis.Pass, filename string) error {
    	if slicesContains(pass.OtherFiles, filename) ||
    		slicesContains(pass.IgnoredFiles, filename) {
    		return nil
    	}
    	for _, f := range pass.Files {
    		// TODO(adonovan): use go1.20 f.FileStart
    		if pass.Fset.File(f.Pos()).Name() == filename {
    			return nil
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/compile.go

    		fprintFunc(p, f)
    		fi.Close()
    	}
    }
    
    type pass struct {
    	name     string
    	fn       func(*Func)
    	required bool
    	disabled bool
    	time     bool            // report time to run pass
    	mem      bool            // report mem stats to run pass
    	stats    int             // pass reports own "stats" (e.g., branches removed)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/stackalloc.go

    func stackalloc(f *Func, spillLive [][]ID) [][]ID {
    	if f.pass.debug > stackDebug {
    		fmt.Println("before stackalloc")
    		fmt.Println(f.String())
    	}
    	s := newStackAllocState(f)
    	s.init(f, spillLive)
    	defer putStackAllocState(s)
    
    	s.stackalloc()
    	if f.pass.stats > 0 {
    		f.LogStat("stack_alloc_stats",
    			s.nArgSlot, "arg_slots", s.nNotNeed, "slot_not_needed",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go

    Finally, the Run field contains a function to be called by the driver to
    execute the analysis on a single package. The driver passes it an
    instance of the Pass type.
    
    # Pass
    
    A [Pass] describes a single unit of work: the application of a particular
    Analyzer to a particular package of Go code.
    The Pass provides information to the Analyzer's Run function about the
    package being analyzed, and provides operations to the Run function for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * ImmutableSortedMultiset}, not this dummy version.
       *
       * @throws UnsupportedOperationException always
       * @deprecated <b>Pass a parameter of type {@code Comparable} to use {@link
       *     ImmutableSortedMultiset#of(Comparable)}.</b>
       */
      @DoNotCall("Elements must be Comparable. (Or, pass a Comparator to orderedBy or copyOf.)")
      @Deprecated
      public static <E> ImmutableSortedMultiset<E> of(E e1) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 29.5K bytes
    - Viewed (0)
Back to top