Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 435 for fakeFs (0.06 sec)

  1. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

    import java.net.ProxySelector
    import java.net.SocketAddress
    import java.net.URI
    import java.net.UnknownHostException
    import kotlin.test.assertFailsWith
    import okhttp3.Address
    import okhttp3.ConnectionListener
    import okhttp3.FakeDns
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Request
    import okhttp3.Route
    import okhttp3.TestValueFactory
    import okhttp3.internal.connection.RouteSelector.Companion.socketHost
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/tag_test.go

    import (
    	"bytes"
    	"context"
    	"strings"
    	"testing"
    
    	admitv1 "k8s.io/api/admissionregistration/v1"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/client-go/kubernetes/fake"
    
    	"istio.io/api/label"
    	"istio.io/istio/istioctl/pkg/util"
    	"istio.io/istio/pkg/kube"
    )
    
    func TestTagList(t *testing.T) {
    	tcs := []struct {
    		name          string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/archive/tar/stat_unix.go

    	"sync"
    	"syscall"
    )
    
    func init() {
    	sysStat = statUnix
    }
    
    // userMap and groupMap caches UID and GID lookups for performance reasons.
    // The downside is that renaming uname or gname by the OS never takes effect.
    var userMap, groupMap sync.Map // map[int]string
    
    func statUnix(fi fs.FileInfo, h *Header, doNameLookups bool) error {
    	sys, ok := fi.Sys().(*syscall.Stat_t)
    	if !ok {
    		return nil
    	}
    	h.Uid = int(sys.Uid)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java

          runTest();
        } finally {
          tearDown();
        }
      }
    
      @Override
      protected void tearDown() {
        tearDownStack.runTearDown();
      }
    
      /** Builds a {@link TearDownStack} that makes sure it's clear by the end of this test. */
      private TearDownStack buildTearDownStack() {
        final TearDownStack result = new TearDownStack();
        tearDownStack.addTearDown(
            new TearDown() {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/ztunnelserver_test.go

    	}
    	sendAck(ztunClient)
    
    	ztunClient.Close()
    	// this will retry for a bit, so shouldn't flake
    	mt.Assert(ztunnelConnected.Name(), nil, monitortest.Exactly(0))
    }
    
    func podAndNetns() (*v1.Pod, *fakeNs) {
    	devNull, err := os.Open(os.DevNull)
    	if err != nil {
    		panic(err)
    	}
    	// we can't close this now, because we need to pass it from the ztunnel server to the client
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. api/maven-api-plugin/src/main/mdo/plugin.mdo

                @since Maven 4.0.0-alpha-3
              </description>
              <type>String</type>
            </field>
            <field xdoc.separator="blank">
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Aug 16 14:16:22 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      /**
       * Various scenarios to be generated for each method under test. The actual scenario generation
       * (determining which scenarios are applicable to which methods and what the outcome should be)
       * takes place in {@link #addTests(TestSuite, Method)}.
       */
      private enum Scenario {
        SATISFIED_AND_UNOCCUPIED_BEFORE_ENTERING,
        UNSATISFIED_AND_UNOCCUPIED_BEFORE_ENTERING,
        SATISFIED_AND_OCCUPIED_BEFORE_ENTERING,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  8. istioctl/pkg/precheck/precheck_test.go

    	"fmt"
    	"net/http"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/cli-runtime/pkg/resource"
    	"k8s.io/client-go/rest/fake"
    	cmdtesting "k8s.io/kubectl/pkg/cmd/testing"
    	cmdutil "k8s.io/kubectl/pkg/cmd/util"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/pkg/config/analysis/diag"
    	"istio.io/istio/pkg/config/analysis/msg"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 09 12:01:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. istioctl/pkg/kubeinject/testdata/deployment/hello-with-proxyconfig-anno.yaml.injected

            app: hello
            tier: backend
            track: stable
        spec:
          containers:
          - image: docker.io/istio/proxy_debug:unittest
            name: istio-proxy
            resources: {}
          - image: fake.docker.io/google-samples/hello-go-gke:1.0
            name: hello
            ports:
            - containerPort: 80
              name: http
            resources: {}
          initContainers:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java

    import java.util.List;
    import java.util.concurrent.CancellationException;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeoutException;
    
    /** A benchmark that times how long it takes to add a given number of */
    @VmOptions({"-Xms8g", "-Xmx8g"})
    public class SingleThreadAbstractFutureBenchmark {
      @Param Impl impl;
    
      private final Exception exception = new Exception();
      private Facade<?> notDoneFuture;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top