Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 155 for typefix (0.16 sec)

  1. cmd/untar.go

    		switch path.Clean(name) {
    		case ".", slashSeparator:
    			continue
    		}
    
    		switch header.Typeflag {
    		case tar.TypeDir: // = directory
    			if o.ignoreDirs {
    				continue
    			}
    			name = trimLeadingSlash(pathJoin(name, slashSeparator))
    		case tar.TypeReg, tar.TypeChar, tar.TypeBlock, tar.TypeFifo, tar.TypeGNUSparse: // = regular
    			name = trimLeadingSlash(path.Clean(name))
    		default:
    			// ignore symlink'ed
    			continue
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. src/reflect/type_test.go

    	)
    
    	testcases := []struct {
    		wantFrom any
    		got      reflect.Type
    	}{
    		{new(int), reflect.TypeFor[int]()},
    		{new(int64), reflect.TypeFor[int64]()},
    		{new(string), reflect.TypeFor[string]()},
    		{new(mystring), reflect.TypeFor[mystring]()},
    		{new(any), reflect.TypeFor[any]()},
    		{new(myiface), reflect.TypeFor[myiface]()},
    	}
    	for _, tc := range testcases {
    		want := reflect.ValueOf(tc.wantFrom).Elem().Type()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. src/cmd/vet/testdata/stdversion/stdversion.go

    package stdversion
    
    import "reflect"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 142 bytes
    - Viewed (0)
  4. src/encoding/gob/debug.go

    }
    
    // int returns the signed int at the input point, as an int (not int64).
    func (deb *debugger) int() int {
    	return int(deb.int64())
    }
    
    // typeId returns the type id at the input point.
    func (deb *debugger) typeId() typeId {
    	return typeId(deb.int64())
    }
    
    // string returns the string at the input point.
    func (deb *debugger) string() string {
    	x := int(deb.uint64())
    	b := make([]byte, x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 09:34:41 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config_test.cc

      EXPECT_TRUE(IsTypeLegalizedWithMlir(TypeID::get<TF::ModOp>()));
      EXPECT_FALSE(HasTf2XlaFallback(TypeID::get<TF::ModOp>()));
      EXPECT_FALSE(IsOpAllowedTf2xlaFallback(TypeID::get<TF::ModOp>()));
      EXPECT_FALSE(IsOpAllowedTf2xlaPreferred(TypeID::get<TF::ModOp>()));
    }
    
    TEST_F(LegalizationOpConfigTest, ExpectsTrueForTF2XLATypeID) {
      EXPECT_TRUE(HasTf2XlaFallback(TypeID::get<TF::AllOp>()));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 30 03:31:01 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. src/encoding/gob/decode.go

    // emptyStruct is the type we compile into when ignoring a struct value.
    type emptyStruct struct{}
    
    var emptyStructType = reflect.TypeFor[emptyStruct]()
    
    // getIgnoreEnginePtr returns the engine for the specified type when the value is to be discarded.
    func (dec *Decoder) getIgnoreEnginePtr(wireId typeId) (enginePtr **decEngine, err error) {
    	var ok bool
    	if enginePtr, ok = dec.ignorerCache[wireId]; !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:10:23 UTC 2023
    - 40.1K bytes
    - Viewed (0)
  7. src/archive/tar/writer.go

    		return err
    	}
    	tw.hdr = *hdr // Shallow copy of Header
    
    	// Avoid usage of the legacy TypeRegA flag, and automatically promote
    	// it to use TypeReg or TypeDir.
    	if tw.hdr.Typeflag == TypeRegA {
    		if strings.HasSuffix(tw.hdr.Name, "/") {
    			tw.hdr.Typeflag = TypeDir
    		} else {
    			tw.hdr.Typeflag = TypeReg
    		}
    	}
    
    	// Round ModTime and ignore AccessTime and ChangeTime unless
    	// the format is explicitly chosen.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tpu_embedding_ops_registry.h

      template <typename OpType>
      void Add() {
        ops_type_ids_.insert(TypeID::get<OpType>());
      }
    
      // Returns the type id of the ops in the TPUEmbeddingOpRegistry.
      const llvm::SmallDenseSet<mlir::TypeID>& GetOpsTypeIds();
    
      // Returns the global registry.
      static TPUEmbeddingOpsRegistry& Global();
    
     private:
      llvm::SmallDenseSet<mlir::TypeID> ops_type_ids_{};
    };
    }  // namespace TF
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 14 05:42:28 UTC 2022
    - 2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top