Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 225 for zip (0.09 sec)

  1. src/main/java/org/codelibs/core/zip/ZipFileUtil.java

                throw new IORuntimeException(e);
            }
        }
    
        /**
         * 指定されたZipファイルエントリの内容を読み込むための入力ストリームを返します。
         *
         * @param file
         *            Zipファイル。{@literal null}であってはいけません
         * @param entry
         *            Zipファイルエントリ。{@literal null}であってはいけません
         * @return 指定されたZipファイルエントリの内容を読み込むための入力ストリーム
         */
        public static InputStream getInputStream(final ZipFile file, final ZipEntry entry) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. src/archive/zip/reader.go

    	ErrChecksum     = errors.New("zip: checksum error")
    	ErrInsecurePath = errors.New("zip: insecure file path")
    )
    
    // A Reader serves content from a ZIP archive.
    type Reader struct {
    	r             io.ReaderAt
    	File          []*File
    	Comment       string
    	decompressors map[uint16]Decompressor
    
    	// Some JAR files are zip files with a prefix that is a bash script.
    	// The baseOffset field is the start of the zip file proper.
    	baseOffset int64
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. src/archive/zip/example_test.go

    // license that can be found in the LICENSE file.
    
    package zip_test
    
    import (
    	"archive/zip"
    	"bytes"
    	"compress/flate"
    	"fmt"
    	"io"
    	"log"
    	"os"
    )
    
    func ExampleWriter() {
    	// Create a buffer to write our archive to.
    	buf := new(bytes.Buffer)
    
    	// Create a new zip archive.
    	w := zip.NewWriter(buf)
    
    	// Add some files to the archive.
    	var files = []struct {
    		Name, Body string
    	}{
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 27 00:22:03 UTC 2016
    - 2K bytes
    - Viewed (0)
  4. src/archive/zip/struct.go

    	unixExtraID        = 0x000d // UNIX
    	extTimeExtraID     = 0x5455 // Extended timestamp
    	infoZipUnixExtraID = 0x5855 // Info-ZIP Unix extension
    )
    
    // FileHeader describes a file within a ZIP file.
    // See the [ZIP specification] for details.
    //
    // [ZIP specification]: https://support.pkware.com/pkzip/appnote
    type FileHeader struct {
    	// Name is the name of the file.
    	//
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                zip(destFile, it)
            }
    
            // Zip all files in project build directory into a single zip file to avoid publishing too many tiny files
            reports.filter { it.isFile && it.toPath().startsWith(projectBuildDirPath) }
                .map { projectBuildDirPath.relativize(it.toPath()).toString() to it }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 28 16:19:47 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  6. docs/extensions/s3zip/examples/boto3/main.py

    event_system = s3.meta.events
    event_system.register_first('before-sign.s3.*', _add_header)
    
    # List zip contents
    response = s3.list_objects_v2(Bucket="your-bucket", Prefix="path/to/file.zip/")
    print(response)
    
    # Download data.csv stored in the zip file
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 04 21:15:45 UTC 2021
    - 771 bytes
    - Viewed (0)
  7. src/archive/zip/zip_test.go

    }
    
    func suffixIsZip64(t *testing.T, zip sizedReaderAt) bool {
    	d := make([]byte, 1024)
    	if _, err := zip.ReadAt(d, zip.Size()-int64(len(d))); err != nil {
    		t.Fatalf("ReadAt: %v", err)
    	}
    
    	sigOff := findSignatureInBlock(d)
    	if sigOff == -1 {
    		t.Errorf("failed to find signature in block")
    		return false
    	}
    
    	dirOff, err := findDirectory64End(zip, zip.Size()-int64(len(d))+int64(sigOff))
    	if err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. src/archive/zip/reader_test.go

    }
    
    // biggestZipBytes returns the bytes of a zip file biggest.zip
    // that contains a zip file bigger.zip that contains a zip file
    // big.zip that contains big.file, which contains 2³²-1 zeros.
    // The big.zip file is interesting because it has no zip64 header,
    // much like the innermost zip files in the well-known 42.zip.
    //
    // biggest.zip was generated by changing isZip64 to use > uint32max
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractorTest.java

                        factory.addExtractor("application/zip", zipExtractor);
    
                    })//
            ;
    
            zipExtractor = container.getComponent("zipExtractor");
        }
    
        public void test_getText() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/zip/test.zip");
            final String content = zipExtractor.getText(in, null).getContent();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. plugin.xml

    			<param name="plugin.version" value="2.17.1" />
    			<param name="plugin.zip.version" value="2.17.1" />
    		</antcall>
    
    		<antcall target="remove.jars" />
    	</target>
    
    	<target name="install.plugin">
    		<get dest="${target.dir}">
    			<url url="${repo.url}/${plugin.groupId}/${plugin.name.prefix}${plugin.name}/${plugin.version}/${plugin.name.prefix}${plugin.name}-${plugin.zip.version}.zip" />
    		</get>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 25 23:33:43 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top