Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 378 for touched (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. test/chan/select7.go

    }
    
    func send1(recv func(<-chan int)) {
    	c := make(chan int)
    	go recv(c)
    	runtime.Gosched()
    	c <- 1
    }
    
    func send2(recv func(<-chan int)) {
    	c := make(chan int)
    	go recv(c)
    	runtime.Gosched()
    	select {
    	case c <- 1:
    	}
    }
    
    func send3(recv func(<-chan int)) {
    	c := make(chan int)
    	go recv(c)
    	runtime.Gosched()
    	c2 := make(chan int)
    	select {
    	case c <- 1:
    	case c2 <- 1:
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 932 bytes
    - Viewed (0)
  8. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/SingleDepthFileAccessTrackerTest.groovy

            when:
            new SingleDepthFileAccessTracker(journal, baseDir, 1).markAccessed(fileInOtherDirectory)
    
            then:
            0 * journal.setLastAccessTime(_, _)
        }
    
        def "touches all subdirectories for depth #depth"() {
            given:
            def file1 = baseDir.file("a/aa/aaa/1")
            def file2 = baseDir.file("b/bb/bbb/2")
            def expectedTouchedFiles = touchedPaths.collect { baseDir.file(it) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. test/fixedbugs/issue11256.go

    			// There's a very narrow window here on most
    			// OSs, so we basically can't do anything (not
    			// even a time.Sleep or a channel).
    			var buf [1024]byte
    			buf[0]++
    			for atomic.LoadInt32(&done) == 0 {
    				runtime.Gosched()
    			}
    			atomic.StoreInt32(&done, 0)
    			// Exit without unwinding stack barriers.
    			runtime.Goexit()
    		}()
    
    		// Generate some garbage.
    		x[i] = make([]byte, 1024*1024)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 29 15:02:30 UTC 2015
    - 1.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/GFileUtilsTest.groovy

            when:
            touch(foo)
            then:
            foo.file
            foo.text == "data"
            foo.lastModified() > original
        }
    
        def "touch touches existing directory"() {
            def foo = temp.file("foo").createDir()
            def child = foo.file("data.txt") << "data"
            def original = foo.makeOlder().lastModified()
    
            when:
            touch(foo)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top