- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 59 for gretbool (0.16 sec)
-
src/encoding/xml/read.go
if err != nil { return err } dst.SetFloat(ftmp) case reflect.Bool: if len(src) == 0 { dst.SetBool(false) return nil } value, err := strconv.ParseBool(strings.TrimSpace(string(src))) if err != nil { return err } dst.SetBool(value) case reflect.String: dst.SetString(string(src)) case reflect.Slice: if len(src) == 0 { // non-nil to flag presence
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 22.4K bytes - Viewed (0) -
schema/schema.go
switch methodValue.Type().String() { case "func(*gorm.DB) error": // TODO hack reflect.Indirect(reflect.ValueOf(schema)).FieldByName(string(cbName)).SetBool(true) default: logger.Default.Warn(context.Background(), "Model %v don't match %vInterface, should be `%v(*gorm.DB) error`. Please see https://gorm.io/docs/hooks.html", schema, cbName, cbName) } } }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:52:33 UTC 2024 - 13.7K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/AbstractGccCompatibleToolChain.java
if (compiler.isAvailable()) { SearchResult<GccMetadata> gccMetadata = getMetaDataProvider().getCompilerMetaData(toolSearchPath.getPath(), spec -> spec.executable(compiler.getTool()).args(platformToolChain.getCompilerProbeArgs())); availability.mustBeAvailable(gccMetadata); if (!gccMetadata.isAvailable()) { return; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 20K bytes - Viewed (0) -
src/go/internal/gccgoimporter/testdata/v1reflect.gox
func (v <type 1>) Send (x <type 1>); func (v <type 1>) .reflect.send (x <type 1>, nb <type -15>) (selected <type -15>); func (v <type 1>) Set (x <type 1>); func (v <type 1>) SetBool (x <type -15>); func (v <type 1>) SetBytes (x <type 56 [] <type -20>>); func (v <type 1>) SetComplex (x <type -18>); func (v <type 1>) SetFloat (x <type -10>); func (v <type 1>) SetInt (x <type -4>);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 30 21:33:51 UTC 2021 - 10.3K bytes - Viewed (0) -
src/testing/quick/quick.go
if m, ok := reflect.Zero(t).Interface().(Generator); ok { return m.Generate(rand, size), true } v := reflect.New(t).Elem() switch concrete := t; concrete.Kind() { case reflect.Bool: v.SetBool(rand.Int()&1 == 0) case reflect.Float32: v.SetFloat(float64(randFloat32(rand))) case reflect.Float64: v.SetFloat(randFloat64(rand)) case reflect.Complex64:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 17:55:47 UTC 2023 - 10.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/LibrariesSourceGeneratorTest.groovy
sources.hasDependencyAlias('bar', 'getBar', "with version reference <b>barVersion</b>") sources.hasDependencyAlias('boo', 'getBoo', "with <b>no version specified</b>") sources.hasPlugin('fooPlugin', 'getFooPlugin', "with version <b>1.0</b>") sources.hasPlugin('barPlugin', 'getBarPlugin', "with version reference <b>barVersion</b>")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 08:26:24 UTC 2024 - 19.2K bytes - Viewed (0) -
src/encoding/asn1/asn1.go
if err != nil { return } } else { if fieldType != flagType { err = StructuralError{"zero length explicit tag was not an asn1.Flag"} return } v.SetBool(true) return } } else { // The tags didn't match, it might be an optional element. ok := setDefaultValue(v, params) if ok { offset = initOffset } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 31.8K bytes - Viewed (0) -
src/internal/reflectlite/value.go
// A Value can be changed only if it is addressable and was not // obtained by the use of unexported struct fields. // If CanSet returns false, calling Set or any type-specific // setter (e.g., SetBool, SetInt) will panic. func (v Value) CanSet() bool { return v.flag&(flagAddr|flagRO) == flagAddr } // Elem returns the value that the interface v contains // or that the pointer v points to.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 13.6K bytes - Viewed (0) -
src/encoding/binary/binary.go
d.value(v) } else { d.skip(v) } } case reflect.Slice: l := v.Len() for i := 0; i < l; i++ { d.value(v.Index(i)) } case reflect.Bool: v.SetBool(d.bool()) case reflect.Int8: v.SetInt(int64(d.int8())) case reflect.Int16: v.SetInt(int64(d.int16())) case reflect.Int32: v.SetInt(int64(d.int32())) case reflect.Int64:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:29:31 UTC 2024 - 23.4K bytes - Viewed (0) -
cmd/kubelet/app/server.go
cmds := cleanFlagSet.Args() if len(cmds) > 0 { return fmt.Errorf("unknown command %+s", cmds[0]) } // short-circuit on help help, err := cleanFlagSet.GetBool("help") if err != nil { return errors.New(`"help" flag is non-bool, programmer error, please correct`) } if help { return cmd.Help() } // short-circuit on verflag
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:34 UTC 2024 - 53.9K bytes - Viewed (0)