Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 75 for typecheck (0.11 sec)

  1. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/tasks/RemoteProject.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.performance.generator.tasks
    
    import groovy.transform.CompileStatic
    import groovy.transform.TypeChecked
    import groovy.transform.TypeCheckingMode
    import org.gradle.api.DefaultTask
    import org.gradle.api.file.FileSystemOperations
    import org.gradle.api.provider.Property
    import org.gradle.api.tasks.Input
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jul 06 10:57:13 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. hack/golangci-strict.yaml

        # https://github.com/kubernetes/kubernetes/issues/117288#issuecomment-1507030071
        - linters:
            - stylecheck
          text: "ST1012: error var .* should have name of the form ErrFoo"
    
        # https://github.com/kubernetes/kubernetes/issues/117288#issuecomment-1507031224
        - linters:
            - stylecheck
          text: "ST1023: should omit type .* from declaration; it will be inferred from the right-hand side"
    
    linters:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. pkg/config/xds/xds.go

    		obj = &listener.ListenerFilter{}
    	default:
    		return nil, fmt.Errorf("Envoy filter: unknown object type for applyTo %s", applyTo.String()) // nolint: stylecheck
    	}
    
    	if err := StructToMessage(value, obj, strict); err != nil {
    		return nil, fmt.Errorf("Envoy filter: %v", err) // nolint: stylecheck
    	}
    	return obj, nil
    }
    
    func StructToMessage(pbst *structpb.Struct, out proto.Message, strict bool) error {
    	if pbst == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 14 02:41:27 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. test/fixedbugs/issue15572.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that exporting composite literals with implicit
    // types doesn't crash the typechecker when running over
    // inlined function bodies containing such literals.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 09 06:16:07 UTC 2016
    - 358 bytes
    - Viewed (0)
  5. hack/golangci-hints.yaml

        #
        # https://github.com/kubernetes/kubernetes/issues/117288#issuecomment-1507028627
        # https://github.com/kubernetes/kubernetes/issues/117288#issuecomment-1514201592
        - linters:
            - stylecheck
            - revive
          text: "(ST1003: should not use underscores in Go names; func (Convert_.*_To_.*|SetDefaults_)|exported: exported function (Convert|SetDefaults)_.* should be of the form)"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. pkg/controller/validatingadmissionpolicystatus/controller_test.go

    			policy.ObjectMeta.Generation = 1 // fake storage does not do this automatically
    			client := fake.NewSimpleClientset(policy)
    			informerFactory := informers.NewSharedInformerFactory(client, 0)
    			typeChecker := &validatingadmissionpolicy.TypeChecker{
    				SchemaResolver: resolver.NewDefinitionsSchemaResolver(openapi.GetOpenAPIDefinitions, scheme.Scheme),
    				RestMapper:     testrestmapper.TestOnlyStaticRESTMapper(scheme.Scheme),
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. pkg/features/security.go

    // limitations under the License.
    
    package features
    
    import (
    	"istio.io/istio/pkg/env"
    )
    
    const (
    	// FIPS_140_2 compliance policy.
    	// nolint: revive, stylecheck
    	FIPS_140_2 = "fips-140-2"
    )
    
    // Define common security feature flags shared among the Istio components.
    var (
    	CompliancePolicy = env.Register("COMPLIANCE_POLICY", "",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 00:16:21 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/sizes_test.go

    // This file contains tests for sizes.
    
    package types2_test
    
    import (
    	"cmd/compile/internal/syntax"
    	"cmd/compile/internal/types2"
    	"internal/testenv"
    	"testing"
    )
    
    // findStructType typechecks src and returns the first struct type encountered.
    func findStructType(t *testing.T, src string) *types2.Struct {
    	return findStructTypeConfig(t, src, &types2.Config{})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 21:00:48 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. src/go/types/sizes_test.go

    // This file contains tests for sizes.
    
    package types_test
    
    import (
    	"go/ast"
    	"go/importer"
    	"go/types"
    	"internal/testenv"
    	"testing"
    )
    
    // findStructType typechecks src and returns the first struct type encountered.
    func findStructType(t *testing.T, src string) *types.Struct {
    	return findStructTypeConfig(t, src, &types.Config{})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 21:00:48 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. test/fixedbugs/issue9370.go

    // Copyright 2014 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.
    
    // Verify that concrete/interface comparisons are
    // typechecked correctly by the compiler.
    
    package main
    
    type I interface {
    	Method()
    }
    
    type C int
    
    func (C) Method() {}
    
    type G func()
    
    func (G) Method() {}
    
    var (
    	e interface{}
    	i I
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 22 17:50:13 UTC 2020
    - 5K bytes
    - Viewed (0)
Back to top