Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1171 - 1180 of 1,322 for test_ (0.02 sec)

  1. cni/pkg/iptables/iptables_test.go

    // limitations under the License.
    
    package iptables
    
    import (
    	"net/netip"
    	"path/filepath"
    	"strings"
    	"testing"
    
    	"istio.io/istio/cni/pkg/scopes"
    	testutil "istio.io/istio/pilot/test/util"
    	dep "istio.io/istio/tools/istio-iptables/pkg/dependencies"
    )
    
    func TestIptables(t *testing.T) {
    	cases := []struct {
    		name        string
    		config      func(cfg *Config)
    		ingressMode bool
    	}{
    		{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

      /**
       * Starts the server on the loopback interface for the given port.
       *
       * @param port the port to listen to, or 0 for any available port. Automated tests should always
       * use port 0 to avoid flakiness when a specific port is unavailable.
       */
      @Throws(IOException::class)
      @JvmOverloads
      fun start(port: Int = 0) = start(InetAddress.getByName("localhost"), port)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterables;
    import java.lang.ref.WeakReference;
    import junit.framework.TestCase;
    
    /**
     * Tests of basic {@link LoadingCache} operations with all possible combinations of key & value
     * strengths.
     *
     * @author mike nonemacher
     */
    public class CacheReferencesTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

    import java.lang.Thread.UncaughtExceptionHandler;
    import java.util.Locale;
    import java.util.concurrent.Executors;
    import java.util.concurrent.ThreadFactory;
    import junit.framework.TestCase;
    
    /**
     * Tests for ThreadFactoryBuilder.
     *
     * @author Kurt Alfred Kluever
     * @author Martin Buchholz
     */
    public class ThreadFactoryBuilderTest extends TestCase {
      private final Runnable monitoredRunnable =
          new Runnable() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. cni/pkg/config/config.go

    	K8sServiceHost string
    	// KUBERNETES_SERVICE_PORT
    	K8sServicePort string
    	// KUBERNETES_NODE_NAME
    	K8sNodeName string
    	// Path where service account secrets live, e.g. "/var/run/secrets/kubernetes.io/serviceaccount"
    	// Tests may override.
    	K8sServiceAccountPath string
    
    	// Directory from where the CNI binaries should be copied
    	CNIBinSourceDir string
    	// Directories into which to copy the CNI binaries
    	CNIBinTargetDirs []string
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

    import java.time.Duration;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicLong;
    
    /**
     * A Ticker whose value can be advanced programmatically in test.
     *
     * <p>The ticker can be configured so that the time is incremented whenever {@link #read} is called:
     * see {@link #setAutoIncrementStep}.
     *
     * <p>This class is thread-safe.
     *
     * @author Jige Yu
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. architecture/ambient/peer-authentication.md

    scope: WORKLOAD_SELECTOR
    ```
    
    The above policies reject unauthenticated traffic at the ztunnel unless its destination is port 9090. For more complete examples, read through the [test cases](../../pilot/pkg/serviceregistry/kube/controller/ambientindex_test.go) in the `TestRBACConvert` function.
    
    ## PeerAuthentication and the Waypoint Proxy
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/Closer.java

      @CheckForNull private Throwable thrown;
    
      @VisibleForTesting
      Closer(Suppressor suppressor) {
        this.suppressor = checkNotNull(suppressor); // checkNotNull to satisfy null tests
      }
    
      /**
       * Registers the given {@code closeable} to be closed when this {@code Closer} is {@linkplain
       * #close closed}.
       *
       * @return the given {@code closeable}
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/StopwatchTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.FakeTicker;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link Stopwatch}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class StopwatchTest extends TestCase {
    
      private final FakeTicker ticker = new FakeTicker();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

    import com.google.common.testing.CollectorTester;
    import com.google.common.testing.SerializableTester;
    import java.util.stream.Collector;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests common methods in {@link ImmutableTable}
     *
     * @author Gregory Kick
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ImmutableTableTest extends AbstractTableReadTest<Character> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top