Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 85 for setPath (0.33 sec)

  1. pkg/volume/downwardapi/downwardapi.go

    )
    
    // downwardAPIPlugin implements the VolumePlugin interface.
    type downwardAPIPlugin struct {
    	host volume.VolumeHost
    }
    
    var _ volume.VolumePlugin = &downwardAPIPlugin{}
    
    func getPath(uid types.UID, volName string, host volume.VolumeHost) string {
    	return host.GetPodVolumeDir(uid, utilstrings.EscapeQualifiedName(downwardAPIPluginName), volName)
    }
    
    func wrappedVolumeSpec() volume.Spec {
    	return volume.Spec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. pkg/volume/projected/projected.go

    	sources []v1.VolumeProjection
    	podUID  types.UID
    	plugin  *projectedPlugin
    	volume.MetricsProvider
    }
    
    var _ volume.Volume = &projectedVolume{}
    
    func (sv *projectedVolume) GetPath() string {
    	return getPath(sv.podUID, sv.volName, sv.plugin.host)
    }
    
    type projectedVolumeMounter struct {
    	*projectedVolume
    
    	source v1.ProjectedVolumeSource
    	pod    *v1.Pod
    	opts   *volume.VolumeOptions
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/internal/tooling/EclipseModelBuilder.java

            String description = GUtil.elvis(internalProject.getComment(), null);
            DefaultEclipseProject eclipseProject = new DefaultEclipseProject(name, project.getPath(), description, project.getProjectDir(), children).setGradleProject(rootGradleProject.findByPath(project.getPath()));
    
            for (DefaultEclipseProject child : children) {
                child.setParent(eclipseProject);
            }
            addProject(project, eclipseProject);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. pkg/volume/configmap/configmap.go

    type configMapPlugin struct {
    	host         volume.VolumeHost
    	getConfigMap func(namespace, name string) (*v1.ConfigMap, error)
    }
    
    var _ volume.VolumePlugin = &configMapPlugin{}
    
    func getPath(uid types.UID, volName string, host volume.VolumeHost) string {
    	return host.GetPodVolumeDir(uid, utilstrings.EscapeQualifiedName(configMapPluginName), volName)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/config_test.cc

          *config.mutable_calibration_options()->add_representative_datasets();
      top_level_dataset_config.mutable_tf_record()->set_path("/test/path/1");
    
      RepresentativeDatasetConfig& preset_dataset_config =
          *config.mutable_static_range_ptq_preset()->add_representative_datasets();
      preset_dataset_config.mutable_tf_record()->set_path("/test/path/2");
    
      const QuantizationConfig new_config = ExpandPresets(config);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 06:59:34 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/JavaCompilerArgumentsBuilder.java

                }
            }
            File destinationDir = spec.getDestinationDir();
            if (destinationDir != null) {
                args.add("-d");
                args.add(destinationDir.getPath());
            }
            if (compileOptions.isVerbose()) {
                args.add("-verbose");
            }
            if (compileOptions.isDeprecation()) {
                args.add("-deprecation");
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:08 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

                        syncContext.acquire(null, Collections.singleton(metadata));
    
                        if (metadata.getPath() != null && Files.exists(metadata.getPath())) {
                            try (InputStream in = Files.newInputStream(metadata.getPath())) {
                                versioning = new Versioning(
                                        new MetadataStaxReader().read(in, false).getVersioning());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. pkg/volume/emptydir/empty_dir.go

    		}
    	}
    
    	return nil
    }
    
    func (ed *emptyDir) GetPath() string {
    	return getPath(ed.pod.UID, ed.volName, ed.plugin.host)
    }
    
    // TearDown simply discards everything in the directory.
    func (ed *emptyDir) TearDown() error {
    	return ed.TearDownAt(ed.GetPath())
    }
    
    // TearDownAt simply discards everything in the directory.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionRangeResolver.java

                        syncContext.acquire(null, Collections.singleton(metadata));
    
                        if (metadata.getPath() != null && Files.exists(metadata.getPath())) {
                            try (InputStream in = Files.newInputStream(metadata.getPath())) {
                                versioning =
                                        new MetadataStaxReader().read(in, false).getVersioning();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. src/cmd/vet/vet_test.go

    	if os.Getenv("GO_VETTEST_IS_VET") != "" {
    		main()
    		os.Exit(0)
    	}
    
    	os.Setenv("GO_VETTEST_IS_VET", "1") // Set for subprocesses to inherit.
    	os.Exit(m.Run())
    }
    
    // vetPath returns the path to the "vet" binary to run.
    func vetPath(t testing.TB) string {
    	t.Helper()
    	testenv.MustHaveExec(t)
    
    	vetPathOnce.Do(func() {
    		vetExePath, vetPathErr = os.Executable()
    	})
    	if vetPathErr != nil {
    		t.Fatal(vetPathErr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top