Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for var_ (0.15 sec)

  1. tensorflow/compiler/aot/codegen.cc

      const {{TYPE}}& var_{{NAME}}({{DIM_VARS}}) const {
        return (*static_cast<const {{TYPE}}(*){{DIM_SIZES}}>(
            arg_data({{I}}))){{INDICES}};
      }
      int var_{{NAME}}_size() const {
        return {{COUNT}} * sizeof({{TYPE}});
      }
      int var_{{NAME}}_count() const {
        return {{COUNT}};
      }
    )";
        const tf2xla::Variable& var = config.variable(i - config.feed_size());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/assign.go

    	}
    	n.Rhs = []ir.Node{call}
    	n.SetOp(ir.OAS2FUNC)
    
    	// don't generate a = *var if a is _
    	if ir.IsBlank(a) {
    		return walkExpr(typecheck.Stmt(n), init)
    	}
    
    	var_ := typecheck.TempAt(base.Pos, ir.CurFunc, types.NewPtr(t.Elem()))
    	var_.SetTypecheck(1)
    	var_.MarkNonNil() // mapaccess always returns a non-nil pointer
    
    	n.Lhs[0] = var_
    	init.Append(walkExpr(n, init))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/subst.go

    		}
    	}
    	return t
    }
    
    func (subst *subster) varList(in []*Var) (out []*Var, copied bool) {
    	out = in
    	for i, v := range in {
    		if w := subst.var_(v); w != v {
    			if !copied {
    				// first variable that got substituted => allocate new out slice
    				// and copy all variables
    				new := make([]*Var, len(in))
    				copy(new, out)
    				out = new
    				copied = true
    			}
    			out[i] = w
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. src/go/types/subst.go

    		}
    	}
    	return t
    }
    
    func (subst *subster) varList(in []*Var) (out []*Var, copied bool) {
    	out = in
    	for i, v := range in {
    		if w := subst.var_(v); w != v {
    			if !copied {
    				// first variable that got substituted => allocate new out slice
    				// and copy all variables
    				new := make([]*Var, len(in))
    				copy(new, out)
    				out = new
    				copied = true
    			}
    			out[i] = w
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/aot/codegen_test_h.golden

      //   Returns the buffer of type T for variable X.  If the allocation mode is
      //   RESULTS_PROFILES_AND_TEMPS_ONLY then this buffer is the same as the
      //   buffer passed to set_var_X_data.
      //
      // T& var_X(...dim indices...)
      //   Returns a reference to the value of type T for variable X,
      //   with dim indices specifying which value. No bounds checking is performed
      //   on dim indices.
      //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ConcurrentArchiveIntegrationTest.groovy

                        cacheDir.eachFile(groovy.io.FileType.DIRECTORIES) { File f ->
                            assert f.name.startsWith('tar_')
                        }
                    }
                }
            """
    
            when:
            succeeds 'verify'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/test.go

    func test22906(t *testing.T) {
    	var x1 C.jobject = 0 // Note: 0, not nil. That makes sure we use uintptr for these types.
    	_ = x1
    	var x2 C.jclass = 0
    	_ = x2
    	var x3 C.jthrowable = 0
    	_ = x3
    	var x4 C.jstring = 0
    	_ = x4
    	var x5 C.jarray = 0
    	_ = x5
    	var x6 C.jbooleanArray = 0
    	_ = x6
    	var x7 C.jbyteArray = 0
    	_ = x7
    	var x8 C.jcharArray = 0
    	_ = x8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/liveness/plive.go

    func (lv *liveness) emitStackObjects() *obj.LSym {
    	var vars []*ir.Name
    	for _, n := range lv.fn.Dcl {
    		if shouldTrack(n) && n.Addrtaken() && n.Esc() != ir.EscHeap {
    			vars = append(vars, n)
    		}
    	}
    	if len(vars) == 0 {
    		return nil
    	}
    
    	// Sort variables from lowest to highest address.
    	sort.Slice(vars, func(i, j int) bool { return vars[i].FrameOffset() < vars[j].FrameOffset() })
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top