Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 694 for Atack (0.03 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/config/config.go

    }
    
    func (r *Config) HasCounterPrefix(program, prefix string) bool {
    	return r.pgcounterprefix[pgkey{program, prefix}]
    }
    
    func (r *Config) HasStack(program, stack string) bool {
    	return r.pgstack[pgkey{program, stack}]
    }
    
    func (r *Config) Rate(program, name string) float64 {
    	return r.rate[pgkey{program, name}]
    }
    
    func set(slice []string) map[string]bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/runtime/mpagealloc.go

    //
    // The heap lock must not be held over this operation, since it will briefly acquire
    // the heap lock.
    //
    // Must be called on the system stack because it acquires the heap lock.
    //
    //go:systemstack
    func (p *pageAlloc) enableChunkHugePages() {
    	// Grab the heap lock to turn on huge pages for new chunks and clone the current
    	// heap address space ranges.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  3. src/runtime/testdata/testprogcgo/traceback.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    // This program will crash.
    // We want the stack trace to include the C functions.
    // We use a fake traceback, and a symbolizer that dumps a string we recognize.
    
    /*
    #cgo CFLAGS: -g -O0
    
    // Defined in traceback_c.c.
    extern int crashInGo;
    int tracebackF1(void);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 24 21:47:44 UTC 2020
    - 949 bytes
    - Viewed (0)
  4. src/runtime/metrics/doc.go

    	/gc/scan/heap:bytes
    		The total amount of heap space that is scannable.
    
    	/gc/scan/stack:bytes
    		The number of bytes of stack that were scanned last GC cycle.
    
    	/gc/scan/total:bytes
    		The total amount space that is scannable. Sum of all metrics in
    		/gc/scan.
    
    	/gc/stack/starting-size:bytes
    		The stack size of new goroutines.
    
    	/godebug/non-default-behavior/execerrdot:events
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. src/net/http/httputil/persist.go

    var errClosed = errors.New("i/o operation on closed connection")
    
    // ServerConn is an artifact of Go's early HTTP implementation.
    // It is low-level, old, and unused by Go's current HTTP stack.
    // We should have deleted it before Go 1.
    //
    // Deprecated: Use the Server in package [net/http] instead.
    type ServerConn struct {
    	mu              sync.Mutex // read-write protects the following fields
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. test/fixedbugs/issue42284.dir/a.go

    	i = nil
    	return i
    }
    
    func g() {
    	h := E() // ERROR "inlining call to E" "T\(0\) does not escape"
    	h.M()    // ERROR "devirtualizing h.M to T" "inlining call to T.M"
    
    	// BAD: T(0) could be stack allocated.
    	i := F(T(0)) // ERROR "inlining call to F" "T\(0\) escapes to heap"
    
    	// Testing that we do NOT devirtualize here:
    	i.M()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 18:09:45 UTC 2023
    - 750 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/compile.go

    	phaseName := "init"
    	defer func() {
    		if phaseName != "" {
    			err := recover()
    			stack := make([]byte, 16384)
    			n := runtime.Stack(stack, false)
    			stack = stack[:n]
    			if f.HTMLWriter != nil {
    				f.HTMLWriter.flushPhases()
    			}
    			f.Fatalf("panic during %s while compiling %s:\n\n%v\n\n%s\n", phaseName, f.Name, err, stack)
    		}
    	}()
    
    	// Run all the passes
    	if f.Log() {
    		printFunc(f)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. src/runtime/debuglog_on.go

    // efficiently, or nil otherwise. The returned dlogger will be owned.
    func getCachedDlogger() *dlogger {
    	mp := acquirem()
    	// We don't return a cached dlogger if we're running on the
    	// signal stack in case the signal arrived while in
    	// get/putCachedDlogger. (Too bad we don't have non-atomic
    	// exchange!)
    	var l *dlogger
    	if getg() != mp.gsignal {
    		l = mp.dlogCache
    		mp.dlogCache = nil
    	}
    	releasem(mp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  9. test/maymorestack.go

    		panic("mayMoreStack not called")
    	} else if count != wantCount {
    		println(count, "!=", wantCount)
    		panic("wrong number of calls to mayMoreStack")
    	}
    }
    
    //go:noinline
    func anotherFunc(n int) {
    	// Trigger a stack growth on at least some calls to
    	// anotherFunc to test that mayMoreStack is called outside the
    	// morestack loop. It's also important that it is called
    	// before (not after) morestack, but that's hard to test.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 05 00:52:06 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  10. test/stackobj.go

    var n int
    var c int = -1
    
    func gc() {
    	// encourage heap object to be collected, and have its finalizer run.
    	runtime.GC()
    	runtime.GC()
    	runtime.GC()
    	n++
    }
    
    func main() {
    	f()
    	gc() // prior to stack objects, heap object is not collected until here
    	if c < 0 {
    		panic("heap object never collected")
    	}
    	if c != 1 {
    		panic(fmt.Sprintf("expected collection at phase 1, got phase %d", c))
    	}
    }
    
    func f() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 03 19:54:16 UTC 2018
    - 975 bytes
    - Viewed (0)
Back to top