Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AddFlags (0.43 sec)

  1. cmd/kubelet/app/server.go

    			// run the kubelet
    			return Run(ctx, kubeletServer, kubeletDeps, utilfeature.DefaultFeatureGate)
    		},
    	}
    
    	// keep cleanFlagSet separate, so Cobra doesn't pollute it with the global flags
    	kubeletFlags.AddFlags(cleanFlagSet)
    	options.AddKubeletConfigFlags(cleanFlagSet, kubeletConfig)
    	options.AddGlobalFlags(cleanFlagSet)
    	cleanFlagSet.BoolP("help", "h", false, fmt.Sprintf("help for %s", cmd.Name()))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewrite.go

    	var fc flagConstant
    	if fcs.N {
    		fc |= 1
    	}
    	if fcs.Z {
    		fc |= 2
    	}
    	if fcs.C {
    		fc |= 4
    	}
    	if fcs.V {
    		fc |= 8
    	}
    	return fc
    }
    
    // Note: addFlags(x,y) != subFlags(x,-y) in some situations:
    //  - the results of the C flag are different
    //  - the results of the V flag when y==minint are different
    
    // addFlags64 returns the flags that would be set from computing x+y.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
Back to top