- Sort Score
- Result 10 results
- Languages All
Results 1511 - 1520 of 1,650 for cast (0.06 sec)
-
tests/transaction_test.go
if err := DB.First(&User{}, "name = ?", "transaction-2").Error; err != nil { t.Fatalf("Should be able to find committed record, but got %v", err) } t.Run("this is test nested transaction and prepareStmt coexist case", func(t *testing.T) { // enable prepare statement tx3 := DB.Session(&gorm.Session{PrepareStmt: true}) if err := tx3.Transaction(func(tx4 *gorm.DB) error { // nested transaction
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Sep 14 12:58:29 UTC 2024 - 12.9K bytes - Viewed (0) -
cni/pkg/nodeagent/server.go
// and the pod is rescheduled with a new IP. In that case we don't get // a removal event, and so would never clean up the old IP that we eagerly-added. // // TODO one place this *can* fail is // - if a CNI plugin after us in the chain fails (currently, we are explicitly the last in the chain by design) // - the CmdAdd comes back thru here with a new IP
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Sep 25 20:54:34 UTC 2024 - 13.4K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.21.md
- The `controller.kubernetes.io/pod-deletion-cost` annotation can be set to offer a hint on the cost of deleting a `Pod` compared to other pods belonging to the same ReplicaSet. Pods with lower deletion cost are deleted first. This is an alpha feature. ([#99163](https://github.com/kubernetes/kubernetes/pull/99163), [@ahg-g](https://github.com/ahg-g))
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Fri Oct 14 07:03:14 UTC 2022 - 367.3K bytes - Viewed (0) -
internal/ringbuffer/ring_buffer_test.go
} } func timeout(after time.Duration) (cancel func()) { c := time.After(after) cc := make(chan struct{}) go func() { select { case <-cc: return case <-c: buf := make([]byte, 1<<20) stacklen := runtime.Stack(buf, true) fmt.Printf("=== Timeout, assuming deadlock ===\n*** goroutine dump...\n%s\n*** end\n", string(buf[:stacklen])) os.Exit(2)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 26.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Verify.java
* whenever there is a chance the check may fail "in real life". Example: * * <pre>{@code * Bill bill = remoteService.getLastUnpaidBill(); * * // In case bug 12345 happens again we'd rather just die * Verify.verify(bill.status() == Status.UNPAID, * "Unexpected bill status: %s", bill.status()); * }</pre> * * <h3>Comparison to alternatives</h3> *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon May 17 14:07:47 UTC 2021 - 18.5K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
} func gatherFiles(cmd *cobra.Command, args []string) ([]local.ReaderSource, error) { var readers []local.ReaderSource for _, f := range args { var r *os.File // Handle "-" as stdin as a special case. if f == "-" { if isatty.IsTerminal(os.Stdin.Fd()) && !isJSONorYAMLOutputFormat() { fmt.Fprint(cmd.OutOrStdout(), "Reading from stdin:\n") } r = os.Stdin
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 31 06:53:50 UTC 2024 - 17.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/ValueGraphTest.java
public void undirectedGraph() { graph = ValueGraphBuilder.undirected().allowsSelfLoops(true).build(); graph.putEdgeValue(1, 2, "valueA"); graph.putEdgeValue(2, 1, "valueB"); // overwrites valueA in undirected case graph.putEdgeValue(2, 3, "valueC"); graph.putEdgeValue(4, 4, "valueD"); assertThat(graph.edgeValueOrDefault(1, 2, null)).isEqualTo("valueB");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 06 18:35:19 UTC 2024 - 20K bytes - Viewed (0) -
guava/src/com/google/common/hash/Crc32cHashFunction.java
public String toString() { return "Hashing.crc32c()"; } static final class Crc32cHasher extends AbstractStreamingHasher { /* * The striding algorithm works roughly as follows: it is universally the case that * CRC(x ^ y) == CRC(x) ^ CRC(y). The approach we take is to break the message as follows, * with each letter representing a 4-byte word: ABCDABCDABCDABCD... and to calculate
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 21.3K bytes - Viewed (0) -
cmd/metrics-v2.go
switch madmin.BatchJobType(mj.JobType) { case madmin.BatchJobReplicate: objects = float64(mj.Replicate.Objects) objectsFailed = float64(mj.Replicate.ObjectsFailed) bucket = mj.Replicate.Bucket case madmin.BatchJobKeyRotate: objects = float64(mj.KeyRotate.Objects) objectsFailed = float64(mj.KeyRotate.ObjectsFailed) bucket = mj.KeyRotate.Bucket case madmin.BatchJobExpire:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 131.9K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/arm64.s
LDORLB R5, (R6), R7 // c7306538 LDORLB R5, (RSP), R7 // e7336538 CASD R1, (R2), ZR // 5f7ca1c8 CASW R1, (RSP), ZR // ff7fa188 CASB ZR, (R5), R3 // a37cbf08 CASH R3, (RSP), ZR // ff7fa348 CASW R5, (R7), R6 // e67ca588 CASLD ZR, (RSP), R8 // e8ffbfc8
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Jul 24 18:45:14 UTC 2024 - 95.2K bytes - Viewed (0)