Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 183 for stringVar (0.28 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/config/schema/collection/schema.go

    package collection
    
    import (
    	"fmt"
    
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/schema/resource"
    )
    
    // Schema for a collection.
    type Schema interface {
    	fmt.Stringer
    
    	// VariableName is a utility method used to help with codegen. It provides the name of a Schema instance variable.
    	VariableName() string
    
    	// Resource is the schema for resources contained in this collection.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/test/integration/apply_test.go

    	rest := apiExtensionClient.Discovery().RESTClient()
    	yamlBody := []byte(fmt.Sprintf(`
    apiVersion: %s
    kind: %s
    metadata:
      name: mytest
    values:
      numVal: 1
      boolVal: true
      stringVal: "1"`, apiVersion, kind))
    	result, err := rest.Patch(types.ApplyPatchType).
    		AbsPath("/apis", noxuDefinition.Spec.Group, noxuDefinition.Spec.Versions[0].Name, noxuDefinition.Spec.Names.Plural).
    		Name("mytest").
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 27 11:48:28 UTC 2022
    - 3.5K bytes
    - Viewed (0)
Back to top