Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 104 for outdirs (0.13 sec)

  1. src/internal/types/errors/generrordocs.go

    	"log"
    	"os"
    	"path"
    	"strings"
    	"text/template"
    
    	. "go/types"
    )
    
    func main() {
    	if len(os.Args) != 2 {
    		log.Fatal("missing argument: generrordocs <dir>")
    	}
    	outDir := os.Args[1]
    	if err := os.MkdirAll(outDir, 0755); err != nil {
    		log.Fatal("unable to create output directory: %s", err)
    	}
    	walkCodes(func(name string, vs *ast.ValueSpec) {
    		// ignore unused errors
    		if name == "_" {
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 03:14:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProviderIntegrationTest.groovy

            'task.flatMap { it.outDir }.zip(provider { "baz" }) { d, f -> d.file(f) }' | _
            'task.get().outDir.zip(provider { "baz" }) { d, f -> d.file(f) }'          | _
            'provider { "baz" }.zip(task.flatMap { it.outDir }) { f, d -> d.file(f) }' | _
            'provider { "baz" }.zip(task.get().outDir) { f, d -> d.file(f) }'          | _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 15:32:52 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/processor/ConfigurationCacheInstrumentationProcessorTest.groovy

        @Rule
        final TestNameTestDirectoryProvider temporaryFolder = new TestNameTestDirectoryProvider(getClass())
        final TestFile srcDir = temporaryFolder.createDir('src')
        final TestFile outDir = temporaryFolder.createDir('out')
        final TestFile classesDir = temporaryFolder.createDir('classes')
    
        def "code generation is deterministic regardless of type processing order"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildSymlinkHandlingIntegrationTest.groovy

            file("in-dir").createDir()
            def outDir = file("out-dir")
            def copy = file("other")
    
            given:
            run("work")
            run("work")
            result.assertTasksSkipped(":work")
    
            when:
            Files.move(outDir.toPath(), copy.toPath(), StandardCopyOption.ATOMIC_MOVE)
            outDir.deleteDir()
            outDir.createLink(copy)
    
            run("work")
    
            /*
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 14:30:36 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. tensorflow/compiler/aot/tests/make_test_graphs.py

      write_graph(tfadd, FLAGS.out_dir)
      write_graph(tfadd_with_ckpt, FLAGS.out_dir)
      write_graph(tfadd_with_ckpt_saver, FLAGS.out_dir)
      write_graph(tfassert_eq, FLAGS.out_dir)
      write_graph(tfcond, FLAGS.out_dir)
      write_graph(tffunction, FLAGS.out_dir)
      write_graph(tfgather, FLAGS.out_dir)
      write_graph(tfmatmul, FLAGS.out_dir)
      write_graph(tfmatmulandadd, FLAGS.out_dir)
      write_graph(tfsplits, FLAGS.out_dir)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 15 15:25:23 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  6. cmd/genyaml/gen_kubectl_yaml.go

    	path := "docs/yaml/kubectl"
    	if len(os.Args) == 2 {
    		path = os.Args[1]
    	} else if len(os.Args) > 2 {
    		fmt.Fprintf(os.Stderr, "usage: %s [output directory]\n", os.Args[0])
    		os.Exit(1)
    	}
    
    	outDir, err := genutils.OutDir(path)
    	if err != nil {
    		fmt.Fprintf(os.Stderr, "failed to get output directory: %v\n", err)
    		os.Exit(1)
    	}
    
    	// Set environment variables used by kubectl so the output is consistent,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 14:05:23 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. src/internal/coverage/cfile/emit.go

    func emitMetaDataToDirectory(outdir string, ml []rtcov.CovMetaBlob) error {
    	ml, err := prepareForMetaEmit()
    	if err != nil {
    		return err
    	}
    	if len(ml) == 0 {
    		return nil
    	}
    
    	metaDataEmitAttempted = true
    
    	s := &emitState{
    		metalist: ml,
    		debug:    os.Getenv("GOCOVERDEBUG") != "",
    		outdir:   outdir,
    	}
    
    	// Open output files.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. src/cmd/covdata/doc.go

    	$
    
    5. Merge profiles together:
    
    	$ go tool covdata merge -i=indir1,indir2 -o=outdir -modpaths=github.com/go-delve/delve
    	$
    
    6. Subtract one profile from another
    
    	$ go tool covdata subtract -i=indir1,indir2 -o=outdir
    	$
    
    7. Intersect profiles
    
    	$ go tool covdata intersect -i=indir1,indir2 -o=outdir
    	$
    
    8. Dump a profile for debugging purposes.
    
    	$ go tool covdata debugdump -i=indir
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 12:57:25 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go

    // but if a file exists but has old content or isn't a kubeconfig file, this function returns an error.
    func createKubeConfigFileIfNotExists(outDir, filename string, config *clientcmdapi.Config) error {
    	kubeConfigFilePath := filepath.Join(outDir, filename)
    
    	err := validateKubeConfig(outDir, filename, config)
    	if err != nil {
    		// Check if the file exist, and if it doesn't, just write it to disk
    		if !os.IsNotExist(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:04:18 UTC 2024
    - 27K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/certs/renewal/manager_test.go

    		})
    	}
    }
    
    func TestCreateRenewCSR(t *testing.T) {
    	dir := testutil.SetupTempDir(t)
    	defer os.RemoveAll(dir)
    
    	outdir := filepath.Join(dir, "out")
    
    	if err := os.MkdirAll(outdir, 0755); err != nil {
    		t.Fatalf("couldn't create %s", outdir)
    	}
    
    	if err := pkiutil.WriteCertAndKey(dir, "ca", testCACert, testCAKey); err != nil {
    		t.Fatalf("couldn't write out CA certificate to %s", dir)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top