Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Ut (0.08 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/encoding/gob/decode.go

    }
    
    // gobDecodeOpFor returns the op for a type that is known to implement
    // GobDecoder.
    func (dec *Decoder) gobDecodeOpFor(ut *userTypeInfo) *decOp {
    	rcvrType := ut.user
    	if ut.decIndir == -1 {
    		rcvrType = reflect.PointerTo(rcvrType)
    	} else if ut.decIndir > 0 {
    		for i := int8(0); i < ut.decIndir; i++ {
    			rcvrType = rcvrType.Elem()
    		}
    	}
    	var op decOp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:10:23 UTC 2023
    - 40.1K bytes
    - Viewed (0)
  4. src/runtime/os_freebsd.go

    	systemstack(func() {
    		futexsleep1(addr, val, ns)
    	})
    }
    
    func futexsleep1(addr *uint32, val uint32, ns int64) {
    	var utp *umtx_time
    	if ns >= 0 {
    		var ut umtx_time
    		ut._clockid = _CLOCK_MONOTONIC
    		ut._timeout.setNsec(ns)
    		utp = &ut
    	}
    	ret := sys_umtx_op(addr, _UMTX_OP_WAIT_UINT_PRIVATE, val, unsafe.Sizeof(*utp), utp)
    	if ret >= 0 || ret == -_EINTR || ret == -_ETIMEDOUT {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer_test.cc

        MOCK_METHOD(void, ApplyRemat, (const RematSpec&));
      };
    };
    
    TEST_F(GreedyRematTest, MlpBasic) {
      StrictMock<MlpRemat> remat(std::vector<int>({1, 1, 1}));
      // (o)ut, (i)n, (l)ive: 0 1 2 3 4 5 Sum
      // %0 = f0()            o           1
      // %1 = f1(%0)          i o         2
      // %2 = f2(%1)          l i o       3
      // %3 = g2(   %2)       l l i o     4
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/internal/abi/type.go

    type InterfaceType struct {
    	Type
    	PkgPath Name      // import path
    	Methods []Imethod // sorted by hash
    }
    
    func (t *Type) ExportedMethods() []Method {
    	ut := t.Uncommon()
    	if ut == nil {
    		return nil
    	}
    	return ut.ExportedMethods()
    }
    
    func (t *Type) NumMethod() int {
    	if t.Kind() == Interface {
    		tt := (*InterfaceType)(unsafe.Pointer(t))
    		return tt.NumMethod()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top