Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for stacklive (0.33 sec)

  1. src/cmd/compile/internal/ssa/stackalloc.go

    				changed = true
    			}
    		}
    
    		if !changed {
    			break
    		}
    	}
    	if s.f.pass.debug > stackDebug {
    		for _, b := range s.f.Blocks {
    			fmt.Printf("stacklive %s %v\n", b, s.live[b.ID])
    		}
    	}
    }
    
    func (f *Func) getHome(vid ID) Location {
    	if int(vid) >= len(f.RegAlloc) {
    		return nil
    	}
    	return f.RegAlloc[vid]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/regalloc.go

    	s.placeSpills()
    
    	// Anything that didn't get a register gets a stack location here.
    	// (StoreReg, stack-based phis, inputs, ...)
    	stacklive := stackalloc(s.f, s.spillLive)
    
    	// Fix up all merge edges.
    	s.shuffle(stacklive)
    
    	// Erase any copies we never used.
    	// Also, an unused copy might be the only use of another copy,
    	// so continue erasing until we reach a fixed point.
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  3. 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)
  4. pkg/log/scope_test.go

    			json:       true,
    			caller:     true,
    			stackLevel: DebugLevel,
    		},
    		{
    			f: func() { s.Info("Hello") },
    			pat: "{\"level\":\"info\",\"time\":\"" + timePattern + "\",\"scope\":\"testScope\",\"caller\":\"log/scope_test.go:.*\",\"msg\":\"Hello\"," +
    				"\"stack\":\".*\"}",
    			json:       true,
    			caller:     true,
    			stackLevel: DebugLevel,
    		},
    		{
    			f: func() { s.Warn("Hello") },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 17:36:09 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. src/runtime/os_darwin.go

    	if err != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    	// Find out OS stack size for our own stack guard.
    	var stacksize uintptr
    	if pthread_attr_getstacksize(&attr, &stacksize) != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    	mp.g0.stack.hi = stacksize // for mstart
    
    	// Tell the pthread library we won't join with this thread.
    	if pthread_attr_setdetachstate(&attr, _PTHREAD_CREATE_DETACHED) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  6. src/runtime/os_freebsd.go

    		throw("newosproc")
    	}
    }
    
    // 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)
    	}
    	// This code "knows" it's being called once from the library
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top