Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for ONCE (0.04 sec)

  1. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

    """
            file("in.txt").text = "in"
    
            when:
            run("merge")
    
            then:
            output.count("calculating value") == 2 // once for task dependency calculation, once for task execution
        }
    
        def "task @InputFiles file collection provider is called once only when task executes"() {
            taskTypeWithInputFileCollection()
            buildFile """
                task merge(type: InputFilesTask) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  2. docs/metrics/prometheus/list.md

    | `minio_cluster_replication_last_hour_failed_count`         | (_Site Replication Only_) Total number of objects which failed replication in the last full hour.        |
    | `minio_cluster_replication_last_minute_failed_bytes`       | Total number of bytes failed at least once to replicate in the last full minute.                         |
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 43.3K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/informers_test.go

    		Spec: corev1.PodSpec{
    			NodeName: NodeName,
    		},
    		Status: corev1.PodStatus{
    			PodIP: "11.1.1.12",
    		},
    	}
    	ns := &corev1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{Name: "test"},
    		// TODO: once we if the add pod bug, re-enable this and remove the patch below
    		//		Labels: map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeAmbient},
    
    	}
    
    	client := kube.NewFakeClient(ns, pod)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  4. pkg/kubelet/container/helpers.go

    			name = fmt.Sprintf("%s-%s-%s:%d:%d", family, p.Protocol, p.HostIP, p.ContainerPort, p.HostPort)
    		}
    
    		// Protect against a port name being used more than once in a container.
    		if _, ok := names[name]; ok {
    			klog.InfoS("Port name conflicted, it is defined more than once", "portName", name)
    			continue
    		}
    		ports = append(ports, pm)
    		names[name] = struct{}{}
    	}
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableMap.java

         * Returns a newly-created immutable map, using the last value for any key that was added more
         * than once. The iteration order of the returned map is the order in which entries were
         * inserted into the builder, unless {@link #orderEntriesByValue} was called, in which case
         * entries are sorted by value. If a key was added more than once, it appears in iteration order
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/net/nettest/conntest.go

    func timeoutWrapper(t *testing.T, mp MakePipe, f connTester) {
    	t.Helper()
    	c1, c2, stop, err := mp()
    	if err != nil {
    		t.Fatalf("unable to make pipe: %v", err)
    	}
    	var once sync.Once
    	defer once.Do(func() { stop() })
    	timer := time.AfterFunc(time.Minute, func() {
    		once.Do(func() {
    			t.Error("test timed out; terminating pipe")
    			stop()
    		})
    	})
    	defer timer.Stop()
    	f(t, c1, c2)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. internal/logger/target/kafka/kafka.go

    	// store to persist and replay the logs to the target
    	// to avoid missing events when the target is down.
    	store          store.Store[interface{}]
    	storeCtxCancel context.CancelFunc
    
    	initKafkaOnce      once.Init
    	initQueueStoreOnce once.Init
    
    	client   sarama.Client
    	producer sarama.SyncProducer
    	kconfig  Config
    	config   *sarama.Config
    }
    
    func (h *Target) validate() error {
    	if len(h.kconfig.Brokers) == 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jun 02 03:03:39 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ProjectExtensions.kt

            extensions.findByType(type)?.let(configuration)
                ?: Factory {
                    // Find and configure convention
                    // Reflective look up to still support plugins that inlined this function once conventions will be removed
                    this::class.java.methods
                        .firstOrNull { it.name == "getConvention" }
                        ?.invoke(this)
                        ?.let { convention ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 09:50:04 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. cmd/xl-storage-disk-id-check.go

    	ctx = context.WithValue(ctx, healthDiskCtxKey{}, &healthDiskCtxValue{lastSuccess: &p.health.lastSuccess})
    	si := p.updateStorageMetrics(s, paths...)
    	var once sync.Once
    	return ctx, func(sz int64, errp *error) {
    		p.health.waiting.Add(-1)
    		once.Do(func() {
    			if errp != nil {
    				err := *errp
    				if err == nil || errors.Is(err, io.EOF) {
    					p.health.logSuccess()
    				}
    			}
    			si(sz, errp)
    		})
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  10. internal/logger/target/http/http.go

    	jsoniter "github.com/json-iterator/go"
    	xhttp "github.com/minio/minio/internal/http"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger/target/types"
    	"github.com/minio/minio/internal/once"
    	"github.com/minio/minio/internal/store"
    	xnet "github.com/minio/pkg/v3/net"
    	"github.com/valyala/bytebufferpool"
    )
    
    const (
    	// Timeout for the webhook http call
    	webhookCallTimeout = 3 * time.Second
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jun 02 03:03:39 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top