Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assertReady (0.23 sec)

  1. src/cmd/compile/internal/rangefunc/rewrite.go

    	tv := syntax.TypeAndValue{Type: typ}
    	tv.SetIsValue()
    	x.SetTypeInfo(tv)
    }
    
    // assertReady returns the statement:
    //
    //	if #stateK != abi.RF_READY { runtime.panicrangestate(#stateK) }
    //
    // where #stateK is the state variable for loop.
    func (r *rewriter) assertReady(start syntax.Pos, loop *forLoop) syntax.Stmt {
    	nif := &syntax.IfStmt{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/util/internal/DisconnectableInputStreamTest.groovy

            run {
                syncAt(1)
                assertReads(instr, "aaaa")
                syncAt(2)
                assertReads(instr, "aaaaaa")
                syncAt(3)
                syncAt(4)
                assertReads(instr, "aa")
            }
    
            instr.close()
        }
    
        @Test
        void readBlocksUntilDataIsAvailable() {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 07 08:18:46 UTC 2021
    - 8.5K bytes
    - Viewed (0)
Back to top