- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for setBool (0.18 sec)
-
internal/s3select/sql/value.go
return nil } // Not numeric types at this point. // Check for bool inference bA, okAb := a.bytesToBool() bB, okBb := b.bytesToBool() if okAb && okBb { a.setBool(bA) b.setBool(bB) return nil } // Fallback to string sA := a.bytesToString() sB := b.bytesToString() a.setString(sA) b.setString(sB) return nil case okA && !okB:
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Feb 25 20:31:19 GMT 2022 - 20.2K bytes - Viewed (0) -
schema/field.go
case **bool: if data != nil && *data != nil { field.ReflectValueOf(ctx, value).SetBool(**data) } case bool: field.ReflectValueOf(ctx, value).SetBool(data) case int64: field.ReflectValueOf(ctx, value).SetBool(data > 0) case string: b, _ := strconv.ParseBool(data) field.ReflectValueOf(ctx, value).SetBool(b) default: return fallbackSetter(ctx, value, v, field.Set) }
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Apr 15 03:20:20 GMT 2024 - 32K bytes - Viewed (1) -
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) } } }
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Tue Oct 10 06:50:29 GMT 2023 - 13.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt
added("Method", "SourceKt.setBazarExt(int,java.lang.String)"), added("Method", "SourceKt.setBazool(boolean)"), added("Method", "SourceKt.setFool(boolean)") ) } // with existing non-incubating file-facade class, new members must be annotated with @Incubating and @since checkBinaryCompatibleKotlin( v1 = """
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Jul 11 06:57:51 GMT 2023 - 12.7K bytes - Viewed (0) -
cni/pkg/cmd/root.go
return nil, err } } repairCfg := config.RepairConfig{ Enabled: viper.GetBool(constants.RepairEnabled), RepairPods: viper.GetBool(constants.RepairRepairPods), DeletePods: viper.GetBool(constants.RepairDeletePods), LabelPods: viper.GetBool(constants.RepairLabelPods), LabelKey: viper.GetString(constants.RepairLabelKey),
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.5K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExceptionTest.java
private final String LS = System.lineSeparator(); @Test void testMissingRequiredStringArrayTypeParameter() { MojoDescriptor mojoDescriptor = new MojoDescriptor(); mojoDescriptor.setGoal("goal"); PluginDescriptor pluginDescriptor = new PluginDescriptor(); pluginDescriptor.setGoalPrefix("goalPrefix"); pluginDescriptor.setArtifactId("artifactId");
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 6.7K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/lifecycle/mapping/LifecyclePhaseTest.java
assertEquals("", phase.toString()); LifecycleMojo mojo1 = new LifecycleMojo(); mojo1.setGoal("jar:jar"); phase.setMojos(Arrays.asList(mojo1)); assertEquals("jar:jar", phase.toString()); LifecycleMojo mojo2 = new LifecycleMojo(); mojo2.setGoal("war:war"); phase.setMojos(Arrays.asList(mojo1, mojo2)); assertEquals("jar:jar,war:war", phase.toString()); }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.3K bytes - Viewed (0) -
istioctl/pkg/clioptions/central.go
"XDS Subject Alternative Name (for example istiod.istio-system.svc)") cmd.PersistentFlags().BoolVar(&o.InsecureSkipVerify, "insecure", viper.GetBool("INSECURE"), "Skip server certificate and domain verification. (NOT SECURE!)") cmd.PersistentFlags().BoolVar(&o.Plaintext, "plaintext", viper.GetBool("PLAINTEXT"), "Use plain-text HTTP/2 when connecting to server (no TLS).") }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Jun 06 03:39:27 GMT 2022 - 3.2K bytes - Viewed (0) -
cmd/peer-s3-client.go
DeleteBucket(ctx context.Context, bucket string, opts DeleteBucketOptions) error GetHost() string SetPools([]int) GetPools() []int } type localPeerS3Client struct { node Node pools []int } func (l *localPeerS3Client) GetHost() string { return l.node.Host } func (l *localPeerS3Client) SetPools(p []int) { l.pools = make([]int, len(p)) copy(l.pools, p) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 14.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java
CollectRequest request = new CollectRequest(); request.setRequestContext(REPOSITORY_CONTEXT); request.setRepositories(repositories); request.setRoot(new org.eclipse.aether.graph.Dependency(pluginArtifact, null)); for (Dependency dependency : plugin.getDependencies()) { org.eclipse.aether.graph.Dependency pluginDep =
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 10K bytes - Viewed (0)