Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 246 for ONCE (0.02 sec)

  1. internal/event/target/kafka.go

    	"errors"
    	"fmt"
    	"log"
    	"net/url"
    	"os"
    	"path/filepath"
    	"strings"
    	"time"
    
    	"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"
    
    	"github.com/IBM/sarama"
    	saramatls "github.com/IBM/sarama/tools/tls"
    )
    
    // Kafka input constants
    const (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * Base class for map testers.
     *
     * <p>TODO: see how much of this is actually needed once Map testers are written. (It was cloned
     * from AbstractCollectionTester.)
     *
     * @param <K> the key type of the map to be tested.
     * @param <V> the value type of the map to be tested.
     * @author George van den Driessche
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/CacheBuilder.java

       * segments, each governed by its own write lock. The segment lock is taken once for each explicit
       * write, and twice for each cache loading computation (once prior to loading the new value, and
       * once after loading completes). Much internal cache management is performed at the segment
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(new FakeTicker());
      }
    
      @GwtIncompatible // java.time.Duration
      @IgnoreJRERequirement // TODO: b/288085449 - Remove this once we use library-desugaring scents.
      public void testAdvance() {
        FakeTicker ticker = new FakeTicker();
        assertEquals(0, ticker.read());
        assertSame(ticker, ticker.advance(10));
        assertEquals(10, ticker.read());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 22 13:49:09 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. ci/official/envs/linux_x86_build

    # limitations under the License.
    # ==============================================================================
    
    # Temporary envs file while we migrate to the new docker image.
    # Once the migration is complete, this file will be removed.
    source ci/official/envs/linux_x86
    TFCI_DOCKER_IMAGE=us-central1-docker.pkg.dev/tensorflow-sigs/tensorflow/ml-build:latest
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 28 17:57:41 UTC 2024
    - 1011 bytes
    - Viewed (0)
  6. ci/official/envs/linux_x86_cuda_build

    # limitations under the License.
    # ==============================================================================
    
    # Temporary envs file while we migrate to the new docker image.
    # Once the migration is complete, this file will be removed.
    source ci/official/envs/linux_x86_build
    TFCI_BAZEL_COMMON_ARGS="--repo_env=HERMETIC_PYTHON_VERSION=$TFCI_PYTHON_VERSION --config release_gpu_linux"
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 28 17:57:41 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_distributed_test.cc

      }
    
     private:
      bool first_call_ = true;
    };
    
    // After the graph pass is registered, it takes effect globally and can affect
    // other test cases. Define a static variable to switch it on and off.
    bool GraphErrorInjectionPass::enabled_ = false;
    
    // Test to ensure that a registered graph optimization pass is only executed
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  8. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        assertEquals(10, (int) memoizedSupplier.get());
    
        // now it has
        assertEquals(1, countingSupplier.calls);
    
        assertEquals(10, (int) memoizedSupplier.get());
    
        // it still should only have executed once due to memoization
        assertEquals(1, countingSupplier.calls);
      }
    
      public void testMemoize() {
        memoizeTest(new CountingSupplier());
        memoizeTest(new SerializableCountingSupplier());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/SuppliersTest.java

        assertEquals(10, (int) memoizedSupplier.get());
    
        // now it has
        assertEquals(1, countingSupplier.calls);
    
        assertEquals(10, (int) memoizedSupplier.get());
    
        // it still should only have executed once due to memoization
        assertEquals(1, countingSupplier.calls);
      }
    
      public void testMemoize() {
        memoizeTest(new CountingSupplier());
        memoizeTest(new SerializableCountingSupplier());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top