- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 681 for BOOL (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Apr 07 15:10:40 GMT 2022 - 2.3K bytes - Click Count (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},
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) -
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) }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Oct 30 09:15:49 GMT 2023 - 3.1K bytes - Click Count (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
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Oct 04 20:20:20 GMT 2021 - 10.7K bytes - Click Count (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) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Mar 06 16:56:29 GMT 2023 - 3.8K bytes - Click Count (0) -
tests/test_dependency_wrapped.py
# Sync wrapper @noop_wrap def wrapped_dependency() -> bool: return True @noop_wrap def wrapped_gen_dependency() -> Generator[bool, None, None]: yield True @noop_wrap async def async_wrapped_dependency() -> bool: return True @noop_wrap async def async_wrapped_gen_dependency() -> AsyncGenerator[bool, None]: yield True @app.get("/wrapped-dependency/")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 11.2K bytes - Click Count (0) -
fastapi/_compat/shared.py
) -> bool: try: return isinstance(cls, type) and issubclass(cls, class_or_tuple) # type: ignore[arg-type] except TypeError: # pragma: no cover if isinstance(cls, WithArgsTypes): return False raise # pragma: no cover def _annotation_is_sequence(annotation: Union[type[Any], None]) -> bool: if lenient_issubclass(annotation, (str, bytes)):Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 6.7K bytes - Click Count (0) -
gorm.go
type Session struct { DryRun bool PrepareStmt bool NewDB bool Initialized bool SkipHooks bool SkipDefaultTransaction bool DisableNestedTransaction bool AllowGlobalUpdate bool FullSaveAssociations bool PropagateUnscoped bool QueryFields bool Context context.ContextCreated: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Aug 26 06:24:29 GMT 2025 - 12.8K bytes - Click Count (0) -
api/go1.5.txt
pkg go/types, method (TypeAndValue) Addressable() bool pkg go/types, method (TypeAndValue) Assignable() bool pkg go/types, method (TypeAndValue) HasOk() bool pkg go/types, method (TypeAndValue) IsBuiltin() bool pkg go/types, method (TypeAndValue) IsNil() bool pkg go/types, method (TypeAndValue) IsType() bool pkg go/types, method (TypeAndValue) IsValue() bool pkg go/types, method (TypeAndValue) IsVoid() bool pkg go/types, type Array struct
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Jul 30 21:14:09 GMT 2015 - 46.6K bytes - Click Count (0) -
api/go1.19.txt
pkg sort, func Find(int, func(int) int) (int, bool) #50340 pkg sync/atomic, method (*Bool) CompareAndSwap(bool, bool) bool #50860 pkg sync/atomic, method (*Bool) Load() bool #50860 pkg sync/atomic, method (*Bool) Store(bool) #50860 pkg sync/atomic, method (*Bool) Swap(bool) bool #50860 pkg sync/atomic, method (*Int32) Add(int32) int32 #50860 pkg sync/atomic, method (*Int32) CompareAndSwap(int32, int32) bool #50860
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Dec 02 16:29:41 GMT 2022 - 17.9K bytes - Click Count (0)