Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GetBool (0.1 sec)

  1. 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)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                    added("Method", "SourceKt.getBazar()"),
                    added("Method", "SourceKt.getBazarExt(int)"),
                    added("Method", "SourceKt.getBazool()"),
                    added("Method", "SourceKt.getBool()"),
                    added("Method", "SourceKt.invoke(java.lang.String,java.lang.String,kotlin.jvm.functions.Function1)"),
                    added("Method", "SourceKt.isBool()"),
                    added("Method", "SourceKt.isFool()"),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
Back to top