Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 413 for isarchive (0.24 sec)

  1. src/cmd/go/testdata/script/build_output.txt

    go build -o myatomic.a sync/atomic
    exists myatomic.a
    exec $GOBIN/isarchive myatomic.a
    ! exists atomic
    ! exists atomic.a
    ! exists atomic.exe
    
    ! go build -o whatever cmd/gofmt sync/atomic
    stderr 'multiple packages'
    
    -- go.mod --
    module m
    
    go 1.16
    -- x.go --
    package main
    
    func main() {}
    -- p.go --
    package p
    -- isarchive/isarchive.go --
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"io"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  2. src/runtime/cgo/gcc_aix_ppc64.c

     * adding special code in cmd/link.
     * However, it will be called for every Go programs which has cgo.
     * Inside _rt0_ppc64_aix_lib(), runtime.isarchive is checked in order
     * to know if this program is a c-archive or a simple cgo program.
     * If it's not set, _rt0_ppc64_ax_lib() returns directly.
     */
    static void libinit() {
    	_rt0_ppc64_aix_lib();
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. src/runtime/fds_unix.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    package runtime
    
    func checkfds() {
    	if islibrary || isarchive {
    		// If the program is actually a library, presumably being consumed by
    		// another program, we don't want to mess around with the file
    		// descriptors.
    		return
    	}
    
    	const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 22:20:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/cmd/distpack/archive.go

    	"path"
    	"path/filepath"
    	"sort"
    	"strings"
    	"time"
    )
    
    // An Archive describes an archive to write: a collection of files.
    // Directories are implied by the files and not explicitly listed.
    type Archive struct {
    	Files []File
    }
    
    // A File describes a single file to write to an archive.
    type File struct {
    	Name string    // name in archive
    	Time time.Time // modification time
    	Mode fs.FileMode
    	Size int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 17:37:52 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top