Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for rootfile (0.14 sec)

  1. security/pkg/pki/util/generate_cert_test.go

    		pemCert          []byte
    		rootFile         string
    		expectedErr      string
    		expectedRootCert []byte
    	}{
    		"Empty pem cert and root file": {
    			pemCert:          []byte{},
    			rootFile:         "",
    			expectedErr:      "",
    			expectedRootCert: []byte{},
    		},
    		"Non empty root file": {
    			pemCert:          []byte{},
    			rootFile:         "../testdata/cert.pem",
    			expectedErr:      "",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 06 12:48:53 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  2. cmd/data-usage_test.go

    )
    
    type usageTestFile struct {
    	name string
    	size int
    }
    
    func TestDataUsageUpdate(t *testing.T) {
    	base := t.TempDir()
    	const bucket = "bucket"
    	files := []usageTestFile{
    		{name: "rootfile", size: 10000},
    		{name: "rootfile2", size: 10000},
    		{name: "dir1/d1file", size: 2000},
    		{name: "dir2/d2file", size: 300},
    		{name: "dir1/dira/dafile", size: 100000},
    		{name: "dir1/dira/dbfile", size: 200000},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Mar 27 15:10:40 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDependencyInferenceIntegrationTest.groovy

            taskTypeWithIntInputProperty()
            buildFile << """
                tasks.register("b", InputTask) {
                    inValue = outFile.locationOnly.map { it.asFile.name.length() }
                    outFile = file("out.txt")
                }
            """
    
            when:
            run("b")
    
            then:
            result.assertTasksExecuted(":b")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 14:20:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  4. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/local/LocalFileStandInExternalResourceTest.groovy

            outFile.text == "abc"
        }
    
        def "can ignore missing file when copying to file"() {
            def file = tmpDir.file("missing")
            def outFile = tmpDir.file("out")
    
            expect:
            def resource = new LocalFileStandInExternalResource(file, TestFiles.fileSystem())
            def result = resource.writeToIfPresent(outFile)
            result == null
            !outFile.exists()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 14K bytes
    - Viewed (0)
  5. src/cmd/link/elf_test.go

    		t.Fatal(err)
    	}
    	outFile := filepath.Join(td, "issue51939.exe")
    	goTool := testenv.GoToolPath(t)
    	cmd := testenv.Command(t, goTool, "build", "-o", outFile, goFile)
    	if out, err := cmd.CombinedOutput(); err != nil {
    		t.Logf("%s", out)
    		t.Fatal(err)
    	}
    
    	ef, err := elf.Open(outFile)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	for _, s := range ef.Sections {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 16:34:01 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

        def "task @InputFiles file collection closure is called once only when task executes"() {
            taskTypeWithInputFileCollection()
            buildFile """
                task merge(type: InputFilesTask) {
                    outFile = file("out.txt")
                    inFiles.from {
                        println("calculating value")
                        return 'in.txt'
                    }
                }
    """
            file("in.txt").text = "in"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

          return;
        }
        if (*offset == 0) {
          if (!outfile->truncate()) {
            TF_SetStatus(status, TF_INTERNAL,
                         "Could not truncate internal temporary file.");
            return;
          }
          *offset = static_cast<int64_t>(metadata->size());
        }
        outfile->clear();
        outfile->seekp(0, std::ios::end);
        TF_SetStatus(status, TF_OK, "");
      } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 06:55:53 UTC 2023
    - 46.9K bytes
    - Viewed (0)
  8. cluster/gce/windows/common.psm1

          Validate-SHA -Hash $Hash -Path $OutFile -Algorithm $Algorithm
          Log-Output "Skip download of ${OutFile}, it already exists with expected hash."
          return
        }
        catch {
          # The hash does not match the file on disk.
          # Proceed with the download and overwrite the file.
          Log-Output "${OutFile} exists but had wrong hash. Redownloading."
        }
      }
    
      $currentAttempt = 0
      while ($true) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 19 14:47:38 UTC 2022
    - 25.4K bytes
    - Viewed (0)
  9. ci/devinfra/docker_windows/Dockerfile

    # Install Visual C++ Redistributable for Visual Studio 2015-2022.
    RUN New-Item -Path "C:/" -Name "TEMP" -ItemType "directory"; \
        Invoke-WebRequest "https://aka.ms/vs/17/release/vc_redist.x64.exe" \
            -OutFile C:/TEMP/vc_redist.x64.exe -UseBasicParsing; \
        Start-Process -filepath C:/TEMP/vc_redist.x64.exe -ArgumentList '/install', '/passive', '/norestart' -Wait; \
        Remove-Item C:/TEMP/vc_redist.x64.exe
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 18 17:24:20 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  10. cmd/kube-controller-manager/app/certificates.go

    	var (
    		rootCA []byte
    		err    error
    	)
    	if controllerContext.ComponentConfig.SAController.RootCAFile != "" {
    		if rootCA, err = readCA(controllerContext.ComponentConfig.SAController.RootCAFile); err != nil {
    			return nil, true, fmt.Errorf("error parsing root-ca-file at %s: %v", controllerContext.ComponentConfig.SAController.RootCAFile, err)
    		}
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:02 UTC 2023
    - 11.6K bytes
    - Viewed (0)
Back to top