Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SetGCPercent (0.22 sec)

  1. src/cmd/cgo/internal/test/issue21897.go

    #include <CoreFoundation/CoreFoundation.h>
    */
    import "C"
    import (
    	"runtime/debug"
    	"testing"
    	"unsafe"
    )
    
    func test21897(t *testing.T) {
    	// Please write barrier, kick in soon.
    	defer debug.SetGCPercent(debug.SetGCPercent(1))
    
    	for i := 0; i < 10000; i++ {
    		testCFNumberRef()
    		testCFDateRef()
    		testCFBooleanRef()
    		// Allocate some memory, so eventually the write barrier is enabled
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/tokenizer.go

    	}
    	switch ch {
    	case '_': // Underscore; traditional.
    		return true
    	case '\u00B7': // Represents the period in runtime.exit. U+00B7 '·' middle dot
    		return true
    	case '\u2215': // Represents the slash in runtime/debug.setGCPercent. U+2215 '∕' division slash
    		return true
    	}
    	// Digits are OK only after the first character.
    	return i > 0 && unicode.IsDigit(ch)
    }
    
    func (t *Tokenizer) Text() string {
    	switch t.tok {
    	case LSH:
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Aug 04 20:35:21 GMT 2022
    - 3K bytes
    - Viewed (0)
  3. api/go1.1.txt

    pkg runtime, type BlockProfileRecord struct, embedded StackRecord
    pkg runtime/debug, func FreeOSMemory()
    pkg runtime/debug, func ReadGCStats(*GCStats)
    pkg runtime/debug, func SetGCPercent(int) int
    pkg runtime/debug, type GCStats struct
    pkg runtime/debug, type GCStats struct, LastGC time.Time
    pkg runtime/debug, type GCStats struct, NumGC int64
    pkg runtime/debug, type GCStats struct, Pause []time.Duration
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
Back to top