- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 50 for testone (0.23 sec)
-
src/time/time_test.go
} return true } // manual test cases for _, tt := range truncateRoundTests { testOne(tt.t.Unix(), int64(tt.t.Nanosecond()), int64(tt.d)) } // exhaustive near 0 for i := 0; i < 100; i++ { for j := 1; j < 100; j++ { testOne(unixToZero, int64(i), int64(j)) testOne(unixToZero, -int64(i), int64(j)) if t.Failed() { return } } } if t.Failed() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
src/testing/testing.go
// If this happens during testing of package testing it could be that // package testing's own logic for when to run a test is broken, // in which case every test will run nothing and succeed, // with no obvious way to detect this problem (since no tests are running). // So make 'no tests to run' a hard failure when testing package testing itself. fmt.Print(chatty.prefix(), "FAIL: package testing must run tests\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
pkg/volume/testing/testing.go
limitations under the License. */ package testing import ( "fmt" "os" "path/filepath" goruntime "runtime" "strings" "sync" "testing" "time" "k8s.io/klog/v2" "k8s.io/apimachinery/pkg/util/sets" "k8s.io/utils/exec" testingexec "k8s.io/utils/exec/testing" utilstrings "k8s.io/utils/strings" v1 "k8s.io/api/core/v1"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 53.3K bytes - Viewed (0) -
src/runtime/asm_amd64.s
MOVQ $8, R12 BYTE $0xcc JMP restore restore: // Calls and failures resume here. // // Set R12 to 16 and invoke INT3. The debugger should restore // all registers except RIP and RSP and resume execution. MOVQ $16, R12 BYTE $0xcc // We must not modify flags after this point. // Restore pointer-containing registers, which may have been
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 60.4K bytes - Viewed (0) -
src/cmd/link/internal/ppc64/asm.go
su := ldr.MakeSymbolUpdater(s) su.SetRelocSym(ri, stub.Sym()) // A type 1 call must restore the toc pointer after the call. if stubType == 1 { su.MakeWritable() p := su.Data() // Check for a toc pointer restore slot (a nop), and rewrite to restore the toc pointer. var nop uint32 if len(p) >= int(r.Off()+8) { nop = ctxt.Arch.ByteOrder.Uint32(p[r.Off()+4:]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:54:08 UTC 2024 - 63.7K bytes - Viewed (0) -
pkg/proxy/iptables/proxier.go
} } natRules.Write("COMMIT") natLines := append(natChains.Bytes(), natRules.Bytes()...) // Write it. err = ipt.Restore(utiliptables.TableNAT, natLines, utiliptables.NoFlushTables, utiliptables.RestoreCounters) if err != nil { logger.Error(err, "Failed to execute iptables-restore", "table", utiliptables.TableNAT) metrics.IPTablesRestoreFailuresTotal.Inc() encounteredError = true } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 14:39:54 UTC 2024 - 65.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/prove.go
ft.limitStack = append(ft.limitStack, checkpointBound) ft.orderS.Checkpoint() ft.orderU.Checkpoint() } // restore restores known relation to the state just // before the previous checkpoint. // Called when backing up on a branch. func (ft *factsTable) restore() { if ft.unsatDepth > 0 { ft.unsatDepth-- } else { ft.unsat = false } for { old := ft.stack[len(ft.stack)-1]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:30:21 UTC 2024 - 48.9K bytes - Viewed (0) -
src/cmd/go/go_test.go
tg.tempFile("src/t/t1/t1_test.go", "package t\nimport \"testing\"\nfunc Test1(*testing.T) {}\n") tg.tempFile("src/t/t2/t2_test.go", "package t\nimport _ \"p1\"\nimport \"testing\"\nfunc Test2(*testing.T) {}\n") tg.tempFile("src/t/t3/t3_test.go", "package t\nimport \"p1\"\nimport \"testing\"\nfunc Test3(t *testing.T) {t.Log(p1.X)}\n") tg.tempFile("src/t/t4/t4_test.go", "package t\nimport \"p2\"\nimport \"testing\"\nfunc Test4(t *testing.T) {t.Log(p2.X)}")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0) -
cmd/erasure-object.go
return err } // RestoreTransitionedObject - restore transitioned object content locally on this cluster. // This is similar to PostObjectRestore from AWS GLACIER // storage class. When PostObjectRestore API is called, a temporary copy of the object // is restored locally to the bucket on source cluster until the restore expiry date. // The copy that was transitioned continues to reside in the transitioned tier.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 78.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
// license that can be found in the LICENSE file. package types2_test import ( "cmd/compile/internal/syntax" "errors" "fmt" "internal/goversion" "internal/testenv" "reflect" "regexp" "sort" "strings" "sync" "testing" . "cmd/compile/internal/types2" ) // nopos indicates an unknown position var nopos syntax.Pos func mustParse(src string) *syntax.File {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0)