Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 90 for ft (0.94 sec)

  1. src/cmd/link/internal/ld/testdata/deadcode/structof_funcof.go

    		[]reflect.Type{reflect.TypeOf(int(0))},
    		false,
    	)
    	println(t.Name())
    }
    
    func main() {
    	useStructOf()
    	useFuncOf()
    
    	var t T
    	meth, _ := reflect.TypeOf(t).MethodByName("F")
    	ft := meth.Type
    	at := ft.In(1)
    	v := reflect.New(at).Elem()
    	methV := v.MethodByName("M")
    	methV.Call([]reflect.Value{v})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:07:26 UTC 2023
    - 994 bytes
    - Viewed (0)
  2. src/crypto/cipher/fuzz_test.go

    		commonKey192,
    	},
    	{
    		"CBC-AES256",
    		commonKey256,
    	},
    }
    
    var timeout *time.Timer
    
    const datalen = 1024
    
    func TestFuzz(t *testing.T) {
    
    	for _, ft := range cbcAESFuzzTests {
    		c, _ := aes.NewCipher(ft.key)
    
    		cbcAsm := cipher.NewCBCEncrypter(c, commonIV)
    		cbcGeneric := cipher.NewCBCGenericEncrypter(c, commonIV)
    
    		if testing.Short() {
    			timeout = time.NewTimer(10 * time.Millisecond)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 03 13:39:12 UTC 2022
    - 2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/python/mlir_wrapper/types.cc

      // Type
      py::class_<mlir::Type> Type(m, "Type");
    
      // Type Sub-classes
      py::class_<mlir::FunctionType, mlir::Type>(m, "FunctionType")
          .def("getResults",
               [](mlir::FunctionType& ft) { return ft.getResults().vec(); });
    
      py::class_<mlir::FloatType, mlir::Type>(m, "FloatType")
          .def("getBF16", &mlir::FloatType::getBF16)
          .def("getF16", &mlir::FloatType::getF16)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 12 08:42:26 UTC 2021
    - 2K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultCompositeFileTreeTest.groovy

            new DefaultCompositeFileTree(TestFiles.taskDependencyFactory(), TestFiles.patternSetFactory, fileTrees)
        }
    
        def "can be empty"() {
            when:
            def ft = newCompositeFileTree([])
    
            then:
            ft.files.isEmpty()
        }
    
        def "contains all files"() {
            given:
            def a1 = file("a/1.txt") << "a/1"
            def b1 = file("b/1.txt") << "b/1"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ir/const.go

    			return math.IsInf(float64(f), 0)
    		case 8:
    			f, _ := constant.Float64Val(v)
    			return math.IsInf(f, 0)
    		}
    	case t.IsComplex():
    		ft := types.FloatForComplex(t)
    		return ConstOverflow(constant.Real(v), ft) || ConstOverflow(constant.Imag(v), ft)
    	}
    	base.Fatalf("ConstOverflow: %v, %v", v, t)
    	panic("unreachable")
    }
    
    // IsConstNode reports whether n is a Go language constant (as opposed to a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 18:53:26 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    	}
    }
    
    func (ft *FixedType) Traverse(fn func(AST) bool) {
    	if fn(ft) {
    		ft.Base.Traverse(fn)
    	}
    }
    
    func (ft *FixedType) Copy(fn func(AST) AST, skip func(AST) bool) AST {
    	if skip(ft) {
    		return nil
    	}
    	base := ft.Base.Copy(fn, skip)
    	if base == nil {
    		return fn(ft)
    	}
    	ft = &FixedType{Base: base, Accum: ft.Accum, Sat: ft.Sat}
    	if r := fn(ft); r != nil {
    		return r
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  7. src/os/stat_windows.go

    	return fi, err
    }
    
    func statHandle(name string, h syscall.Handle) (FileInfo, error) {
    	ft, err := syscall.GetFileType(h)
    	if err != nil {
    		return nil, &PathError{Op: "GetFileType", Path: name, Err: err}
    	}
    	switch ft {
    	case syscall.FILE_TYPE_PIPE, syscall.FILE_TYPE_CHAR:
    		return &fileStat{name: filepathlite.Base(name), filetype: ft}, nil
    	}
    	fs, err := newFileStatFromGetFileInformationByHandle(name, h)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. src/debug/gosym/pclntab.go

    }
    
    // findFunc returns the funcData corresponding to the given program counter.
    func (t *LineTable) findFunc(pc uint64) funcData {
    	ft := t.funcTab()
    	if pc < ft.pc(0) || pc >= ft.pc(ft.Count()) {
    		return funcData{}
    	}
    	idx := sort.Search(int(t.nfunctab), func(i int) bool {
    		return ft.pc(i) > pc
    	})
    	idx--
    	return t.funcData(uint32(idx))
    }
    
    // readvarint reads, removes, and returns a varint from *pp.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:43:24 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  9. src/syscall/types_windows.go

    }
    
    type Filetime struct {
    	LowDateTime  uint32
    	HighDateTime uint32
    }
    
    // Nanoseconds returns Filetime ft in nanoseconds
    // since Epoch (00:00:00 UTC, January 1, 1970).
    func (ft *Filetime) Nanoseconds() int64 {
    	// 100-nanosecond intervals since January 1, 1601
    	nsec := int64(ft.HighDateTime)<<32 + int64(ft.LowDateTime)
    	// change starting time to the Epoch (00:00:00 UTC, January 1, 1970)
    	nsec -= 116444736000000000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types/type.go

    	Argwid int64
    }
    
    func (ft *Func) recvs() []*Field         { return ft.allParams[:ft.startParams] }
    func (ft *Func) params() []*Field        { return ft.allParams[ft.startParams:ft.startResults] }
    func (ft *Func) results() []*Field       { return ft.allParams[ft.startResults:] }
    func (ft *Func) recvParams() []*Field    { return ft.allParams[:ft.startResults] }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
Back to top