Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for newConf (0.14 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationContainerTest.groovy

        )
    
        def addsNewConfigurationWhenConfiguringSelf() {
            when:
            configurationContainer.configure {
                newConf
            }
    
            then:
            configurationContainer.findByName('newConf') != null
            configurationContainer.newConf != null
        }
    
        def doesNotAddNewConfigurationWhenNotConfiguringSelf() {
            when:
            configurationContainer.getByName('unknown')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. pkg/test/echo/server/forwarder/http.go

    		return func() (http.RoundTripper, func(), error) {
    			conn := newConn()
    			return conn, closeFn(conn), nil
    		}, noCloseFn
    	}
    
    	// Re-use the same transport for all requests. For HTTP3, this should result
    	// in multiplexing all requests over the same connection.
    	conn := newConn()
    	return func() (http.RoundTripper, func(), error) {
    		return conn, noCloseFn, nil
    	}, closeFn(conn)
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    }
    
    func (h *header) unpack(msg []byte, off int) (int, error) {
    	newOff := off
    	var err error
    	if h.id, newOff, err = unpackUint16(msg, newOff); err != nil {
    		return off, &nestedError{"id", err}
    	}
    	if h.bits, newOff, err = unpackUint16(msg, newOff); err != nil {
    		return off, &nestedError{"bits", err}
    	}
    	if h.questions, newOff, err = unpackUint16(msg, newOff); err != nil {
    		return off, &nestedError{"questions", err}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
  4. pkg/controller/deployment/progress_test.go

    				t.Error(err)
    			}
    
    			newCond := util.GetDeploymentCondition(test.d.Status, test.conditionType)
    			switch {
    			case newCond == nil:
    				if test.d.Spec.ProgressDeadlineSeconds != nil && *test.d.Spec.ProgressDeadlineSeconds != math.MaxInt32 {
    					t.Errorf("%s: expected deployment condition: %s", test.name, test.conditionType)
    				}
    			case newCond.Status != test.conditionStatus || newCond.Reason != test.conditionReason:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/sync/cond.go

    type Cond struct {
    	noCopy noCopy
    
    	// L is held while observing or changing the condition
    	L Locker
    
    	notify  notifyList
    	checker copyChecker
    }
    
    // NewCond returns a new Cond with Locker l.
    func NewCond(l Locker) *Cond {
    	return &Cond{L: l}
    }
    
    // Wait atomically unlocks c.L and suspends execution
    // of the calling goroutine. After later resuming execution,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/compile/internal/ssa/op.go

    	return ValAndOff(int64(val)<<32 + int64(uint32(off)))
    }
    
    func (x ValAndOff) canAdd32(off int32) bool {
    	newoff := x.Off64() + int64(off)
    	return newoff == int64(int32(newoff))
    }
    func (x ValAndOff) canAdd64(off int64) bool {
    	newoff := x.Off64() + off
    	return newoff == int64(int32(newoff))
    }
    
    func (x ValAndOff) addOffset32(off int32) ValAndOff {
    	if !x.canAdd32(off) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_progress.go

    	pr := &conditionalProgressRequester{
    		clock:                clock,
    		requestWatchProgress: requestWatchProgress,
    		contextMetadata:      contextMetadata,
    	}
    	pr.cond = sync.NewCond(&pr.mux)
    	return pr
    }
    
    type WatchProgressRequester func(ctx context.Context) error
    
    type TickerFactory interface {
    	NewTimer(time.Duration) clock.Timer
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 09:56:38 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top