Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for setBool (0.1 sec)

  1. 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)
    			}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  2. 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:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  3. 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: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 12:19:31 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. 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 = """
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  5. cni/pkg/cmd/root.go

    		ZtunnelUDSAddress: viper.GetString(constants.ZtunnelUDSAddress),
    
    		AmbientEnabled:           viper.GetBool(constants.AmbientEnabled),
    		AmbientDNSCapture:        viper.GetBool(constants.AmbientDNSCapture),
    		AmbientIPv6:              viper.GetBool(constants.AmbientIPv6),
    		AmbientTPROXYRedirection: viper.GetBool(constants.AmbientTPROXYRedirection),
    	}
    
    	if len(installCfg.K8sNodeName) == 0 {
    		var err error
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. 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)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

        }
    
        public MojoDescriptor(PluginDescriptor pd, org.apache.maven.api.plugin.descriptor.MojoDescriptor md) {
            this();
            this.setPluginDescriptor(pd);
            this.setGoal(md.getGoal());
            this.setExecuteGoal(md.getExecuteGoal());
            this.setExecuteLifecycle(md.getExecuteLifecycle());
            this.setExecutePhase(md.getExecutePhase());
            this.setDeprecated(md.getDeprecated());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

                throws PlexusConfigurationException {
            MojoDescriptor mojo = new MojoDescriptor();
            mojo.setPluginDescriptor(pluginDescriptor);
    
            mojo.setGoal(c.getChild("goal").getValue());
    
            mojo.setImplementation(c.getChild("implementation").getValue());
    
            PlexusConfiguration langConfig = c.getChild("language");
    
            if (langConfig != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java

            });
    
            list.setPageSize(size);
            list.setAllRecordCount((int) searchHits.getTotalHits().value);
            list.setCurrentPageNumber(cb.getFetchPageNumber());
    
            list.setTook(response.getTook().getMillis());
            list.setTotalShards(response.getTotalShards());
            list.setSuccessfulShards(response.getSuccessfulShards());
            list.setFailedShards(response.getFailedShards());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java

            });
    
            list.setPageSize(size);
            list.setAllRecordCount((int) searchHits.getTotalHits().value);
            list.setCurrentPageNumber(cb.getFetchPageNumber());
    
            list.setTook(response.getTook().getMillis());
            list.setTotalShards(response.getTotalShards());
            list.setSuccessfulShards(response.getSuccessfulShards());
            list.setFailedShards(response.getFailedShards());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
Back to top