- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 69 for setstruct (0.24 sec)
-
src/cmd/compile/internal/walk/compare.go
expr = cond } else { expr = ir.NewLogicalExpr(base.Pos, andor, expr, cond) } } cmpl = safeExpr(cmpl, init) cmpr = safeExpr(cmpr, init) if t.IsStruct() { conds, _ := compare.EqStruct(t, cmpl, cmpr) if n.Op() == ir.OEQ { for _, cond := range conds { and(cond) } } else { for _, cond := range conds { notCond := ir.NewUnaryExpr(base.Pos, ir.ONOT, cond)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 21:55:14 UTC 2023 - 16.2K bytes - Viewed (0) -
pkg/istio-agent/grpcxds/grpc_bootstrap.go
if err != nil { return nil, err } rawMeta := map[string]any{} if err := json.Unmarshal(bytes, &rawMeta); err != nil { return nil, err } xdsMeta, err := structpb.NewStruct(rawMeta) if err != nil { return nil, err } return xdsMeta, nil } // GenerateBootstrapFile generates and writes atomically as JSON to the given file path.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 00:31:03 UTC 2024 - 7.1K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/universe.go
okforeq[types.TSLICE] = true // nil only; refined in typecheck okforeq[types.TARRAY] = true // only if element type is comparable; refined in typecheck okforeq[types.TSTRUCT] = true // only if all struct fields are comparable; refined in typecheck types.IsOrdered[types.TSTRING] = true for i := range okfor { okfor[i] = okfornone[:] } // binary
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 15:20:28 UTC 2023 - 4.7K bytes - Viewed (0) -
src/cmd/compile/internal/types/identity.go
} for i, f1 := range t1.AllMethods() { f2 := t2.AllMethods()[i] if f1.Sym != f2.Sym || !identical(f1.Type, f2.Type, flags, assumedEqual) { return false } } return true case TSTRUCT: if t1.NumFields() != t2.NumFields() { return false } for i, f1 := range t1.Fields() { f2 := t2.Field(i)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 20:57:01 UTC 2023 - 4.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/deadstore_test.go
if v.Op == OpCopy { t.Errorf("store %s incorrectly removed", v) } } func TestDeadStoreSmallStructInit(t *testing.T) { c := testConfig(t) ptrType := c.config.Types.BytePtr typ := types.NewStruct([]*types.Field{ types.NewField(src.NoXPos, &types.Sym{Name: "A"}, c.config.Types.Int), types.NewField(src.NoXPos, &types.Sym{Name: "B"}, c.config.Types.Int), }) name := c.Temp(typ) fun := c.Fun("entry",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 25 20:07:26 UTC 2024 - 5.6K 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/typecheck/mkbuiltin.go
return fmt.Sprintf("types.NewMap(%s, %s)", i.subtype(t.Key), i.subtype(t.Value)) case *ast.StarExpr: return fmt.Sprintf("types.NewPtr(%s)", i.subtype(t.X)) case *ast.StructType: return fmt.Sprintf("types.NewStruct(%s)", i.fields(t.Fields, true)) default: log.Fatalf("unhandled type: %#v", t) panic("unreachable") } } func (i *typeInterner) fields(fl *ast.FieldList, keepNames bool) string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 26 21:56:49 UTC 2023 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/bsbhv/BsUserBhv.java
result.setRoomNumber(DfTypeUtil.toString(source.get("roomNumber"))); result.setState(DfTypeUtil.toString(source.get("state"))); result.setStreet(DfTypeUtil.toString(source.get("street"))); result.setSurname(DfTypeUtil.toString(source.get("surname"))); result.setTelephoneNumber(DfTypeUtil.toString(source.get("telephoneNumber")));
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12K bytes - Viewed (0) -
src/cmd/vet/testdata/print/print.go
stringStruct := struct{ F string }{"foo"} fmt.Printf("%s", &stringStruct) // not an error intStruct := struct{ F int }{3} fmt.Printf("%s", &intStruct) // ERROR "Printf format %s has arg &intStruct of wrong type \*struct{F int}" stringMap := map[string]string{"foo": "bar"} fmt.Printf("%s", &stringMap) // not an error intMap := map[int]int{3: 4}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 27.5K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h
inline int FileNo(FILE* file) { return _fileno(file); } inline int Stat(const char* path, StatStruct* buf) { return _stat(path, buf); } inline int RmDir(const char* dir) { return _rmdir(dir); } inline bool IsDir(const StatStruct& st) { return (_S_IFDIR & st.st_mode) != 0; } # endif // GTEST_OS_WINDOWS_MOBILE #else typedef struct stat StatStruct; inline int FileNo(FILE* file) { return fileno(file); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 67.2K bytes - Viewed (0)