Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,182 for redeclared (0.18 sec)

  1. src/internal/types/testdata/examples/methods.go

    // and it shadows the predeclared identifier int which then cannot be used
    // anymore as expected.
    // This is no different from locally re-declaring a predeclared identifier
    // and usually should be avoided. There are some notable exceptions; e.g.,
    // sometimes it makes sense to use the identifier "copy" which happens to
    // also be the name of a predeclared built-in function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. doc/go_spec.html

    	<li>The scope of a type identifier declared inside a function
    	    begins at the identifier in the TypeSpec
    	    and ends at the end of the innermost containing block.</li>
    </ol>
    
    <p>
    An identifier declared in a block may be redeclared in an inner block.
    While the identifier of the inner declaration is in scope, it denotes
    the entity declared by the inner declaration.
    </p>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RegularImmutableTable.java

            return value != null && value.equals(cell.getValue());
          }
          return false;
        }
    
        @Override
        boolean isPartialView() {
          return false;
        }
    
        // redeclare to help optimizers with b/310253115
        @SuppressWarnings("RedundantOverride")
        @Override
        @J2ktIncompatible // serialization
        @GwtIncompatible // serialization
        Object writeReplace() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableTable.java

            return value != null && value.equals(cell.getValue());
          }
          return false;
        }
    
        @Override
        boolean isPartialView() {
          return false;
        }
    
        // redeclare to help optimizers with b/310253115
        @SuppressWarnings("RedundantOverride")
        @Override
        @J2ktIncompatible // serialization
        @GwtIncompatible // serialization
        Object writeReplace() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go

    	//
    	// Example:
    	//  const c *int = 4
    	InvalidConstType
    
    	/* decls > var (+ other variable assignment codes) */
    
    	// UntypedNilUse occurs when the predeclared (untyped) value nil is used to
    	// initialize a variable declared without an explicit type.
    	//
    	// Example:
    	//  var x = nil
    	UntypedNilUse
    
    	// WrongAssignCount occurs when the number of values on the right-hand side
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 34K bytes
    - Viewed (0)
  6. src/internal/types/errors/codes.go

    	// is not a valid constant type.
    	//
    	// Example:
    	//  const c *int = 4
    	InvalidConstType
    
    	// UntypedNilUse occurs when the predeclared (untyped) value nil is used to
    	// initialize a variable declared without an explicit type.
    	//
    	// Example:
    	//  var x = nil
    	UntypedNilUse
    
    	// WrongAssignCount occurs when the number of values on the right-hand side
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:50:48 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  7. src/go/ast/scope.go

    			return d.Label.Pos()
    		}
    	case *AssignStmt:
    		for _, x := range d.Lhs {
    			if ident, isIdent := x.(*Ident); isIdent && ident.Name == name {
    				return ident.Pos()
    			}
    		}
    	case *Scope:
    		// predeclared object - nothing to do for now
    	}
    	return token.NoPos
    }
    
    // ObjKind describes what an [Object] represents.
    type ObjKind int
    
    // The list of possible [Object] kinds.
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/typestring.go

    			// The names of type parameters that are declared by the type being
    			// hashed are not part of the type identity. Replace them with a
    			// placeholder indicating their index.
    			w.string(fmt.Sprintf("$%d", i))
    		} else {
    			w.string(t.obj.name)
    			if w.tpSubscripts || w.ctxt != nil {
    				w.string(subscript(t.id))
    			}
    			// If the type parameter name is the same as a predeclared object
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DetachedConfigurationsIntegrationTest.groovy

                    abstract Property<ResolvedComponentResult> getResult()
    
                    @Internal
                    abstract SetProperty<String> getDeclared()
    
                    @TaskAction
                    void test() {
                        def resolved = result.get().dependencies
                        assert declared.get() == resolved*.selected*.moduleVersion*.name as Set
                    }
                }
    
                allprojects {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 15:16:47 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. src/go/types/typestring.go

    			// The names of type parameters that are declared by the type being
    			// hashed are not part of the type identity. Replace them with a
    			// placeholder indicating their index.
    			w.string(fmt.Sprintf("$%d", i))
    		} else {
    			w.string(t.obj.name)
    			if w.tpSubscripts || w.ctxt != nil {
    				w.string(subscript(t.id))
    			}
    			// If the type parameter name is the same as a predeclared object
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top