Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for tt (0.14 sec)

  1. cmd/xl-storage-format_test.go

    		{3, -1, 5, false},
    		{4, 5, -1, false},
    		{5, 5, 0, true},
    		{6, 5, 0, true},
    		{7, 5, 4, true},
    	}
    	for _, tt := range tests {
    		if got := isXLMetaErasureInfoValid(tt.data, tt.parity); got != tt.want {
    			t.Errorf("Test %d: Expected %v but received %v -> %#v", tt.name, got, tt.want, tt)
    		}
    	}
    }
    
    // newTestXLMetaV1 - initializes new xlMetaV1Object, adds version, allocates a fresh erasure info and metadata.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  2. istioctl/pkg/authz/analyzer_test.go

    						},
    					},
    				},
    			},
    			wantErr: nil,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if _, wanted2 := NewAnalyzer(tt.input); wanted2 != nil {
    				t.Errorf("Wanted %v, got %v", tt.wantErr, wanted2)
    			}
    		})
    	}
    }
    
    func TestPrint(t *testing.T) {
    	a := &Analyzer{
    		listenerDump: &envoy_admin.ListenersConfigDump{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. istioctl/pkg/waypoint/waypoint_test.go

    			},
    			expectedOutFile: "combined-gateway",
    		},
    	}
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    			ctx := cli.NewFakeContext(&cli.NewFakeContextOption{
    				Namespace: "default",
    			})
    			client, err := ctx.CLIClient()
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			for _, gw := range tt.gateways {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 04 15:53:09 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  4. cni/pkg/util/podutil_test.go

    				pod:       podWithSidecarAndAmbientEnabledLabel,
    			},
    			want: false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got := PodRedirectionEnabled(tt.args.namespace, tt.args.pod); got != tt.want {
    				t.Errorf("PodRedirectionEnabled() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/text/Tokenizer.java

     */
    public class Tokenizer {
    
        /**
         * EOFをあらわします。
         */
        public static final int TT_EOF = -1;
    
        /**
         * Quoteをあらわします。
         */
        public static final int TT_QUOTE = '\'';
    
        /**
         * 単語をあらわします。
         */
        public static final int TT_WORD = -3;
    
        private static final int TT_NOTHING = -4;
    
        private static final int NEED_CHAR = Integer.MAX_VALUE;
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/pilot/status_test.go

    			want: "testdata/multiXdsStatusSinglePilot.txt",
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			got := &bytes.Buffer{}
    			sw := XdsStatusWriter{Writer: got}
    			input := map[string]*discovery.DiscoveryResponse{}
    			for key, ss := range tt.input {
    				input[key] = ss
    			}
    
    			err := sw.PrintAll(input)
    			if tt.wantErr {
    				assert.Error(t, err)
    			} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. cni/pkg/plugin/plugin_test.go

    			args: args{ports: []string{"abcd", "2345", "abcd"}},
    			want: []string{"abcd", "2345"},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got := dedupPorts(tt.args.ports); !reflect.DeepEqual(got, tt.want) {
    				t.Errorf("dedupPorts() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  8. cmd/auth-handler_test.go

    		{
    			authT: authType(9),
    			pass:  false,
    		},
    	}
    	// Validate all the test cases.
    	for i, tt := range testCases {
    		ok := isSupportedS3AuthType(tt.authT)
    		if ok != tt.pass {
    			t.Errorf("Test %d:, Expected %t, got %t", i+1, tt.pass, ok)
    		}
    	}
    }
    
    func TestIsRequestPresignedSignatureV2(t *testing.T) {
    	testCases := []struct {
    		inputQueryKey   string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  9. internal/cachevalue/cache.go

    	Once sync.Once
    
    	// Managed values.
    	valErr atomic.Pointer[struct {
    		v T
    		e error
    	}]
    	lastUpdateMs atomic.Int64
    	updating     sync.Mutex
    }
    
    // New allocates a new cached value instance. Tt must be initialized with
    // `.TnitOnce`.
    func New[T any]() *Cache[T] {
    	return &Cache[T]{}
    }
    
    // NewFromFunc allocates a new cached value instance and initializes it with an
    // update function, making it ready for use.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  10. cmd/storage-datatypes.go

    	// to object (version) on the source tier.
    	TransitionedObjName string `msg:"to"`
    	// TransitionTier is the storage class label assigned to remote tier.
    	TransitionTier string `msg:"tt"`
    	// TransitionVersionID stores a version ID of the object associate
    	// with the remote tier.
    	TransitionVersionID string `msg:"tv"`
    	// ExpireRestored indicates that the restored object is to be expired.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
Back to top