Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 109 for tt (0.09 sec)

  1. cni/pkg/repair/repair_test.go

    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			mt := monitortest.New(t)
    			tt.config.LabelPods = true
    			c, err := NewRepairController(tt.client, tt.config)
    			assert.NoError(t, err)
    			t.Cleanup(func() {
    				assert.NoError(t, c.queue.WaitForClose(time.Second))
    			})
    			stop := test.NewStop(t)
    			tt.client.RunAndWait(stop)
    			go c.Run(stop)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * <tt>getType()</tt>, <tt>getDomainName()</tt>, <tt>getAccountName()</tt>,
     * or <tt>toString()</tt> is called, the names will attempt to be
     * resolved. If the names cannot be resolved (e.g. due to temporary
     * network failure), the said methods will return default values (usually
     * <tt>S-X-Y-Z</tt> strings of fragments of).
     * <p>
     * Alternatively <tt>getSecurity(true)</tt> may be used to resolve all
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  3. src/bytes/reader_test.go

    	}
    
    	for i, tt := range tests {
    		pos, err := r.Seek(tt.off, tt.seek)
    		if err == nil && tt.seekerr != "" {
    			t.Errorf("%d. want seek error %q", i, tt.seekerr)
    			continue
    		}
    		if err != nil && err.Error() != tt.seekerr {
    			t.Errorf("%d. seek error = %q; want %q", i, err.Error(), tt.seekerr)
    			continue
    		}
    		if tt.wantpos != 0 && tt.wantpos != pos {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
  4. cmd/metacache-entries_test.go

    			dir:      "",
    			sep:      slashSeparator,
    			want:     true,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.testName, func(t *testing.T) {
    			e := metaCacheEntry{
    				name: tt.entry,
    			}
    			if got := e.isInDir(tt.dir, tt.sep); got != tt.want {
    				t.Errorf("isInDir() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func Test_metaCacheEntries_resolve(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 31.6K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/configdump/endpoint_test.go

    			},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			gotOut := &bytes.Buffer{}
    			cw := &ConfigWriter{Stdout: gotOut}
    			cd, _ := os.ReadFile("testdata/endpoint/configdump.json")
    			cw.Prime(cd)
    			err := cw.PrintEndpointsSummary(tt.filter)
    			assert.NoError(t, err)
    
    			wantOutputFile := path.Join("testdata/endpoint", fmt.Sprintf("%s_output.txt", tt.name))
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 12 02:25:59 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/UniAddress.java

                    return false;
                }
            }
            return true;
        }
    
        /**
         * Lookup <tt>hostname</tt> and return it's <tt>UniAddress</tt>. If the
         * <tt>possibleNTDomainOrWorkgroup</tt> parameter is <tt>true</tt> an
         * addtional name query will be performed to locate a master browser.
         */
    
        public static UniAddress getByName( String hostname,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  7. internal/bucket/bandwidth/monitor_test.go

    			},
    		},
    	}
    	for _, tt := range tests {
    		tt := tt
    		t.Run(tt.name, func(t *testing.T) {
    			t.Parallel()
    			thr := bucketThrottle{
    				NodeBandwidthPerSec: 1024 * 1024,
    			}
    			th := make(map[BucketOptions]*bucketThrottle)
    			th[BucketOptions{Name: "bucket", ReplicationARN: "arn"}] = &thr
    			m := &Monitor{
    				bucketsMeasurement: tt.fields.activeBuckets,
    				bucketsThrottle:    th,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 06 03:21:59 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbResourceLocator.java

         */
        boolean isIPC ();
    
    
        /**
         * Returns type of of object this <tt>SmbFile</tt> represents.
         * 
         * @return <tt>TYPE_FILESYSTEM, TYPE_WORKGROUP, TYPE_SERVER,
         * TYPE_NAMED_PIPE</tt>, or <tt>TYPE_SHARE</tt> in which case it may be either <tt>TYPE_SHARE</tt>,
         *         <tt>TYPE_PRINTER</tt> or <tt>TYPE_COMM</tt>.
         * @throws CIFSException
         */
        int getType () throws CIFSException;
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.6K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/compare/sds/writer_test.go

    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			w := &bytes.Buffer{}
    			mockWriter := NewSDSWriter(w, tt.format)
    			err := mockWriter.PrintSecretItems(tt.items)
    			if err != nil {
    				t.Errorf("error printing secret items: %v", err)
    			}
    			checkOutput(t, w.String(), tt.expected, tt.unexpected)
    		})
    	}
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    				} else if err != nil && !tt.wantErr {
    					t.Errorf("PrintSecretSummary (%v) produced unexpected err: %v", tt.name, err)
    				}
    				util.CompareContent(t, gotOut.Bytes(), tt.wantOutputSecret)
    			}
    			if tt.wantOutputWorkload != "" {
    				wf := WorkloadFilter{}
    				if tt.configNamespace != "" {
    					wf.Namespace = tt.configNamespace
    				}
    				err := cw.PrintWorkloadSummary(wf)
    				if err == nil && tt.wantErr {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top