Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for has_func (0.15 sec)

  1. src/crypto/rsa/rsa.go

    // *[PSSOptions] then the PSS algorithm will be used, otherwise PKCS #1 v1.5 will
    // be used. digest must be the result of hashing the input message using
    // opts.HashFunc().
    //
    // This method implements [crypto.Signer], which is an interface to support keys
    // where the private part is kept in, for example, a hardware module. Common
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc

        for (Type ty : op.getResultTypes()) {
          shape_attrs.push_back(TF::ShapeAttr::get(rewriter.getContext(),
                                                   mlir::cast<ShapedType>(ty)));
        }
    
        // Clone the `host_func` in the `host_mlir_module` attribute if it exists
        // and use it for `shape_inference_graph` attribute on XlaHostCompute.
        func::FuncOp cloned_func;
        SymbolTable manager(op->getParentOfType<ModuleOp>());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/assign.go

    func walkAssignDotType(n *ir.AssignListStmt, init *ir.Nodes) ir.Node {
    	walkExprListSafe(n.Lhs, init)
    	n.Rhs[0] = walkExpr(n.Rhs[0], init)
    	return n
    }
    
    // walkAssignFunc walks an OAS2FUNC node.
    func walkAssignFunc(init *ir.Nodes, n *ir.AssignListStmt) ir.Node {
    	init.Append(ir.TakeInit(n)...)
    
    	r := n.Rhs[0]
    	walkExprListSafe(n.Lhs, init)
    	r = walkExpr(r, 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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

    using mlir::Value;
    using mlir::ValueRange;
    using mlir::WalkResult;
    using mlir::func::FuncOp;
    using mlir::func::ReturnOp;
    
    constexpr char kDeviceAttr[] = "device";
    constexpr char kHostFunctionAttr[] = "host_func";
    constexpr char kXlaMapOutsideCompilationAttr[] = "_xla_map_outside_compilation";
    constexpr char kXlaOutsideCompilationAttr[] = "_xla_outside_compilation";
    
    #define GEN_PASS_DEF_EXTRACTOUTSIDECOMPILATIONPASS
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssagen/ssa.go

    		}
    		s.assign(n.Lhs[0], res, deref, 0)
    		s.assign(n.Lhs[1], resok, false, 0)
    		return
    
    	case ir.OAS2FUNC:
    		// We come here only when it is an intrinsic call returning two values.
    		n := n.(*ir.AssignListStmt)
    		call := n.Rhs[0].(*ir.CallExpr)
    		if !ir.IsIntrinsicCall(call) {
    			s.Fatalf("non-intrinsic AS2FUNC not expanded %v", call)
    		}
    		v := s.intrinsicCall(call)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top