Home
last modified time | relevance | path

Searched refs:FileDownloadProgressUpdate (Results 1 – 16 of 16) sorted by relevance

/dports/net/syncthing/syncthing-1.18.1/syncthing/lib/model/
H A Ddevicedownloadstate_test.go37 []protocol.FileDownloadProgressUpdate{f1v1p1},
38 []protocol.FileDownloadProgressUpdate{f1v1p1},
42 []protocol.FileDownloadProgressUpdate{f1v1p1, f1v1p2},
43 []protocol.FileDownloadProgressUpdate{f1v1p1, f1v1p2},
44 []protocol.FileDownloadProgressUpdate{f1v2p1, f1v2p2},
52 []protocol.FileDownloadProgressUpdate{f1v1p1, f1v1p2},
53 []protocol.FileDownloadProgressUpdate{f1v2p1, f1v2p2},
58 []protocol.FileDownloadProgressUpdate{f1v2p1},
64 []protocol.FileDownloadProgressUpdate{f1v2p1},
70 []protocol.FileDownloadProgressUpdate{f1v2p2},
[all …]
H A Dsentdownloadstate.go33 …ntFolderDownloadState) update(pullers []*sharedPullerState) []protocol.FileDownloadProgressUpdate {
35 var updates []protocol.FileDownloadProgressUpdate
63 updates = append(updates, protocol.FileDownloadProgressUpdate{
83 updates = append(updates, protocol.FileDownloadProgressUpdate{
88 updates = append(updates, protocol.FileDownloadProgressUpdate{
112 updates = append(updates, protocol.FileDownloadProgressUpdate{
127 updates = append(updates, protocol.FileDownloadProgressUpdate{
141 func (s *sentFolderDownloadState) destroy() []protocol.FileDownloadProgressUpdate {
142 updates := make([]protocol.FileDownloadProgressUpdate, 0, len(s.files))
144 updates = append(updates, protocol.FileDownloadProgressUpdate{
[all …]
H A Ddevicedownloadstate.go53 func (p *deviceFolderDownloadState) Update(updates []protocol.FileDownloadProgressUpdate) {
117 func (t *deviceDownloadState) Update(folder string, updates []protocol.FileDownloadProgressUpdate) {
H A Dfakeconns_test.go22 updates []protocol.FileDownloadProgressUpdate
64 …DownloadProgress(_ context.Context, folder string, updates []protocol.FileDownloadProgressUpdate) {
H A Dindexhandler.go562 func makeForgetUpdate(files []protocol.FileInfo) []protocol.FileDownloadProgressUpdate {
563 updates := make([]protocol.FileDownloadProgressUpdate, 0, len(files))
568 updates = append(updates, protocol.FileDownloadProgressUpdate{
H A Dprogressemitter.go38 updates []protocol.FileDownloadProgressUpdate
H A Dmodel.go2278 …ess(device protocol.DeviceID, folder string, updates []protocol.FileDownloadProgressUpdate) error {
/dports/net/syncthing/syncthing-1.18.1/syncthing/lib/protocol/mocks/
H A Dconnection.go44 DownloadProgressStub func(context.Context, string, []protocol.FileDownloadProgressUpdate)
49 arg3 []protocol.FileDownloadProgressUpdate
361 …) DownloadProgress(arg1 context.Context, arg2 string, arg3 []protocol.FileDownloadProgressUpdate) {
362 var arg3Copy []protocol.FileDownloadProgressUpdate
364 arg3Copy = make([]protocol.FileDownloadProgressUpdate, len(arg3))
371 arg3 []protocol.FileDownloadProgressUpdate
387 … DownloadProgressCalls(stub func(context.Context, string, []protocol.FileDownloadProgressUpdate)) {
393 …wnloadProgressArgsForCall(i int) (context.Context, string, []protocol.FileDownloadProgressUpdate) {
/dports/net/syncthing/syncthing-1.18.1/syncthing/proto/lib/protocol/
H A Dbep.proto183 repeated FileDownloadProgressUpdate updates = 2;
186 message FileDownloadProgressUpdate { message
/dports/net/syncthing/syncthing-1.18.1/syncthing/lib/protocol/
H A Dcommon_test.go64 func (t *TestModel) DownloadProgress(DeviceID, string, []FileDownloadProgressUpdate) error {
H A Dbep.pb.go789 type FileDownloadProgressUpdate struct { struct
797 func (m *FileDownloadProgressUpdate) Reset() { *m = FileDownloadProgressUpdate{} } argument
799 func (*FileDownloadProgressUpdate) ProtoMessage() {} argument
800 func (*FileDownloadProgressUpdate) Descriptor() ([]byte, []int) { argument
803 func (m *FileDownloadProgressUpdate) XXX_Unmarshal(b []byte) error { argument
818 func (m *FileDownloadProgressUpdate) XXX_Merge(src proto.Message) { argument
821 func (m *FileDownloadProgressUpdate) XXX_Size() int { argument
824 func (m *FileDownloadProgressUpdate) XXX_DiscardUnknown() { argument
2447 func (m *FileDownloadProgressUpdate) ProtoSize() (n int) { argument
4911 m.Updates = append(m.Updates, FileDownloadProgressUpdate{})
[all …]
H A Dbenchmark_test.go194 …l) DownloadProgress(deviceID DeviceID, folder string, updates []FileDownloadProgressUpdate) error {
H A Dencryption.go125 …l) DownloadProgress(deviceID DeviceID, folder string, updates []FileDownloadProgressUpdate) error {
211 …ction) DownloadProgress(ctx context.Context, folder string, updates []FileDownloadProgressUpdate) {
H A Dprotocol_test.go392 f := func(m1 FileDownloadProgressUpdate) bool {
399 return testMarshal(t, "fdpu", &m1, &FileDownloadProgressUpdate{})
408 var fdpu FileDownloadProgressUpdate
H A Dprotocol.go134 DownloadProgress(deviceID DeviceID, folder string, updates []FileDownloadProgressUpdate) error argument
152 DownloadProgress(ctx context.Context, folder string, updates []FileDownloadProgressUpdate) argument
388 …ction) DownloadProgress(ctx context.Context, folder string, updates []FileDownloadProgressUpdate) {
/dports/net/syncthing/syncthing-1.18.1/syncthing/lib/model/mocks/
H A Dmodel.go203 …DownloadProgressStub func(protocol.DeviceID, string, []protocol.FileDownloadProgressUpdate)…
208 arg3 []protocol.FileDownloadProgressUpdate
1481 …adProgress(arg1 protocol.DeviceID, arg2 string, arg3 []protocol.FileDownloadProgressUpdate) error {
1482 var arg3Copy []protocol.FileDownloadProgressUpdate
1484 arg3Copy = make([]protocol.FileDownloadProgressUpdate, len(arg3))
1492 arg3 []protocol.FileDownloadProgressUpdate
1513 …dProgressCalls(stub func(protocol.DeviceID, string, []protocol.FileDownloadProgressUpdate) error) {
1519 …loadProgressArgsForCall(i int) (protocol.DeviceID, string, []protocol.FileDownloadProgressUpdate) {