Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SetBool (0.17 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.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)
  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. 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).")
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jun 06 03:39:27 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  7. tensorflow/c/eager/abstract_op_attrs.h

          tensorflow::NameAttrList* name_and_attrs) const = 0;
    
      virtual bool GetInt(absl::string_view, int64_t* result) const = 0;
      virtual bool GetFloat(absl::string_view attr_name, float* result) const = 0;
      virtual bool GetBool(absl::string_view attr_name, bool* result) const = 0;
      virtual bool GetType(absl::string_view attr_name, DataType* result) const = 0;
      virtual absl::Status GetTypeList(
          absl::string_view attr_name,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. istioctl/cmd/root.go

    	}
    	troubleshootingCommands := []*cobra.Command{
    		version.NewVersionCommand(ctx),
    		proxystatus.StableXdsStatusCommand(ctx),
    	}
    	var debugCmdAttachmentPoint *cobra.Command
    	if viper.GetBool("PREFER-EXPERIMENTAL") {
    		legacyCmd := &cobra.Command{
    			Use:   "legacy",
    			Short: "Legacy command variants",
    		}
    		rootCmd.AddCommand(legacyCmd)
    		for _, c := range xdsBasedTroubleshooting {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Aug 05 02:08:47 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. api/go1.txt

    pkg reflect, method (Value) Pointer() uintptr
    pkg reflect, method (Value) Recv() (Value, bool)
    pkg reflect, method (Value) Send(Value)
    pkg reflect, method (Value) Set(Value)
    pkg reflect, method (Value) SetBool(bool)
    pkg reflect, method (Value) SetBytes([]uint8)
    pkg reflect, method (Value) SetComplex(complex128)
    pkg reflect, method (Value) SetFloat(float64)
    pkg reflect, method (Value) SetInt(int64)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top