Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for AnyType (0.33 sec)

  1. src/go/internal/gcimporter/support.go

    	// not to be confused with the universe any
    	anyType{},
    
    	// comparable
    	types.Universe.Lookup("comparable").Type(),
    
    	// "any" has special handling: see usage of predeclared.
    }
    
    type anyType struct{}
    
    func (t anyType) Underlying() types.Type { return t }
    func (t anyType) String() string         { return "any" }
    
    // See cmd/compile/internal/noder.derivedInfo.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirBuiltInTypes.kt

        override val unit: KaType by cachedBuiltin(builtinTypes.unitType)
        override val nothing: KaType by cachedBuiltin(builtinTypes.nothingType)
        override val any: KaType by cachedBuiltin(builtinTypes.anyType)
    
        override val throwable: KaType by cachedBuiltin(builtinTypes.throwableType)
        override val nullableAny: KaType by cachedBuiltin(builtinTypes.nullableAnyType)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/lazy/lazy_test.go

    	}
    	return v, nil
    }
    
    func buildTestEnv() (*cel.Env, *apiservercel.DeclType, error) {
    	variablesType := apiservercel.NewMapType(apiservercel.StringType, apiservercel.AnyType, 0)
    	variablesType.Fields = make(map[string]*apiservercel.DeclField)
    	envSet, err := environment.MustBaseEnvSet(environment.DefaultCompatibilityVersion(), true).Extend(
    		environment.VersionedOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/authentication/cel/compile_test.go

    		return apiservercel.NewListType(apiservercel.StringType, -1)
    	case reflect.TypeOf(map[string]authenticationv1.ExtraValue{}):
    		return apiservercel.NewMapType(apiservercel.StringType, apiservercel.AnyType, -1)
    	default:
    		t.Fatalf("unsupported type %v", nativeType)
    	}
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition_test.go

    	name       string
    	expression string
    }
    
    func (t *testVariable) GetExpression() string {
    	return t.expression
    }
    
    func (t *testVariable) ReturnTypes() []*cel.Type {
    	return []*cel.Type{cel.AnyType}
    }
    
    func (t *testVariable) GetName() string {
    	return t.name
    }
    
    func TestCompositedPolicies(t *testing.T) {
    	cases := []struct {
    		name                  string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top