Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 663 for isarchive (0.26 sec)

  1. src/internal/txtar/archive.go

    // ParseFile parses the named file as an archive.
    func ParseFile(file string) (*Archive, error) {
    	data, err := os.ReadFile(file)
    	if err != nil {
    		return nil, err
    	}
    	return Parse(data), nil
    }
    
    // Parse parses the serialized form of an Archive.
    // The returned Archive holds slices of data.
    func Parse(data []byte) *Archive {
    	a := new(Archive)
    	var name string
    	a.Comment, name, data = findFileMarker(data)
    	for name != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  2. src/cmd/internal/archive/archive.go

    		r.offset += n
    	}
    }
    
    // New writes to f to make a new archive.
    func New(f *os.File) (*Archive, error) {
    	_, err := f.Write(archiveHeader)
    	if err != nil {
    		return nil, err
    	}
    	return &Archive{f: f}, nil
    }
    
    // Parse parses an object file or archive from f.
    func Parse(f *os.File, verbose bool) (*Archive, error) {
    	var r objReader
    	r.init(f)
    	t, err := r.peek(8)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 15:39:57 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  3. tools/bug-report/pkg/archive/archive.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package archive
    
    import (
    	"archive/tar"
    	"compress/gzip"
    	"io"
    	"os"
    	"path/filepath"
    	"strings"
    	"sync"
    )
    
    const (
    	bugReportSubdir        = "bug-report"
    	proxyLogsPathSubdir    = "proxies"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 30 00:10:16 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/lib.go

    	}
    	return path
    }
    
    type machoUpdateFunc func(ctxt *Link, exef *os.File, exem *macho.File, outexe string) error
    
    // archive builds a .a archive from the hostobj object files.
    func (ctxt *Link) archive() {
    	if ctxt.BuildMode != BuildModeCArchive {
    		return
    	}
    
    	exitIfErrors()
    
    	if *flagExtar == "" {
    		*flagExtar = "ar"
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/files/archivesWithBasePlugin/groovy/build.gradle

    // tag::create-archive-with-base-plugin-example[]
    plugins {
        id 'base'
    }
    
    version = "1.0.0"
    
    tasks.register('packageDistribution', Zip) {
        from(layout.buildDirectory.dir("toArchive")) {
            exclude "**/*.pdf"
        }
    
        from(layout.buildDirectory.dir("toArchive")) {
            include "**/*.pdf"
            into "docs"
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 382 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/files/archivesWithBasePlugin/kotlin/build.gradle.kts

    // tag::create-archive-with-base-plugin-example[]
    plugins {
        base
    }
    
    version = "1.0.0"
    
    tasks.register<Zip>("packageDistribution") {
        from(layout.buildDirectory.dir("toArchive")) {
            exclude("**/*.pdf")
        }
    
        from(layout.buildDirectory.dir("toArchive")) {
            include("**/*.pdf")
            into("docs")
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 380 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/files/copy/kotlin/build.gradle.kts

        }
        into(layout.buildDirectory.dir("toArchive"))
    }
    // end::copy-directory-including-itself-example[]
    
    // tag::create-archive-example[]
    tasks.register<Zip>("packageDistribution") {
        archiveFileName = "my-distribution.zip"
        destinationDirectory = layout.buildDirectory.dir("dist")
    
        from(layout.buildDirectory.dir("toArchive"))
    }
    // end::create-archive-example[]
    
    // tag::rename-on-copy-example[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  8. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesArchivesIntegrationTest.groovy

        @Rule
        Sample sample = new Sample(testDirectoryProvider)
    
        @UsesSample("files/copy")
        def "can archive a directory with #dsl dsl"() {
            given:
            def dslDir = sample.dir.file(dsl)
            executer.inDirectory(dslDir)
            def archivesDir = dslDir.file("build/toArchive")
            archivesDir.createDir().file("my-report.pdf").touch()
            archivesDir.createDir().file("numbers.csv").touch()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  9. src/runtime/proc.go

    	// of collecting statistics in malloc and newproc
    	inittrace.active = false
    
    	close(main_init_done)
    
    	needUnlock = false
    	unlockOSThread()
    
    	if isarchive || islibrary {
    		// A program compiled with -buildmode=c-archive or c-shared
    		// has a main, but it is not executed.
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/files/copy/groovy/build.gradle

        }
        into layout.buildDirectory.dir("toArchive")
    }
    // end::copy-directory-including-itself-example[]
    
    // tag::create-archive-example[]
    tasks.register('packageDistribution', Zip) {
        archiveFileName = "my-distribution.zip"
        destinationDirectory = layout.buildDirectory.dir('dist')
    
        from layout.buildDirectory.dir("toArchive")
    }
    // end::create-archive-example[]
    
    // tag::rename-on-copy-example[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top