Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 56 for rootfile (0.25 sec)

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

    go 1.22
    
    use ./mod
    -- mod/go.mod --
    module example.com/mod
    -- mod/gen.go --
    //go:generate go run gen.go got.txt
    
    package main
    
    import "os"
    
    func main() {
        outfile := os.Args[1]
        os.WriteFile(outfile, []byte("Hello World!\n"), 0644)
    }
    -- want.txt --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 437 bytes
    - Viewed (0)
  2. src/cmd/go/internal/bug/bug.go

    	srcfile := filepath.Join(tempdir, "go-bug.c")
    	outfile := filepath.Join(tempdir, "go-bug")
    	err := os.WriteFile(srcfile, src, 0644)
    	if err != nil {
    		return
    	}
    	defer os.Remove(srcfile)
    	cmd := exec.Command("gcc", "-o", outfile, srcfile)
    	if _, err = cmd.CombinedOutput(); err != nil {
    		return
    	}
    	defer os.Remove(outfile)
    
    	cmd = exec.Command("ldd", outfile)
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. pkg/controller/serviceaccount/config/types.go

    	// concurrentSATokenSyncs is the number of service account token syncing operations
    	// that will be done concurrently.
    	ConcurrentSATokenSyncs int32
    	// rootCAFile is the root certificate authority will be included in service
    	// account's token secret. This must be a valid PEM-encoded CA bundle.
    	RootCAFile string
    }
    
    type LegacySATokenCleanerConfiguration struct {
    	// CleanUpPeriod is the period of time since the last usage of an
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 24 23:20:17 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. pkg/testcerts/generate-certs.sh

    	echo "// and holds raw certificates for the webhook tests."
    	echo ""
    	echo "package testcerts"
    } >> $outfile
    
    for file in CACert ServerKey ServerCert ClientKey ClientCert; do
    	data=$(cat ${file}.pem)
    	{
    		echo ""
    		echo "// ${file} is a test cert for dynamic admission controller."
    		echo "var $file = []byte(\`$data\`)"
    	} >> $outfile
    done
    
    # Clean up after we're done.
    rm ./*.pem
    rm ./*.csr
    rm ./*.srl
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testcerts/gencerts.sh

    openssl x509 -req -in client.csr -CA CACert.pem -CAkey CAKey.pem -CAcreateserial -out ClientCert.pem -days 100000 -extensions v3_req -extfile client.conf
    
    outfile=certs.go
    
    cat > $outfile << EOF
    /*
    Copyright 2017 The Kubernetes Authors.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 24 05:55:09 UTC 2019
    - 3.5K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskIntegrationTest.groovy

        }
    
        def "task is cacheable after previous failure"() {
            buildFile << """
                task foo {
                    def outFile = project.file("out.txt")
                    outputs.file(outFile)
                    outputs.cacheIf { true }
                    doLast {
                        outFile << "xxx"
                        if (System.getProperty("fail")) {
                            throw new RuntimeException("Boo!")
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 20 17:51:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/cmd/cover/html.go

    	"strings"
    
    	"golang.org/x/tools/cover"
    )
    
    // htmlOutput reads the profile data from profile and generates an HTML
    // coverage report, writing it to outfile. If outfile is empty,
    // it writes the report to a temporary file and opens it in a web browser.
    func htmlOutput(profile, outfile string) error {
    	profiles, err := cover.ParseProfiles(profile)
    	if err != nil {
    		return err
    	}
    
    	var d templateData
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 14:33:36 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  8. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/TextReportRendererSpec.groovy

        def "writes report to a file"() {
            when:
            File outFile = new File(temporaryFolder.getTestDirectory(), "report.txt");
            renderer.setOutputFile(outFile);
    
            then:
            renderer.textOutput instanceof StreamingStyledTextOutput
    
            when:
            renderer.complete();
    
            then:
            outFile.file
            renderer.textOutput == null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 12 02:45:12 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/ManagedFilePropertyGroovyInterOpIntegrationTest.groovy

                    @OutputFile
                    abstract RegularFileProperty getOutFile()
    
                    @TaskAction
                    def run() {
                        outFile.get().asFile.text = "content"
                    }
                }
            """
        }
    
        @Override
        void taskWithNestedBeanDefinition() {
            pluginDir.file("src/main/groovy/ProducerTask.groovy") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyHandlerProviderIntegrationTest.groovy

            }
    
            task resolve {
                inputs.files(configurations.conf)
                def outFile = file("out.txt")
                outputs.file(outFile)
                doLast {
                   outFile << 'Hello'
                }
            }
    
            checkDeps.dependsOn resolve
    
            """
    
            when:
            args '-Pproject.version=1.1'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top