Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 58 for has_func (0.27 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

        ForwardStoreToLoad(&region.front());
      }
    
      llvm::SetVector<Value> all_resources;
      bool is_func = false;
      // For functions, the resources to analyze are the function arguments.
      // Otherwise, its the region captures.
      if (func::FuncOp func = dyn_cast<func::FuncOp>(op_)) {
        is_func = true;
        Region& body = func.getBody();
        for (BlockArgument arg : body.getArguments()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/symtab.go

    	// findfunctab
    	moduledata.AddAddr(ctxt.Arch, pcln.findfunctab)
    	// minpc, maxpc
    	moduledata.AddAddr(ctxt.Arch, pcln.firstFunc)
    	moduledata.AddAddrPlus(ctxt.Arch, pcln.lastFunc, ldr.SymSize(pcln.lastFunc))
    	// pointers to specific parts of the module
    	moduledata.AddAddr(ctxt.Arch, ldr.Lookup("runtime.text", 0))
    	moduledata.AddAddr(ctxt.Arch, ldr.Lookup("runtime.etext", 0))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/staticinit/sched.go

    	switch n.Op() {
    	default:
    		base.FatalfAt(n.Pos(), "unexpected initialization statement: %v", n)
    	case ir.OAS:
    		n := n.(*ir.AssignStmt)
    		lhs, rhs = []ir.Node{n.X}, n.Y
    	case ir.OAS2DOTTYPE, ir.OAS2FUNC, ir.OAS2MAPR, ir.OAS2RECV:
    		n := n.(*ir.AssignListStmt)
    		if len(n.Lhs) < 2 || len(n.Rhs) != 1 {
    			base.FatalfAt(n.Pos(), "unexpected shape for %v: %v", n.Op(), n)
    		}
    		lhs, rhs = n.Lhs, n.Rhs[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/typecheck.go

    	case *ir.CallExpr:
    		n.Args = list
    	case *ir.ReturnStmt:
    		n.Results = list
    	case *ir.AssignListStmt:
    		if n.Op() != ir.OAS2FUNC {
    			base.Fatalf("rewriteMultiValueCall: invalid op %v", n.Op())
    		}
    		as.SetOp(ir.OAS2FUNC)
    		n.SetOp(ir.OAS2)
    		n.Rhs = make([]ir.Node, len(list))
    		for i, tmp := range list {
    			n.Rhs[i] = AssignConv(tmp, n.Lhs[i].Type(), "assignment")
    		}
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

      //    XlaRecvAtHost/XlaSendFromHost) to sequencer node.
      // c) Clear node_def.device(), so device placer won't get confused.
      for (const string& host_func : outside_compilation_host_graphs) {
        VLOG(4) << "Expanding host graph " << host_func;
        // Temporarily use "0" as "_device_ordinal". It will be reset to placeholder
        // value after we expanded all host graphs. We cannot just use placeholder
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/typecheck/stmt.go

    		}
    
    		for i := range lhs {
    			checkLHS(i, nil)
    		}
    		return
    	}
    
    	// x,y,z = f()
    	if cr > len(rhs) {
    		stmt := stmt.(*ir.AssignListStmt)
    		stmt.SetOp(ir.OAS2FUNC)
    		r := rhs[0].(*ir.CallExpr)
    		rtyp := r.Type()
    
    		mismatched := false
    		failed := false
    		for i := range lhs {
    			result := rtyp.Field(i).Type
    			assignType(i, result)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:10:54 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  7. src/crypto/tls/tls_test.go

    type brokenSigner struct{ crypto.Signer }
    
    func (s brokenSigner) Sign(rand io.Reader, digest []byte, opts crypto.SignerOpts) (signature []byte, err error) {
    	// Replace opts with opts.HashFunc(), so rsa.PSSOptions are discarded.
    	return s.Signer.Sign(rand, digest, opts.HashFunc())
    }
    
    // TestPKCS1OnlyCert uses a client certificate with a broken crypto.Signer that
    // always makes PKCS #1 v1.5 signatures, so can't be used with RSA-PSS.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  8. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern int TF_GraphNumFunctions(TF_Graph* g);
    
    // Fills in `funcs` with the TF_Function* registered in `g`.
    // `funcs` must point to an array of TF_Function* of length at least
    // `max_func`. In usual usage, max_func should be set to the result of
    // TF_GraphNumFunctions(g). In this case, all the functions registered in
    // `g` will be returned. Else, an unspecified subset.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  9. src/crypto/x509/x509_test.go

    					parsedCRL.AuthorityKeyId, tc.issuer.SubjectKeyId)
    			}
    		})
    	}
    }
    
    func TestRSAPSAParameters(t *testing.T) {
    	generateParams := func(hashFunc crypto.Hash) []byte {
    		var hashOID asn1.ObjectIdentifier
    
    		switch hashFunc {
    		case crypto.SHA256:
    			hashOID = oidSHA256
    		case crypto.SHA384:
    			hashOID = oidSHA384
    		case crypto.SHA512:
    			hashOID = oidSHA512
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/html.go

    // phase is used for collapsing columns and should be unique across the table.
    func (w *HTMLWriter) WritePhase(phase, title string) {
    	if w == nil {
    		return // avoid generating HTML just to discard it
    	}
    	hash := hashFunc(w.Func)
    	w.pendingPhases = append(w.pendingPhases, phase)
    	w.pendingTitles = append(w.pendingTitles, title)
    	if !bytes.Equal(hash, w.prevHash) {
    		w.flushPhases()
    	}
    	w.prevHash = hash
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 34.8K bytes
    - Viewed (0)
Back to top