Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,105 for defn (0.19 sec)

  1. src/html/template/multi_test.go

    	}
    	if _, err := t1.Parse(`{{define "test"}}foo{{end}}`); err != nil {
    		t.Fatalf("parsing test: %s", err)
    	}
    }
    
    func TestEmptyTemplate(t *testing.T) {
    	cases := []struct {
    		defn []string
    		in   string
    		want string
    	}{
    		{[]string{"x", "y"}, "", "y"},
    		{[]string{""}, "once", ""},
    		{[]string{"", ""}, "twice", ""},
    		{[]string{"{{.}}", "{{.}}"}, "twice", "twice"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:48:16 UTC 2022
    - 8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/nowb.go

    		return
    	}
    	fn := n.Fun.(*ir.Name)
    	if fn.Class != ir.PFUNC || fn.Defn == nil {
    		return
    	}
    	if types.RuntimeSymName(fn.Sym()) != "systemstack" {
    		return
    	}
    
    	var callee *ir.Func
    	arg := n.Args[0]
    	switch arg.Op() {
    	case ir.ONAME:
    		arg := arg.(*ir.Name)
    		callee = arg.Defn.(*ir.Func)
    	case ir.OCLOSURE:
    		arg := arg.(*ir.ClosureExpr)
    		callee = arg.Func
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 17:29:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/dcl.go

    // Target.Funcs.
    //
    // Before returning, it sets CurFunc to fn. When the caller is done
    // constructing fn, it must call FinishFuncBody to restore CurFunc.
    func DeclFunc(fn *ir.Func) {
    	fn.DeclareParams(true)
    	fn.Nname.Defn = fn
    	Target.Funcs = append(Target.Funcs, fn)
    
    	funcStack = append(funcStack, ir.CurFunc)
    	ir.CurFunc = fn
    }
    
    // FinishFuncBody restores ir.CurFunc to its state before the last
    // call to DeclFunc.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:15:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/typeconverter_test.go

    	myTypes := []smdschema.TypeDef{
    		{
    			Name: "def0",
    			Atom: smdschema.Atom{},
    		},
    		{
    			Name: "def0.1",
    			Atom: smdschema.Atom{},
    		},
    		{
    			Name: "def0.2",
    			Atom: smdschema.Atom{},
    		},
    		{
    			Name: "def1",
    			Atom: smdschema.Atom{},
    		},
    		{
    			Name: "def2",
    			Atom: smdschema.Atom{},
    		},
    		{
    			Name: "def3",
    			Atom: smdschema.Atom{},
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue24161arg/def.go

    Austin Clements <******@****.***> 1683224724 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 382 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_types.def

    Antonio Sanchez <******@****.***> 1694228811 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Sep 09 03:12:53 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. ci/official/requirements_updater/BUILD.bazel

    load("@python//3.10:defs.bzl", compile_pip_requirements_3_10 = "compile_pip_requirements")
    load("@python//3.11:defs.bzl", compile_pip_requirements_3_11 = "compile_pip_requirements")
    load("@python//3.12:defs.bzl", compile_pip_requirements_3_12 = "compile_pip_requirements")
    load("@python//3.9:defs.bzl", compile_pip_requirements_3_9 = "compile_pip_requirements")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/ir/mlrt/BUILD

        ],
    )
    
    gentbl_cc_library(
        name = "mlrt_ops_inc_gen",
        tbl_outs = [
            (
                ["-gen-op-decls"],
                "mlrt_ops.h.inc",
            ),
            (
                ["-gen-op-defs"],
                "mlrt_ops.cpp.inc",
            ),
        ],
        tblgen = "@llvm-project//mlir:mlir-tblgen",
        td_file = "mlrt_ops.td",
        deps = [":mlrt_td_files"],
    )
    
    cc_library(
        name = "mlrt_ops",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 17:04:28 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. manifests/charts/gateway/values.schema.json

                "type": "object"
              }
            },
            "priorityClassName": {
              "type": "string"
            }
          }
        }
      },
      "defaults": {
        "$ref": "#/$defs/values"
      },
      "$ref": "#/$defs/values"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 18 16:33:33 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/ir/BUILD

        compatible_with = get_compatible_with_portable(),  # copybara: comment
        tbl_outs = [
            (
                ["-gen-op-decls"],
                "tfrt_fallback.h.inc",
            ),
            (
                ["-gen-op-defs"],
                "tfrt_fallback.cpp.inc",
            ),
        ],
        tblgen = "@llvm-project//mlir:mlir-tblgen",
        td_file = "tfrt_fallback.td",
        deps = [":tfrt_fallback_td_files"],
    )
    
    gentbl_cc_library(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 27 20:43:07 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top