Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for stacklive (0.21 sec)

  1. pkg/log/default_test.go

    				"\"stack\":\".*\"}",
    			json:       true,
    			caller:     true,
    			stackLevel: DebugLevel,
    		},
    		{
    			f: func() { Info("Hello") },
    			pat: "{\"level\":\"info\",\"time\":\"" + timePattern + "\",\"caller\":\"log/default_test.go:.*\",\"msg\":\"Hello\"," +
    				"\"stack\":\".*\"}",
    			json:       true,
    			caller:     true,
    			stackLevel: DebugLevel,
    		},
    		{
    			f: func() { Warn("Hello") },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/riscv/obj.go

    		return
    	}
    
    	stacksize := text.To.Offset
    	if stacksize == -8 {
    		// Historical way to mark NOFRAME.
    		text.From.Sym.Set(obj.AttrNoFrame, true)
    		stacksize = 0
    	}
    	if stacksize < 0 {
    		ctxt.Diag("negative frame size %d - did you mean NOFRAME?", stacksize)
    	}
    	if text.From.Sym.NoFrame() {
    		if stacksize != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  3. fastapi/params.py

        ):
            if example is not _Unset:
                warnings.warn(
                    "`example` has been deprecated, please use `examples` instead",
                    category=DeprecationWarning,
                    stacklevel=4,
                )
            self.example = example
            self.include_in_schema = include_in_schema
            self.openapi_examples = openapi_examples
            kwargs = dict(
                default=default,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  4. src/runtime/rt0_linux_ppc64le.s

    	MOVD	_cgo_sys_thread_create(SB), R12
    	CMP	$0, R12
    	BEQ	nocgo
    	MOVD	$_rt0_ppc64le_linux_lib_go(SB), R3
    	MOVD	$0, R4
    	MOVD	R12, CTR
    	BL	(CTR)
    	BR	done
    
    nocgo:
    	MOVD	$0x800000, R12                     // stacksize = 8192KB
    	MOVD	R12, 8+FIXED_FRAME(R1)
    	MOVD	$_rt0_ppc64le_linux_lib_go(SB), R12
    	MOVD	R12, 16+FIXED_FRAME(R1)
    	MOVD	$runtime·newosproc0(SB),R12
    	MOVD	R12, CTR
    	BL	(CTR)
    
    done:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. fastapi/openapi/utils.py

    ) -> str:  # pragma: nocover
        warnings.warn(
            "fastapi.openapi.utils.generate_operation_id() was deprecated, "
            "it is not used internally, and will be removed soon",
            DeprecationWarning,
            stacklevel=2,
        )
        if route.operation_id:
            return route.operation_id
        path: str = route.path_format
        return generate_operation_id_for_path(name=route.name, path=path, method=method)
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  6. fastapi/utils.py

    ) -> str:  # pragma: nocover
        warnings.warn(
            "fastapi.utils.generate_operation_id_for_path() was deprecated, "
            "it is not used internally, and will be removed soon",
            DeprecationWarning,
            stacklevel=2,
        )
        operation_id = f"{name}{path}"
        operation_id = re.sub(r"\W", "_", operation_id)
        operation_id = f"{operation_id}_{method.lower()}"
        return operation_id
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. src/runtime/os_aix.go

    // is initialized.
    //
    // This function is not safe to use after initialization as it does not pass an M as fnarg.
    //
    //go:nosplit
    func newosproc0(stacksize uintptr, fn *funcDescriptor) {
    	var (
    		attr pthread_attr
    		oset sigset
    		tid  pthread
    	)
    
    	if pthread_attr_init(&attr) != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. src/runtime/os_linux.go

    	}
    }
    
    // Version of newosproc that doesn't require a valid G.
    //
    //go:nosplit
    func newosproc0(stacksize uintptr, fn unsafe.Pointer) {
    	stack := sysAlloc(stacksize, &memstats.stacks_sys)
    	if stack == nil {
    		writeErrStr(failallocatestack)
    		exit(1)
    	}
    	ret := clone(cloneFlags, unsafe.Pointer(uintptr(stack)+stacksize), nil, nil, fn)
    	if ret < 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    }
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  9. src/syscall/exec_linux.go

    	parentTID  uint64 // Where to store child TID, in parent's memory (pid_t *)
    	exitSignal uint64 // Signal to deliver to parent on child termination
    	stack      uint64 // Pointer to lowest byte of stack
    	stackSize  uint64 // Size of stack
    	tls        uint64 // Location of new TLS
    	setTID     uint64 // Pointer to a pid_t array (since Linux 5.5)
    	setTIDSize uint64 // Number of elements in set_tid (since Linux 5.5)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. src/runtime/export_test.go

    	g.init(int32(gcPercent), memoryLimit)
    	return g
    }
    
    func (c *GCController) StartCycle(stackSize, globalsSize uint64, scannableFrac float64, gomaxprocs int) {
    	trigger, _ := c.trigger()
    	if c.heapMarked > trigger {
    		trigger = c.heapMarked
    	}
    	c.maxStackScan.Store(stackSize)
    	c.globalsScan.Store(globalsSize)
    	c.heapLive.Store(trigger)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top