Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 174 for constants_ (0.27 sec)

  1. tensorflow/compiler/jit/kernels/xla_ops.cc

                            ctx->GetAttr("Tconstants", &constant_types));
      std::vector<int> constants(constant_types.size());
      std::iota(constants.begin(), constants.end(), 0);
      return constants;
    }
    
    std::vector<int> ResourcesVector(OpKernelConstruction* ctx) {
      DataTypeVector constant_types;
      OP_REQUIRES_OK_RETURN(ctx, std::vector<int>(),
                            ctx->GetAttr("Tconstants", &constant_types));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/constants/constants.go

    	// ControlPlaneTier is the value used in the tier label to identify control plane components
    	ControlPlaneTier = "control-plane"
    
    	// Mode* constants were copied from pkg/kubeapiserver/authorizer/modes
    	// to avoid kubeadm dependency on the internal module
    	// TODO: share Mode* constants in component config
    
    	// ModeAlwaysAllow is the mode to set all requests as authorized
    	ModeAlwaysAllow string = "AlwaysAllow"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  3. pkg/config/constants/constants.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package constants
    
    const (
    	// UnspecifiedIP constant for empty IP address
    	UnspecifiedIP = "0.0.0.0"
    	// UnspecifiedIPv6 constant for empty IPv6 address
    	UnspecifiedIPv6 = "::"
    
    	// PilotWellKnownDNSCertPath is the path location for Pilot dns serving cert, often used with custom CA integrations
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. src/go/types/operand.go

    // typexpr    <expr> (               <mode>                    )
    //
    // constant   <expr> (<untyped kind> <mode>                    )
    // constant   <expr> (               <mode>       of type <typ>)
    // constant   <expr> (<untyped kind> <mode> <val>              )
    // constant   <expr> (               <mode> <val> of type <typ>)
    //
    // variable   <expr> (<untyped kind> <mode>                    )
    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/go/types/builtins.go

    			return
    		}
    
    		// if both arguments are constants, the result is a constant
    		if x.mode == constant_ && y.mode == constant_ {
    			x.val = constant.BinaryOp(constant.ToFloat(x.val), token.ADD, constant.MakeImag(constant.ToFloat(y.val)))
    		} else {
    			x.mode = value
    		}
    
    		if check.recordTypes() && x.mode != constant_ {
    			check.recordBuiltinType(call.Fun, makeSig(resTyp, x.typ, x.typ))
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/builtins.go

    			return
    		}
    
    		// if both arguments are constants, the result is a constant
    		if x.mode == constant_ && y.mode == constant_ {
    			x.val = constant.BinaryOp(constant.ToFloat(x.val), token.ADD, constant.MakeImag(constant.ToFloat(y.val)))
    		} else {
    			x.mode = value
    		}
    
    		if check.recordTypes() && x.mode != constant_ {
    			check.recordBuiltinType(call.Fun, makeSig(resTyp, x.typ, x.typ))
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  7. src/go/types/api.go

    // identifier, and use the Implicits field of [Info] to find the
    // symbol for certain other kinds of syntax node.
    //
    // Constant folding computes the exact constant value
    // ([constant.Value]) of every expression ([ast.Expr]) that is a
    // compile-time constant. Use the Types field of [Info] to find the
    // results of constant folding for an expression.
    //
    // Type deduction computes the type ([Type]) of every expression
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/operand.go

    // typexpr    <expr> (               <mode>                    )
    //
    // constant   <expr> (<untyped kind> <mode>                    )
    // constant   <expr> (               <mode>       of type <typ>)
    // constant   <expr> (<untyped kind> <mode> <val>              )
    // constant   <expr> (               <mode> <val> of type <typ>)
    //
    // variable   <expr> (<untyped kind> <mode>                    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/upgrade/compute_test.go

    const fakeCurrentEtcdVersion = "3.1.12"
    
    func getEtcdVersion(v *versionutil.Version) string {
    	etcdVer, _, _ := constants.EtcdSupportedVersion(constants.SupportedEtcdVersion, v.String())
    	return etcdVer.String()
    }
    
    const fakeCurrentCoreDNSVersion = "1.0.6"
    
    func TestGetAvailableUpgrades(t *testing.T) {
    
    	// constansts for test cases
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 08:39:51 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  10. src/go/types/stmt.go

    		}
    		if x, ok := constant.Uint64Val(val); ok {
    			return x
    		}
    	case constant.Float:
    		if x, ok := constant.Float64Val(val); ok {
    			return x
    		}
    	case constant.String:
    		return constant.StringVal(val)
    	}
    	return nil
    }
    
    // A valueMap maps a case value (of a basic Go type) to a list of positions
    // where the same case value appeared, together with the corresponding case
    // types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top