Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GetBool (0.14 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. 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)
  3. 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)
  4. 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)
  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