Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 7,737 for check2 (0.13 sec)

  1. src/go/types/stmt.go

    	defer func(env environment, indent int) {
    		check.environment = env
    		check.indent = indent
    	}(check.environment, check.indent)
    	check.environment = environment{
    		decl:  decl,
    		scope: sig.scope,
    		iota:  iota,
    		sig:   sig,
    	}
    	check.indent = 0
    
    	check.stmtList(0, body.List)
    
    	if check.hasLabel {
    		check.labels(body)
    	}
    
    	if sig.results.Len() > 0 && !check.isTerminating(body, "") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/lookup.go

    			fs, ms := check.funcString(f, false), check.funcString(m, false)
    			*cause = check.sprintf("(missing method %s)\n\t\thave %s\n\t\twant %s", m.Name(), fs, ms)
    		case unexported:
    			*cause = check.sprintf("(unexported method %s)", m.Name())
    		case wrongSig:
    			fs, ms := check.funcString(f, false), check.funcString(m, false)
    			if fs == ms {
    				// Don't report "want Foo, have Foo".
    				// Add package information to disambiguate (go.dev/issue/54258).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  3. src/go/types/lookup.go

    			fs, ms := check.funcString(f, false), check.funcString(m, false)
    			*cause = check.sprintf("(missing method %s)\n\t\thave %s\n\t\twant %s", m.Name(), fs, ms)
    		case unexported:
    			*cause = check.sprintf("(unexported method %s)", m.Name())
    		case wrongSig:
    			fs, ms := check.funcString(f, false), check.funcString(m, false)
    			if fs == ms {
    				// Don't report "want Foo, have Foo".
    				// Add package information to disambiguate (go.dev/issue/54258).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdmethods/doc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package stdmethods defines an Analyzer that checks for misspellings
    // in the signatures of methods similar to well-known interfaces.
    //
    // # Analyzer stdmethods
    //
    // stdmethods: check signature of methods of well-known interfaces
    //
    // Sometimes a type may be intended to satisfy an interface but may fail to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/named.go

    }
    
    // context returns the type-checker context.
    func (check *Checker) context() *Context {
    	if check.ctxt == nil {
    		check.ctxt = NewContext()
    	}
    	return check.ctxt
    }
    
    // expandUnderlying substitutes type arguments in the underlying type n.orig,
    // returning the result. Returns Typ[Invalid] if there was an error.
    func (n *Named) expandUnderlying() Type {
    	check := n.check
    	if check != nil && check.conf.Trace {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/atomic/doc.go

    // license that can be found in the LICENSE file.
    
    // Package atomic defines an Analyzer that checks for common mistakes
    // using the sync/atomic package.
    //
    // # Analyzer atomic
    //
    // atomic: check for common mistakes using the sync/atomic package
    //
    // The atomic checker looks for assignment statements of the form:
    //
    //	x = atomic.AddUint64(&x, 1)
    //
    // which are not atomic.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 505 bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/doc.go

    // license that can be found in the LICENSE file.
    
    // Package tests defines an Analyzer that checks for common mistaken
    // usages of tests and examples.
    //
    // # Analyzer tests
    //
    // tests: check for common mistaken usages of tests and examples
    //
    // The tests checker walks Test, Benchmark, Fuzzing and Example functions checking
    // malformed names, wrong signatures and examples documenting non-existent
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 703 bytes
    - Viewed (0)
  8. src/go/types/named.go

    }
    
    // context returns the type-checker context.
    func (check *Checker) context() *Context {
    	if check.ctxt == nil {
    		check.ctxt = NewContext()
    	}
    	return check.ctxt
    }
    
    // expandUnderlying substitutes type arguments in the underlying type n.orig,
    // returning the result. Returns Typ[Invalid] if there was an error.
    func (n *Named) expandUnderlying() Type {
    	check := n.check
    	if check != nil && check.conf._Trace {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/cycles4.go

    	// that contains it. This requires cycle detection in
    	// identity checks for interface types.
    	x = y
    }
    
    type T3 interface {
    	m() interface{T4}
    }
    
    type T4 interface {
    	m() interface{T3}
    }
    
    func _(x T1, y T3) {
    	x = y
    }
    
    // Check that interfaces are type-checked in order of
    // (embedded interface) dependencies (was issue 7158).
    
    var x1 T5 = T7(nil)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

      // Cropped values used in the fast path range checks.
      private final char safeMinChar;
      private final char safeMaxChar;
    
      /**
       * Creates a new ArrayBasedUnicodeEscaper instance with the given replacement map and specified
       * safe range. If {@code safeMax < safeMin} then no code points are considered safe.
       *
       * <p>If a code point has no mapped replacement then it is checked against the safe range. If it
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.5K bytes
    - Viewed (0)
Back to top