Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 118 for ns (0.18 sec)

  1. istioctl/pkg/util/handlers/handlers.go

    }
    
    func InferPodsFromTypedResource(name, defaultNS string, factory cmdutil.Factory) ([]string, string, error) {
    	resname, ns := inferNsInfo(name, defaultNS)
    	if !strings.Contains(resname, "/") {
    		return []string{resname}, ns, nil
    	}
    	client, podName, namespace, selector, err := getClientForResource(resname, ns, factory)
    	if err != nil {
    		return []string{}, "", err
    	}
    	if podName != "" {
    		return []string{podName}, namespace, err
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Feb 06 15:01:41 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        client.initWebSocket(random, pingIntervalMillis = 500)
        taskFaker.advanceUntil(ns(500L))
        server.processNextFrame() // Ping.
        client.processNextFrame() // Pong.
        taskFaker.advanceUntil(ns(1000L))
        server.processNextFrame() // Ping.
        client.processNextFrame() // Pong.
        taskFaker.advanceUntil(ns(1500L))
        server.processNextFrame() // Ping.
        client.processNextFrame() // Pong.
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 01:59:58 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin_dryrun_test.go

    	path string
    }
    
    func (ns *mockNetNs) Do(toRun func(ns.NetNS) error) error {
    	return toRun(ns)
    }
    
    func (*mockNetNs) Set() error {
    	return nil
    }
    
    func (ns *mockNetNs) Path() string {
    	return ns.path
    }
    
    func (*mockNetNs) Fd() uintptr {
    	return 0
    }
    
    func (*mockNetNs) Close() error {
    	return nil
    }
    
    type netNsFunc func(nspath string) (ns.NetNS, error)
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/StopwatchTest.java

      public void testToString() {
        stopwatch.start();
        assertEquals("0.000 ns", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.000 ns", stopwatch.toString());
        ticker.advance(998);
        assertEquals("999.0 ns", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.000 \u03bcs", stopwatch.toString());
        ticker.advance(1);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. istioctl/pkg/checkinject/checkinject_test.go

    func Test_analyzeRunningWebhooks(t *testing.T) {
    	cases := []struct {
    		name             string
    		pod              *corev1.Pod
    		ns               *corev1.Namespace
    		expectedMessages []webhookAnalysis
    	}{
    		{
    			name: "no inj because of no match labels",
    			pod:  podTestObject("test1", "test1", "", ""),
    			ns:   nsTestObject("test1", "", ""),
    			expectedMessages: []webhookAnalysis{
    				{
    					Name:     "istio-sidecar-injector",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  6. istioctl/pkg/multixds/gather.go

    	ns string, serviceAccount string, kubeClient kube.CLIClient, options Options,
    ) (map[string]*discovery.DiscoveryResponse, error) {
    	// If Central Istiod case, just call it
    	if ns == "" {
    		ns = istioNamespace
    	}
    	if ns == istioNamespace {
    		serviceAccount = tokenServiceAccount
    	}
    	if centralOpts.Xds != "" {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/netns_linux_test.go

    import "testing"
    
    func TestOpenNetns(t *testing.T) {
    	ns, err := OpenNetns("/proc/self/ns/net")
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	// the inode for netns is proc dynamic, so it needs to be higher than
    	// #define PROC_DYNAMIC_FIRST 0xF0000000U
    
    	if ns.Inode() < 0xF0000000 {
    		t.Fatalf("unexpected inode: %v", ns.Inode())
    	}
    	defer ns.Close()
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 976 bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/internal/SleepNanos.kt

     * limitations under the License.
     *
     */
    package mockwebserver3.internal
    
    internal fun sleepNanos(nanos: Long) {
      val ms = nanos / 1_000_000L
      val ns = nanos - (ms * 1_000_000L)
      if (ms > 0L || nanos > 0) {
        Thread.sleep(ms, ns.toInt())
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Jan 07 16:05:34 GMT 2024
    - 811 bytes
    - Viewed (0)
  9. istioctl/pkg/cli/context.go

    	return handleNamespace(namespace, i.DefaultNamespace())
    }
    
    // handleNamespace returns the defaultNamespace if the namespace is empty
    func handleNamespace(ns, defaultNamespace string) string {
    	if ns == corev1.NamespaceAll {
    		ns = defaultNamespace
    	}
    	return ns
    }
    
    type fakeInstance struct {
    	// clients are cached clients for each revision
    	clients   map[string]kube.CLIClient
    	rootFlags *RootFlags
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/ReferenceEntry.java

       * the head of the list.
       */
    
      /** Returns the time that this entry was last accessed, in ns. */
      @SuppressWarnings("GoodTime")
      long getAccessTime();
    
      /** Sets the entry access time in ns. */
      @SuppressWarnings("GoodTime") // b/122668874
      void setAccessTime(long time);
    
      /** Returns the next entry in the access queue. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
Back to top