- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for setstruct (0.16 sec)
-
src/cmd/cgo/internal/test/test.go
*x = 1; } void setintptr(intptr x) { *x = 1; } void setvoidptr(void *x) { *(int*)x = 1; } typedef struct Struct Struct; struct Struct { int *P; }; void setstruct(Struct s) { *s.P = 1; } // issue 11925 // Structs with zero-length trailing fields are now padded by the Go compiler. struct a11925 { int i; char a[0]; char b[0]; };
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 48.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirDestructuringDeclarationSymbol.kt
override val analysisSession: KaFirSession, ) : KaDestructuringDeclarationSymbol(), KaFirSymbol<FirVariableSymbol<*>> { init { require(firSymbol.name == SpecialNames.DESTRUCT) } override val psi: KtDestructuringDeclaration get() = withValidityAssertion { when (val psi = firSymbol.fir.psi) { is KtDestructuringDeclaration -> psi
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 3.3K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiDestructuringDeclarationSymbol.kt
KaPsiBasedSymbolPointer.createForSymbolFromSource<KaDestructuringDeclarationSymbol>(this)?.let { return it } throw CanNotCreateSymbolPointerForLocalLibraryDeclarationException(SpecialNames.DESTRUCT.asString()) } override fun equals(other: Any?): Boolean { if (this === other) return true return other is KaFe10PsiDestructuringDeclarationSymbol && other.psi == this.psi }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu May 23 17:29:30 UTC 2024 - 2.9K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiValueParameterSymbol.kt
return type?.toKtType(analysisContext) ?: createErrorType() } override val name: Name get() = withValidityAssertion { if (psi.destructuringDeclaration != null) SpecialNames.DESTRUCT else psi.nameAsSafeName } override fun createPointer(): KaSymbolPointer<KaValueParameterSymbol> = withValidityAssertion {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 4.1K bytes - Viewed (0) -
src/go/types/issues_test.go
T1 := NewNamed(n1, nil, nil) n2 := NewTypeName(nopos, nil, "T2", nil) T2 := NewNamed(n2, nil, nil) s1 := NewStruct([]*Var{NewField(nopos, nil, "_", T2, false)}, nil) T1.SetUnderlying(s1) s2 := NewStruct([]*Var{NewField(nopos, nil, "_", T2, false)}, nil) s3 := NewStruct([]*Var{NewField(nopos, nil, "_", s2, false)}, nil) T2.SetUnderlying(s3) // These calls must terminate (no endless recursion).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/issues_test.go
T1 := NewNamed(n1, nil, nil) n2 := NewTypeName(nopos, nil, "T2", nil) T2 := NewNamed(n2, nil, nil) s1 := NewStruct([]*Var{NewField(nopos, nil, "_", T2, false)}, nil) T1.SetUnderlying(s1) s2 := NewStruct([]*Var{NewField(nopos, nil, "_", T2, false)}, nil) s3 := NewStruct([]*Var{NewField(nopos, nil, "_", s2, false)}, nil) T2.SetUnderlying(s3) // These calls must terminate (no endless recursion).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/builtin.go
typs[104] = newSig(params(typs[103], typs[3]), nil) typs[105] = newSig(params(typs[103]), nil) typs[106] = newSig(params(typs[2]), params(typs[15])) typs[107] = types.NewArray(typs[0], 3) typs[108] = types.NewStruct([]*types.Field{types.NewField(src.NoXPos, Lookup("enabled"), typs[6]), types.NewField(src.NoXPos, Lookup("pad"), typs[107]), types.NewField(src.NoXPos, Lookup("cgo"), typs[6]), types.NewField(src.NoXPos, Lookup("alignme"), typs[24])})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 16.2K bytes - Viewed (0) -
pkg/controlplane/instance.go
SecondaryAPIServerServiceIP net.IP // Port for the apiserver service. APIServerServicePort int // TODO, we can probably group service related items into a substruct to make it easier to configure // the API server items and `Extra*` fields likely fit nicely together. // The range of ports to be assigned to services with type=NodePort or greater ServiceNodePortRange utilnet.PortRange
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 03 11:50:04 UTC 2024 - 21.2K bytes - Viewed (0) -
src/go/internal/gcimporter/ureader.go
fields[i] = types.NewField(pos, pkg, name, ftyp, embedded) if tag != "" { for len(tags) < i { tags = append(tags, "") } tags = append(tags, tag) } } return types.NewStruct(fields, tags) } func (r *reader) unionType() *types.Union { terms := make([]*types.Term, r.Len()) for i := range terms { terms[i] = types.NewTerm(r.Bool(), r.typ()) } return types.NewUnion(terms)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.6K bytes - Viewed (0) -
src/go/internal/gcimporter/iimport.go
fname := r.ident() ftyp := r.typ() emb := r.bool() tag := r.string() fields[i] = types.NewField(fpos, r.currPkg, fname, ftyp, emb) tags[i] = tag } return types.NewStruct(fields, tags) case interfaceType: r.currPkg = r.pkg() embeddeds := make([]types.Type, r.uint64()) for i := range embeddeds { _ = r.pos() embeddeds[i] = r.typ() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.2K bytes - Viewed (0)