- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for Undo (0.25 sec)
-
src/crypto/internal/boring/fipstls/tls.go
import ( "internal/stringslite" "sync/atomic" ) var required atomic.Bool // Force forces crypto/tls to restrict TLS configurations to FIPS-approved settings. // By design, this call is impossible to undo (except in tests). // // Note that this call has an effect even in programs using // standard crypto (that is, even when Enabled = false). func Force() { required.Store(true) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 14:00:54 UTC 2024 - 1.7K bytes - Viewed (0) -
src/time/internal_test.go
} z.name = "Local" localLoc = *z } var origPlatformZoneSources []string = platformZoneSources func disablePlatformSources() (undo func()) { platformZoneSources = nil return func() { platformZoneSources = origPlatformZoneSources } } var Interrupt = interrupt var DaysIn = daysIn func empty(arg any, seq uintptr, delta int64) {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:37 UTC 2024 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/unfold_splat_constant_pass.cc
namespace mlir { namespace odml { namespace { #define DEBUG_TYPE "unfold-splat-constant-pass" #define GEN_PASS_DEF_UNFOLDSPLATCONSTANTPASS #include "tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.h.inc" // Undo the MHLO::BroadcastInDimOp folding pattern on splat tensor. // TODO(b/295966255): Remove this pass after moving MHLO folders to a separate // pass and folders are not applied by default. class UnfoldSplatConstantPass
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.8K bytes - Viewed (0) -
src/runtime/os_plan9.go
exits(&emptystatus[0]) } // Mask all SSE floating-point exceptions // when running on the 64-bit kernel. setfpmasks() } // Called from dropm to undo the effect of an minit. func unminit() { } // Called from exitm, but not from drop, to undo the effect of thread-owned // resources in minit, semacreate, or elsewhere. Do not take locks after calling this. func mdestroy(mp *m) { }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 10.3K bytes - Viewed (0) -
src/reflect/abi.go
// type t, stored at some offset. // // It returns whether or not the assignment succeeded, but // leaves any changes it made to a.steps behind, so the caller // must undo that work by adjusting a.steps if it fails. // // This method along with the assign* methods represent the // complete register-assignment algorithm for the Go ABI.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:08:32 UTC 2024 - 15K bytes - Viewed (0) -
src/time/time_test.go
} }(i) go func(i int) { defer wg.Done() timer.Stop() }(i) } wg.Wait() } func TestTimeIsDST(t *testing.T) { undo := DisablePlatformSources() defer undo() tzWithDST, err := LoadLocation("Australia/Sydney") if err != nil { t.Fatalf("could not load tz 'Australia/Sydney': %v", err) }
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/cmd/dist/test.go
for i := len(dirs) - 1; i >= 0; i-- { err := os.Chmod(dirs[i].path, dirs[i].mode&^0222) if err != nil { dirs = dirs[i:] // Only undo what we did so far. undo() fatalf("failed to make GOROOT read-only: %v", err) } } return undo } // raceDetectorSupported is a copy of the function // internal/platform.RaceDetectorSupported, which can't be used here
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts
server = uri("https://ge.gradle.org") enabled.convention(project.predictiveTestSelectionEnabled) } } } } fun removeTeamcityTempProperty() { // Undo: https://github.com/JetBrains/teamcity-gradle/blob/e1dc98db0505748df7bea2e61b5ee3a3ba9933db/gradle-runner-agent/src/main/scripts/init.gradle#L818 if (project.hasProperty("teamcity")) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 07:43:28 UTC 2024 - 15.1K bytes - Viewed (0) -
src/runtime/chan.go
if c.timer != nil && async { c.timer.maybeRunChan() } if c.timer != nil && !async { // timer channels have a buffered implementation // but present to users as unbuffered, so that we can // undo sends without users noticing. return 0 } return int(c.qcount) } func chancap(c *hchan) int { if c == nil { return 0 } if c.timer != nil { async := debug.asynctimerchan.Load() != 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:50 UTC 2024 - 25.9K bytes - Viewed (0) -
src/time/format_test.go
if offset != -4*60*60 { t.Fatalf("ParseInLocation(Feb 01 2013 AST, Blanc-Sablon).Zone = _, %d, want _, %d", offset, -4*60*60) } } func TestLoadLocationZipFile(t *testing.T) { undo := DisablePlatformSources() defer undo() _, err := LoadLocation("Australia/Sydney") if err != nil { t.Fatal(err) } } var rubyTests = []ParseTest{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:58:29 UTC 2024 - 36.4K bytes - Viewed (0)