Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 58 for ctb1 (0.12 sec)

  1. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/singleClassContextReceiver.kt

    // LANGUAGE: +ContextReceivers
    
    // MODULE: context
    
    // FILE: context.kt
    class Ctx1
    
    context(Ctx1)
    fun useWithCtx1() = 3
    
    context(Ctx1)
    class Test {
        fun foo() {
            <caret_context>val x = 1
        }
    }
    
    
    // MODULE: main
    // MODULE_KIND: CodeFragment
    // CONTEXT_MODULE: context
    
    // FILE: fragment.kt
    // CODE_FRAGMENT_KIND: EXPRESSION
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jan 30 11:41:26 UTC 2024
    - 348 bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleClassContextReceivers.kt

    // LANGUAGE: +ContextReceivers
    
    // MODULE: context
    
    // FILE: context.kt
    class Ctx1
    class Ctx2
    
    context(Ctx1, Ctx2)
    fun useWithCtx1Ctx2() = 3
    
    context(Ctx1, Ctx2)
    class Test {
        fun foo() {
            <caret_context>val x = 1
        }
    }
    
    
    // MODULE: main
    // MODULE_KIND: CodeFragment
    // CONTEXT_MODULE: context
    
    // FILE: fragment.kt
    // CODE_FRAGMENT_KIND: EXPRESSION
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jan 30 11:41:26 UTC 2024
    - 379 bytes
    - Viewed (0)
  3. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleClassAndFunctionContextReceivers.capturing.txt

    ContainingClass[name: <this>; isMutated: false; displayText: this@Test]
        context(R|Ctx1|, R|Ctx2|)
        class Test : R|kotlin/Any|
        R|Test|
    ContainingClass[name: <this>; isMutated: false; displayText: this@Test]
        context(R|Ctx1|, R|Ctx2|)
        class Test : R|kotlin/Any|
        R|Test|
    ContextReceiver[name: Ctx3; isMutated: false; displayText: this@Ctx3]
        context(R|Ctx3|, R|Ctx4|)
        fun foo(): R|kotlin/Unit|
        R|Ctx3|
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Aug 14 15:22:43 UTC 2023
    - 574 bytes
    - Viewed (0)
  4. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/singleClassContextReceiver.capturing.txt

    ContainingClass[name: <this>; isMutated: false; displayText: this@Test]
        context(R|Ctx1|)
        class Test : R|kotlin/Any|
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Aug 14 15:22:43 UTC 2023
    - 136 bytes
    - Viewed (0)
  5. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleClassContextReceivers.ir.txt

                CALL 'public final fun useWithCtx1Ctx2 ($context_receiver_0: <root>.Ctx1, $context_receiver_1: <root>.Ctx2): kotlin.Int declared in <root>.ContextKt' type=kotlin.Int origin=null
                  $context_receiver_0: GET_FIELD 'FIELD FIELD_FOR_CLASS_CONTEXT_RECEIVER name:contextReceiverField0 type:<root>.Ctx1 visibility:private [final] declared in <root>.Test' type=<root>.Ctx1 origin=null
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Apr 26 06:04:06 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/secondClassContextReceiver.kt

    // LANGUAGE: +ContextReceivers
    
    // MODULE: context
    
    // FILE: context.kt
    class Ctx1
    class Ctx2
    
    context(Ctx2)
    fun useWithCtx2() = 3
    
    context(Ctx1, Ctx2)
    class Test {
        fun foo() {
            <caret_context>val x = 1
        }
    }
    
    
    // MODULE: main
    // MODULE_KIND: CodeFragment
    // CONTEXT_MODULE: context
    
    // FILE: fragment.kt
    // CODE_FRAGMENT_KIND: EXPRESSION
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jan 30 11:41:26 UTC 2024
    - 365 bytes
    - Viewed (0)
  7. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleClassAndFunctionContextReceivers.ir.txt

                  $context_receiver_0: GET_FIELD 'FIELD FIELD_FOR_CLASS_CONTEXT_RECEIVER name:contextReceiverField0 type:<root>.Ctx1 visibility:private [final] declared in <root>.Test' type=<root>.Ctx1 origin=null
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Apr 26 06:04:06 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. src/context/afterfunc_test.go

    	ctx0 := &afterFuncContext{}
    	ctx1, cancel := context.WithCancel(ctx0)
    	defer cancel()
    	ctx0.cancel(context.Canceled)
    	<-ctx1.Done()
    }
    
    func TestCustomContextAfterFuncTimeout(t *testing.T) {
    	ctx0 := &afterFuncContext{}
    	ctx1, cancel := context.WithTimeout(ctx0, veryLongDuration)
    	defer cancel()
    	ctx0.cancel(context.Canceled)
    	<-ctx1.Done()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 16:58:52 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. src/image/internal/imageutil/impl.go

    				r := yy1 + 91881*cr1
    				if uint32(r)&0xff000000 == 0 {
    					r >>= 16
    				} else {
    					r = ^(r >> 31)
    				}
    
    				g := yy1 - 22554*cb1 - 46802*cr1
    				if uint32(g)&0xff000000 == 0 {
    					g >>= 16
    				} else {
    					g = ^(g >> 31)
    				}
    
    				b := yy1 + 116130*cb1
    				if uint32(b)&0xff000000 == 0 {
    					b >>= 16
    				} else {
    					b = ^(b >> 31)
    				}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 10 17:50:11 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  10. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/secondClassContextReceiver.capturing.txt

    ContainingClass[name: <this>; isMutated: false; displayText: this@Test]
        context(R|Ctx1|, R|Ctx2|)
        class Test : R|kotlin/Any|
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Aug 14 15:22:43 UTC 2023
    - 145 bytes
    - Viewed (0)
Back to top