Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Accept (0.17 sec)

  1. src/bytes/bytes_test.go

    					t.Errorf("Equal(%d, %d, %d) = false", len, x, y)
    				}
    			}
    		}
    	}
    }
    
    // make sure Equal returns false for minimally different strings. The data
    // is all zeros except for a single one in one location.
    func TestNotEqual(t *testing.T) {
    	var size = 128
    	if testing.Short() {
    		size = 32
    	}
    	a := make([]byte, size)
    	b := make([]byte, size)
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    			policies = append(policies, policy)
    			toMerge = append(toMerge, p.Policy)
    		}
    	}
    	return strings.Join(policies, ","), policy.MergePolicies(toMerge...)
    }
    
    // FilterPolicies - accepts a comma separated list of policy names as a string
    // and bucket and returns only policies that currently exist in MinIO. If
    // bucketName is non-empty, additionally filters policies matching the bucket.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. cmd/iam.go

    	}
    
    	var maxDurationSecondsForLog float64 = 5
    	timer := time.NewTimer(waitInterval())
    	defer timer.Stop()
    
    	for {
    		select {
    		case <-timer.C:
    			// Load all IAM items (except STS creds) periodically.
    			refreshStart := time.Now()
    			if err := sys.Load(ctx, false); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  4. internal/bucket/lifecycle/lifecycle_test.go

    			objectName:     "foxdir/fooobject",
    			objectModTime:  time.Now().UTC().Add(-24 * time.Hour), // Created 1 day ago
    			expectedAction: DeleteAction,
    		},
    		// Should accept BucketLifecycleConfiguration root tag
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  5. src/archive/zip/reader_test.go

    			},
    			{
    				Name:     "bar.txt",
    				Content:  []byte("bar\n"),
    				Modified: time.Date(1979, 11, 30, 0, 0, 0, 0, time.UTC),
    				Mode:     0666,
    			},
    		},
    	},
    	// Tests that we verify (and accept valid) crc32s on files
    	// with crc32s in their file header (not in data descriptors)
    	{
    		Name: "crc32-not-streamed.zip",
    		File: []ZipTestFile{
    			{
    				Name:     "foo.txt",
    				Content:  []byte("foo\n"),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  6. istioctl/pkg/describe/describe.go

    // Copyright Istio Authors
    //
    // Licensed under the Apache License, Version 2.0 (the "License");
    // you may not use this file except in compliance with the License.
    // You may obtain a copy of the License at
    //
    //     http://www.apache.org/licenses/LICENSE-2.0
    //
    // Unless required by applicable law or agreed to in writing, software
    // distributed under the License is distributed on an "AS IS" BASIS,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top