Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for FMap (0.02 sec)

  1. test/fixedbugs/issue52279.dir/lib.go

    package lib
    
    type FMap[K comparable, V comparable] map[K]V
    
    //go:noinline
    func (m FMap[K, V]) Flip() FMap[V, K] {
    	out := make(FMap[V, K])
    	return out
    }
    
    type MyType uint8
    
    const (
    	FIRST MyType = 0
    )
    
    var typeStrs = FMap[MyType, string]{
    	FIRST: "FIRST",
    }
    
    func (self MyType) String() string {
    	return typeStrs[self]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 19:15:31 UTC 2022
    - 321 bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/outbuf_windows.go

    		Exitf("resize output file failed: %v", err)
    	}
    
    	low, high := uint32(filesize), uint32(filesize>>32)
    	fmap, err := syscall.CreateFileMapping(syscall.Handle(out.f.Fd()), nil, syscall.PAGE_READWRITE, high, low, nil)
    	if err != nil {
    		return err
    	}
    	defer syscall.CloseHandle(fmap)
    
    	ptr, err := syscall.MapViewOfFile(fmap, syscall.FILE_MAP_READ|syscall.FILE_MAP_WRITE, 0, 0, uintptr(filesize))
    	if err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 01:59:25 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  3. src/testing/quick/quick_test.go

    	reportError("fIntAlias", CheckEqual(fIntAlias, fIntAlias, nil), t)
    	reportError("fInt32", CheckEqual(fInt32, fInt32, nil), t)
    	reportError("fInt32Alias", CheckEqual(fInt32Alias, fInt32Alias, nil), t)
    	reportError("fMap", CheckEqual(fMap, fMap, nil), t)
    	reportError("fMapAlias", CheckEqual(fMapAlias, fMapAlias, nil), t)
    	reportError("fPtr", CheckEqual(fPtr, fPtr, nil), t)
    	reportError("fPtrAlias", CheckEqual(fPtrAlias, fPtrAlias, nil), t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 12:54:00 UTC 2019
    - 9K bytes
    - Viewed (0)
Back to top