Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for NEWTON (0.1 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/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)
  7. 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