Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 339 for attr_ (0.08 sec)

  1. src/html/template/transition.go

    			attr = attrURL
    		case contentTypeCSS:
    			attr = attrStyle
    		case contentTypeJS:
    			attr = attrScript
    		case contentTypeSrcset:
    			attr = attrSrcset
    		}
    	}
    
    	if j == len(s) {
    		state = stateAttrName
    	} else {
    		state = stateAfterName
    	}
    	return context{state: state, element: c.element, attr: attr}, j
    }
    
    // tAttrName is the context transition function for stateAttrName.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/smuggle_disallowed_ops.cc

      auto call_target =
          rewriter.getNamedAttr("call_target_name", op->getName().getIdentifier());
      SmallVector<NamedAttribute> attrs{op->getAttrs()};
      attrs.push_back(call_target);
      auto custom_call = rewriter.create<mlir::stablehlo::CustomCallOp>(
          op->getLoc(), op->getResultTypes(), op->getOperands(), attrs);
      rewriter.replaceOp(op, custom_call.getResults());
      return success();
    }
    
    }  // namespace
    
    template <typename OpTy>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 19 01:14:04 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. plugin/pkg/auth/authorizer/node/node_authorizer.go

    		case configMapResource:
    			return r.authorizeReadNamespacedObject(nodeName, configMapVertexType, attrs)
    		case pvcResource:
    			if attrs.GetSubresource() == "status" {
    				return r.authorizeStatusUpdate(nodeName, pvcVertexType, attrs)
    			}
    			return r.authorizeGet(nodeName, pvcVertexType, attrs)
    		case pvResource:
    			return r.authorizeGet(nodeName, pvVertexType, attrs)
    		case resourceClaimResource:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/jvm/internal/DefaultJvmPluginServicesTest.groovy

            attrs = AttributeTestUtil.attributesFactory().mutable()
            services.configureAttributes(Stub(HasConfigurableAttributes) { getAttributes() >> attrs }) {
                it.platform()
            }
    
            then:
            attrs.asMap() == [
                (CATEGORY_ATTRIBUTE): named(Category, REGULAR_PLATFORM)
            ]
    
            when:
            attrs = AttributeTestUtil.attributesFactory().mutable()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

        (TFL_TransposeOp
          (TFL_ResizeBilinearOp
            (TFL_TransposeOp $input,
              (Arith_ConstantOp
                ConstantAttr<RankedI32ElementsAttr<[4]>,"{0, 2, 3, 1}">)),
            (Arith_ConstantOp:$output_size (GetI32DenseAttr (GetAsVectorAttr<"output"> $attrs))),
            (GetCompositeAttributeAs<"align_corners", "BoolAttr"> $attrs),
            ConstBoolAttrTrue,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    	node0 := &user.DefaultInfo{Name: "system:node:node0", Groups: []string{"system:nodes"}}
    
    	tests := []struct {
    		name     string
    		attrs    authorizer.AttributesRecord
    		expect   authorizer.Decision
    		features featuregate.FeatureGate
    	}{
    		{
    			name:   "allowed configmap",
    			attrs:  authorizer.AttributesRecord{User: node0, ResourceRequest: true, Verb: "get", Resource: "configmaps", Name: "configmap0-pod0-node0", Namespace: "ns0"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc

        auto operand_size_attr = builder.getDenseI32ArrayAttr(operand_sizes);
        NamedAttrList attrs(send_op->getAttrs());
        attrs.set(send_op.getOperandSegmentSizeAttr(), operand_size_attr);
    
        AddOperandAndRewriteAs<XlaSendTPUEmbeddingGradientsOp>(send_op, dedup_op,
                                                               attrs, &builder);
      }
      return success();
    }
    
    void RewriteTPUEmbeddingOps::runOnOperation() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 22:55:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. plugin/pkg/admission/serviceaccount/admission_test.go

    func TestIgnoresNonPodResource(t *testing.T) {
    	pod := &api.Pod{}
    	attrs := admission.NewAttributesRecord(pod, nil, api.Kind("Pod").WithVersion("version"), "myns", "myname", api.Resource("CustomResource").WithVersion("version"), "", admission.Create, &metav1.CreateOptions{}, false, nil)
    	handler := admissiontesting.WithReinvocationTesting(t, NewServiceAccount())
    	err := handler.Admit(context.TODO(), attrs, nil)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  9. src/encoding/xml/xml.go

    type Token any
    
    // A StartElement represents an XML start element.
    type StartElement struct {
    	Name Name
    	Attr []Attr
    }
    
    // Copy creates a new copy of StartElement.
    func (e StartElement) Copy() StartElement {
    	attrs := make([]Attr, len(e.Attr))
    	copy(attrs, e.Attr)
    	e.Attr = attrs
    	return e
    }
    
    // End returns the corresponding XML end element.
    func (e StartElement) End() EndElement {
    	return EndElement{e.Name}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_cluster_util.cc

      if (flib_def.Find(n.type_string())) {
        NameAttrList callee;
        callee.set_name(n.type_string());
        *callee.mutable_attr() = n.def().attr();
        return {callee};
      }
    
      CallTargetListTy result;
      for (const auto& name_attr_pair : n.attrs()) {
        const AttrValue& attr_value = name_attr_pair.second;
        if (attr_value.value_case() == AttrValue::kFunc) {
          result.push_back(attr_value.func());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top