Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for setBool2 (0.22 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelGroovyScalarConfigurationIntegrationTest.groovy

            }
    
            @Managed
            interface Props {
                Thing getTheThing()
                void setTheThing(Thing t)
    
                boolean isBool1()
                void setBool1(boolean b)
    
                boolean isBool2()
                void setBool2(boolean b)
    
                Boolean getTheBoolean()
                void setTheBoolean(Boolean b)
    
                byte getThebyte()
                void setThebyte(byte b)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  2. 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 Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  3. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.3K 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/api/apitesting/fuzzer/valuefuzz.go

    	default:
    		if !obj.CanSet() {
    			return
    		}
    		switch obj.Kind() {
    		case reflect.String:
    			obj.SetString(obj.String() + "x")
    		case reflect.Bool:
    			obj.SetBool(!obj.Bool())
    		case reflect.Float32, reflect.Float64:
    			obj.SetFloat(obj.Float()*2.0 + 1.0)
    		case reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Int:
    			obj.SetInt(obj.Int() + 1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  6. src/internal/buildcfg/exp.go

    		names := make(map[string]func(bool))
    		rv := reflect.ValueOf(&flags.Flags).Elem()
    		rt := rv.Type()
    		for i := 0; i < rt.NumField(); i++ {
    			field := rv.Field(i)
    			names[strings.ToLower(rt.Field(i).Name)] = field.SetBool
    		}
    
    		// "regabi" is an alias for all working regabi
    		// subexperiments, and not an experiment itself. Doing
    		// this as an alias make both "regabi" and "noregabi"
    		// do the right thing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:38:52 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. 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: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/driver/cli.go

    	if normalize && len(source.Base) == 0 {
    		return nil, nil, errors.New("must have base profile to normalize by")
    	}
    	source.Normalize = normalize
    
    	if bu, ok := o.Obj.(*binutils.Binutils); ok {
    		bu.SetTools(*flagTools)
    	}
    
    	setCurrentConfig(cfg)
    	return source, cmd, nil
    }
    
    // addBaseProfiles adds the list of base profiles or diff base profiles to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    	bu.update(func(r *binrep) { r.fast = fast })
    }
    
    // SetTools processes the contents of the tools option. It
    // expects a set of entries separated by commas; each entry is a pair
    // of the form t:path, where cmd will be used to look only for the
    // tool named t. If t is not specified, the path is searched for all
    // tools.
    func (bu *Binutils) SetTools(config string) {
    	bu.update(func(r *binrep) { initTools(r, config) })
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. src/encoding/xml/read.go

    		if err != nil {
    			return err
    		}
    		dst.SetFloat(ftmp)
    	case reflect.Bool:
    		if len(src) == 0 {
    			dst.SetBool(false)
    			return nil
    		}
    		value, err := strconv.ParseBool(strings.TrimSpace(string(src)))
    		if err != nil {
    			return err
    		}
    		dst.SetBool(value)
    	case reflect.String:
    		dst.SetString(string(src))
    	case reflect.Slice:
    		if len(src) == 0 {
    			// non-nil to flag presence
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 22.4K bytes
    - Viewed (0)
Back to top