Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,350 for types2 (0.15 sec)

  1. src/go/types/chan.go

    // Source: ../../cmd/compile/internal/types2/chan.go
    
    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types
    
    // A Chan represents a channel type.
    type Chan struct {
    	dir  ChanDir
    	elem Type
    }
    
    // A ChanDir value indicates a channel direction.
    type ChanDir int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. src/go/types/pointer.go

    // Source: ../../cmd/compile/internal/types2/pointer.go
    
    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types
    
    // A Pointer represents a pointer type.
    type Pointer struct {
    	base Type // element type
    }
    
    // NewPointer returns a new pointer type for the given element (base) type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 761 bytes
    - Viewed (0)
  3. src/go/types/slice.go

    // Source: ../../cmd/compile/internal/types2/slice.go
    
    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types
    
    // A Slice represents a slice type.
    type Slice struct {
    	elem Type
    }
    
    // NewSlice returns a new slice type for the given element type.
    func NewSlice(elem Type) *Slice { return &Slice{elem: elem} }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 701 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/errors_test.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types2
    
    import "testing"
    
    func TestError(t *testing.T) {
    	var err error_
    	want := "no error"
    	if got := err.msg(); got != want {
    		t.Errorf("empty error: got %q, want %q", got, want)
    	}
    
    	want = "foo 42"
    	err.addf(nopos, "foo %d", 42)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 979 bytes
    - Viewed (0)
  5. src/go/types/tuple.go

    // Source: ../../cmd/compile/internal/types2/tuple.go
    
    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types
    
    // A Tuple represents an ordered list of variables; a nil *Tuple is a valid (empty) tuple.
    // Tuples are used as components of signatures and to represent the type of multiple
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. src/go/types/array.go

    // Source: ../../cmd/compile/internal/types2/array.go
    
    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types
    
    // An Array represents an array type.
    type Array struct {
    	len  int64
    	elem Type
    }
    
    // NewArray returns a new array type for the given element type and length.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 927 bytes
    - Viewed (0)
  7. src/go/types/errors_test.go

    // Code generated by "go test -run=Generate -write=all"; DO NOT EDIT.
    // Source: ../../cmd/compile/internal/types2/errors_test.go
    
    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types
    
    import "testing"
    
    func TestError(t *testing.T) {
    	var err error_
    	want := "no error"
    	if got := err.msg(); got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. src/go/types/objset.go

    // Source: ../../cmd/compile/internal/types2/objset.go
    
    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file implements objsets.
    //
    // An objset is similar to a Scope but objset elements
    // are identified by their unique id, instead of their
    // object name.
    
    package types
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. src/go/types/basic.go

    // Source: ../../cmd/compile/internal/types2/basic.go
    
    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types
    
    // BasicKind describes the kind of basic type.
    type BasicKind int
    
    const (
    	Invalid BasicKind = iota // type is invalid
    
    	// predeclared types
    	Bool
    	Int
    	Int8
    	Int16
    	Int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/compiler_internal.go

    // Copyright 2024 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types2
    
    import (
    	"cmd/compile/internal/syntax"
    	"fmt"
    )
    
    // This file should not be copied to go/types.  See go.dev/issue/67477
    
    // RenameResult takes an array of (result) fields and an index, and if the indexed field
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top