- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,038 for BOOL (0.19 sec)
-
internal/config/bool-flag.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package config import ( "encoding/json" "fmt" "strconv" "strings" ) // BoolFlag - wrapper bool type. type BoolFlag bool // String - returns string of BoolFlag. func (bf BoolFlag) String() string { if bf { return "on" } return "off" } // MarshalJSON - converts BoolFlag into JSON data.
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 07 15:10:40 GMT 2022 - 2.3K bytes - Viewed (0) -
internal/config/bool-flag_test.go
} } } // Test BoolFlag.UnmarshalJSON() func TestBoolFlagUnmarshalJSON(t *testing.T) { testCases := []struct { data []byte expectedResult BoolFlag expectedErr bool }{ {[]byte(`{}`), BoolFlag(false), true}, {[]byte(`["on"]`), BoolFlag(false), true}, {[]byte(`"junk"`), BoolFlag(false), true}, {[]byte(`""`), BoolFlag(true), false}, {[]byte(`"on"`), BoolFlag(true), false},
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 3.5K bytes - Viewed (0) -
tests/test_additional_properties_bool.py
Sebastián RamÃrez <******@****.***> 1688749933 +0200
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 4.2K bytes - Viewed (0) -
migrator.go
ColumnType() (columnType string, ok bool) // varchar(64) PrimaryKey() (isPrimaryKey bool, ok bool) AutoIncrement() (isAutoIncrement bool, ok bool) Length() (length int64, ok bool) DecimalSize() (precision int64, scale int64, ok bool) Nullable() (nullable bool, ok bool) Unique() (unique bool, ok bool) ScanType() reflect.Type Comment() (value string, ok bool) DefaultValue() (value string, ok bool) }
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Mon Oct 30 09:15:49 GMT 2023 - 3.1K bytes - Viewed (0) -
migrator/column_type.go
// PrimaryKey returns the column is primary key or not. func (ct ColumnType) PrimaryKey() (isPrimaryKey bool, ok bool) { return ct.PrimaryKeyValue.Bool, ct.PrimaryKeyValue.Valid } // AutoIncrement returns the column is auto increment or not. func (ct ColumnType) AutoIncrement() (isAutoIncrement bool, ok bool) { return ct.AutoIncrementValue.Bool, ct.AutoIncrementValue.Valid }
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Thu Mar 24 01:31:58 GMT 2022 - 3.3K bytes - Viewed (0) -
api/go1.18.txt
pkg net/netip, method (Addr) Is4() bool pkg net/netip, method (Addr) Is4In6() bool pkg net/netip, method (Addr) Is6() bool pkg net/netip, method (Addr) IsGlobalUnicast() bool pkg net/netip, method (Addr) IsInterfaceLocalMulticast() bool pkg net/netip, method (Addr) IsLinkLocalMulticast() bool pkg net/netip, method (Addr) IsLinkLocalUnicast() bool pkg net/netip, method (Addr) IsLoopback() bool
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 13K bytes - Viewed (0) -
cmd/object-api-interface.go
RestoreExpiry time.Time ExpireRestored bool } // MakeBucketOptions represents bucket options for ObjectLayer bucket operations type MakeBucketOptions struct { LockEnabled bool VersioningEnabled bool ForceCreate bool // Create buckets even if they are already created. CreatedAt time.Time // only for site replication NoLock bool // does not lock the make bucket call if set to 'true'
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sat Apr 20 09:05:54 GMT 2024 - 16.9K bytes - Viewed (0) -
api/go1.9.txt
pkg syscall (netbsd-amd64), type Credential struct, NoSetGroups bool pkg syscall (netbsd-arm-cgo), type Credential struct, NoSetGroups bool pkg syscall (netbsd-arm), type Credential struct, NoSetGroups bool pkg syscall (openbsd-386-cgo), type Credential struct, NoSetGroups bool pkg syscall (openbsd-386), type Credential struct, NoSetGroups bool pkg syscall (openbsd-amd64-cgo), type Credential struct, NoSetGroups bool
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Mon Oct 04 20:20:20 GMT 2021 - 10.7K bytes - Viewed (0) -
internal/s3select/sql/value.go
// conversion succeeded. func (v Value) ToBool() (val bool, ok bool) { val, ok = v.value.(bool) return } // ToTimestamp returns the timestamp value if present. func (v Value) ToTimestamp() (t time.Time, ok bool) { t, ok = v.value.(time.Time) return } // ToBytes returns the value if byte-slice. func (v Value) ToBytes() (val []byte, ok bool) {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Feb 25 20:31:19 GMT 2022 - 20.2K bytes - Viewed (0) -
cmd/xl-storage-errors.go
"syscall" ) // No space left on device error func isSysErrNoSpace(err error) bool { return errors.Is(err, syscall.ENOSPC) } // Invalid argument, unsupported flags such as O_DIRECT func isSysErrInvalidArg(err error) bool { return errors.Is(err, syscall.EINVAL) } // Input/output error func isSysErrIO(err error) bool { return errors.Is(err, syscall.EIO) }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Mar 06 16:56:29 GMT 2023 - 3.8K bytes - Viewed (0)