- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 135 for cmptype (0.14 sec)
-
src/cmd/compile/internal/types2/api_test.go
// type with TypeArgs results in an identical instance. ptype := useMap[inst.Name].Type() lister, _ := ptype.(interface{ TypeParams() *TypeParamList }) if lister == nil || lister.TypeParams().Len() == 0 { t.Fatalf("info.Types[%v] = %v, want parameterized type", inst.Name, ptype) } inst2, err := Instantiate(nil, ptype, targs, true) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
src/go/types/api_test.go
// type with TypeArgs results in an identical instance. ptype := useMap[inst.Ident].Type() lister, _ := ptype.(interface{ TypeParams() *TypeParamList }) if lister == nil || lister.TypeParams().Len() == 0 { t.Fatalf("info.Types[%v] = %v, want parameterized type", inst.Ident, ptype) } inst2, err := Instantiate(nil, ptype, targs, true) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/types.go
func NewMapType(key, elem *DeclType, maxProperties int64) *DeclType { return &DeclType{ name: "map", KeyType: key, ElemType: elem, MaxElements: maxProperties, celType: cel.MapType(key.CelType(), elem.CelType()), defaultValue: NewMapValue(), // a map can always be represented as {} in JSON, so hardcode the min size // to 2 MinSerializedSize: 2, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 08 15:52:31 UTC 2023 - 18K bytes - Viewed (0) -
src/cmd/fix/cftype.go
package main import ( "go/ast" "go/token" "reflect" "strings" ) func init() { register(cftypeFix) } var cftypeFix = fix{ name: "cftype", date: "2017-09-27", f: cftypefix, desc: `Fixes initializers and casts of C.*Ref and JNI types`, disabled: false, } // Old state: // // type CFTypeRef unsafe.Pointer //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 00:25:49 UTC 2023 - 3.5K bytes - Viewed (0) -
operator/cmd/mesh/manifest_shared_test.go
"istio.io/istio/pkg/kube" "istio.io/istio/pkg/log" ) // cmdType is one of the commands used to generate and optionally apply a manifest. type cmdType string const ( // istioctl manifest generate cmdGenerate cmdType = "istioctl manifest generate" // istioctl install cmdApply cmdType = "istioctl install" // in-cluster controller cmdController cmdType = "operator controller" )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 20 22:39:28 UTC 2024 - 11.7K bytes - Viewed (0) -
src/main/assemblies/files/generate-thumbnail
rm -f ${tmp_png_prefix}*png elif [[ x"${cmd_type}" = "ximage" ]] ; then check_command convert target_file=$(echo "$url" | sed -e "s#^file:/*#/#g") convert -thumbnail ${image_size} "${target_file}" "${output_file}" elif [[ x"${cmd_type}" = "x" ]] ; then echo "No filetype." exit 1 else echo "Unsupported type: ${cmd_type}" exit 1 fi if [[ ! -f ${output_file} ]] ; then
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Jun 12 13:13:28 UTC 2023 - 2.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition.go
} } type CompositionEnv struct { *environment.EnvSet MapType *apiservercel.DeclType CompiledVariables map[string]CompilationResult } func (c *CompositionEnv) AddField(name string, celType *cel.Type) { c.MapType.Fields[name] = apiservercel.NewDeclField(name, convertCelTypeToDeclType(celType), true, nil, nil) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 13 21:06:39 UTC 2024 - 7.4K bytes - Viewed (0) -
cmd/api-utils.go
// only works correctly when the type is present in the cmd package. func getHandlerName(f http.HandlerFunc, cmdType string) string { name := runtime.FuncForPC(reflect.ValueOf(f).Pointer()).Name() packageName := fmt.Sprintf("github.com/minio/minio/cmd.%s.", cmdType) name = strings.TrimPrefix(name, packageName) name = strings.TrimSuffix(name, "Handler-fm") name = strings.TrimSuffix(name, "-fm")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Mar 04 18:05:56 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedCollectionProxyClassGeneratorTest.groovy
} SomeType newInstance(Class<? extends SomeType> implType, Class<? extends SomeType> publicType, SomeType target) { def generated = generate(implType, publicType) return generated.newInstance(target) } Class<? extends SomeType> generate(Class<? extends SomeType> implType, Class<? extends SomeType> publicType) { def generated = classes[publicType]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/software/platform-base/src/testFixtures/groovy/org/gradle/language/base/sources/BaseLanguageSourceSetFixtures.groovy
static <T extends LanguageSourceSet> T create(Class<T> publicType, Class<? extends BaseLanguageSourceSet> implType, String name) { return BaseInstanceFixtureSupport.create(publicType, LanguageSourceSetInternal, implType, name) { MutableModelNode node -> BaseLanguageSourceSet.create(publicType, implType, new DefaultComponentSpecIdentifier("project", name), TestUtil.objectFactory()) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 1.4K bytes - Viewed (0)