Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 166 for typefix (0.28 sec)

  1. src/encoding/gob/decoder.go

    	}
    	dec.r = r
    	dec.wireType = make(map[typeId]*wireType)
    	dec.decoderCache = make(map[reflect.Type]map[typeId]**decEngine)
    	dec.ignorerCache = make(map[typeId]**decEngine)
    	dec.countBuf = make([]byte, 9) // counts may be uint64s (unlikely!), require 9 bytes
    
    	return dec
    }
    
    // recvType loads the definition of a type.
    func (dec *Decoder) recvType(id typeId) {
    	// Have we already seen this type? That's an error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.h

    #include "mlir/IR/Types.h"  // from @llvm-project
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "mlir/Support/TypeID.h"  // from @llvm-project
    
    namespace mlir {
    namespace TF {
    
    // Returns whether type can be further refined.
    bool CanBeRefined(Type type);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. docs/bucket/replication/setup_ilm_expiry_replication.sh

    ## Add ILM rules
    ./mc ilm add sitea/bucket --transition-days 0 --transition-tier WARM-TIER --transition-days 0 --noncurrent-expire-days 2 --expire-days 3 --prefix "myprefix" --tags "tag1=val1&tag2=val2"
    ./mc ilm rule list sitea/bucket
    
    ## Check ilm expiry flag
    ./mc admin replicate info sitea --json
    flag1=$(./mc admin replicate info sitea --json | jq '.sites[0]."replicate-ilm-expiry"')
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/tac/examples/example_hardware.h

     public:
      static constexpr char kId[] = "ExampleHardware";
    
      mlir::RewritePatternSet GetTransformations(
          MLIRContext* context) const override;
    
      mlir::TypeID GetTypeId() const override {
        return mlir::TypeID::get<ExampleHardware>();
      }
    
      bool IsNotSupportedOp(mlir::Operation* op) const override { return false; }
    
      float AdvantageOverCPU() const override { return 5.0; }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 27 15:05:02 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/nnapi_hardware.h

     public:
      static constexpr char kId[] = "NNAPI";
    
      mlir::RewritePatternSet GetTransformations(
          MLIRContext* context) const override;
    
      mlir::TypeID GetTypeId() const override {
        return mlir::TypeID::get<NNAPIHardware>();
      }
    
      bool IsNotSupportedOp(mlir::Operation* op) const override { return false; }
    
      float AdvantageOverCPU() const override { return 5.0; }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 27 15:05:02 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  6. src/database/sql/fakedb_test.go

    	case "bool":
    		return reflect.TypeFor[bool]()
    	case "nullbool":
    		return reflect.TypeFor[NullBool]()
    	case "int16":
    		return reflect.TypeFor[int16]()
    	case "nullint16":
    		return reflect.TypeFor[NullInt16]()
    	case "int32":
    		return reflect.TypeFor[int32]()
    	case "nullint32":
    		return reflect.TypeFor[NullInt32]()
    	case "string":
    		return reflect.TypeFor[string]()
    	case "nullstring":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h

      // A hook may use the public addOperations() method to add additional
      // operations to the dialect. Hooks will only apply to subsequent
      // instantations of the Dialect/MLIRContext.
      static void RegisterAdditionalOperationHook(TypeID uniqueId,
                                                  AdditionalOpFunction fn);
    
      // Re-define publicly the protected addOperations() method from the Dialect
      // class, usually used in a Dialect constructor. This allows hook
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. src/runtime/race/testdata/regression_test.go

    }
    
    type Image struct {
    	min, max Rect
    }
    
    //go:noinline
    func NewImage() Image {
    	return Image{}
    }
    
    func AddrOfTemp() {
    	_ = NewImage().min
    }
    
    type TypeID int
    
    func (t *TypeID) encodeType(x int) (tt TypeID, err error) {
    	switch x {
    	case 0:
    		return t.encodeType(x * x)
    	}
    	return 0, nil
    }
    
    type stack []int
    
    func (s *stack) push(x int) {
    	*s = append(*s, x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 03 02:01:34 UTC 2015
    - 2.7K bytes
    - Viewed (0)
  9. src/html/template/content.go

    		return a
    	}
    	v := reflect.ValueOf(a)
    	for v.Kind() == reflect.Pointer && !v.IsNil() {
    		v = v.Elem()
    	}
    	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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:30:25 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/aether/TypeRegistryAdapter.java

        TypeRegistryAdapter(TypeRegistry typeRegistry) {
            this.typeRegistry = requireNonNull(typeRegistry, "typeRegistry");
        }
    
        @Override
        public ArtifactType get(String typeId) {
            Type type = typeRegistry.require(typeId);
            if (type instanceof ArtifactType) {
                return (ArtifactType) type;
            }
            if (type != null) {
                return new DefaultType(
                        type.id(),
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 17:18:13 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top