Home
last modified time | relevance | path

Searched refs:CopyRangeMethod (Results 1 – 17 of 17) sorted by relevance

/dports/net/syncthing/syncthing-1.18.1/syncthing/lib/fs/
H A Dcopyrangemethod.pb.go24 type CopyRangeMethod int32 type
27 CopyRangeMethodStandard CopyRangeMethod = 0
28 CopyRangeMethodIoctl CopyRangeMethod = 1
29 CopyRangeMethodCopyFileRange CopyRangeMethod = 2
30 CopyRangeMethodSendFile CopyRangeMethod = 3
31 CopyRangeMethodDuplicateExtents CopyRangeMethod = 4
32 CopyRangeMethodAllWithFallback CopyRangeMethod = 5
53 func (CopyRangeMethod) EnumDescriptor() ([]byte, []int) {
H A Dcopyrangemethod.go9 func (o CopyRangeMethod) String() string {
28 func (o CopyRangeMethod) MarshalText() ([]byte, error) {
32 func (o *CopyRangeMethod) UnmarshalText(bs []byte) error {
52 func (o *CopyRangeMethod) ParseDefault(str string) error {
H A Dfilesystem_copy_range.go16 copyRangeMethods = make(map[CopyRangeMethod]copyRangeImplementation)
22 func registerCopyRangeImplementation(copyMethod CopyRangeMethod, impl copyRangeImplementation) { argument
39 func CopyRange(copyMethod CopyRangeMethod, src, dst File, srcOffset, dstOffset, size int64) error { argument
H A Dfilesystem_copy_range_test.go40 expectedErrors map[CopyRangeMethod]error
127 expectedErrors: map[CopyRangeMethod]error{
146 expectedErrors: map[CopyRangeMethod]error{
161 expectedErrors: map[CopyRangeMethod]error{
176 expectedErrors: map[CopyRangeMethod]error{
191 expectedErrors: map[CopyRangeMethod]error{
206 expectedErrors: map[CopyRangeMethod]error{
H A Dfilesystem_copy_range_allwithfallback.go15 …for _, method := range []CopyRangeMethod{CopyRangeMethodIoctl, CopyRangeMethodCopyFileRange, CopyR…
/dports/net/syncthing/syncthing-1.18.1/syncthing/lib/osutil/
H A Dosutil.go26 func RenameOrCopy(method fs.CopyRangeMethod, src, dst fs.Filesystem, from, to string) error { argument
76 func Copy(method fs.CopyRangeMethod, src, dst fs.Filesystem, from, to string) (err error) { argument
109 func copyFileContents(method fs.CopyRangeMethod, srcFs, dstFs fs.Filesystem, src, dst string) (err … argument
/dports/net/syncthing/syncthing-1.18.1/syncthing/lib/versioner/
H A Dtrashcan.go28 copyRangeMethod fs.CopyRangeMethod
39 copyRangeMethod: cfg.CopyRangeMethod,
H A Dsimple.go28 copyRangeMethod fs.CopyRangeMethod
45 copyRangeMethod: cfg.CopyRangeMethod,
H A Dstaggered.go34 copyRangeMethod fs.CopyRangeMethod
55 copyRangeMethod: cfg.CopyRangeMethod,
H A Dutil.go135 func archiveFile(method fs.CopyRangeMethod, srcFs, dstFs fs.Filesystem, filePath string, tagger fil… argument
190 func restoreFile(method fs.CopyRangeMethod, src, dst fs.Filesystem, filePath string, versionTime ti… argument
/dports/net/syncthing/syncthing-1.18.1/syncthing/proto/lib/fs/
H A Dcopyrangemethod.proto7 enum CopyRangeMethod { enum
/dports/net/syncthing/syncthing-1.18.1/syncthing/lib/config/
H A Dfolderconfiguration.pb.go100CopyRangeMethod fs.CopyRangeMethod `protobuf:"varint,32,opt,name=copy_range_metho… member
410 if m.CopyRangeMethod != 0 {
411 i = encodeVarintFolderconfiguration(dAtA, i, uint64(m.CopyRangeMethod))
811 if m.CopyRangeMethod != 0 {
812 n += 2 + sovFolderconfiguration(uint64(m.CopyRangeMethod))
1712 m.CopyRangeMethod = 0
1722 m.CopyRangeMethod |= fs.CopyRangeMethod(b&0x7F) << shift
/dports/net/syncthing/syncthing-1.18.1/syncthing/proto/lib/config/
H A Dfolderconfiguration.proto54 fs.CopyRangeMethod copy_range_method = 32 [(ext.default) = "standard"];
/dports/net/syncthing/syncthing-1.18.1/syncthing/lib/ur/
H A Dusage_report.go266 report.FolderUsesV3.CopyRangeMethod[cfg.CopyRangeMethod.String()]++
/dports/net/syncthing/syncthing-1.18.1/syncthing/lib/model/
H A Dfolder_sendrecv.go1008 err = osutil.Copy(f.CopyRangeMethod, f.mtimefs, f.mtimefs, source.Name, tempName)
1014 err = osutil.RenameOrCopy(f.CopyRangeMethod, f.mtimefs, f.mtimefs, source.Name, tempName)
1339 if f.CopyRangeMethod != fs.CopyRangeMethodStandard {
1343 … return fs.CopyRange(f.CopyRangeMethod, fd, dstFd.fd, srcOffset, block.Offset, int64(block.Size))
1599 …if err := osutil.RenameOrCopy(f.CopyRangeMethod, f.mtimefs, f.mtimefs, tempName, file.Name); err !…
H A Dfolder_sendrecv_test.go209 methods := []fs.CopyRangeMethod{fs.CopyRangeMethodStandard, fs.CopyRangeMethodAllWithFallback}
232 f.CopyRangeMethod = method
/dports/net/syncthing/syncthing-1.18.1/syncthing/lib/ur/contract/
H A Dcontract.go130 CopyRangeMethod map[string]int `json:"copyRangeMethod,omitempty" since:"3"`