Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 52 for puts (0.14 sec)

  1. cmd/server-main.go

    			}
    
    			bootLogIf(GlobalContext, err)
    		}
    
    		if !globalServerCtxt.StrictS3Compat {
    			warnings = append(warnings, color.YellowBold("- Strict AWS S3 compatible incoming PUT, POST content payload validation is turned off, caution is advised do not use in production"))
    		}
    	})
    	if globalActiveCred.Equal(auth.DefaultCredentials) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  2. cmd/data-scanner.go

    		default:
    		}
    		f.lastUpdate = time.Now()
    	}
    }
    
    // scanFolder will scan the provided folder.
    // Files found in the folders will be added to f.newCache.
    // If final is provided folders will be put into f.newFolders or f.existingFolders.
    // If final is not provided the folders found are returned from the function.
    func (f *folderScanner) scanFolder(ctx context.Context, folder cachedFolder, into *dataUsageEntry) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  3. tests/preload_test.go

    	} else {
    		sort.Slice(users2[2].Pets, func(i, j int) bool {
    			return users2[2].Pets[i].ID < users2[2].Pets[j].ID
    		})
    
    		for _, pet := range users2[2].Pets[0:2] {
    			if pet.Toy.Name != "" {
    				t.Errorf("No toy should for user %v's pet %v but got %v", 3, pet.Name, pet.Toy.Name)
    			}
    		}
    
    		CheckPet(t, *users2[2].Pets[2], *users[2].Pets[2])
    	}
    }
    
    func TestPreloadEmptyData(t *testing.T) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  4. internal/event/config_test.go

                    <Value>jpg</Value>
                </FilterRule>
            </S3Key>
       </Filter>
       <Queue>arn:minio:sqs:us-east-1:1:webhook</Queue>
       <Event>s3:ObjectCreated:Put</Event>
       <Event>s3:ObjectCreated:Put</Event>
    </QueueConfiguration>`)
    
    	testCases := []struct {
    		data      []byte
    		expectErr bool
    	}{
    		{dataCase1, false},
    		{dataCase2, false},
    		{dataCase3, true},
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 05 10:16:33 GMT 2023
    - 29K bytes
    - Viewed (0)
  5. cmd/bucket-handlers_test.go

    		}
    
    		// Verify response of the V2 signed HTTP request.
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    		recV2 := httptest.NewRecorder()
    		// construct HTTP request for PUT bucket policy endpoint.
    		reqV2, err := newTestSignedRequestV2(http.MethodGet, getBucketLocationURL("", testCase.bucketName), 0, nil, testCase.accessKey, testCase.secretKey, nil)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 39.5K bytes
    - Viewed (2)
  6. cmd/object-api-putobject_test.go

    		// Put an empty object with a trailing slash
    		30: {bucketName: bucket, objName: "emptydir/", inputData: []byte{}, expectedMd5: getMD5Hash([]byte{})},
    		// Put an object inside the empty directory
    		31: {bucketName: bucket, objName: "emptydir/" + object, inputData: data, inputDataSize: int64(len(data)), expectedMd5: getMD5Hash(data)},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  7. schema/schema_test.go

    	relations := []Relation{
    		{
    			Name: "Account", Type: schema.HasOne, Schema: "User", FieldSchema: "Account",
    			References: []Reference{{"ID", "User", "UserID", "Account", "", true}},
    		},
    		{
    			Name: "Pets", Type: schema.HasMany, Schema: "User", FieldSchema: "Pet",
    			References: []Reference{{"ID", "User", "UserID", "Pet", "", true}},
    		},
    		{
    			Name: "Toys", Type: schema.HasMany, Schema: "User", FieldSchema: "Toy",
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:31:23 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  8. internal/ioutil/ioutil.go

    	},
    }
    
    // Copy is exactly like io.Copy but with reusable buffers.
    func Copy(dst io.Writer, src io.Reader) (written int64, err error) {
    	bufp := copyBufPool.Get().(*[]byte)
    	buf := *bufp
    	defer copyBufPool.Put(bufp)
    
    	return io.CopyBuffer(dst, src, buf)
    }
    
    // SameFile returns if the files are same.
    func SameFile(fi1, fi2 os.FileInfo) bool {
    	if !os.SameFile(fi1, fi2) {
    		return false
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  9. internal/logger/target/http/http.go

    	var entry interface{}
    	var ok bool
    	var err error
    	lastBatchProcess := time.Now()
    
    	buf := bytebufferpool.Get()
    	enc := jsoniter.ConfigCompatibleWithStandardLibrary.NewEncoder(buf)
    	defer bytebufferpool.Put(buf)
    
    	isDirQueue := false
    	if h.config.QueueDir != "" {
    		isDirQueue = true
    	}
    
    	// globalBuffer is always created or adjusted
    	// before this method is launched.
    	logChLock.Lock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  10. cmd/bucket-replication-handlers.go

    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    // PutBucketReplicationConfigHandler - PUT Bucket replication configuration.
    // ----------
    // Add a replication configuration on the specified bucket as specified in https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketReplication.html
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 28 04:08:53 GMT 2023
    - 23.2K bytes
    - Viewed (0)
Back to top