Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 400 for stringVar (0.18 sec)

  1. src/cmd/internal/goobj/objfile.go

    type Writer struct {
    	wr        *bio.Writer
    	stringMap map[string]uint32
    	off       uint32 // running offset
    
    	b [8]byte // scratch space for writing bytes
    }
    
    func NewWriter(wr *bio.Writer) *Writer {
    	return &Writer{wr: wr, stringMap: make(map[string]uint32)}
    }
    
    func (w *Writer) AddString(s string) {
    	if _, ok := w.stringMap[s]; ok {
    		return
    	}
    	w.stringMap[s] = w.off
    	w.RawString(s)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.h

    #include "llvm/ADT/StringMap.h"
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/PatternMatch.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h"
    
    namespace mlir::quant {
    
    LogicalResult FillAttributesForUniformQuantizedDotOp(
        PatternRewriter& rewriter, Operation* op,
        llvm::StringMap<Attribute>& identifier_to_attr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. test/asmhdr.dir/main.go

    func main() {
    	if smallInt != smallIntAsm {
    		println("smallInt", smallInt, "!=", smallIntAsm)
    	}
    	if bigInt != bigIntAsm {
    		println("bigInt", uint64(bigInt), "!=", bigIntAsm)
    	}
    	if stringVal != string(stringAsm[:]) {
    		println("stringVal", stringVal, "!=", string(stringAsm[:]))
    	}
    	if longStringVal != string(longStringAsm[:]) {
    		println("longStringVal", longStringVal, "!=", string(longStringAsm[:]))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 10 21:27:19 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/trace_util.go

    	return []attribute.KeyValue{
    		attribute.Stringer("accept", &lazyAccept{req: req}),
    		attribute.Stringer("audit-id", &lazyAuditID{req: req}),
    		attribute.Stringer("client", &lazyClientIP{req: req}),
    		attribute.Stringer("api-group", &lazyAPIGroup{req: req}),
    		attribute.Stringer("api-version", &lazyAPIVersion{req: req}),
    		attribute.Stringer("name", &lazyName{req: req}),
    		attribute.Stringer("subresource", &lazySubresource{req: req}),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 03 15:25:35 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tpu_update_embedding_enqueue_op_inputs.cc

            "TPUEmbedding layers");
    
      op->removeAttr(kTPUEmbeddingAttr);
      return success();
    }
    
    LogicalResult FindTPUEmbeddingOps(
        func::FuncOp func_op, llvm::StringMap<Operation*>* enqueue_op_map,
        llvm::StringMap<Operation*>* recv_activation_op_map,
        llvm::StringMap<Operation*>* send_gradient_op_map) {
      auto walk_result = func_op.walk([&](Operation* op) {
        if (llvm::isa<TF::RecvTPUEmbeddingActivationsOp>(op))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  6. test/fixedbugs/issue65808.go

    // license that can be found in the LICENSE file.package main
    
    package main
    
    type Stringer interface {
    	String() string
    }
    
    type (
    	stringer  struct{}
    	stringers [2]stringer
    	foo       struct {
    		stringers
    	}
    )
    
    func (stringer) String() string  { return "" }
    func toString(s Stringer) string { return s.String() }
    
    func (v stringers) toStrings() []string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 02 14:01:52 UTC 2024
    - 562 bytes
    - Viewed (0)
  7. test/abi/double_nested_struct.go

    // on stdout, and causes the expected output to not match.
    
    package main
    
    import (
    	"fmt"
    )
    
    var sink *string
    
    type stringPair struct {
    	a, b string
    }
    
    type stringPairPair struct {
    	x, y stringPair
    }
    
    // The goal of this test is to be sure that the call arg/result expander works correctly
    // for a corner case of passing a 2-nested struct that fits in registers to/from calls.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. test/abi/double_nested_addressed_struct.go

    // on stdout, and causes the expected output to not match.
    
    package main
    
    import (
    	"fmt"
    )
    
    var sink *string
    
    type stringPair struct {
    	a, b string
    }
    
    type stringPairPair struct {
    	x, y stringPair
    }
    
    // The goal of this test is to be sure that the call arg/result expander works correctly
    // for a corner case of passing a 2-nested struct that fits in registers to/from calls.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. src/go/constant/value.go

    	case unknownVal:
    		return false
    	default:
    		panic(fmt.Sprintf("%v not a Bool", x))
    	}
    }
    
    // StringVal returns the Go string value of x, which must be a [String] or an [Unknown].
    // If x is [Unknown], the result is "".
    func StringVal(x Value) string {
    	switch x := x.(type) {
    	case *stringVal:
    		return x.string()
    	case unknownVal:
    		return ""
    	default:
    		panic(fmt.Sprintf("%v not a String", x))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/op_stat_pass.cc

      void CountOp(DenseMap<StringRef, llvm::StringMap<int64_t>> &op_count_map,
                   StringRef op_name, StringRef dtype);
    
     private:
      llvm::StringMap<int64_t> op_with_dialect_count_;
      DenseMap<StringRef, llvm::StringMap<int64_t>> op_dtype_count_;
      llvm::StringMap<int64_t> dialect_count_;
      llvm::StringMap<StringRef> dialect_name_of_;
      llvm::StringMap<StringRef> op_name_of_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top