~ubuntu-branches/ubuntu/vivid/golang/vivid

« back to all changes in this revision

Viewing changes to src/pkg/runtime/export_test.go

  • Committer: Package Import Robot
  • Author(s): Serge Hallyn
  • Date: 2014-11-18 15:12:26 UTC
  • mfrom: (14.2.12 vivid-proposed)
  • Revision ID: package-import@ubuntu.com-20141118151226-zug7vn93mn3dtiz3
Tags: 2:1.3.2-1ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - 016-armhf-elf-header.patch: Use correct ELF header for armhf binaries.
  - Support co-installability with gccgo-go tool:
    - d/rules,golang-go.install: Rename bin/go -> bin/golang-go
    - d/golang-go.{postinst,prerm}: Install/remove /usr/bin/go using
      alternatives.
  - d/copyright: Amendments for full compiliance with copyright format.
  - d/control: Demote golang-go.tools to Suggests to support Ubuntu MIR.
  - dropped patches (now upstream):
    - d/p/issue27650045_40001_50001.diff
    - d/p/issue28050043_60001_70001.diff
    - d/p/issue54790044_100001_110001.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
        Pushcnt uintptr
32
32
}
33
33
 
34
 
func lfstackpush(head *uint64, node *LFNode)
35
 
func lfstackpop2(head *uint64) *LFNode
 
34
func lfstackpush_go(head *uint64, node *LFNode)
 
35
func lfstackpop_go(head *uint64) *LFNode
36
36
 
37
 
var LFStackPush = lfstackpush
38
 
var LFStackPop = lfstackpop2
 
37
var LFStackPush = lfstackpush_go
 
38
var LFStackPop = lfstackpop_go
39
39
 
40
40
type ParFor struct {
41
41
        body    *byte
48
48
        wait    bool
49
49
}
50
50
 
51
 
func parforalloc2(nthrmax uint32) *ParFor
52
 
func parforsetup2(desc *ParFor, nthr, n uint32, ctx *byte, wait bool, body func(*ParFor, uint32))
53
 
func parfordo(desc *ParFor)
54
 
func parforiters(desc *ParFor, tid uintptr) (uintptr, uintptr)
 
51
func newParFor(nthrmax uint32) *ParFor
 
52
func parForSetup(desc *ParFor, nthr, n uint32, ctx *byte, wait bool, body func(*ParFor, uint32))
 
53
func parForDo(desc *ParFor)
 
54
func parForIters(desc *ParFor, tid uintptr) (uintptr, uintptr)
55
55
 
56
 
var NewParFor = parforalloc2
57
 
var ParForSetup = parforsetup2
58
 
var ParForDo = parfordo
 
56
var NewParFor = newParFor
 
57
var ParForSetup = parForSetup
 
58
var ParForDo = parForDo
59
59
 
60
60
func ParForIters(desc *ParFor, tid uint32) (uint32, uint32) {
61
 
        begin, end := parforiters(desc, uintptr(tid))
 
61
        begin, end := parForIters(desc, uintptr(tid))
62
62
        return uint32(begin), uint32(end)
63
63
}
64
64
 
80
80
var Int32Hash = int32Hash
81
81
var Int64Hash = int64Hash
82
82
 
83
 
func GogoBytes() int32
84
 
 
85
83
var hashLoad float64 // declared in hashmap.c
86
84
var HashLoad = &hashLoad
 
85
 
 
86
func memclrBytes(b []byte)
 
87
 
 
88
var MemclrBytes = memclrBytes
 
89
 
 
90
func gogoBytes() int32
 
91
 
 
92
var GogoBytes = gogoBytes