Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for NEWTON (0.18 sec)

  1. platforms/documentation/docs/src/snippets/tutorial/configureObject/kotlin/build.gradle.kts

    class UserInfo(
        var name: String? = null,
        var email: String? = null
    )
    
    tasks.register("greet") {
        val user = UserInfo().apply {
            name = "Isaac Newton"
            email = "isaac@newton.me"
        }
        doLast {
            println(user.name)
            println(user.email)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 14 09:57:48 UTC 2024
    - 285 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/tutorial/configureObjectUsingScript/tests/configureObjectUsingScript.out

    Isaac Newton
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 29 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/tutorial/configureObjectUsingScript/groovy/other.gradle

    // Set properties.
    name = "Isaac Newton"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/tutorial/configureObject/tests/configureObject.out

    Isaac Newton
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 29 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/tutorial/configureObject/groovy/build.gradle

    class UserInfo {
        String name
        String email
    }
    
    tasks.register('greet') {
        def user = configure(new UserInfo()) {
            name = "Isaac Newton"
            email = "isaac@newton.me"
        }
        doLast {
            println user.name
            println user.email
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 14 09:57:48 UTC 2024
    - 266 bytes
    - Viewed (0)
  6. src/compress/flate/reader_test.go

    	// does not repeat, but there are only 10 possible digits, so it should be
    	// reasonably compressible.
    	{"Digits", "../testdata/e.txt"},
    	// Newton is Isaac Newtons's educational text on Opticks.
    	{"Newton", "../../testdata/Isaac.Newton-Opticks.txt"},
    }
    
    func BenchmarkDecode(b *testing.B) {
    	doBench(b, func(b *testing.B, buf0 []byte, level, n int) {
    		b.ReportAllocs()
    		b.StopTimer()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  7. src/compress/bzip2/bzip2_test.go

    	if n, err := r.Read(nil); n != 0 || err != nil {
    		t.Errorf("Read(nil) = (%d, %v), want (0, nil)", n, err)
    	}
    }
    
    var (
    	digits = mustLoadFile("testdata/e.txt.bz2")
    	newton = mustLoadFile("testdata/Isaac.Newton-Opticks.txt.bz2")
    	random = mustLoadFile("testdata/random.data.bz2")
    )
    
    func benchmarkDecode(b *testing.B, compressed []byte) {
    	// Determine the uncompressed size of testfile.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  8. src/runtime/vlop_arm.s

    	MOVBU.NE	(Ra), Ra
    
    	SUB.S	$7, Rs
    	RSB 	$0, Rq, RM // M = -q
    	MOVW.PL	Ra<<Rs, Rq
    
    	// 1st Newton iteration
    	MUL.PL	RM, Rq, Ra // a = -q*d
    	BMI 	udiv_by_large_d
    	MULAWT	Ra, Rq, Rq, Rq // q approx q-(q*q*d>>32)
    	TEQ 	RM->1, RM // check for d=0 or d=1
    
    	// 2nd Newton iteration
    	MUL.NE	RM, Rq, Ra
    	MOVW.NE	$0, Rs
    	MULAL.NE Rq, Ra, (Rq,Rs)
    	BEQ 	udiv_by_0_or_1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 04 07:25:06 UTC 2020
    - 7.1K bytes
    - Viewed (0)
  9. src/internal/zstd/xxhash_test.go

    		}
    	}
    }
    
    func TestLargeXXHash(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping expensive test in short mode")
    	}
    
    	data, err := os.ReadFile("../../testdata/Isaac.Newton-Opticks.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	var xh xxhash64
    	xh.reset()
    	i := 0
    	for i < len(data) {
    		// Write varying amounts to test buffering.
    		c := i%4094 + 1
    		if i+c > len(data) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:34:06 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. src/math/cbrt.go

    	}
    
    	// new cbrt to 23 bits
    	r := t * t / x
    	s := C + r*t
    	t *= G + F/(s+E+D/s)
    
    	// chop to 22 bits, make larger than cbrt(x)
    	t = Float64frombits(Float64bits(t)&(0xFFFFFFFFC<<28) + 1<<30)
    
    	// one step newton iteration to 53 bits with error less than 0.667ulps
    	s = t * t // t*t is exact
    	r = x / s
    	w := t + t
    	r = (r - t) / (w + r) // r-s is exact
    	t = t + t*r
    
    	// restore the sign bit
    	if sign {
    		t = -t
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 2.3K bytes
    - Viewed (0)
Back to top