- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 378 for touched (0.58 sec)
-
test/fixedbugs/issue30977.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 21:05:13 UTC 2019 - 865 bytes - Viewed (0) -
test/fixedbugs/bug472.dir/p2.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 420 bytes - Viewed (0) -
src/cmd/cgo/internal/test/testx.go
func Issue1560FromC() { for atomic.LoadInt32(&issue1560) != 1 { runtime.Gosched() } atomic.AddInt32(&issue1560, 1) for atomic.LoadInt32(&issue1560) != 3 { runtime.Gosched() } issue1560Ch <- true } func Issue1560FromGo() { atomic.AddInt32(&issue1560, 1) for atomic.LoadInt32(&issue1560) != 2 { runtime.Gosched() } atomic.AddInt32(&issue1560, 1) issue1560Ch <- true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 10.6K bytes - Viewed (0) -
test/chan/nonblock.go
} func ssender(c chan string, strobe chan bool) { c <- "hello again" strobe <- true } var ticker = time.Tick(10 * 1000) // 10 us func sleep() { <-ticker <-ticker runtime.Gosched() runtime.Gosched() runtime.Gosched() } const maxTries = 10000 // Up to 100ms per test. func main() { var i32 int32 var i64 int64 var b bool var s string var sync = make(chan bool)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 06:44:02 UTC 2012 - 3.9K bytes - Viewed (0) -
tests/non_std_test.go
DB.Save(&animal).Update("From", "a nice place") // The name field should be untouched DB.First(&animal, animal.Counter) if animal.Name != "galeone" { t.Errorf("Name fields shouldn't be changed if untouched, but got %v", animal.Name) } // When changing a field with a default value, the change must occur animal.Name = "amazing horse" DB.Save(&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/vendor/golang.org/x/sys/unix/pledge_openbsd.go
if err != nil { return err } return pledge(pptr, exptr) } // PledgePromises implements the pledge syscall. // // This changes the promises and leaves the execpromises untouched. // // For more information see pledge(2). func PledgePromises(promises string) error { if err := pledgeAvailable(); err != nil { return err } pptr, err := BytePtrFromString(promises) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 29 21:28:33 UTC 2023 - 2.3K bytes - Viewed (0) -
src/runtime/debuglog_test.go
// Encourage main goroutine to move around to // different Ms and Ps. for atomic.LoadInt32(&done) == 0 { runtime.Gosched() } wg.Done() }() var want strings.Builder for i := 0; i < 1000; i++ { runtime.Dlog().I(i).End() fmt.Fprintf(&want, "[] %d\n", i) runtime.Gosched() } atomic.StoreInt32(&done, 1) wg.Wait() gotFull := runtime.DumpDebugLog() got := dlogCanonicalize(gotFull)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 18 16:59:26 UTC 2022 - 4.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/tsan6.go
var mu sync.Mutex c := make(chan []C.char, 100) for i := 0; i < 10; i++ { wg.Add(2) go func() { defer wg.Done() for i := 0; i < 100; i++ { c <- make([]C.char, 4096) runtime.Gosched() } }() go func() { defer wg.Done() for i := 0; i < 100; i++ { p := &(<-c)[0] mu.Lock() C.f(p) mu.Unlock() } }() } wg.Wait()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 817 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/partial-device-name.pbtxt
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 26 20:48:36 UTC 2021 - 1.8K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/assembler/plugins/AssemblerPluginTest.groovy
realizeComponents().exe.sources.asm.source.srcDirs*.name == ["d1", "d2"] } def "creates assemble tasks for each non-empty executable source set "() { when: touch("src/test/asm/dummy.s") touch("src/test/anotherOne/dummy.s") dsl { pluginManager.apply AssemblerPlugin model { components { test(NativeExecutableSpec) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 6.2K bytes - Viewed (0)