- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 136 for Opts (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/encryption-v1_test.go
for i, test := range getDefaultOptsTests { opts, err := getDefaultOpts(test.headers, test.copySource, test.metadata) if test.err != err { t.Errorf("Case %d: expected err: %v , actual err: %v", i, test.err, err) } if err == nil { if opts.ServerSideEncryption == nil && test.encryptionType != "" { t.Errorf("Case %d: expected opts to be of %v encryption type", i, test.encryptionType) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19.9K bytes - Click Count (0) -
internal/cachevalue/cache_test.go
select { case <-sl.C: case <-ctx.Done(): return ctx.Err() } return nil } func TestCacheCtx(t *testing.T) { cache := New[time.Time]() t.Parallel() cache.InitOnce(2*time.Second, Opts{}, func(ctx context.Context) (time.Time, error) { return time.Now(), slowCaller(ctx) }, ) ctx, cancel := context.WithCancel(t.Context()) cancel() // cancel context to test.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 2.7K bytes - Click Count (0) -
internal/s3select/simdj/reader_amd64_test.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.9K bytes - Click Count (0) -
cmd/veeam-sos-api.go
} func veeamSOSAPIHeadObject(ctx context.Context, bucket, object string, opts ObjectOptions) (ObjectInfo, error) { gr, err := veeamSOSAPIGetObject(ctx, bucket, object, nil, opts) if gr != nil { gr.Close() return gr.ObjInfo, nil } return ObjectInfo{}, err } func veeamSOSAPIGetObject(ctx context.Context, bucket, object string, rs *HTTPRangeSpec, opts ObjectOptions) (gr *GetObjectReader, err error) { var buf []byte
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 15 00:34:56 GMT 2024 - 8.8K bytes - Click Count (0) -
internal/config/server.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 config // Opts holds MinIO configuration options type Opts struct { FTP struct { Address string `yaml:"address"` PassivePortRange string `yaml:"passive-port-range"` } `yaml:"ftp"` SFTP struct { Address string `yaml:"address"`
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 03 15:54:03 GMT 2024 - 1.9K bytes - Click Count (0) -
internal/http/check_port_linux.go
// It is possible to have a disconnected client in this tiny window of time. func CheckPortAvailability(host, port string, opts TCPOptions) (err error) { lc := &net.ListenConfig{ Control: func(network, address string, c syscall.RawConn) error { c.Control(func(fdPtr uintptr) { if opts.Interface != "" { // When interface is specified look for specifically port availability on // the specified interface if any.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 03 21:12:25 GMT 2023 - 1.9K bytes - Click Count (0) -
internal/hash/reader.go
// callers to indicate if they want to disable md5sum checksum. func NewReaderWithOpts(ctx context.Context, src io.Reader, opts Options) (*Reader, error) { // return hard limited reader return newReader(ctx, src, opts.Size, opts.MD5Hex, opts.SHA256Hex, opts.ActualSize, opts.DisableMD5, opts.ForceMD5) } // NewReader returns a new Reader that wraps src and computes // MD5 checksum of everything it reads as ETag. //
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 11.8K bytes - Click Count (0) -
internal/bucket/lifecycle/lifecycle_test.go
t.Fatalf("Got unexpected error: %v", err) } opts := ObjectOpts{ Name: tc.objectName, UserTags: tc.objectTags, ModTime: tc.objectModTime, DeleteMarker: tc.isDelMarker, IsLatest: !tc.isNoncurrent, SuccessorModTime: tc.objectSuccessorModTime, VersionID: tc.versionID, } opts.NumVersions = 1 if tc.hasManyVersions {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 55.5K bytes - Click Count (0) -
tensorflow/c/c_api_internal.h
// and is re-computed by the runtime. inline void TF_ImportGraphDefOptionsSetPropagateDeviceSpec( TF_ImportGraphDefOptions* opts, unsigned char propagate_device_spec) { opts->opts.propagate_device_spec = propagate_device_spec; } } // end namespace tensorflow
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat May 13 00:49:12 GMT 2023 - 7.6K bytes - Click Count (0) -
interfaces.go
RollbackTo(tx *DB, name string) error } // TxBeginner tx beginner type TxBeginner interface { BeginTx(ctx context.Context, opts *sql.TxOptions) (*sql.Tx, error) } // ConnPoolBeginner conn pool beginner type ConnPoolBeginner interface { BeginTx(ctx context.Context, opts *sql.TxOptions) (ConnPool, error) } // TxCommitter tx committer type TxCommitter interface { Commit() error Rollback() error }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sat Aug 19 13:33:31 GMT 2023 - 2.2K bytes - Click Count (0)