Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for NEWTON (0.28 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/net/sendfile_test.go

    	"bytes"
    	"context"
    	"crypto/sha256"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"internal/poll"
    	"io"
    	"os"
    	"runtime"
    	"strconv"
    	"sync"
    	"testing"
    	"time"
    )
    
    const (
    	newton       = "../testdata/Isaac.Newton-Opticks.txt"
    	newtonLen    = 567198
    	newtonSHA256 = "d4a9ac22462b35e7821a4f2706c211093da678620a8f9997989ee7cf8d507bbd"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/compress/flate/deflate_test.go

    	{
    		"../testdata/e.txt",
    		"2.718281828...",
    		[...]int{100018, 50650, 50960, 51150, 50930, 50790, 50790, 50790, 50790, 50790, 43683},
    	},
    	{
    		"../../testdata/Isaac.Newton-Opticks.txt",
    		"Isaac.Newton-Opticks",
    		[...]int{567248, 218338, 198211, 193152, 181100, 175427, 175427, 173597, 173422, 173422, 325240},
    	},
    }
    
    func TestDeflateInflateString(t *testing.T) {
    	t.Parallel()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  10. src/internal/zstd/zstd_test.go

    )
    
    // bigData returns the contents of our large test file repeated multiple times.
    func bigData(t testing.TB) []byte {
    	bigDataOnce.Do(func() {
    		bigDataBytes, bigDataErr = os.ReadFile("../../testdata/Isaac.Newton-Opticks.txt")
    		if bigDataErr == nil {
    			bigDataBytes = bytes.Repeat(bigDataBytes, 20)
    		}
    	})
    	if bigDataErr != nil {
    		t.Fatal(bigDataErr)
    	}
    	return bigDataBytes
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:39:21 UTC 2023
    - 9.5K bytes
    - Viewed (0)
Back to top