- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,009 for ONCE (0.04 sec)
-
pkg/proxy/winkernel/hns_test.go
epIpAddressRemote = "192.168.2.3" epPaAddress = "10.0.0.3" protocol = 6 internalPort = 80 externalPort = 32440 ) func TestGetNetworkByName(t *testing.T) { // TODO: remove skip once the test has been fixed. t.Skip("Skipping failing test on Windows.") hns := hns{hcn: newHcnImpl()} Network := mustTestNetwork(t) network, err := hns.getNetworkByName(Network.Name) if err != nil { t.Error(err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 15.4K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/pgo/devirtualize/devirt.go
// The call below must evaluate selectA() to determine the receiver to // use. This should happen exactly once per iteration. Assert that is // the case to ensure the IR manipulation does not result in over- or // under-evaluation. selectI := 0 selectA := func(gotI int) Adder { if gotI != selectI { panic(fmt.Sprintf("selectA not called once per iteration; got i %d want %d", gotI, selectI)) } selectI++ if gotI%10 == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 13 18:17:57 UTC 2023 - 6.2K bytes - Viewed (0) -
architecture/build-state-model.md
### Build session state A "build session" represents a single invocation of Gradle, for example when you run `gradlew build`. A session runs the build one or more times. For example, when continuous build is enabled, the session may run the build many times, but when it is disabled, the session will run the build once only.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 13:39:49 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/lazy/LazyTest.groovy
import java.util.concurrent.TimeUnit import java.util.concurrent.atomic.AtomicInteger import java.util.function.Supplier class LazyTest extends Specification { def "#factoryName supplier code is executed once with use"() { def supplier = Mock(Supplier) when: def lazy = factory(supplier) then: 0 * supplier._ when: lazy.use {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:22:02 UTC 2023 - 5.2K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/cc_test.go
"strconv" "strings" "sync" "syscall" "testing" "time" "unicode" ) var overcommit struct { sync.Once value int err error } // requireOvercommit skips t if the kernel does not allow overcommit. func requireOvercommit(t *testing.T) { t.Helper() overcommit.Once.Do(func() { var out []byte out, overcommit.err = os.ReadFile("/proc/sys/vm/overcommit_memory") if overcommit.err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 09 20:00:56 UTC 2024 - 14.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/storage_factory.go
Codec: storageConfig.Codec, } cacher, err := cacherstorage.NewCacherFromConfig(cacherConfig) if err != nil { return nil, func() {}, err } var once sync.Once destroyFunc := func() { once.Do(func() { cacher.Stop() d() }) } return cacher, destroyFunc, nil } } func objectTypeToArgs(obj runtime.Object) []interface{} {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 24 09:23:05 UTC 2023 - 2.9K bytes - Viewed (0) -
pkg/registry/core/componentstatus/validator.go
} type HttpServer struct { Addr string Port int Path string EnableHTTPS bool TLSConfig *tls.Config Validate ValidatorFn Prober httpprober.Prober Once sync.Once } type ServerStatus struct { // +optional Component string `json:"component,omitempty"` // +optional Health string `json:"health,omitempty"` // +optional
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 20 13:08:41 UTC 2023 - 2.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/aliases/aliases.go
// [Enabled], which computes the effective value of // GODEBUG=gotypesalias=... by invoking the type checker. The Enabled // function is expensive and should be called once per task (e.g. // package import), not once per call to NewAlias. func NewAlias(enabled bool, pos token.Pos, pkg *types.Package, name string, rhs types.Type) *types.TypeName { if enabled { tname := types.NewTypeName(pos, pkg, name, nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 1.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/BUILD
# Experimental filesystem C APIs for TensorFlow. # Will be moved in proper place once all filesystems are converted to the # modular framework. load("//tensorflow:tensorflow.bzl", "tf_cc_test") load("//tensorflow/core/platform:rules_cc.bzl", "cc_library") package( # copybara:uncomment default_applicable_licenses = ["//tensorflow:license"], licenses = ["notice"], ) # This is only for plugins cc_library( name = "filesystem_interface",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 27 18:00:18 UTC 2024 - 2.1K bytes - Viewed (0) -
cmd/prepare-storage.go
} // Once is set and we are here means error was already // printed once. if once { return } // once not set, check if same error occurred 3 times in // a row, then make sure we print it to call attention. if m[err.Error()] > 2 { peersLogAlwaysIf(ctx, fmt.Errorf("Following error has been printed %d times.. %w", m[err.Error()], err)) // Reduce the count to introduce further delay in printing
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun May 19 08:06:49 UTC 2024 - 11.1K bytes - Viewed (0)