Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 164 for touched (0.09 sec)

  1. pkg/ctrlz/assets/static/favicons/apple-touch-icon-180x180.png

    apple-touch-icon-180x180.png...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. src/runtime/testdata/testprog/map.go

    			m[5] = 0
    			runtime.Gosched()
    		}
    		c <- struct{}{}
    	}()
    	go func() {
    		for i := 0; i < 10000; i++ {
    			m[6] = 0
    			runtime.Gosched()
    		}
    		c <- struct{}{}
    	}()
    	<-c
    	<-c
    }
    
    func concurrentMapReadWrite() {
    	m := map[int]int{}
    	c := make(chan struct{})
    	go func() {
    		for i := 0; i < 10000; i++ {
    			m[5] = 0
    			runtime.Gosched()
    		}
    		c <- struct{}{}
    	}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 16 21:52:44 UTC 2016
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/cgo_thread_lock.go

    /*
    #include <unistd.h>
    #include <stdbool.h>
    #include <sys/syscall.h>
    void Gosched(void);
    static bool Ctid(void) {
    	long tid1 = syscall(SYS_gettid);
    	Gosched();
    	return tid1 == syscall(SYS_gettid);
    }
    */
    import "C"
    
    import (
    	"runtime"
    	"testing"
    	"time"
    )
    
    //export Gosched
    func Gosched() {
    	runtime.Gosched()
    }
    
    func init() {
    	testThreadLockFunc = testThreadLock
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 16:55:07 UTC 2023
    - 939 bytes
    - Viewed (0)
  4. src/runtime/race/testdata/atomic_test.go

    		x = 2
    		atomic.AddInt32(&s, 1)
    	}()
    	for atomic.LoadInt32(&s) != 1 {
    		runtime.Gosched()
    	}
    	x = 1
    }
    
    func TestNoRaceAtomicLoadStoreInt32(t *testing.T) {
    	var x int64
    	_ = x
    	var s int32
    	go func() {
    		x = 2
    		atomic.StoreInt32(&s, 1)
    	}()
    	for atomic.LoadInt32(&s) != 1 {
    		runtime.Gosched()
    	}
    	x = 1
    }
    
    func TestNoRaceAtomicStoreCASInt32(t *testing.T) {
    	var x int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 16 17:26:46 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/testprog/futile-wakeup.go

    		go func() {
    			trace.WithRegion(context.Background(), "special", func() {
    				for i := 0; i < iters; i++ {
    					runtime.Gosched()
    					c0 <- 0
    				}
    				done.Done()
    			})
    		}()
    		go func() {
    			trace.WithRegion(context.Background(), "special", func() {
    				for i := 0; i < iters; i++ {
    					runtime.Gosched()
    					<-c0
    				}
    				done.Done()
    			})
    		}()
    		go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_save_op.mlir

    // SaveV2 op created for a single VarHandleOp.
    
    module attributes {tf_saved_model.semantics} {
      "tf_saved_model.session_initializer"() {initializers = [@init_func_restore_op]} : () -> ()
    // SessionInitializerOp is untouched.
    // CHECK: "tf_saved_model.session_initializer"()
    // CHECK-SAME: {{.*initializers = \[@init_func_restore_op\].*}}
    
      func.func @init_func_restore_op() -> () attributes {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. test/ken/chan1.go

    		if h[r] != 0 {
    			println("s")
    			panic("fail")
    		}
    		h[r] = 1
    		c <- r
    	}
    }
    
    func main() {
    	c := make(chan int, W)
    	for m := 0; m < M; m++ {
    		go r(c, m)
    		runtime.Gosched()
    	}
    	runtime.Gosched()
    	runtime.Gosched()
    	s(c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 21:47:04 UTC 2012
    - 879 bytes
    - Viewed (0)
  8. src/main/webapp/js/index.js

        $searchButton.attr("disabled", true);
        setTimeout(function() {
          $searchButton.attr("disabled", false);
        }, 3000);
        return true;
      });
    
      $(document).on("click touchend", function(e) {
        if (!$(e.target).closest("#searchOptions, #searchOptionsButton").length) {
          $("#searchOptions").removeClass("active");
        }
      });
    
      $("[data-toggle='control-options']").click(function(e) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Mar 30 05:45:24 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. test/fixedbugs/issue10958.go

    	go standinacorner2(0)
    	go standinacorner3()
    	// println("About to stand in a corner1")
    	for someglobal1 == 0 {
    		runtime.Gosched()
    	}
    	// println("About to stand in a corner2")
    	for someglobal2 == 0 {
    		runtime.Gosched()
    	}
    	// println("About to stand in a corner3")
    	for someglobal3 == 0 {
    		runtime.Gosched()
    	}
    	// println("About to GC")
    	runtime.GC()
    	// println("Success")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testsanitizers/testdata/tsan5.go

    		wg.Add(2)
    		go func() {
    			defer wg.Done()
    			for i := 0; i < 1000; i++ {
    				user.Lookup(u.Username)
    				runtime.Gosched()
    			}
    		}()
    		go func() {
    			defer wg.Done()
    			for i := 0; i < 1000; i++ {
    				p := C.malloc(C.size_t(len(u.Username) + 1))
    				runtime.Gosched()
    				C.free(p)
    			}
    		}()
    	}
    	wg.Wait()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 927 bytes
    - Viewed (0)
Back to top