Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 252 for spill (0.31 sec)

  1. src/internal/trace/reader.go

    )
    
    // Reader reads a byte stream, validates it, and produces trace events.
    type Reader struct {
    	r           *bufio.Reader
    	lastTs      Time
    	gen         *generation
    	spill       *spilledBatch
    	spillErr    error // error from reading spill
    	frontier    []*batchCursor
    	cpuSamples  []cpuSample
    	order       ordering
    	emittedSync bool
    
    	go121Events *oldTraceConverter
    }
    
    // NewReader creates a new trace reader.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. test/codegen/stack.go

    // Notes:
    // - 386 fails due to spilling a register
    // amd64:"TEXT\t.*, [$]0-"
    // arm:"TEXT\t.*, [$]0-" (spills return address)
    // arm64:"TEXT\t.*, [$]0-"
    // ppc64x:"TEXT\t.*, [$]0-"
    // s390x:"TEXT\t.*, [$]0-"
    // Note: that 386 currently has to spill a register.
    func KeepWanted(t *T) {
    	*t = T{A: t.A, B: t.B, C: t.C, D: t.D}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/runtime/mwbbuf.go

    //
    // When the buffer fills up, the write barrier invokes the slow path
    // (wbBufFlush) to flush the buffer to the GC work queues. In this
    // path, since the compiler didn't spill registers, we spill *all*
    // registers and disallow any GC safe points that could observe the
    // stack frame (since we don't know the types of the spilled
    // registers).
    
    package runtime
    
    import (
    	"internal/goarch"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. src/runtime/histogram.go

    	//    │ └---- Next 2 bits -> sub-bucket 0
    	//    └------- Bit 10 set -> bucket 2
    	//
    	// Following this pattern, bucket 38 will have the bit 46 set. We don't
    	// have any buckets for higher values, so we spill the rest into an overflow
    	// bucket containing values of 2^47-1 nanoseconds or approx. 1 day or more.
    	// This range is more than enough to handle durations produced by the runtime.
    	timeHistMinBucketBits = 9
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/sync/pool_test.go

    	}
    	if g := p.Get(); g != "b" {
    		t.Fatalf("got %#v; want b", g)
    	}
    	if g := p.Get(); g != nil {
    		t.Fatalf("got %#v; want nil", g)
    	}
    	Runtime_procUnpin()
    
    	// Put in a large number of objects so they spill into
    	// stealable space.
    	for i := 0; i < 100; i++ {
    		p.Put("c")
    	}
    	// After one GC, the victim cache should keep them alive.
    	runtime.GC()
    	if g := p.Get(); g != "c" {
    		t.Fatalf("got %#v; want c after GC", g)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. src/runtime/sys_windows_amd64.s

    	// if called from a non-go thread.
    	XORPS	X15, X15
    	XORQ	R14, R14
    
    	get_tls(AX)
    	CMPQ	AX, $0
    	JE	2(PC)
    	// Exception from Go thread, set R14.
    	MOVQ	g(AX), R14
    
    	// Reserve space for spill slots.
    	ADJSP	$16
    	MOVQ	CX, AX
    	MOVQ	DX, BX
    	// Calling ABIInternal because TLS might be nil.
    	CALL	runtime·sigtrampgo<ABIInternal>(SB)
    	// Return value is already stored in AX.
    
    	ADJSP	$-16
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 07:24:08 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/dataclasses.md

    ```Python hl_lines="1  7-12  19-20"
    {!../../../docs_src/dataclasses/tutorial001.py!}
    ```
    
    This is still supported thanks to **Pydantic**, as it has <a href="https://docs.pydantic.dev/latest/concepts/dataclasses/#use-of-stdlib-dataclasses-with-basemodel" class="external-link" target="_blank">internal support for `dataclasses`</a>.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeleteTaskIntegrationTest.groovy

            succeeds "clean"
            then: "clean is still marked UP-TO-DATE"
            result.groupedOutput.task(":clean").outcome == "UP-TO-DATE"
    
            when: "the kotlin script compiler is invoked due to a script change"
            buildKotlinFile << "\n"
            succeeds "clean"
            then: "clean is still marked as UP-TO-DATE"
            result.groupedOutput.task(":clean").outcome == "UP-TO-DATE"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/internal/weak/pointer_test.go

    	a int
    }
    
    func TestPointer(t *testing.T) {
    	bt := new(T)
    	wt := weak.Make(bt)
    	if st := wt.Strong(); st != bt {
    		t.Fatalf("weak pointer is not the same as strong pointer: %p vs. %p", st, bt)
    	}
    	// bt is still referenced.
    	runtime.GC()
    
    	if st := wt.Strong(); st != bt {
    		t.Fatalf("weak pointer is not the same as strong pointer after GC: %p vs. %p", st, bt)
    	}
    	// bt is no longer referenced.
    	runtime.GC()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/pointers/KtSymbolPointer.kt

     *    * for package symbol if the package is still exists
     *
     * @see org.jetbrains.kotlin.analysis.api.lifetime.KaReadActionConfinementLifetimeToken
     */
    public abstract class KaSymbolPointer<out S : KaSymbol> {
        /**
         * @return restored symbol (possibly the new symbol instance) if one is still valid, `null` otherwise
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top