- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for Ut (0.03 sec)
-
src/encoding/gob/type.go
// ut.externalEnc, ut.encIndir = xText, indir // } if ok, indir := implementsInterface(ut.user, gobDecoderInterfaceType); ok { ut.externalDec, ut.decIndir = xGob, indir } else if ok, indir := implementsInterface(ut.user, binaryUnmarshalerInterfaceType); ok { ut.externalDec, ut.decIndir = xBinary, indir } // See note above.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 27.2K bytes - Viewed (0) -
src/encoding/gob/encode.go
func gobEncodeOpFor(ut *userTypeInfo) (*encOp, int) { rt := ut.user if ut.encIndir == -1 { rt = reflect.PointerTo(rt) } else if ut.encIndir > 0 { for i := int8(0); i < ut.encIndir; i++ { rt = rt.Elem() } } var op encOp op = func(i *encInstr, state *encoderState, v reflect.Value) { if ut.encIndir == -1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 19K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go
} toUnit := ut.sniffUnit(toUnitStr) if toUnit == nil { return v / ut.DefaultUnit.Factor, ut.DefaultUnit.CanonicalName, true } return v / toUnit.Factor, toUnit.CanonicalName, true } // UnitTypes holds the definition of units known to pprof. var UnitTypes = []UnitType{{ Units: []Unit{ {"B", []string{"b", "byte"}, 1},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 8.8K bytes - Viewed (0) -
src/internal/reflectlite/export_test.go
type pinUnexpMeth interface { f() } var pinUnexpMethI = pinUnexpMeth(EmbedWithUnexpMeth{}) func FirstMethodNameBytes(t Type) *byte { _ = pinUnexpMethI ut := t.uncommon() if ut == nil { panic("type has no methods") } m := ut.Methods()[0] mname := t.(rtype).nameOff(m.Name) if *mname.DataChecked(0, "name flag field")&(1<<2) == 0 { panic("method name does not have pkgPath *string") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 3K bytes - Viewed (0) -
src/internal/reflectlite/type.go
return s[1:] } return s } func (t rtype) common() *abi.Type { return t.Type } func (t rtype) exportedMethods() []abi.Method { ut := t.uncommon() if ut == nil { return nil } return ut.ExportedMethods() } func (t rtype) NumMethod() int { tt := t.Type.InterfaceType() if tt != nil { return tt.NumMethod() } return len(t.exportedMethods()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 16.2K bytes - Viewed (0) -
src/runtime/type.go
return false } rt, rv := toRType(t), toRType(v) if rt.string() != rv.string() { return false } ut := t.Uncommon() uv := v.Uncommon() if ut != nil || uv != nil { if ut == nil || uv == nil { return false } pkgpatht := rt.nameOff(ut.PkgPath).Name() pkgpathv := rv.nameOff(uv.PkgPath).Name() if pkgpatht != pkgpathv { return false } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 12.7K bytes - Viewed (0) -
src/encoding/json/decode.go
// The first byte of the array ('[') has been read already. func (d *decodeState) array(v reflect.Value) error { // Check for unmarshaler. u, ut, pv := indirect(v, false) if u != nil { start := d.readIndex() d.skip() return u.UnmarshalJSON(d.data[start:d.off]) } if ut != nil { d.saveError(&UnmarshalTypeError{Value: "array", Type: v.Type(), Offset: int64(d.off)}) d.skip() return nil } v = pv
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 35.3K bytes - Viewed (0) -
maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java
assertOrder(X_EQ_Y, "1.max", "1.MAX"); assertOrder(X_LT_Y, "1.max", "2.0-alpha-1"); assertOrder(X_LT_Y, "1.max", "2.min"); } /** * UT for <a href="https://issues.apache.org/jira/browse/MRESOLVER-314">MRESOLVER-314</a>. * * Generates random UUID string based versions and tries to sort them. While this test is not as reliable
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue May 21 09:54:32 UTC 2024 - 17.1K bytes - Viewed (0) -
src/reflect/type.go
// TODO(sbinet): Once we allow non-exported methods, we will // need to compute xcount as the number of exported methods. ut.Mcount = uint16(len(methods)) ut.Xcount = ut.Mcount ut.Moff = uint32(unsafe.Sizeof(uncommonType{})) if len(fs) > 0 { repr = append(repr, ' ') } repr = append(repr, '}') hash = fnv1(hash, '}') str := string(repr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go
Num int } func (ut *UnnamedType) print(ps *printState) { if ps.llvmStyle { if ut.Num == 0 { ps.writeString("'unnamed'") } else { ps.writeString(fmt.Sprintf("'unnamed%d'", ut.Num-1)) } } else { ps.writeString(fmt.Sprintf("{unnamed type#%d}", ut.Num+1)) } } func (ut *UnnamedType) Traverse(fn func(AST) bool) { fn(ut) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 105.8K bytes - Viewed (0)