Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,027 for resc (0.16 sec)

  1. cmd/lock-rest-server.go

    func (l *lockRESTServer) RefreshHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) {
    	resp := lockRPCRefresh.NewResponse()
    	refreshed, err := l.ll.Refresh(context.Background(), *args)
    	if err != nil {
    		return l.makeResp(resp, err)
    	}
    	if !refreshed {
    		return l.makeResp(resp, errLockNotFound)
    	}
    	return l.makeResp(resp, err)
    }
    
    // LockHandler - Acquires a lock.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. src/crypto/internal/nistec/p256_asm_ppc64le.s

    	VCMPEQUDCC ZER, T1H, T1H
    
    	// 24 = CR6 NE
    	ISEL       $26, R0, TRUE, RES1
    	VXOR       RL, PL, T1L
    	VXOR       RH, PH, T1H         // SAVE: T1L
    	VOR        T1L, T1H, T1H
    	VCMPEQUDCC ZER, T1H, T1H
    
    	// 26 = CR6 NE
    	ISEL $26, R0, TRUE, RES2
    	OR   RES2, RES1, RES1
    	MOVD ret+24(FP), RES2
    	AND  RES2, RES1, RES1
    	MOVD RES1, ret+24(FP)
    
    	// X=H ; Y=H ; MUL; T-   // T1 = H*H
    	VOR  HL, HL, X0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  3. operator/pkg/util/common_test.go

    )
    
    func TestIsFilePath(t *testing.T) {
    	tests := []struct {
    		desc string
    		in   string
    		want bool
    	}{
    		{
    			desc: "empty",
    			in:   "",
    			want: false,
    		},
    		{
    			desc: "no-markers",
    			in:   "foobar",
    			want: false,
    		},
    		{
    			desc: "with-slash",
    			in:   "/home/bobby/go_rocks/main",
    			want: true,
    		},
    		{
    			desc: "with-period",
    			in:   "istio.go",
    			want: true,
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  4. operator/pkg/util/path_test.go

    func TestSplitEscaped(t *testing.T) {
    	tests := []struct {
    		desc string
    		in   string
    		want []string
    	}{
    		{
    			desc: "empty",
    			in:   "",
    			want: []string{},
    		},
    		{
    			desc: "no match",
    			in:   "foo",
    			want: []string{"foo"},
    		},
    		{
    			desc: "first",
    			in:   ":foo",
    			want: []string{"", "foo"},
    		},
    		{
    			desc: "last",
    			in:   "foo:",
    			want: []string{"foo", ""},
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Aug 29 00:15:38 UTC 2020
    - 6.7K bytes
    - Viewed (0)
  5. operator/pkg/util/util_test.go

    	tests := []struct {
    		desc string
    		in   string
    		want any
    	}{
    		{
    			desc: "empty",
    			in:   "",
    			want: "",
    		},
    		{
    			desc: "true",
    			in:   "true",
    			want: true,
    		},
    		{
    			desc: "false",
    			in:   "false",
    			want: false,
    		},
    		{
    			desc: "numeric-one",
    			in:   "1",
    			want: 1,
    		},
    		{
    			desc: "numeric-zero",
    			in:   "0",
    			want: 0,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/defaults_test.go

    )
    
    func TestKMSProviderTimeoutDefaults(t *testing.T) {
    	testCases := []struct {
    		desc string
    		in   *KMSConfiguration
    		want *KMSConfiguration
    	}{
    		{
    			desc: "timeout not supplied",
    			in:   &KMSConfiguration{},
    			want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &defaultCacheSize, APIVersion: defaultAPIVersion},
    		},
    		{
    			desc: "timeout supplied",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. operator/pkg/tpath/util_test.go

    func TestAddSpecRoot(t *testing.T) {
    	tests := []struct {
    		desc   string
    		in     string
    		expect string
    		err    error
    	}{
    		{
    			desc: "empty",
    			in:   ``,
    			expect: `spec: {}
    `,
    			err: nil,
    		},
    		{
    			desc: "add-root",
    			in: `
    a: va
    b: foo`,
    			expect: `spec:
      a: va
      b: foo
    `,
    			err: nil,
    		},
    		{
    			desc:   "err",
    			in:     `i can't be yaml, can I?`,
    			expect: ``,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 27 09:06:29 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  8. operator/pkg/util/yaml_test.go

    	tests := []struct {
    		desc   string
    		in1    string
    		in2    string
    		expect bool
    	}{
    		{
    			desc:   "yaml-equal",
    			in1:    `foo: bar`,
    			in2:    `foo: bar`,
    			expect: true,
    		},
    		{
    			desc:   "bad-yaml-1",
    			in1:    "O#JF*()#",
    			in2:    `foo: bar`,
    			expect: false,
    		},
    		{
    			desc:   "bad-yaml-2",
    			in1:    `foo: bar`,
    			in2:    "#OHJ*#()F",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 17:00:14 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. pkg/istio-agent/health/health_probers_test.go

    )
    
    func TestHttpProber(t *testing.T) {
    	tests := []struct {
    		desc                string
    		statusCode          int
    		expectedProbeResult ProbeResult
    		expectedError       error
    	}{
    		{
    			desc:                "Healthy - 200 status code",
    			statusCode:          200,
    			expectedProbeResult: Healthy,
    			expectedError:       nil,
    		},
    		{
    			desc:                "Unhealthy - 500 status code",
    			statusCode:          500,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 14 19:26:09 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  10. cmd/peer-rest-common.go

    Harshavardhana <******@****.***> 1714988710 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 09:45:10 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top