Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,145 for func4 (0.28 sec)

  1. src/internal/trace/testdata/testprog/stacks.go

    	// the rest of the test, they will block.
    	go func() { // func1
    		select {}
    	}()
    	go func() { // func2
    		var c chan int
    		c <- 0
    	}()
    	go func() { // func3
    		var c chan int
    		<-c
    	}()
    	done1 := make(chan bool)
    	go func() { // func4
    		<-done1
    	}()
    	done2 := make(chan bool)
    	go func() { // func5
    		done2 <- true
    	}()
    	c1 := make(chan int)
    	c2 := make(chan int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/crypto/sha1/sha1block_386.s

    	ADDL	DI, e
    
    #define FUNC1(a, b, c, d, e) \
    	MOVL	d, DI; \
    	XORL	c, DI; \
    	ANDL	b, DI; \
    	XORL	d, DI
    
    #define FUNC2(a, b, c, d, e) \
    	MOVL	b, DI; \
    	XORL	c, DI; \
    	XORL	d, DI
    
    #define FUNC3(a, b, c, d, e) \
    	MOVL	b, SI; \
    	ORL	c, SI; \
    	ANDL	d, SI; \
    	MOVL	b, DI; \
    	ANDL	c, DI; \
    	ORL	SI, DI
    
    #define FUNC4 FUNC2
    
    #define MIX(a, b, c, d, e, const) \
    	ROLL	$30, b; \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. src/crypto/sha1/sha1block_arm.s

    	SHUFFLE(Re)	; \
    	FUNC1(Ra, Rb, Rc, Rd, Re)	; \
    	MIX(Ra, Rb, Rc, Rd, Re)
    
    #define ROUND2(Ra, Rb, Rc, Rd, Re) \
    	SHUFFLE(Re)	; \
    	FUNC2(Ra, Rb, Rc, Rd, Re)	; \
    	MIX(Ra, Rb, Rc, Rd, Re)
    
    #define ROUND3(Ra, Rb, Rc, Rd, Re) \
    	SHUFFLE(Re)	; \
    	FUNC3(Ra, Rb, Rc, Rd, Re)	; \
    	MIX(Ra, Rb, Rc, Rd, Re)
    
    #define ROUND4(Ra, Rb, Rc, Rd, Re) \
    	SHUFFLE(Re)	; \
    	FUNC4(Ra, Rb, Rc, Rd, Re)	; \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. src/internal/trace/trace_test.go

    			t.Fatal("did not see a goroutine in a the region 'special'")
    		}
    	})
    }
    
    func TestTraceGCStress(t *testing.T) {
    	testTraceProg(t, "gc-stress.go", nil)
    }
    
    func TestTraceGOMAXPROCS(t *testing.T) {
    	testTraceProg(t, "gomaxprocs.go", nil)
    }
    
    func TestTraceStacks(t *testing.T) {
    	testTraceProg(t, "stacks.go", func(t *testing.T, tb, _ []byte, stress bool) {
    		type frame struct {
    			fn   string
    			line int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. src/crypto/sha1/sha1block_amd64.s

    	MOVL	R10, (((index)&0xf)*4)(SP)
    
    #define FUNC1(a, b, c, d, e) \
    	MOVL	d, R9; \
    	XORL	c, R9; \
    	ANDL	b, R9; \
    	XORL	d, R9
    
    #define FUNC2(a, b, c, d, e) \
    	MOVL	b, R9; \
    	XORL	c, R9; \
    	XORL	d, R9
    
    #define FUNC3(a, b, c, d, e) \
    	MOVL	b, R8; \
    	ORL	c, R8; \
    	ANDL	d, R8; \
    	MOVL	b, R9; \
    	ANDL	c, R9; \
    	ORL	R8, R9
    
    #define FUNC4 FUNC2
    
    #define MIX(a, b, c, d, e, const) \
    	ROLL	$30, b; \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  6. test/range4.go

    package main
    
    var gj int
    
    func yield4x(yield func() bool) {
    	_ = yield() && yield() && yield() && yield()
    }
    
    func yield4(yield func(int) bool) {
    	_ = yield(1) && yield(2) && yield(3) && yield(4)
    }
    
    func yield3(yield func(int) bool) {
    	_ = yield(1) && yield(2) && yield(3)
    }
    
    func yield2(yield func(int) bool) {
    	_ = yield(1) && yield(2)
    }
    
    func testfunc0() {
    	j := 0
    	for range yield4x {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 16:00:53 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. src/runtime/pprof/pprof_test.go

    		t.Fatalf("sample value changed: got [%d, %d], want [%d, %d]", newContentions, newDelay, contentions, delay)
    	}
    }
    
    func func1(c chan int) { <-c }
    func func2(c chan int) { <-c }
    func func3(c chan int) { <-c }
    func func4(c chan int) { <-c }
    
    func TestGoroutineCounts(t *testing.T) {
    	// Setting GOMAXPROCS to 1 ensures we can force all goroutines to the
    	// desired blocking point.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/tests/fold-constants-to-subgraph.mlir

      %3 = func.call @arg_reuse_test_2(%arg0, %0, %1) {tac.interface_name = "func2"} : (tensor<4x384x32xf32>, tensor<3xi32>, tensor<3xi32>) -> tensor<1x384x32xf32>
      func.return %2, %3 : tensor<1x384x32xf32>, tensor<1x384x32xf32>
    }
    
    // PARTIAL-LABEL: @arg_reuse_test_1
    func.func @arg_reuse_test_1(%arg0: tensor<4x384x32xf32>, %arg1: tensor<3xi32>, %arg2: tensor<3xi32>) -> tensor<1x384x32xf32> attributes {tac.interface_name = "func1"} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ir/func.go

    func (n *Func) editChildren(edit func(Node) Node)           { editNodes(n.Body, edit) }
    func (n *Func) editChildrenWithHidden(edit func(Node) Node) { editNodes(n.Body, edit) }
    
    func (f *Func) Type() *types.Type                { return f.Nname.Type() }
    func (f *Func) Sym() *types.Sym                  { return f.Nname.Sym() }
    func (f *Func) Linksym() *obj.LSym               { return f.Nname.Linksym() }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export_test.cc

          /*saver_def=*/std::nullopt,
          /*function_aliases=*/{{"func1", "alias1"}, {"func2", "alias2"}},
          /*asset_file_defs=*/{});
      ASSERT_THAT(exported_model.function_aliases(), SizeIs(2));
      EXPECT_TRUE(exported_model.function_aliases().contains("func1"));
      EXPECT_THAT(exported_model.function_aliases().at("func1"), StrEq("alias1"));
      EXPECT_TRUE(exported_model.function_aliases().contains("func2"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top