Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 144 for casting (0.84 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

            method << ["get", "finalizeValue", "isPresent"]
        }
    
        Property<String> elementProperty() {
            return new DefaultProperty<String>(host, String)
        }
    
        def "runs side effect when calling '#getter' on property to which providers were added via 'add'"() {
            def sideEffect1 = Mock(ValueSupplier.SideEffect)
            def sideEffect2 = Mock(ValueSupplier.SideEffect)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformInputArtifactIntegrationTest.groovy

        // for incremental transforms, and so when the path changes the outputs are invalidated
        def "can attach #description to input artifact property with incrementally transformed artifact but it has no effect when not caching"() {
            createDirs("a", "b", "c")
            settingsFile << "include 'a', 'b', 'c'"
            setupBuildWithColorTransform()
            buildFile << """
                project(':a') {
                    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 27 19:15:32 UTC 2023
    - 51.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

            method << ["get", "finalizeValue", "isPresent"]
        }
    
        Property<String> valueProperty() {
            return new DefaultProperty<String>(host, String)
        }
    
        def "runs side effect when calling '#getter' on property to which providers were added via 'put'"() {
            def sideEffect1 = Mock(ValueSupplier.SideEffect)
            def sideEffect2 = Mock(ValueSupplier.SideEffect)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 58.7K bytes
    - Viewed (0)
  4. src/cmd/go/internal/test/test.go

    	func BenchmarkXxx(b *testing.B) { ... }
    
    A fuzz test is one named FuzzXxx and should have the signature,
    
    	func FuzzXxx(f *testing.F) { ... }
    
    An example function is similar to a test function but, instead of using
    *testing.T to report success or failure, prints output to os.Stdout.
    If the last comment in the function starts with "Output:" then the output
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  5. src/text/template/exec_test.go

    		t.Errorf("got error %q; want %q", got, want)
    	}
    }
    
    func TestAddrOfIndex(t *testing.T) {
    	// golang.org/issue/14916.
    	// Before index worked on reflect.Values, the .String could not be
    	// found on the (incorrectly unaddressable) V value,
    	// in contrast to range, which worked fine.
    	// Also testing that passing a reflect.Value to tmpl.Execute works.
    	texts := []string{
    		`{{range .}}{{.String}}{{end}}`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  6. src/runtime/asm_amd64.s

     */
    
    // Called during function prolog when more stack is needed.
    //
    // The traceback routines see morestack on a g0 as being
    // the top of a stack (for example, morestack calling newstack
    // calling the scheduler calling newm calling gc), so we must
    // record an argument size. For that purpose, it has no arguments.
    TEXT runtime·morestack(SB),NOSPLIT|NOFRAME,$0-0
    	// Cannot grow scheduler stack (m->g0).
    	get_tls(CX)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    Both link:{kotlin-reference}java-interop.html[calling Java from Kotlin] and link:{kotlin-reference}java-to-kotlin-interop.html[calling Kotlin from Java] are very well covered in the Kotlin reference documentation.
    
    The same mostly applies to interoperability with Groovy code.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            copy2.get() == someValue()
    
            property.set(someOtherValue())
            copy.getOrNull() == null
            copy2.get() == someValue()
        }
    
        def "runs side effect when calling '#getter' when empty property value is set via '#setter'"() {
            given:
            def property = providerWithNoValue()
    
            when:
            def sideEffect = Mock(ValueSupplier.SideEffect)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    			return nil
    		} else if err != nil {
    			return err
    		}
    	}
    }
    
    // CNAMEResource parses a single CNAMEResource.
    //
    // One of the XXXHeader methods must have been called before calling this
    // method.
    func (p *Parser) CNAMEResource() (CNAMEResource, error) {
    	if !p.resHeaderValid || p.resHeaderType != TypeCNAME {
    		return CNAMEResource{}, ErrNotStarted
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	Storage storage.Interface
    
    	// An underlying storage.Versioner.
    	Versioner storage.Versioner
    
    	// The GroupResource the cacher is caching. Used for disambiguating *unstructured.Unstructured (CRDs) in logging
    	// and metrics.
    	GroupResource schema.GroupResource
    
    	// The Cache will be caching objects of a given Type and assumes that they
    	// are all stored under ResourcePrefix directory in the underlying database.
    	ResourcePrefix string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
Back to top