Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for byPref (0.11 sec)

  1. src/cmd/internal/objfile/goobj.go

    	nrefName := r.NRefName()
    	refNames := make(map[goobj.SymRef]string, nrefName)
    	for i := 0; i < nrefName; i++ {
    		rn := r.RefName(i)
    		refNames[rn.Sym()] = rn.Name(r)
    	}
    
    	abiToVer := func(abi uint16) int {
    		var ver int
    		if abi == goobj.SymABIstatic {
    			// Static symbol
    			ver = 1
    		}
    		return ver
    	}
    
    	resolveSymRef := func(s goobj.SymRef) string {
    		var i uint32
    		switch p := s.PkgIdx; p {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 15:39:57 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  2. src/cmd/internal/goobj/funcinfo.go

    	return result
    }
    
    // InlTreeNode is the serialized form of FileInfo.InlTree.
    type InlTreeNode struct {
    	Parent   int32
    	File     CUFileIndex
    	Line     int32
    	Func     SymRef
    	ParentPC int32
    }
    
    func (inl *InlTreeNode) Write(w *bytes.Buffer) {
    	var b [4]byte
    	writeUint32 := func(x uint32) {
    		binary.LittleEndian.PutUint32(b[:], x)
    		w.Write(b[:])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:46 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/objfile.go

    	}
    	var b goobj.HashType
    	copy(b[:], h.Sum(nil))
    	return b
    }
    
    func makeSymRef(s *LSym) goobj.SymRef {
    	if s == nil {
    		return goobj.SymRef{}
    	}
    	if s.PkgIdx == 0 || !s.Indexed() {
    		fmt.Printf("unindexed symbol reference: %v\n", s)
    		panic("unindexed symbol reference")
    	}
    	return goobj.SymRef{PkgIdx: uint32(s.PkgIdx), SymIdx: uint32(s.SymIdx)}
    }
    
    func (w *writer) Reloc(r *Reloc) {
    	o := &w.tmpReloc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-tuple.h

    namespace gtest_internal {
    
    // ByRef<T>::type is T if T is a reference; otherwise it's const T&.
    template <typename T>
    struct ByRef { typedef const T& type; };  // NOLINT
    template <typename T>
    struct ByRef<T&> { typedef T& type; };  // NOLINT
    
    // A handy wrapper for ByRef.
    #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  5. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-tuple.h

    namespace gtest_internal {
    
    // ByRef<T>::type is T if T is a reference; otherwise it's const T&.
    template <typename T>
    struct ByRef { typedef const T& type; };  // NOLINT
    template <typename T>
    struct ByRef<T&> { typedef T& type; };  // NOLINT
    
    // A handy wrapper for ByRef.
    #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

        if (cloned == func) continue;
        // Patch up the op attribute to point to the new function.
        for (NamedAttribute attr : op->getAttrs()) {
          auto symref = mlir::dyn_cast<FlatSymbolRefAttr>(attr.getValue());
          if (!symref) continue;
          if (symref.getValue() != func.getName()) continue;
          op->setAttr(attr.getName(),
                      FlatSymbolRefAttr::get(op->getContext(), cloned.getName()));
          break;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

    void CallOp::setCalleeFromCallable(CallInterfaceCallable callee) {
      // Direct call.
      if (FlatSymbolRefAttr calleeAttr = getCalleeAttr()) {
        auto symRef = callee.get<SymbolRefAttr>();
        return setCalleeAttr(cast<FlatSymbolRefAttr>(symRef));
      }
      // Indirect call, callee Value is the first operand.
      return setOperand(0, callee.get<Value>());
    }
    
    LogicalResult ConstantTensorOp::verify() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  8. src/cmd/link/internal/loader/symbolbuilder.go

    	sb.relocs[i].SetType(uint16(t))
    }
    
    // SetRelocSym sets the target sym of the 'i'-th relocation on this sym to 's'
    func (sb *SymbolBuilder) SetRelocSym(i int, tgt Sym) {
    	sb.relocs[i].SetSym(goobj.SymRef{PkgIdx: 0, SymIdx: uint32(tgt)})
    }
    
    // SetRelocAdd sets the addend of the 'i'-th relocation on this sym to 'a'
    func (sb *SymbolBuilder) SetRelocAdd(i int, a int64) {
    	sb.relocs[i].SetAdd(a)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 15:25:19 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/ProtocolToModelAdapter.java

                    }
                    return eq(parameterTypes, that.parameterTypes);
    
                }
    
                private static boolean eq(SoftReference<?> aRef, SoftReference<?> bRef) {
                    Object a = aRef.get();
                    Object b = bRef.get();
                    return eq(a, b);
                }
    
                private static boolean eq(Object a, Object b) {
                    if (a == b) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 04:42:54 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  10. src/cmd/link/internal/loader/loader.go

    func (rel Reloc) SetType(t objabi.RelocType) { rel.Reloc.SetType(uint16(t)) }
    func (rel Reloc) Sym() Sym                   { return rel.l.resolve(rel.r, rel.Reloc.Sym()) }
    func (rel Reloc) SetSym(s Sym)               { rel.Reloc.SetSym(goobj.SymRef{PkgIdx: 0, SymIdx: uint32(s)}) }
    func (rel Reloc) IsMarker() bool             { return rel.Siz() == 0 }
    
    // Aux holds a "handle" to access an aux symbol record from an
    // object file.
    type Aux struct {
    	*goobj.Aux
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
Back to top