Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,202 for addKind (0.25 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/EmptyBlocksTest.kt

            assertTrue { result.configuredLazy.isInitialized() }
        }
    
        @Test
        fun `empty adding block ensures that the object is created`() {
            val resolution = schema.resolve(
                """
                adding()
                adding { }
                adding { x = 2 }
                addingWithArg(3)
                addingWithArg(4) { }
                """.trimIndent()
            )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 11:58:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/operations/overlay/DocumentOverlayTest.kt

            )
        }
    
    
        @Test
        fun `underlay adding blocks appear before overlay ones`() {
            val underlay = resolvedDocument(
                """
                adding(1) {
                    a = 1
                }
                """.trimIndent()
            )
    
            val overlay = resolvedDocument(
                """
                adding(1) {
                    b = 2
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/TestSchema.kt

    import org.gradle.declarative.dsl.model.annotations.Adding
    import org.gradle.declarative.dsl.model.annotations.Restricted
    
    
    class MyClass {
        @get:Restricted
        lateinit var my: MyClass
    }
    
    
    class TopLevel {
        @Adding
        fun my1(): MyClass = MyClass()
    
        @Adding
        fun my2(): MyClass = MyClass()
    
        @Adding
        fun my(configure: MyClass.() -> Unit) = MyClass().also(configure)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 443 bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/ProjectConfigurationIntegrationTest.groovy

            buildFile << '''
                allprojects { p ->
                    println "[1] Adding afterEvaluate for $p.name"
                    p.afterEvaluate {
                        println "[1] afterEvaluate $p.name"
                    }
                }
    
                project(':a') {
                    println "[2] Adding evaluationDependsOn"
                    evaluationDependsOn(':b')
                }
    
                allprojects { p ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/cmd/link/internal/loader/symbolbuilder.go

    	return sb.AddUintXX(arch, uint64(v), 4)
    }
    
    func (sb *SymbolBuilder) AddUint64(arch *sys.Arch, v uint64) int64 {
    	return sb.AddUintXX(arch, v, 8)
    }
    
    func (sb *SymbolBuilder) AddUint(arch *sys.Arch, v uint64) int64 {
    	return sb.AddUintXX(arch, v, arch.PtrSize)
    }
    
    func (sb *SymbolBuilder) SetUint8(arch *sys.Arch, r int64, v uint8) int64 {
    	return sb.setUintXX(arch, r, uint64(v), 1)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 15:25:19 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/LambdaOverloadResolutionTest.kt

            val addedObjects = mutableListOf<AddedObject>()
    
            @Adding
            @Suppress("unused")
            fun addSomething(x: Int, configure: AddedObject.() -> Unit): AddedObject =
                AddedObject("addSomething($x) { ... }")
                    .also(configure)
                    .also(addedObjects::add)
    
            @Adding
            fun addSomething(x: Int): AddedObject =
                AddedObject("addSomething($x)")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 26 12:27:49 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. docs/bucket/replication/setup_3site_replication.sh

    ./mc mb sitec/bucket/
    ./mc version enable sitec/bucket/
    ./mc mb -l sitec/olockbucket
    
    echo "adding replication rule for a -> b : ${remote_arn}"
    sleep 1
    ./mc replicate add sitea/bucket/ \
    	--remote-bucket http://minio:minio123@127.0.0.1:9004/bucket \
    	--replicate "existing-objects,delete,delete-marker,replica-metadata-sync"
    sleep 1
    
    echo "adding replication rule for b -> a : ${remote_arn}"
    ./mc replicate add siteb/bucket/ \
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. internal/store/batch_test.go

    	}
    	keys, items, err = batch.GetAll()
    	if err != nil {
    		t.Fatalf("unable to get the items from the batch; %v", err)
    	}
    	if len(items) != 1 {
    		t.Fatalf("Expected length of the batch items to be 1 but got %v", len(items))
    	}
    	if len(keys) != 1 {
    		t.Fatalf("Expected length of the batch keys to be 1 but got %v", len(items))
    	}
    	// try adding again after Get.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Oct 07 15:07:38 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/symtab.go

    		moduledata.AddAddr(ctxt.Arch, sym)
    		moduledata.AddUint(ctxt.Arch, len)
    		moduledata.AddUint(ctxt.Arch, len)
    	}
    
    	sliceSym := func(sym loader.Sym) {
    		slice(sym, uint64(ldr.SymSize(sym)))
    	}
    
    	nilSlice := func() {
    		moduledata.AddUint(ctxt.Arch, 0)
    		moduledata.AddUint(ctxt.Arch, 0)
    		moduledata.AddUint(ctxt.Arch, 0)
    	}
    
    	// The pcHeader
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  10. src/text/tabwriter/tabwriter.go

    	widths  []int    // list of column widths in runes - re-used during formatting
    }
    
    // addLine adds a new line.
    // flushed is a hint indicating whether the underlying writer was just flushed.
    // If so, the previous line is not likely to be a good indicator of the new line's cells.
    func (b *Writer) addLine(flushed bool) {
    	// Grow slice instead of appending,
    	// as that gives us an opportunity
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 17.8K bytes
    - Viewed (0)
Back to top