Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 6,372 for callB (0.08 sec)

  1. src/testing/sub_test.go

    			}
    			if innerCalls == 0 || innerCalls != innerCleanups {
    				t.Errorf("mismatched cleanups; got %d want %d", cleanups, calls)
    			}
    		},
    	}, {
    		desc:   "cleanup is called on failure",
    		failed: true,
    		f: func(b *B) {
    			var calls, cleanups int
    			b.Run("", func(b *B) {
    				calls++
    				b.Cleanup(func() {
    					cleanups++
    				})
    				b.Fatalf("failure")
    			})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 21:27:08 UTC 2023
    - 23.8K bytes
    - Viewed (0)
  2. src/runtime/libfuzzer_amd64.s

    	// Switch to g0 stack.
    	MOVQ	SP, R12		// callee-saved, preserved across the CALL
    	MOVQ	m_g0(R13), R10
    	CMPQ	R10, R14
    	JE	call	// already on g0
    	MOVQ	(g_sched+gobuf_sp)(R10), SP
    call:
    	ANDQ	$~15, SP	// alignment for gcc ABI
    	CALL	AX
    	MOVQ	R12, SP
    	RET
    
    // void runtime·libfuzzerCallTraceIntCmp(fn, arg0, arg1, fakePC uintptr)
    // Calls C function fn from libFuzzer and passes 2 arguments to it after
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 04:57:07 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. src/runtime/sys_libc.go

    		// libcCall reentrant; We remember the g/pc/sp for the
    		// first call on an M, until that libcCall instance
    		// returns.  Reentrance only matters for signals, as
    		// libc never calls back into Go.  The tricky case is
    		// where we call libcX from an M and record g/pc/sp.
    		// Before that call returns, a signal arrives on the
    		// same M and the signal handling code calls another
    		// libc function.  We don't want that second libcCall
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  4. test/codegen/race.go

    // license that can be found in the LICENSE file.
    
    package codegen
    
    // Check that we elide racefuncenter/racefuncexit for
    // functions with no calls (but which might panic
    // in various ways). See issue 31219.
    // amd64:-"CALL.*racefuncenter.*"
    // arm64:-"CALL.*racefuncenter.*"
    // ppc64le:-"CALL.*racefuncenter.*"
    func RaceMightPanic(a []int, i, j, k, s int) {
    	var b [4]int
    	_ = b[i]     // panicIndex
    	_ = a[i:j]   // panicSlice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 02 03:03:16 UTC 2020
    - 651 bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/configuration/internal/DynamicCallContextTracker.java

        /**
         * Notifies the tracker that the control flow entered the context of a new dynamic call.
         * The tracker itself notifies all the registered listeners.
         *
         * @param entryPoint the key to identify the dynamic call
         */
        void enterDynamicCall(Object entryPoint);
    
        /**
         * Notifies the tracker that the dynamic call ended.
         * The tracker itself notifies all the registered listeners.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 06:02:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. cmd/service.go

    	globalServiceFreezeMu.Lock()
    	// If multiple calls, first one creates channel.
    	globalServiceFreezeCnt++
    	if globalServiceFreezeCnt == 1 {
    		globalServiceFreeze.Store(make(chan struct{}))
    	}
    	globalServiceFreezeMu.Unlock()
    }
    
    // unfreezeServices will unfreeze all incoming S3 API calls.
    // For each call, unfreezeServices must be called once.
    func unfreezeServices() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/runtime/msan_amd64.s

    	JMP	msancall<>(SB)
    
    // Switches SP to g0 stack and calls (AX). Arguments already set.
    TEXT	msancall<>(SB), NOSPLIT, $0-0
    	get_tls(R12)
    	MOVQ	g(R12), R14
    	MOVQ	SP, R12		// callee-saved, preserved across the CALL
    	CMPQ	R14, $0
    	JE	call	// no g; still on a system stack
    
    	MOVQ	g_m(R14), R13
    	// Switch to g0 stack.
    	MOVQ	m_g0(R13), R10
    	CMPQ	R10, R14
    	JE	call	// already on g0
    
    	MOVQ	(g_sched+gobuf_sp)(R10), SP
    call:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 09 01:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. src/internal/singleflight/singleflight_test.go

    }
    
    func TestDoDupSuppress(t *testing.T) {
    	var g Group
    	var wg1, wg2 sync.WaitGroup
    	c := make(chan string, 1)
    	var calls atomic.Int32
    	fn := func() (any, error) {
    		if calls.Add(1) == 1 {
    			// First invocation.
    			wg1.Done()
    		}
    		v := <-c
    		c <- v // pump; make available for any future calls
    
    		time.Sleep(10 * time.Millisecond) // let more goroutines enter Do
    
    		return v, nil
    	}
    
    	const n = 10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 22:21:50 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. src/runtime/stubs2.go

    	"unsafe"
    )
    
    // read calls the read system call.
    // It returns a non-negative number of bytes written or a negative errno value.
    func read(fd int32, p unsafe.Pointer, n int32) int32
    
    func closefd(fd int32) int32
    
    func exit(code int32)
    func usleep(usec uint32)
    
    //go:nosplit
    func usleep_no_g(usec uint32) {
    	usleep(usec)
    }
    
    // write1 calls the write system call.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. src/runtime/debug/stack.go

    )
    
    // PrintStack prints to standard error the stack trace returned by runtime.Stack.
    func PrintStack() {
    	os.Stderr.Write(Stack())
    }
    
    // Stack returns a formatted stack trace of the goroutine that calls it.
    // It calls [runtime.Stack] with a large enough buffer to capture the entire trace.
    func Stack() []byte {
    	buf := make([]byte, 1024)
    	for {
    		n := runtime.Stack(buf, false)
    		if n < len(buf) {
    			return buf[:n]
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top