Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for DelegatingDataSource (0.23 sec)

  1. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/DelegatingDataSource.java

     */
    
    package org.gradle.caching.internal.tasks;
    
    import java.io.IOException;
    import java.io.InputStream;
    
    public abstract class DelegatingDataSource implements DataSource {
        private final DataSource delegate;
    
        public DelegatingDataSource(DataSource delegate) {
            this.delegate = delegate;
        }
    
        @Override
        public InputStream openInput() throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/GzipPacker.java

                }
            });
        }
    
        @Override
        public void unpack(DataSource input, DataTargetFactory targetFactory) throws IOException {
            delegate.unpack(new DelegatingDataSource(input) {
                @Override
                public InputStream openInput() throws IOException {
                    return new GZIPInputStream(super.openInput());
                }
            }, targetFactory);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/SnappyDainPacker.java

                }
            });
        }
    
        @Override
        public void unpack(DataSource input, DataTargetFactory targetFactory) throws IOException {
            delegate.unpack(new DelegatingDataSource(input) {
                @Override
                public InputStream openInput() throws IOException {
                    return new SnappyFramedInputStream(super.openInput(), true);
                }
            }, targetFactory);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/SnappyCommonsPacker.java

                }
            });
        }
    
        @Override
        public void unpack(DataSource input, DataTargetFactory targetFactory) throws IOException {
            delegate.unpack(new DelegatingDataSource(input) {
                @Override
                public InputStream openInput() throws IOException {
                    return new FramedSnappyCompressorInputStream(super.openInput());
                }
            }, targetFactory);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/SnappyPacker.java

                }
            });
        }
    
        @Override
        public void unpack(DataSource input, DataTargetFactory targetFactory) throws IOException {
            delegate.unpack(new DelegatingDataSource(input) {
                @Override
                public InputStream openInput() throws IOException {
                    return new SnappyFramedInputStream(super.openInput());
                }
            }, targetFactory);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top