Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,176 for boom (0.03 sec)

  1. cmd/xl-storage-format-utils.go

    		Volume:        volume,
    		Name:          path,
    		Versions:      versions,
    		LatestModTime: versions[0].ModTime,
    	}, nil
    }
    
    type fileInfoOpts struct {
    	InclFreeVersions bool
    	Data             bool
    }
    
    func getFileInfo(xlMetaBuf []byte, volume, path, versionID string, opts fileInfoOpts) (FileInfo, error) {
    	var fi FileInfo
    	var err error
    	var inData xlMetaInlineData
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. internal/crypto/metadata.go

    )
    
    // IsMultiPart returns true if the object metadata indicates
    // that it was uploaded using some form of server-side-encryption
    // and the S3 multipart API.
    func IsMultiPart(metadata map[string]string) bool {
    	if _, ok := metadata[MetaMultipart]; ok {
    		return true
    	}
    	return false
    }
    
    // RemoveSensitiveEntries removes confidential encryption
    // information - e.g. the SSE-C key - from the metadata map.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_test_util.h

    // Return a tensor handle containing a int scalar
    TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, int value);
    
    // Return a tensor handle containing a bool scalar
    TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, bool value);
    
    // Return a tensor handle containing a tstring scalar
    TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Jul 17 23:43:59 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  4. src/archive/tar/strconv_test.go

    package tar
    
    import (
    	"math"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestFitsInBase256(t *testing.T) {
    	vectors := []struct {
    		in    int64
    		width int
    		ok    bool
    	}{
    		{+1, 8, true},
    		{0, 8, true},
    		{-1, 8, true},
    		{1 << 56, 8, false},
    		{(1 << 56) - 1, 8, true},
    		{-1 << 56, 8, true},
    		{(-1 << 56) - 1, 8, false},
    		{121654, 8, true},
    		{-9849849, 8, true},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Feb 09 05:28:50 UTC 2021
    - 14K bytes
    - Viewed (0)
  5. cmd/is-dir-empty_linux.go

    package cmd
    
    import (
    	"syscall"
    )
    
    // Returns true if no error and there is no object or prefix inside this directory
    func isDirEmpty(dirname string, legacy bool) bool {
    	if legacy {
    		// On filesystems such as btrfs, nfs this is not true, so fallback
    		// to performing readdir() instead.
    		entries, err := readDirN(dirname, 1)
    		if err != nil {
    			return false
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 05 15:17:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. internal/s3select/sql/value_test.go

    			}
    		})
    	}
    }
    
    func TestValue_bytesToBool(t *testing.T) {
    	type fields struct {
    		value interface{}
    	}
    	tests := []struct {
    		name    string
    		fields  fields
    		wantVal bool
    		wantOk  bool
    	}{
    		{
    			name: "true",
    			fields: fields{
    				value: []byte("true"),
    			},
    			wantVal: true,
    			wantOk:  true,
    		},
    		{
    			name: "false",
    			fields: fields{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  7. cmd/warm-backend.go

    	Get(ctx context.Context, object string, rv remoteVersionID, opts WarmBackendGetOpts) (io.ReadCloser, error)
    	Remove(ctx context.Context, object string, rv remoteVersionID) error
    	InUse(ctx context.Context) (bool, error)
    }
    
    const probeObject = "probeobject"
    
    // checkWarmBackend checks if tier config credentials have sufficient privileges
    // to perform all operations defined in the WarmBackend interface.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. clause/on_conflict.go

    package clause
    
    type OnConflict struct {
    	Columns      []Column
    	Where        Where
    	TargetWhere  Where
    	OnConstraint string
    	DoNothing    bool
    	DoUpdates    Set
    	UpdateAll    bool
    }
    
    func (OnConflict) Name() string {
    	return "ON CONFLICT"
    }
    
    // Build build onConflict clause
    func (onConflict OnConflict) Build(builder Builder) {
    	if onConflict.OnConstraint != "" {
    		builder.WriteString("ON CONSTRAINT ")
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Oct 07 05:46:20 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  9. cmd/utils_test.go

    	"encoding/json"
    	"errors"
    	"fmt"
    	"net/http"
    	"net/url"
    	"reflect"
    	"strings"
    	"testing"
    )
    
    // Tests maximum object size.
    func TestMaxObjectSize(t *testing.T) {
    	sizes := []struct {
    		isMax bool
    		size  int64
    	}{
    		// Test - 1 - maximum object size.
    		{
    			true,
    			globalMaxObjectSize + 1,
    		},
    		// Test - 2 - not maximum object size.
    		{
    			false,
    			globalMaxObjectSize - 1,
    		},
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. internal/grid/muxclient.go

    	cancelFn           context.CancelCauseFunc
    	parent             *Connection
    	respWait           chan<- Response
    	respMu             sync.Mutex
    	singleResp         bool
    	closed             bool
    	stateless          bool
    	acked              bool
    	init               bool
    	deadline           time.Duration
    	outBlock           chan struct{}
    	subroute           *subHandlerID
    	respErr            atomic.Pointer[error]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top