Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 46 for RType (0.03 sec)

  1. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

      %ri = "tf.TPUReplicatedInput"(%pi_0, %pi_1) : (!rtype, !rtype) -> !rtype
      return %ri : !rtype
    }
    ```
    
    will be transformed into:
    
    ```mlir
    !rtype = type tensor<!tf_type.resource<tensor<10x3xf32>>>
    func @data_and_model_parallelism(%arg0: !rtype, %arg1: !rtype, %arg2: !rtype, %arg3: !rtype) -> !rtype {
      %ri_0 = "tf.TPUReplicatedInput"(%arg0, %arg2) : (!rtype, !rtype) -> !rtype
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  2. src/runtime/runtime-gdb.py

    		# chop at first space.
    		pc = int(str(pc).split(None, 1)[0], 16)
    	return pc
    
    
    #
    #  For reference, this is what we're trying to do:
    #  eface: p *(*(struct 'runtime.rtype'*)'main.e'->type_->data)->string
    #  iface: p *(*(struct 'runtime.rtype'*)'main.s'->tab->Type->data)->string
    #
    # interface types can't be recognized by their name, instead we check
    # if they have the expected fields.  Unfortunately the mapping of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  3. src/net/cgo_unix.go

    // and parse the output as a slice of DNS resources.
    func resSearch(ctx context.Context, hostname string, rtype, class int) ([]dnsmessage.Resource, error) {
    	return doBlockingWithCtx(ctx, hostname, func() ([]dnsmessage.Resource, error) {
    		return cgoResSearch(hostname, rtype, class)
    	})
    }
    
    func cgoResSearch(hostname string, rtype, class int) ([]dnsmessage.Resource, error) {
    	resStateSize := unsafe.Sizeof(_C_struct___res_state{})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/expr.go

    func walkDynamicDotType(n *ir.DynamicTypeAssertExpr, init *ir.Nodes) ir.Node {
    	n.X = walkExpr(n.X, init)
    	n.RType = walkExpr(n.RType, init)
    	n.ITab = walkExpr(n.ITab, init)
    	// Convert to non-dynamic if we can.
    	if n.RType != nil && n.RType.Op() == ir.OADDR {
    		addr := n.RType.(*ir.AddrExpr)
    		if addr.X.Op() == ir.OLINKSYMOFFSET {
    			r := ir.NewTypeAssertExpr(n.Pos(), n.X, n.Type())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/data.go

    		ctxt.Arch.ByteOrder.PutUint32(s.P[off:], uint32(i))
    	case 8:
    		ctxt.Arch.ByteOrder.PutUint64(s.P[off:], uint64(i))
    	}
    }
    
    func (s *LSym) writeAddr(ctxt *Link, off int64, siz int, rsym *LSym, roff int64, rtype objabi.RelocType) {
    	// Allow 4-byte addresses for DWARF.
    	if siz != ctxt.Arch.PtrSize && siz != 4 {
    		ctxt.Diag("WriteAddr: bad address size %d in %s", siz, s.Name)
    	}
    	s.prepwrite(ctxt, off, siz)
    	r := Addrel(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 24 14:38:53 UTC 2021
    - 6.7K bytes
    - Viewed (0)
  6. src/runtime/traceallocfree.go

    // span containing it.
    func (tl traceLocker) HeapObjectExists(addr uintptr, typ *abi.Type) {
    	tl.eventWriter(traceGoRunning, traceProcRunning).commit(traceEvHeapObject, traceHeapObjectID(addr), tl.rtype(typ))
    }
    
    // HeapObjectAlloc records that an object was newly allocated at addr with the provided type.
    // The type is optional, and the size of the slot occupied the object is inferred from the
    // span containing it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:32:51 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. src/reflect/benchmark_test.go

    	t := SliceOf(TypeOf(T{}))
    	ptrToThis := ValueOf(t).Elem().FieldByName("PtrToThis")
    	if !ptrToThis.IsValid() {
    		b.Skipf("%v has no ptrToThis field; was it removed from rtype?", t) // TODO fix this at top of refactoring
    		// b.Fatalf("%v has no ptrToThis field; was it removed from rtype?", t)
    	}
    	if ptrToThis.Int() != 0 {
    		b.Fatalf("%v.ptrToThis unexpectedly nonzero", t)
    	}
    	b.ResetTimer()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Nov 19 17:09:03 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  8. src/runtime/traceevent.go

    // the trace eagerly.
    func (tl traceLocker) uniqueString(s string) traceArg {
    	return traceArg(trace.stringTab[tl.gen%2].emit(tl.gen, s))
    }
    
    // rtype returns a traceArg representing typ which may be passed to write.
    func (tl traceLocker) rtype(typ *abi.Type) traceArg {
    	return traceArg(trace.typeTab[tl.gen%2].put(typ))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. src/internal/xcoff/xcoff.go

    	Rsymndx uint32 // Index into symbol table
    	Rsize   uint8  // Sign and reloc bit len
    	Rtype   uint8  // Toc relocation type
    }
    
    type Reloc64 struct {
    	Rvaddr  uint64 // (virtual) address of reference
    	Rsymndx uint32 // Index into symbol table
    	Rsize   uint8  // Sign and reloc bit len
    	Rtype   uint8  // Toc relocation type
    }
    
    const (
    	R_POS = 0x00 // A(sym) Positive Relocation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 20:36:37 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/xcoff.go

    		r1, r2 := f.loaderReloc[i], f.loaderReloc[j]
    		if r1.sym != r2.sym {
    			return r1.sym < r2.sym
    		}
    		if r1.roff != r2.roff {
    			return r1.roff < r2.roff
    		}
    		if r1.rtype != r2.rtype {
    			return r1.rtype < r2.rtype
    		}
    		return r1.symndx < r2.symndx
    	})
    
    	ep := ldr.Lookup(*flagEntrySymbol, 0)
    	xldr := &XcoffLdRel64{
    		Lvaddr:  uint64(ldr.SymValue(ep)),
    		Lrtype:  0x3F00,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
Back to top