Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetV (0.02 sec)

  1. src/math/big/doc.go

    	z2 := new(Rat).SetFloat64(1.25)   // z2 := 5/4
    	z3 := new(Float).SetInt(z1)       // z3 := 123.0
    
    Setters, numeric operations and predicates are represented as methods of
    the form:
    
    	func (z *T) SetV(v V) *T          // z = v
    	func (z *T) Unary(x *T) *T        // z = unary x
    	func (z *T) Binary(x, y *T) *T    // z = x binary y
    	func (x *T) Pred() P              // p = pred(x)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

    import org.gradle.api.tasks.Optional;
    import java.io.File;
    
    public class SomeTask extends DefaultTask {
        private $type v;
        @Input
        public $type getV() { return v; }
        void setV($type v) { this.v = v; }
    
        File d;
        @OutputDirectory
        public File getD() { return d; }
    
        @TaskAction
        public void go() { }
    }
    """
    
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top