- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 650 for mybool (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/en/docs/tutorial/query-params.md
/// ## Query parameter type conversion { #query-parameter-type-conversion } You can also declare `bool` types, and they will be converted: {* ../../docs_src/query_params/tutorial003_py310.py hl[7] *} In this case, if you go to: ``` http://127.0.0.1:8000/items/foo?short=1 ``` or ```Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.5K bytes - Click Count (0) -
callbacks/delete.go
"gorm.io/gorm/utils" ) func BeforeDelete(db *gorm.DB) { if db.Error == nil && db.Statement.Schema != nil && !db.Statement.SkipHooks && db.Statement.Schema.BeforeDelete { callMethod(db, func(value interface{}, tx *gorm.DB) bool { if i, ok := value.(BeforeDeleteInterface); ok { db.AddError(i.BeforeDelete(tx)) return true } return false }) } } func DeleteBeforeAssociations(db *gorm.DB) {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 5.8K bytes - Click Count (0) -
cmd/data-usage-cache.go
ObjSizes sizeHistogram Compacted bool } //msgp:tuple dataUsageEntryV6 type dataUsageEntryV6 struct { Children dataUsageHashMap // These fields do no include any children. Size int64 Objects uint64 Versions uint64 // Versions that are not delete markers. ObjSizes sizeHistogram Compacted bool } type dataUsageEntryV7 struct {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
cmd/os-readdir-common.go
package cmd // Options for readDir function call type readDirOpts struct { // The maximum number of entries to return count int // Follow directory symlink followDirSymlink bool } // Return all the entries at the directory dirPath. func readDir(dirPath string) (entries []string, err error) { return readDirWithOpts(dirPath, readDirOpts{count: -1}) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jul 09 23:20:51 GMT 2021 - 1.3K bytes - Click Count (0) -
cmd/update.go
} // IsDCOS returns true if minio is running in DCOS. func IsDCOS() bool { // http://mesos.apache.org/documentation/latest/docker-containerizer/ // Mesos docker containerizer sets this value return env.Get("MESOS_CONTAINER_NAME", "") != "" } // IsKubernetes returns true if minio is running in kubernetes. func IsKubernetes() bool { // Kubernetes env used to validate if we are
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 18.9K bytes - Click Count (0) -
src/bytes/bytes_test.go
sizes := []int{1, 6, 9, 15, 16, 20, 32, 4 << 10, 4 << 20, 64 << 20} b.Run("same", func(b *testing.B) { benchBytes(b, sizes, bmEqual(func(a, b []byte) bool { return Equal(a, a) })) }) benchBytes(b, sizes, bmEqual(Equal)) } func bmEqual(equal func([]byte, []byte) bool) func(b *testing.B, n int) { return func(b *testing.B, n int) { if len(bmbuf) < 2*n { bmbuf = make([]byte, 2*n) } buf1 := bmbuf[0:n]Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 23 23:54:14 GMT 2025 - 62.9K bytes - Click Count (0) -
cmd/common-main_test.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.7K bytes - Click Count (2) -
internal/event/targetid_test.go
} } } func TestTargetDMarshalJSON(t *testing.T) { testCases := []struct { tid TargetID expectedData []byte expectErr bool }{ {TargetID{}, []byte(`":"`), false}, {TargetID{"1", "webhook"}, []byte(`"1:webhook"`), false},
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 3.5K bytes - Click Count (0) -
internal/config/lambda/event/targetid_test.go
} } } func TestTargetDMarshalJSON(t *testing.T) { testCases := []struct { tid TargetID expectedData []byte expectErr bool }{ {TargetID{}, []byte(`":"`), false}, {TargetID{"1", "webhook"}, []byte(`"1:webhook"`), false},
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Mar 07 16:12:41 GMT 2023 - 3.5K bytes - Click Count (0) -
internal/disk/disk_unix.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package disk import ( "syscall" ) // SameDisk reports whether di1 and di2 describe the same disk. func SameDisk(disk1, disk2 string) (bool, error) { st1 := syscall.Stat_t{} st2 := syscall.Stat_t{} if err := syscall.Stat(disk1, &st1); err != nil { return false, err } if err := syscall.Stat(disk2, &st2); err != nil { return false, err
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 1.2K bytes - Click Count (0)