Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 172 for Aliases (0.14 sec)

  1. src/go/internal/gccgoimporter/importer_test.go

    	{pkgpath: "imports", wantinits: []string{"imports..import", "fmt..import"}},
    	{pkgpath: "importsar", name: "Hello", want: "var Hello string"},
    	{pkgpath: "aliases", name: "A14", gccgoVersion: 7, want: "type A14 = func(int, T0) chan T2"},
    	{pkgpath: "aliases", name: "C0", gccgoVersion: 7, want: "type C0 struct{f1 C1; f2 C1}"},
    	{pkgpath: "escapeinfo", name: "NewT", want: "func NewT(data []byte) *T"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:17:57 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/cc_op_gen_util.h

      // interface_op_def: The OpDef used in the interface in the generated
      //   code, with possibly overridden names and defaults.
      OpInfo(const OpDef& graph_op_def, const ApiDef& api_def,
             const std::vector<string>& aliases);
      OpInfo(const OpDef& graph_op_def, const ApiDef& api_def);
      string GetOpAttrStruct() const;
      string GetConstructorDecl(StringPiece op_name_prefix,
                                bool include_attr) const;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. src/internal/types/testdata/examples/types.go

    var _ List[List[int]] = []List[int]{}
    var _ List[List[List[Tree[int]]]] = []List[List[Tree[int]]]{}
    
    // Type parameters act like type aliases when used in generic types
    // in the sense that we can "emulate" a specific type instantiation
    // with type aliases.
    type T1[P any] struct {
    	f P
    }
    
    type T2[P any] struct {
    	f struct {
    		g P
    	}
    }
    
    var x1 T1[struct{ g int }]
    var x2 T2[int]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:16:04 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/dependencyManagement/catalogs-versionCatalogPlugin/kotlin/build.gradle.kts

    // tag::apply_plugin[]
    plugins {
        `version-catalog`
        `maven-publish`
    }
    // end::apply_plugin[]
    
    group = "com.mycompany"
    version = "1.0"
    
    // tag::catalog_spec[]
    catalog {
        // declare the aliases, bundles and versions in this block
        versionCatalog {
            library("my-lib", "com.mycompany:mylib:1.2")
        }
    }
    // end::catalog_spec[]
    
    // tag::catalog_publish[]
    publishing {
        publications {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/aliases/aliases_go121.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.
    
    //go:build !go1.22
    // +build !go1.22
    
    package aliases
    
    import (
    	"go/types"
    )
    
    // Alias is a placeholder for a go/types.Alias for <=1.21.
    // It will never be created by go/types.
    type Alias struct{}
    
    func (*Alias) String() string         { panic("unreachable") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 962 bytes
    - Viewed (0)
  6. cmd/kube-controller-manager/app/rbac.go

    )
    
    func newClusterRoleAggregrationControllerDescriptor() *ControllerDescriptor {
    	return &ControllerDescriptor{
    		name:     names.ClusterRoleAggregationController,
    		aliases:  []string{"clusterrole-aggregation"},
    		initFunc: startClusterRoleAggregationController,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:02 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types/universe.go

    	// of less informative error messages involving bytes and runes)?
    	// NOTE(rsc): No, the error message quality is important.
    	// (Alternatively, we could introduce an OTALIAS node representing
    	// type aliases, albeit at the cost of having to deal with it everywhere).
    	ByteType = defBasic(TUINT8, BuiltinPkg, "byte")
    	RuneType = defBasic(TINT32, BuiltinPkg, "rune")
    
    	// error type
    	DeferCheckSize()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. doc/next/2-language.md

    For details see the [language spec](/ref/spec#For_statements).
    
    <!-- go.dev/issue/46477, CL 566856, CL 586955, CL 586956 -->
    Go 1.23 includes preview support for [generic type aliases](/issue/46477).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 19:56:43 UTC 2024
    - 757 bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/decls4.go

    // Copyright 2016 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.
    
    // type aliases
    
    package decls4
    
    type (
    	T0 [10]int
    	T1 []byte
    	T2 struct {
    		x int
    	}
    	T3 interface{
    		m() T2
    	}
    	T4 func(int, T0) chan T2
    )
    
    type (
    	Ai = int
    	A0 = T0
    	A1 = T1
    	A2 = T2
    	A3 = T3
    	A4 = T4
    
    	A10 = [10]int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/shift/shift.go

    	"golang.org/x/tools/go/analysis"
    	"golang.org/x/tools/go/analysis/passes/inspect"
    	"golang.org/x/tools/go/analysis/passes/internal/analysisutil"
    	"golang.org/x/tools/go/ast/inspector"
    	"golang.org/x/tools/internal/aliases"
    	"golang.org/x/tools/internal/typeparams"
    )
    
    const Doc = "check for shifts that equal or exceed the width of the integer"
    
    var Analyzer = &analysis.Analyzer{
    	Name:     "shift",
    	Doc:      Doc,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top