Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for secconst (0.63 sec)

  1. src/net/http/routing_index_test.go

    	g(collect)
    	return pats
    }
    
    // A generator is a function that calls its argument with the strings that it
    // generates.
    type generator func(collect func(string))
    
    // genConst generates a single constant string.
    func genConst(s string) generator {
    	return func(collect func(string)) {
    		collect(s)
    	}
    }
    
    // genChoice generates all the strings in its argument.
    func genChoice(choices []string) generator {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/LOONG64.rules

    (SGTconst [c] (MOVBUreg _)) && 0xff < c => (MOVVconst [1])
    (SGTconst [c] (MOVBUreg _)) && c < 0 => (MOVVconst [0])
    (SGTUconst [c] (MOVBUreg _)) && 0xff < uint64(c) => (MOVVconst [1])
    (SGTconst [c] (MOVHreg _)) && 0x7fff < c => (MOVVconst [1])
    (SGTconst [c] (MOVHreg _)) && c <= -0x8000 => (MOVVconst [0])
    (SGTconst [c] (MOVHUreg _)) && 0xffff < c => (MOVVconst [1])
    (SGTconst [c] (MOVHUreg _)) && c < 0 => (MOVVconst [0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/MIPS64.rules

    (SGTconst [c] (MOVBUreg _)) && 0xff < c => (MOVVconst [1])
    (SGTconst [c] (MOVBUreg _)) && c < 0 => (MOVVconst [0])
    (SGTUconst [c] (MOVBUreg _)) && 0xff < uint64(c) => (MOVVconst [1])
    (SGTconst [c] (MOVHreg _)) && 0x7fff < c => (MOVVconst [1])
    (SGTconst [c] (MOVHreg _)) && c <= -0x8000 => (MOVVconst [0])
    (SGTconst [c] (MOVHUreg _)) && 0xffff < c => (MOVVconst [1])
    (SGTconst [c] (MOVHUreg _)) && c < 0 => (MOVVconst [0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 41.9K bytes
    - Viewed (0)
  4. src/go/types/operand.go

    	// )
    	if expr != "" {
    		buf.WriteByte(')')
    	}
    
    	return buf.String()
    }
    
    func (x *operand) String() string {
    	return operandString(x, nil)
    }
    
    // setConst sets x to the untyped constant for literal lit.
    func (x *operand) setConst(k token.Token, lit string) {
    	var kind BasicKind
    	switch k {
    	case token.INT:
    		kind = UntypedInt
    	case token.FLOAT:
    		kind = UntypedFloat
    	case token.IMAG:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/operand.go

    	// )
    	if expr != "" {
    		buf.WriteByte(')')
    	}
    
    	return buf.String()
    }
    
    func (x *operand) String() string {
    	return operandString(x, nil)
    }
    
    // setConst sets x to the untyped constant for literal lit.
    func (x *operand) setConst(k syntax.LitKind, lit string) {
    	var kind BasicKind
    	switch k {
    	case syntax.IntLit:
    		kind = UntypedInt
    	case syntax.FloatLit:
    		kind = UntypedFloat
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. tensorflow/cc/framework/cc_op_gen.cc

          const bool use_const = entry.second;
          const string camel_case_name = ToCamelCase(api_def_attr.rename_to());
          const string suffix =
              (camel_case_name == op_info.op_name || camel_case_name == "Attrs")
                  ? "_"
                  : "";
          const string attr_func_def = strings::StrCat(
              camel_case_name, suffix, "(", use_const ? "const " : "",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 17:22:47 UTC 2023
    - 17K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteARM64.go

    	v_0 := v.Args[0]
    	// match: (SLLconst [c] (MOVDconst [d]))
    	// result: (MOVDconst [d<<uint64(c)])
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpARM64MOVDconst {
    			break
    		}
    		d := auxIntToInt64(v_0.AuxInt)
    		v.reset(OpARM64MOVDconst)
    		v.AuxInt = int64ToAuxInt(d << uint64(c))
    		return true
    	}
    	// match: (SLLconst [c] (SRLconst [c] x))
    	// cond: 0 < c && c < 64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/sccp.go

    	//
    	//  res := lattice{constant, nil}
    	// 	switch op {
    	// 	case OpAdd16:
    	//		res.val = newConst(argLt1.val.AuxInt16() + argLt2.val.AuxInt16())
    	// 	case OpAdd32:
    	// 		res.val = newConst(argLt1.val.AuxInt32() + argLt2.val.AuxInt32())
    	//	case OpDiv8:
    	//		if !isDivideByZero(argLt2.val.AuxInt8()) {
    	//			res.val = newConst(argLt1.val.AuxInt8() / argLt2.val.AuxInt8())
    	//		}
    	//  ...
    	// 	}
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

                                                            compressed_data);
            auto s_qconst =
                builder.create<SparseQConstOp>(op->getLoc(), cst.getQtypeAttr(),
                                               cst.getValue(), s_param, new_value);
            value.replaceAllUsesWith(s_qconst.getResult());
            cst.erase();
          }
    
          if (result.needs_densify) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/universe.go

    	{"false", UntypedBool, constant.MakeBool(false)},
    	{"iota", UntypedInt, constant.MakeInt64(0)},
    }
    
    func defPredeclaredConsts() {
    	for _, c := range predeclaredConsts {
    		def(NewConst(nopos, nil, c.name, Typ[c.kind], c.val))
    	}
    }
    
    func defPredeclaredNil() {
    	def(&Nil{object{name: "nil", typ: Typ[UntypedNil], color_: black}})
    }
    
    // A builtinId is the id of a builtin function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top