Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 257 for Atack (0.28 sec)

  1. src/runtime/preempt.go

    // stack.
    //
    // Synchronous safe-points are implemented by overloading the stack
    // bound check in function prologues. To preempt a goroutine at the
    // next synchronous safe-point, the runtime poisons the goroutine's
    // stack bound to a value that will cause the next stack bound check
    // to fail and enter the stack growth implementation, which will
    // detect that it was actually a preemption and redirect to preemption
    // handling.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. src/net/http/httputil/dump_test.go

    			// No unexpected goroutines.
    			return
    		}
    
    		// Allow goroutines to schedule and die off.
    		runtime.Gosched()
    	}
    
    	buf := make([]byte, 4096)
    	buf = buf[:runtime.Stack(buf, true)]
    	t.Errorf("Unexpectedly large number of new goroutines: %d new: %s", dg, buf)
    }
    
    // deadline returns the time which is needed before t.Deadline()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 17:34:07 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  3. src/runtime/os_darwin.go

    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    	// The caller passes in a suggested stack size,
    	// from when we allocated the stack and thread ourselves,
    	// without libpthread. Now that we're using libpthread,
    	// we use the OS default stack size instead of the suggestion.
    	// Find out that stack size for our own stack guard.
    	if pthread_attr_getstacksize(&attr, &stacksize) != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  4. src/net/http/cgi/host_test.go

    // [Handler.ServeHTTP].
    func handlerRunning() bool {
    	r := regexp.MustCompile(`net/http/cgi\.\(\*Handler\)\.ServeHTTP`)
    	buf := make([]byte, 64<<10)
    	for {
    		n := runtime.Stack(buf, true)
    		if n < len(buf) {
    			return r.Match(buf[:n])
    		}
    		// Buffer wasn't large enough for a full goroutine dump.
    		// Resize it and try again.
    		buf = make([]byte, 2*len(buf))
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 18:29:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. src/internal/trace/trace_test.go

    			if !overflowed {
    				t.Fail()
    			}
    		}
    
    		for stack, traceSamples := range traceStacks {
    			pprofSamples := pprofStacks[stack]
    			delete(pprofStacks, stack)
    			if traceSamples < pprofSamples {
    				t.Logf("execution trace did not include all CPU profile samples for stack %q; %d in profile, %d in trace",
    					stack, pprofSamples, traceSamples)
    				if !overflowed {
    					t.Fail()
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/unify.go

    			// endless recursion occurs if the cycle is not detected.
    			//
    			// If x and y were compared before, they must be equal
    			// (if they were not, the recursion would have stopped);
    			// search the ifacePair stack for the same pair.
    			//
    			// This is a quadratic algorithm, but in practice these stacks
    			// are extremely short (bounded by the nesting depth of interface
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  7. src/log/slog/doc.go

    Handler authors and others may wish to use [Value.Resolve] instead of calling LogValue directly.
    
    # Wrapping output methods
    
    The logger functions use reflection over the call stack to find the file name
    and line number of the logging call within the application. This can produce
    incorrect source information for functions that wrap slog. For instance, if you
    define this function in file mylog.go:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 14:35:48 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/schedule.go

    			// in sset means v is a store, or already pushed to stack, or already assigned a store number
    			continue
    		}
    		stack = append(stack, v)
    		sset.add(v.ID)
    
    		for len(stack) > 0 {
    			w := stack[len(stack)-1]
    			if storeNumber[w.ID] != 0 {
    				stack = stack[:len(stack)-1]
    				continue
    			}
    			if w.Op == OpPhi {
    				// Phi value doesn't depend on store in the current block.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. src/cmd/internal/test2json/test2json.go

    				break
    			}
    		}
    	}
    
    	// Not a special test output line.
    	if !ok {
    		// Lookup the name of the test which produced the output using the
    		// indentation of the output as an index into the stack of the current
    		// subtests.
    		// If the indentation is greater than the number of current subtests
    		// then the output must have included extra indentation. We can't
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 14.5K bytes
    - Viewed (0)
  10. src/encoding/base64/base64_test.go

    func TestDecodeBounds(t *testing.T) {
    	var buf [32]byte
    	s := StdEncoding.EncodeToString(buf[:])
    	defer func() {
    		if err := recover(); err != nil {
    			t.Fatalf("Decode panicked unexpectedly: %v\n%s", err, debug.Stack())
    		}
    	}()
    	n, err := StdEncoding.Decode(buf[:], []byte(s))
    	if n != len(buf) || err != nil {
    		t.Fatalf("StdEncoding.Decode = %d, %v, want %d, nil", n, err, len(buf))
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 03 18:57:29 UTC 2023
    - 15.9K bytes
    - Viewed (0)
Back to top