Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,411 for addKind (0.29 sec)

  1. 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)
  2. cmd/kubeadm/app/phases/certs/doc.go

    			.APIServer.CertSANs is an optional parameter for adding DNS names and IPs to the API Server serving cert SAN
    			.Etcd.Local.ServerCertSANs is an optional parameter for adding DNS names and IPs to the etcd serving cert SAN
    			.Etcd.Local.PeerCertSANs is an optional parameter for adding DNS names and IPs to the etcd peer cert SAN
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 02 09:38:56 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/transformation/OriginReplacementTest.kt

            @Configuring
            fun configuring(fn: InnerReceiver.() -> Unit)
    
            @Adding
            fun adding(fn: InnerReceiver.() -> Unit): InnerReceiver
        }
    
        interface InnerReceiver {
            @Restricted
            fun value(): Value
    
            @Restricted
            fun value(arg: Value): Value
    
            @Adding
            fun addingValue(value: Value): Value
    
            @get:Restricted
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:31:36 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/LambdaTest.kt

        @Suppress("unused")
        private
        abstract class Receiver {
            @Adding
            abstract fun lambdaRequired(x: Int, configure: Receiver.() -> Unit): Receiver
    
            @Adding
            abstract fun lambdaOptional(x: Int, configure: Receiver.() -> Unit = { }): Receiver
    
            @Adding
            abstract fun lambdaNotAllowed(x: Int): Receiver
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 26 12:27:49 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r50/ArgumentPassingCrossVersionTest.groovy

            then:
            env2.java.jvmArguments.contains(JVM_ARG_1)
            env2.java.jvmArguments.contains(JVM_ARG_2)
        }
    
        def "Adding zero JVM arguments is a no-op"() {
            expect:
            loadBuildEnvironment { builder -> builder.addJvmArguments() }
        }
    
        def "Adding null JVM argument throws NPE"() {
            when:
            loadBuildEnvironment { builder -> builder.addJvmArguments(null as String) }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/OverloadResolutionTest.kt

        }
    
        private
        abstract class MyTopLevelReceiver {
            @Adding
            abstract fun addSomething(x: Int, configure: MyTopLevelReceiver.() -> Unit): MyTopLevelReceiver
    
            @Adding
            abstract fun addSomething(x: Int): MyTopLevelReceiver
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:03 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoSimple/demoTypes.kt

    package com.example
    
    import org.gradle.declarative.dsl.model.annotations.Adding
    import org.gradle.declarative.dsl.model.annotations.Builder
    import org.gradle.declarative.dsl.model.annotations.Restricted
    
    
    class Abc {
        @get:Restricted
        var a: Int = 0
    
        @Restricted
        fun b(): Int = 1
    
        @get:Restricted
        var str: String = ""
    
        @Adding
        fun c(x: Int, configure: C.() -> Unit = { }) =
            C().apply {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 949 bytes
    - Viewed (0)
  10. test/defer.go

    // license that can be found in the LICENSE file.
    
    // Test defer.
    
    package main
    
    import "fmt"
    
    var result string
    
    func addInt(i int) { result += fmt.Sprint(i) }
    
    func test1helper() {
    	for i := 0; i < 10; i++ {
    		defer addInt(i)
    	}
    }
    
    func test1() {
    	result = ""
    	test1helper()
    	if result != "9876543210" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 12 18:17:49 UTC 2013
    - 875 bytes
    - Viewed (0)
Back to top