Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for Hockin (0.17 sec)

  1. cmd/sftp-server-driver.go

    		}
    
    		dirPath := buildMinioDir(prefix)
    
    		_, err = clnt.PutObject(context.Background(), bucket, dirPath, bytes.NewReader([]byte("")), 0,
    			// Always send Content-MD5 to succeed with bucket with
    			// locking enabled. There is no performance hit since
    			// this is always an empty object
    			minio.PutObjectOptions{SendContentMd5: true},
    		)
    		return err
    	}
    
    	return NotImplemented{}
    }
    
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13K bytes
    - Viewed (0)
  2. cmd/object-api-interface.go

    func (o *ObjectOptions) SetEvalRetentionBypassFn(f EvalRetentionBypassFn) {
    	o.EvalRetentionBypassFn = f
    }
    
    // ObjectLayer implements primitives for object API layer.
    type ObjectLayer interface {
    	// Locking operations on object.
    	NewNSLock(bucket string, objects ...string) RWLocker
    
    	// Storage operations.
    	Shutdown(context.Context) error
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  3. cmd/data-usage-cache.go

    }
    
    // load the cache content with name from minioMetaBackgroundOpsBucket.
    // Only backend errors are returned as errors.
    // The loader is optimistic and has no locking, but tries 5 times before giving up.
    // If the object is not found, a nil error with empty data usage cache is returned.
    func (d *dataUsageCache) load(ctx context.Context, store objectIO, name string) error {
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 41.3K bytes
    - Viewed (1)
  4. misc/go_android_exec/main.go

    // This wrapper uses syscall.Flock to prevent concurrent adb commands,
    // so for now it only builds on platforms that support that system call.
    // TODO(#33974): use a more portable library for file locking.
    
    //go:build darwin || dragonfly || freebsd || illumos || linux || netbsd || openbsd
    
    // This program can be used as go_android_GOARCH_exec by the Go tool.
    // It executes binaries on an android device using adb.
    Go
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  5. cmd/ftp-server-driver.go

    	}
    
    	dirPath := buildMinioDir(prefix)
    
    	_, err = clnt.PutObject(context.Background(), bucket, dirPath, bytes.NewReader([]byte("")), 0,
    		// Always send Content-MD5 to succeed with bucket with
    		// locking enabled. There is no performance hit since
    		// this is always an empty object
    		minio.PutObjectOptions{SendContentMd5: true},
    	)
    	return err
    }
    
    // GetFile implements ftpDriver
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    	if s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	if objectLockEnabled {
    		// Creating a bucket with locking requires the user having more permissions
    		for _, action := range []policy.Action{policy.PutBucketObjectLockConfigurationAction, policy.PutBucketVersioningAction} {
    			if !globalIAMSys.IsAllowed(policy.Args{
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  7. clause/locking.go

    	LockingOptionsNoWait     = "NOWAIT"
    )
    
    type Locking struct {
    	Strength string
    	Table    Table
    	Options  string
    }
    
    // Name where clause name
    func (locking Locking) Name() string {
    	return "FOR"
    }
    
    // Build build where clause
    func (locking Locking) Build(builder Builder) {
    	builder.WriteString(locking.Strength)
    	if locking.Table.Name != "" {
    		builder.WriteString(" OF ")
    Go
    - Registered: Sun Apr 14 09:35:11 GMT 2024
    - Last Modified: Fri Dec 15 08:32:56 GMT 2023
    - 773 bytes
    - Viewed (0)
  8. cni/pkg/plugin/cnieventclient.go

    	"time"
    
    	"github.com/containernetworking/cni/pkg/skel"
    	cniv1 "github.com/containernetworking/cni/pkg/types/100"
    
    	"istio.io/istio/cni/pkg/nodeagent"
    )
    
    // newCNIClient is a unit test override variable for mocking.
    var newCNIClient = buildClient
    
    // An udsCore write entries to an UDS server with HTTP Post. Log messages will be encoded into a JSON array.
    type CNIEventClient struct {
    	client *http.Client
    	url    string
    }
    
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  9. internal/lock/lock.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    // Package lock - implements filesystem locking wrappers around an
    // open file descriptor.
    package lock
    
    import (
    	"errors"
    	"os"
    	"sync"
    )
    
    // ErrAlreadyLocked is returned if the underlying fd is already locked.
    Go
    - Registered: Sun Apr 07 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  10. cmd/namespace-lock.go

    	nsMutex := nsLockMap{
    		isDistErasure: isDistErasure,
    	}
    	if isDistErasure {
    		return &nsMutex
    	}
    	nsMutex.lockMap = make(map[string]*nsLock)
    	return &nsMutex
    }
    
    // nsLock - provides primitives for locking critical namespace regions.
    type nsLock struct {
    	ref int32
    	*lsync.LRWMutex
    }
    
    // nsLockMap - namespace lock map, provides primitives to Lock,
    // Unlock, RLock and RUnlock.
    type nsLockMap struct {
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Mon Jun 05 23:56:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
Back to top