Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 65 for newConf (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/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)
  3. src/testdata/Isaac.Newton-Opticks.txt

    
    
    
    
    OPTICKS:
    
    OR, A
    
    TREATISE
    
    OF THE
    
    _Reflections_, _Refractions_,
    _Inflections_ and _Colours_
    
    OF
    
    LIGHT.
    
    _The_ FOURTH EDITION, _corrected_.
    
    By Sir _ISAAC NEWTON_, Knt.
    
    LONDON:
    
    Printed for WILLIAM INNYS at the West-End of St. _Paul's_. MDCCXXX.
    
    TITLE PAGE OF THE 1730 EDITION
    
    
    
    
    SIR ISAAC NEWTON'S ADVERTISEMENTS
    
    
    
    
    Advertisement I
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 01 16:16:21 UTC 2018
    - 553.9K bytes
    - Viewed (0)
  4. 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)
  5. src/net/textproto/textproto.go

    // These embedded types carry methods with them;
    // see the documentation of those types for details.
    type Conn struct {
    	Reader
    	Writer
    	Pipeline
    	conn io.ReadWriteCloser
    }
    
    // NewConn returns a new [Conn] using conn for I/O.
    func NewConn(conn io.ReadWriteCloser) *Conn {
    	return &Conn{
    		Reader: Reader{R: bufio.NewReader(conn)},
    		Writer: Writer{W: bufio.NewWriter(conn)},
    		conn:   conn,
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. src/runtime/race/testdata/sync_test.go

    	_ = x
    	condition := 0
    	var mu sync.Mutex
    	cond := sync.NewCond(&mu)
    	go func() {
    		x = 1
    		mu.Lock()
    		condition = 1
    		cond.Signal()
    		mu.Unlock()
    	}()
    	mu.Lock()
    	for condition != 1 {
    		cond.Wait()
    	}
    	mu.Unlock()
    	x = 2
    }
    
    func TestRaceCond(t *testing.T) {
    	done := make(chan bool)
    	var mu sync.Mutex
    	cond := sync.NewCond(&mu)
    	x := 0
    	_ = x
    	condition := 0
    	go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 10 15:05:17 UTC 2020
    - 3K bytes
    - Viewed (0)
  7. 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)
  8. src/compress/bzip2/testdata/Isaac.Newton-Opticks.txt.bz2

    Isaac.Newton-Opticks.txt Produced by Suzanne Lybarger, steve harris, Josephine Paolucci and the Online Distributed Proofreading Team at http://www.pgdp.net. OPTICKS: OR, A TREATISE OF THE _Reflections_, _Refractions_, _Inflections_ and _Colours_ OF LIGHT. _The_ FOURTH EDITION, _corrected_. By Sir _ISAAC NEWTON_, Knt. LONDON: Printed for WILLIAM INNYS at the West-End of St. _Paul's_. MDCCXXX. TITLE PAGE OF THE 1730 EDITION SIR ISAAC NEWTON'S ADVERTISEMENTS Advertisement I _Part of the ensuing Discourse...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 24 18:26:02 UTC 2018
    - 129.4K bytes
    - Viewed (0)
  9. 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)
  10. pkg/scheduler/internal/cache/node_tree.go

    	var oldZone string
    	if old != nil {
    		oldZone = utilnode.GetZoneKey(old)
    	}
    	newZone := utilnode.GetZoneKey(new)
    	// If the zone ID of the node has not changed, we don't need to do anything. Name of the node
    	// cannot be changed in an update.
    	if oldZone == newZone {
    		return
    	}
    	nt.removeNode(logger, old) // No error checking. We ignore whether the old node exists or not.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 05:26:32 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top