Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 6,523 for boolp (0.24 sec)

  1. pkg/printers/internalversion/printers_test.go

    		for i := range rows {
    			rows[i].Object.Object = nil
    		}
    		if !reflect.DeepEqual(test.expected, rows) {
    			t.Errorf("%d mismatch: %s", i, cmp.Diff(test.expected, rows))
    		}
    	}
    }
    
    func boolP(b bool) *bool {
    	return &b
    }
    
    func TestPrintConfigMap(t *testing.T) {
    	tests := []struct {
    		configMap api.ConfigMap
    		expected  []metav1.TableRow
    	}{
    		// Basic config map with no data.
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  2. cmd/kubelet/app/server.go

    	kubeletFlags.AddFlags(cleanFlagSet)
    	options.AddKubeletConfigFlags(cleanFlagSet, kubeletConfig)
    	options.AddGlobalFlags(cleanFlagSet)
    	cleanFlagSet.BoolP("help", "h", false, fmt.Sprintf("help for %s", cmd.Name()))
    
    	// ugly, but necessary, because Cobra's default UsageFunc and HelpFunc pollute the flagset with global flags
    	const usageFmt = "Usage:\n  %s\n\nFlags:\n%s"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/bools/bools.go

    			op.checkSuspect(pass, exprs)
    		}
    	})
    	return nil, nil
    }
    
    type boolOp struct {
    	name  string
    	tok   token.Token // token corresponding to this operator
    	badEq token.Token // token corresponding to the equality test that should not be used with this operator
    }
    
    var (
    	or  = boolOp{"or", token.LOR, token.NEQ}
    	and = boolOp{"and", token.LAND, token.EQL}
    )
    
    // commutativeSets returns all side effect free sets of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. test/codegen/bool.go

    func convertNeq0B(x uint8, c bool) bool {
    	// amd64:"ANDL\t[$]1",-"SETNE"
    	// ppc64x:"RLDICL",-"CMPW",-"ISEL"
    	b := x&1 != 0
    	return c && b
    }
    
    func convertNeq0W(x uint16, c bool) bool {
    	// amd64:"ANDL\t[$]1",-"SETNE"
    	// ppc64x:"RLDICL",-"CMPW",-"ISEL"
    	b := x&1 != 0
    	return c && b
    }
    
    func convertNeq0L(x uint32, c bool) bool {
    	// amd64:"ANDL\t[$]1",-"SETB"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 22:12:32 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/nilcheck_test.go

    			Valu("bool1", OpIsNonNil, c.config.Types.Bool, 0, nil, "ptr1"),
    			If("bool1", "extra", "secondCheck")),
    		Bloc("secondCheck",
    			Valu("bool2", OpIsNonNil, c.config.Types.Bool, 0, nil, "ptr1"),
    			If("bool2", "extra", "thirdCheck")),
    		Bloc("thirdCheck",
    			Valu("bool3", OpIsNonNil, c.config.Types.Bool, 0, nil, "ptr1"),
    			If("bool3", "extra", "exit")),
    		Bloc("extra",
    			Goto("exit")),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/fuse_test.go

    			Goto("checkPtr")),
    		Bloc("checkPtr",
    			Valu("ptr1", OpLoad, ptrType, 0, nil, "sb", "mem"),
    			Valu("nilptr", OpConstNil, ptrType, 0, nil),
    			Valu("bool1", OpNeqPtr, c.config.Types.Bool, 0, nil, "ptr1", "nilptr"),
    			If("bool1", "then", "exit")),
    		Bloc("then",
    			Goto("exit")),
    		Bloc("exit",
    			Exit("mem")))
    
    	CheckFunc(fun.f)
    	fuseLate(fun.f)
    
    	for _, b := range fun.f.Blocks {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  7. src/flag/flag_test.go

    	}
    }
    
    func testParse(f *FlagSet, t *testing.T) {
    	if f.Parsed() {
    		t.Error("f.Parse() = true before Parse")
    	}
    	boolFlag := f.Bool("bool", false, "bool value")
    	bool2Flag := f.Bool("bool2", false, "bool2 value")
    	intFlag := f.Int("int", 0, "int value")
    	int64Flag := f.Int64("int64", 0, "int64 value")
    	uintFlag := f.Uint("uint", 0, "uint value")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  8. src/cmd/go/internal/test/flagdefs.go

    	"timeout":              true,
    	"trace":                true,
    	"v":                    true,
    }
    
    var passAnalyzersToVet = map[string]bool{
    	"appends":          true,
    	"asmdecl":          true,
    	"assign":           true,
    	"atomic":           true,
    	"bool":             true,
    	"bools":            true,
    	"buildtag":         true,
    	"buildtags":        true,
    	"cgocall":          true,
    	"composites":       true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/driver/cli.go

    				// Set all flags to initially false so we can
    				// identify conflicts.
    				bools := make(map[string]*bool)
    				for _, choice := range field.choices {
    					bools[choice] = flag.Bool(choice, false, configHelp[choice])
    				}
    				setter = func() {
    					var set []string
    					for k, v := range bools {
    						if *v {
    							set = append(set, k)
    						}
    					}
    					switch len(set) {
    					case 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelGroovyScalarConfigurationIntegrationTest.groovy

                            println "prop theBigDecimal: $p.theBigDecimal :"
                            println "prop theBigInteger: $p.theBigInteger :"
                            println "prop bool1        : $p.bool1 :"
                            println "prop bool2        : $p.bool2 :"
                            println "prop theBoolean   : $p.theBoolean :"
                            println "prop thebyte      : $p.thebyte :"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 19.7K bytes
    - Viewed (0)
Back to top