- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 62 for keyFor (0.15 sec)
-
tests/non_std_test.go
package tests_test import ( "testing" "time" ) type Animal struct { Counter uint64 `gorm:"primary_key:yes"` Name string `gorm:"DEFAULT:'galeone'"` From string // test reserved sql keyword as field name Age *time.Time unexported string // unexported value CreatedAt time.Time UpdatedAt time.Time } func TestNonStdPrimaryKeyAndDefaultValues(t *testing.T) { DB.Migrator().DropTable(&Animal{})
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 1.9K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser.go
s.Init, s.Cond, s.Post = p.header(_For) s.Body = p.blockStmt("for clause") return s } func (p *parser) header(keyword token) (init SimpleStmt, cond Expr, post SimpleStmt) { p.want(keyword) if p.tok == _Lbrace { if keyword == _If { p.syntaxError("missing condition in if statement") cond = p.badExpr() } return } // p.tok != _Lbrace
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
cmd/kubeadm/app/util/pkiutil/pki_helpers.go
_, certErr := os.Stat(certificatePath) _, keyErr := os.Stat(privateKeyPath) return !(os.IsNotExist(certErr) && os.IsNotExist(keyErr)) } // CSROrKeyExist returns true if one of the CSR or key exists func CSROrKeyExist(csrDir, name string) bool { csrPath := pathForCSR(csrDir, name) keyPath := pathForKey(csrDir, name) _, csrErr := os.Stat(csrPath) _, keyErr := os.Stat(keyPath)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 25.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/lift_as_function_call.h
// This attribute will be set for functions created by this pass. // Presence of this attribute will mark the function as quantization target. inline constexpr StringRef kFusedFunctionAttr = "tf_quant.composite_function"; // The keyword to detect if this is a `NullAttribute`. inline constexpr StringRef kNullAttributeValue = "N/A"; // Prefixes attached to lifted functions. constexpr StringRef kQuantizedFuncPrefix = "quantized_";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 5.5K bytes - Viewed (0) -
src/encoding/gob/encode.go
func (enc *Encoder) encodeMap(b *encBuffer, mv reflect.Value, keyOp, elemOp encOp, keyIndir, elemIndir int) { state := enc.newEncoderState(b) state.fieldnum = -1 state.sendZero = true state.encodeUint(uint64(mv.Len())) mi := mv.MapRange() for mi.Next() { encodeReflectValue(state, mi.Key(), keyOp, keyIndir) encodeReflectValue(state, mi.Value(), elemOp, elemIndir) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 19K bytes - Viewed (0) -
src/runtime/symtabinl.go
nameOff int32 // offset into pclntab for name of called function parentPc int32 // position of an instruction whose source position is the call site (offset from entry) startLine int32 // line number of start of function (func keyword/TEXT directive) } // An inlineUnwinder iterates over the stack of inlined calls at a PC by // decoding the inline table. The last step of iteration is always the frame of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 4.5K bytes - Viewed (0) -
fastapi/param_functions.py
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 62.5K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor_internal.h
SE_EventStatus event_status = stream_executor_->get_event_status(device_, event_handle_); switch (event_status) { case SE_EVENT_ERROR: return Event::Status::kError; case SE_EVENT_PENDING: return Event::Status::kPending; case SE_EVENT_COMPLETE: return Event::Status::kComplete; default: return Event::Status::kUnknown; } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 14 07:39:19 UTC 2024 - 8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc
// and _XlaRecvAtHostOp and _XlaSendFromHostOp are used, update to a more // structured lowering. old_parallel_execute.walk( [&](TF::_XlaCompileMlirPlaceholderProgramKeyOp key_op) { key_op.replaceAllUsesWith(compile_op->getResult(1)); key_op.erase(); }); // After rewrite, if there is a TPUCompilationResultOp from the same cluster, // replace it with the result of the compile op. The TPUCompilationResultOp is
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 29.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/stmt.go
check.scope = check.scope.Parent() } func (check *Checker) suspendedCall(keyword string, call syntax.Expr) { code := InvalidDefer if keyword == "go" { code = InvalidGo } if _, ok := call.(*syntax.CallExpr); !ok { check.errorf(call, code, "expression in %s must be function call", keyword) check.use(call) return } var x operand var msg string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 30.7K bytes - Viewed (0)