Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Ut (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. architecture/standards/0001-use-architectural-decision-records.md

    ```markdown
    # ADR-000X - Title
    
    ## Date
    
    20YY-MM-DD
    
    ## Context
    
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna
    aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
    Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 02 21:54:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. src/reflect/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 Apr 02 15:10:48 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top