Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 140 for Aliases (0.12 sec)

  1. 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)
  2. 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)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/types/KtExpandedTypeRenderingMode.kt

     */
    
    package org.jetbrains.kotlin.analysis.api.renderer.types
    
    /**
     * [KaExpandedTypeRenderingMode] controls how [KaTypeRenderer] renders expanded types (with an associated abbreviated type) and type aliases
     * which can still be expanded.
     */
    public enum class KaExpandedTypeRenderingMode {
        /**
         * Renders only the abbreviated type as-is, e.g. `foo.bar.StringAlias`.
         */
        RENDER_ABBREVIATED_TYPE,
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/internal/analysisutil/util.go

    package analysisutil
    
    import (
    	"bytes"
    	"go/ast"
    	"go/printer"
    	"go/token"
    	"go/types"
    	"os"
    
    	"golang.org/x/tools/go/analysis"
    	"golang.org/x/tools/internal/aliases"
    	"golang.org/x/tools/internal/analysisinternal"
    )
    
    // Format returns a string representation of the expression.
    func Format(fset *token.FileSet, x ast.Expr) string {
    	var b bytes.Buffer
    	printer.Fprint(&b, fset, x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/types.h

    #ifndef TENSORFLOW_COMPILER_MLIR_QUANTIZATION_STABLEHLO_CC_TYPES_H_
    #define TENSORFLOW_COMPILER_MLIR_QUANTIZATION_STABLEHLO_CC_TYPES_H_
    
    #include <string>
    
    namespace mlir::quant::stablehlo {
    
    // Introduces aliases for `std::string` to distinguish btw. function name and
    // its alias, to prevent confusion when used together in a container. For
    // example, it is easy to confuse function name -> alias mapping with alias ->
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jan 22 00:38:45 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/dependencyManagement/catalogs-settings/kotlin/build.gradle.kts

    dependencies {
        implementation(libs.bundles.groovy)
    }
    // end::use_dependency_bundle[]
    
    // tag::type_unsafe_access[]
    val versionCatalog = versionCatalogs.named("libs")
    println("Library aliases: ${versionCatalog.libraryAliases}")
    dependencies {
        versionCatalog.findLibrary("groovy-json").ifPresent {
            implementation(it)
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 11:03:14 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/dependencyManagement/catalogs-versionCatalogPlugin/groovy/build.gradle

    // tag::apply_plugin[]
    plugins {
        id 'version-catalog'
        id '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)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/types.go

    // license that can be found in the LICENSE file.
    
    package printf
    
    import (
    	"fmt"
    	"go/ast"
    	"go/types"
    
    	"golang.org/x/tools/go/analysis"
    	"golang.org/x/tools/internal/aliases"
    	"golang.org/x/tools/internal/typeparams"
    )
    
    var errorType = types.Universe.Lookup("error").Type().Underlying().(*types.Interface)
    
    // matchArgType reports an error if printf verb t is not appropriate for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtTypeMappingMode.kt

    package org.jetbrains.kotlin.analysis.api.types
    
    public enum class KaTypeMappingMode {
        /**
         * kotlin.Int is mapped to I
         */
        DEFAULT,
    
        /**
         * kotlin.Int is mapped to I
         * Type aliases are mapped to their expanded form
         */
        DEFAULT_UAST,
    
        /**
         * kotlin.Int is mapped to Ljava/lang/Integer;
         */
        GENERIC_ARGUMENT,
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/httpresponse/httpresponse.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/typesinternal"
    )
    
    const Doc = `check for mistakes using HTTP responses
    
    A common mistake when using the net/http package is to defer a function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top