Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for predeclared (0.19 sec)

  1. src/cmd/compile/internal/types/type.go

    var Types [NTYPE]*Type
    
    var (
    	// Predeclared alias types. These are actually created as distinct
    	// defined types for better error messages, but are then specially
    	// treated as identical to their respective underlying types.
    	AnyType  *Type
    	ByteType *Type
    	RuneType *Type
    
    	// Predeclared error interface type.
    	ErrorType *Type
    	// Predeclared comparable interface type.
    	ComparableType *Type
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  2. hack/tools/go.sum

    github.com/nishanths/exhaustive v0.12.0/go.mod h1:mEZ95wPIZW+x8kC4TgC+9YCUgiST7ecevsVDTgc2obs=
    github.com/nishanths/predeclared v0.2.2 h1:V2EPdZPliZymNAn79T8RkNApBjMmVKh5XRpLm/w98Vk=
    github.com/nishanths/predeclared v0.2.2/go.mod h1:RROzoN6TnGQupbC+lqggsOlcgysk3LMK/HI84Mp280c=
    github.com/nunnatsa/ginkgolinter v0.15.2 h1:N2ORxUxPU56R9gsfLIlVVvCv/V/VVou5qVI1oBKBNHg=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 93.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/out.go

    				fn(i, n.Name, r.Type)
    				i++
    			}
    		}
    	}
    }
    
    func c(repr string, args ...interface{}) *TypeRepr {
    	return &TypeRepr{repr, args}
    }
    
    // Map predeclared Go types to Type.
    var goTypes = map[string]*Type{
    	"bool":       {Size: 1, Align: 1, C: c("GoUint8")},
    	"byte":       {Size: 1, Align: 1, C: c("GoUint8")},
    	"int":        {Size: 0, Align: 0, C: c("GoInt")},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  4. src/reflect/type.go

    	Name() string
    
    	// PkgPath returns a defined type's package path, that is, the import path
    	// that uniquely identifies the package, such as "encoding/base64".
    	// If the type was predeclared (string, error) or not defined (*T, struct{},
    	// []int, or A where A is an alias for a non-defined type), the package path
    	// will be the empty string.
    	PkgPath() string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    	getTypeIDs map[string]bool
    
    	// incompleteStructs contains C structs that should be marked Incomplete.
    	incompleteStructs map[string]bool
    
    	// Predeclared types.
    	bool                                   ast.Expr
    	byte                                   ast.Expr // denotes padding
    	int8, int16, int32, int64              ast.Expr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  6. src/go/printer/testdata/parser.go

    				}
    				p.error(ident.Pos(), fmt.Sprintf("%s redeclared in this block%s", ident.Name, prevDecl))
    			}
    			ident.Obj = obj
    		}
    	}
    }
    
    func (p *parser) shortVarDecl(idents []*ast.Ident) {
    	// Go spec: A short variable declaration may redeclare variables
    	// provided they were originally declared in the same block with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSortedMap.java

              }
    
              @Override
              ImmutableCollection<Entry<K, V>> delegateCollection() {
                return EntrySet.this;
              }
    
              // redeclare to help optimizers with b/310253115
              @SuppressWarnings("RedundantOverride")
              @Override
              @J2ktIncompatible // serialization
              @GwtIncompatible // serialization
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

                return true;
              }
    
              @Override
              public int size() {
                return ImmutableSortedMap.this.size();
              }
    
              // redeclare to help optimizers with b/310253115
              @SuppressWarnings("RedundantOverride")
              @Override
              @J2ktIncompatible // serialization
              @GwtIncompatible // serialization
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Sets.java

                  return axes.get(index).asList();
                }
    
                @Override
                boolean isPartialView() {
                  return true;
                }
    
                // redeclare to help optimizers with b/310253115
                @SuppressWarnings("RedundantOverride")
                @Override
                @J2ktIncompatible // serialization
                @GwtIncompatible // serialization
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Sets.java

                  return axes.get(index).asList();
                }
    
                @Override
                boolean isPartialView() {
                  return true;
                }
    
                // redeclare to help optimizers with b/310253115
                @SuppressWarnings("RedundantOverride")
                @Override
                @J2ktIncompatible // serialization
                @GwtIncompatible // serialization
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top