Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 239 for stringVar (3.72 sec)

  1. cmd/kubeadm/app/util/output/output.go

    func (pf *PrintFlags) AddFlags(cmd *cobra.Command) {
    	pf.JSONYamlPrintFlags.AddFlags(cmd)
    	pf.KubeTemplatePrintFlags.AddFlags(cmd)
    	cmd.Flags().StringVarP(pf.OutputFormat, "output", "o", *pf.OutputFormat, fmt.Sprintf("Output format. One of: %s.", strings.Join(pf.AllowedFormats(), "|")))
    	cmd.Flags().StringVarP(pf.OutputFormat, "experimental-output", "", *pf.OutputFormat, fmt.Sprintf("Output format. One of: %s.", strings.Join(pf.AllowedFormats(), "|")))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 08:22:45 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/constant_op_device_assignment.cc

        if (StringAttr device_attr = op->getAttrOfType<StringAttr>(kDeviceAttr)) {
          return WalkResult::advance();
        }
        OpBuilder builder(op);
        llvm::StringMap<mlir::Operation *> cloned_op_by_device;
        bool all_uses_replaced = true;
    
        for (mlir::OpOperand &use :
             llvm::make_early_inc_range(op.getResult().getUses())) {
          mlir::Operation *user_op = use.getOwner();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle-audit.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import "github.com/minio/minio/internal/bucket/lifecycle"
    
    //go:generate stringer -type lcEventSrc -trimprefix lcEventSrc_ $GOFILE
    type lcEventSrc uint8
    
    //revive:disable:var-naming Underscores is used here to indicate where common prefix ends and the enumeration name begins
    const (
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 01 15:56:24 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. plugin/pkg/auth/authorizer/rbac/rbac.go

    	// and each error encountered resolving those rules. Rule may be nil if err is non-nil.
    	// If visitor() returns false, visiting is short-circuited.
    	VisitRulesFor(user user.Info, namespace string, visitor func(source fmt.Stringer, rule *rbacv1.PolicyRule, err error) bool)
    }
    
    type RBACAuthorizer struct {
    	authorizationRuleResolver RequestToRuleMapper
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 24 10:13:50 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  5. src/html/template/css.go

    // decodeCSS decodes CSS3 escapes given a sequence of stringchars.
    // If there is no change, it returns the input, otherwise it returns a slice
    // backed by a new array.
    // https://www.w3.org/TR/css3-syntax/#SUBTOK-stringchar defines stringchar.
    func decodeCSS(s []byte) []byte {
    	i := bytes.IndexByte(s, '\\')
    	if i == -1 {
    		return s
    	}
    	// The UTF-8 sequence for a codepoint is never longer than 1 + the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 19:38:18 UTC 2023
    - 7K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/riscv/anames.go

    // Code generated by stringer -i cpu.go -o anames.go -p riscv; DO NOT EDIT.
    
    package riscv
    
    import "cmd/internal/obj"
    
    var Anames = []string{
    	obj.A_ARCHSPECIFIC: "ADDI",
    	"SLTI",
    	"SLTIU",
    	"ANDI",
    	"ORI",
    	"XORI",
    	"SLLI",
    	"SRLI",
    	"SRAI",
    	"LUI",
    	"AUIPC",
    	"ADD",
    	"SLT",
    	"SLTU",
    	"AND",
    	"OR",
    	"XOR",
    	"SLL",
    	"SRL",
    	"SUB",
    	"SRA",
    	"JAL",
    	"JALR",
    	"BEQ",
    	"BNE",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:19:33 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. src/html/template/content.go

    	}
    	return v.Interface()
    }
    
    var (
    	errorType       = reflect.TypeFor[error]()
    	fmtStringerType = reflect.TypeFor[fmt.Stringer]()
    )
    
    // indirectToStringerOrError returns the value, after dereferencing as many times
    // as necessary to reach the base type (or nil) or an implementation of fmt.Stringer
    // or error.
    func indirectToStringerOrError(a any) any {
    	if a == nil {
    		return nil
    	}
    	v := reflect.ValueOf(a)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:30:25 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. src/cmd/internal/objabi/symkind.go

    type SymKind uint8
    
    // Defined SymKind values.
    // These are used to index into cmd/link/internal/sym/AbiSymKindToSymKind
    //
    // TODO(rsc): Give idiomatic Go names.
    //
    //go:generate stringer -type=SymKind
    const (
    	// An otherwise invalid zero value for the type
    	Sxxx SymKind = iota
    	// Executable instructions
    	STEXT
    	// Read only static data
    	SRODATA
    	// Static data that does not contain any pointers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 19:44:37 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/dec.rules

          mem)
        )
    (Store {t} dst (ComplexMake real imag) mem) && t.Size() == 16 =>
      (Store {typ.Float64}
        (OffPtr <typ.Float64Ptr> [8] dst)
        imag
        (Store {typ.Float64} dst real mem))
    
    // string ops
    (StringPtr (StringMake ptr _)) => ptr
    (StringLen (StringMake _ len)) => len
    
    (Load <t> ptr mem) && t.IsString() =>
      (StringMake
        (Load <typ.BytePtr> ptr mem)
        (Load <typ.Int>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/timeformat/timeformat.go

    	}
    
    	t, ok := tv.Type.(*types.Basic) // sic, no unalias
    	if !ok || t.Info()&types.IsString == 0 {
    		return -1
    	}
    
    	if tv.Value == nil {
    		return -1
    	}
    
    	return strings.Index(constant.StringVal(tv.Value), badFormat)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top