Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,111 for ONCE (0.06 sec)

  1. 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)
  2. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyArtifactsIntegrationTest.groovy

            executedInOrder ":buildC:compileJava", ":buildB:compileJava", ":resolve"
            assertResolved buildB.file('build/libs/buildB-1.0.jar'), buildC.file('build/libs/buildC-1.0.jar')
        }
    
        def "builds dependency once when included directly and as a transitive dependency"() {
            given:
            dependency 'org.test:buildB:1.0'
            dependency 'org.test:buildC:1.0'
    
            buildB.buildFile << """
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 06 13:06:28 UTC 2020
    - 21.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/update.go

    	var once sync.Once
    	var authorizerDecision authorizer.Decision
    	var authorizerReason string
    	var authorizerErr error
    	return func(ctx context.Context, obj runtime.Object) error {
    		if a == nil {
    			return errors.NewInternalError(fmt.Errorf("no authorizer provided, unable to authorize a create on update"))
    		}
    		once.Do(func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:19:46 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modfetch/proxy.go

    a site serving from a fixed file system (including a file:/// URL)
    can be a module proxy.
    
    For details on the GOPROXY protocol, see
    https://golang.org/ref/mod#goproxy-protocol.
    `,
    }
    
    var proxyOnce struct {
    	sync.Once
    	list []proxySpec
    	err  error
    }
    
    type proxySpec struct {
    	// url is the proxy URL or one of "off", "direct", "noproxy".
    	url string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 03 15:21:05 UTC 2023
    - 13K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/resource/v1alpha2/generated.proto

      // ResourceHandles contain the state associated with an allocation that
      // should be maintained throughout the lifetime of a claim. Each
      // ResourceHandle contains data that should be passed to a specific kubelet
      // plugin once it lands on a node. This data is returned by the driver
      // after a successful allocation and is opaque to Kubernetes. Driver
      // documentation may explain to users how to interpret this data if needed.
      //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3.go

    	if err != nil {
    		return nil, nil, err
    	}
    
    	var once sync.Once
    	destroyFunc := func() {
    		// we know that storage destroy funcs are called multiple times (due to reuse in subresources).
    		// Hence, we only destroy once.
    		// TODO: fix duplicated storage destroy calls higher level
    		once.Do(func() {
    			stopCompactor()
    			stopDBSizeMonitor()
    			client.Close()
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 07:56:39 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. internal/event/target/mysql.go

    	"os"
    	"path/filepath"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/go-sql-driver/mysql"
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/once"
    	"github.com/minio/minio/internal/store"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    const (
    	mysqlTableExists = `SELECT 1 FROM %s;`
    	// Some MySQL has a 3072 byte limit on key sizes.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. pkg/registry/core/service/ipallocator/controller/repair.go

    func (c *Repair) RunUntil(onFirstSuccess func(), stopCh chan struct{}) {
    	c.broadcaster.StartRecordingToSink(stopCh)
    	defer c.broadcaster.Shutdown()
    
    	var once sync.Once
    	wait.Until(func() {
    		if err := c.runOnce(); err != nil {
    			runtime.HandleError(err)
    			return
    		}
    		once.Do(onFirstSuccess)
    	}, c.interval, stopCh)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 13.8K bytes
    - Viewed (0)
Back to top