- Sort Score
- Num 10 results
- Language All
Results 451 - 460 of 834 for BOOL (0.02 seconds)
-
internal/http/request-recorder.go
import ( "bytes" "io" ) // RequestRecorder - records the // of a given io.Reader type RequestRecorder struct { // Data source to record io.Reader // Response body should be logged LogBody bool // internal recording buffer buf bytes.Buffer // total bytes read including header size bytesRead int } // Close is a no operation closer func (r *RequestRecorder) Close() error { // no-op
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 12 21:37:19 GMT 2023 - 1.8K bytes - Click Count (0) -
internal/bucket/replication/sourceselectioncriteria.go
ReplicaModifications ReplicaModifications `xml:"ReplicaModifications" json:"ReplicaModifications"` } // IsValid - checks whether SourceSelectionCriteria is valid or not. func (s SourceSelectionCriteria) IsValid() bool { return s.ReplicaModifications.Status == Enabled || s.ReplicaModifications.Status == Disabled } // Validate source selection criteria func (s SourceSelectionCriteria) Validate() error {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 2.5K bytes - Click Count (0) -
cmd/bucket-replication.go
// validateReplicationDestination uses this to configure the validation. type validateReplicationDestinationOptions struct { CheckRemoteBucket bool CheckReady bool checkReadyErr sync.Map } func getCRCMeta(oi ObjectInfo, partNum int, h http.Header) (cs map[string]string, isMP bool) { meta := make(map[string]string) cs, isMP = oi.decryptChecksums(partNum, h) for k, v := range cs {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 118.2K bytes - Click Count (0) -
internal/config/identity/ldap/legacy.go
package ldap import ( "github.com/minio/minio/internal/config" ) // LegacyConfig contains AD/LDAP server connectivity information from old config // V33. type LegacyConfig struct { Enabled bool `json:"enabled"` // E.g. "ldap.minio.io:636" ServerAddr string `json:"serverAddr"` // User DN search parameters UserDNSearchBaseDistName string `json:"userDNSearchBaseDN"`Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Oct 08 05:12:36 GMT 2022 - 2.2K bytes - Click Count (0) -
internal/bucket/replication/tag.go
) func (tag Tag) String() string { return tag.Key + "=" + tag.Value } // IsEmpty returns whether this tag is empty or not. func (tag Tag) IsEmpty() bool { return tag.Key == "" } // Validate checks this tag. func (tag Tag) Validate() error { if len(tag.Key) == 0 || utf8.RuneCountInString(tag.Key) > 128 { return errInvalidTagKey }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.6K bytes - Click Count (0) -
internal/config/identity/plugin/config.go
h.lastFullMinute = h.currentMinute h.currentMinute = serviceRTTMinuteStats{ statsTime: currReqMinute, } } func (h *metrics) accumRequestRTT(reqStartTime time.Time, rttMs float64, isSuccess bool) { h.Lock() defer h.Unlock() // Update connectivity times if isSuccess { if reqStartTime.After(h.LastCheckSuccess) { h.LastCheckSuccess = reqStartTime } } else {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.3K bytes - Click Count (0) -
lib/time/mkzip.go
flag.Usage = usage flag.Parse() args := flag.Args() if len(args) != 1 || !strings.HasSuffix(args[0], ".zip") { usage() } var zb bytes.Buffer zw := zip.NewWriter(&zb) seen := make(map[string]bool) err := filepath.WalkDir(".", func(path string, d fs.DirEntry, err error) error { if d.IsDir() { return nil } data, err := os.ReadFile(path) if err != nil { log.Fatal(err) }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Mar 04 17:32:07 GMT 2024 - 2.1K bytes - Click Count (0) -
api/except.txt
pkg os, func SameFile(FileInfo, FileInfo) bool pkg os, func Stat(string) (FileInfo, error) pkg os, method (*File) Chmod(FileMode) error pkg os, method (*File) Readdir(int) ([]FileInfo, error) pkg os, method (*File) Stat() (FileInfo, error) pkg os, method (*PathError) Error() string pkg os, method (*PathError) Timeout() bool pkg os, method (*PathError) Unwrap() error pkg os, method (FileMode) IsDir() bool pkg os, method (FileMode) IsRegular() bool
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Sun Jun 16 23:08:08 GMT 2024 - 34.8K bytes - Click Count (0) -
callbacks/callmethod.go
package callbacks import ( "reflect" "gorm.io/gorm" ) func callMethod(db *gorm.DB, fc func(value interface{}, tx *gorm.DB) bool) { tx := db.Session(&gorm.Session{NewDB: true}) if called := fc(db.Statement.ReflectValue.Interface(), tx); !called { switch db.Statement.ReflectValue.Kind() { case reflect.Slice, reflect.Array: db.Statement.CurDestIndex = 0 for i := 0; i < db.Statement.ReflectValue.Len(); i++ {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sat Feb 18 01:20:29 GMT 2023 - 846 bytes - Click Count (0) -
tensorflow/c/c_api_experimental.cc
tensorflow::GetBuildXlaOpsPassFlags(); bool original = flags->tf_xla_enable_lazy_compilation; flags->tf_xla_enable_lazy_compilation = enable; return original; } unsigned char TF_SetTfXlaCpuGlobalJit(unsigned char enable) { tensorflow::MarkForCompilationPassFlags* flags = tensorflow::GetMarkForCompilationPassFlags(); bool original = flags->tf_xla_cpu_global_jit;
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 29.4K bytes - Click Count (0)