Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 146 for copyfile (0.17 sec)

  1. cmd/kubeadm/app/phases/upgrade/preflight.go

    // that are unsupported for migration.
    func checkUnsupportedPlugins(client clientset.Interface) error {
    	klog.V(1).Infoln("validating if there are any unsupported CoreDNS plugins in the Corefile")
    	_, corefile, currentInstalledCoreDNSversion, err := dns.GetCoreDNSInfo(client)
    	if err != nil {
    		return err
    	}
    
    	currentInstalledCoreDNSversion = strings.TrimLeft(currentInstalledCoreDNSversion, "v")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 25 13:53:28 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/posix/BUILD

        srcs = ["posix_filesystem_helper.cc"],
        hdrs = ["posix_filesystem_helper.h"],
        deps = [":copy_file"],
    )
    
    # On Linux, we can copy files faster using `sendfile`. But not elsewhere.
    # Hence, this private library to select which implementation to use.
    cc_library(
        name = "copy_file",
        srcs = select({
            "//tensorflow:linux_x86_64": ["copy_file_linux.cc"],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 24 20:08:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. cni/pkg/install/cniconfig.go

    	}
    
    	sort.Strings(files)
    	for _, confFile := range files {
    		var confList *libcni.NetworkConfigList
    		if strings.HasSuffix(confFile, ".conflist") {
    			confList, err = libcni.ConfListFromFile(confFile)
    			if err != nil {
    				installLog.Warnf("Error loading CNI config list file %s: %v", confFile, err)
    				continue
    			}
    		} else {
    			conf, err := libcni.ConfFromFile(confFile)
    			if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/addons/dns/dns.go

    	canMigrateCorefile := true
    
    	if corefile == "" || migration.Default("", corefile) {
    		// If the Corefile is empty or default, the latest default Corefile will be applied
    		if err := apiclient.CreateOrUpdateConfigMap(client, coreDNSConfigMap); err != nil {
    			return err
    		}
    	} else if corefileMigrationRequired {
    		// If migration is required, try and migrate the Corefile
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  5. pkg/test/cert/ca/root.go

    // Root contains the cryptographic files for a self-signed root CA.
    type Root struct {
    	// KeyFile is the path to the file containing the private key for the CA.
    	KeyFile string
    
    	// ConfFile is the path to the file containing the extensions configuration file.
    	ConfFile string
    
    	// CSRFile used to generate the cert.
    	CSRFile string
    
    	// CertFile the cert for the root CA.
    	CertFile string
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 03 18:09:59 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  6. pkg/test/cert/cert.go

    }
    
    // GenerateCSR and writes output to csrFile.
    func GenerateCSR(confFile, keyFile, csrFile string) error {
    	return openssl("req", "-new",
    		"-config", confFile,
    		"-key", keyFile,
    		"-out", csrFile)
    }
    
    // GenerateCert and writes output to certFile.
    func GenerateCert(confFile, csrFile, keyFile, certFile string) error {
    	return openssl("x509", "-req",
    		"-days", "100000",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 22 14:18:21 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/addons/dns/dns_test.go

    			if !strings.EqualFold(migratedConfigMap.Data["Corefile"], tc.expectedCorefileData) {
    				t.Fatalf("expected to get %v, but got %v", tc.expectedCorefileData, migratedConfigMap.Data["Corefile"])
    			}
    		})
    	}
    }
    
    func createClientAndCoreDNSManifest(t *testing.T, corefile, coreDNSVersion string) *clientsetfake.Clientset {
    	client := clientsetfake.NewSimpleClientset()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/performance/resolveAtConfigurationTime/groovy/build.gradle

    plugins {
        id('java')
    }
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        implementation 'org.apache.commons:commons-lang3:3.11'
    }
    
    // tag::copy[]
    tasks.register('copyFiles', Copy) {
        println ">> Compilation deps: ${configurations.compileClasspath.files.name}"
        into(layout.buildDirectory.dir('output'))
        from(configurations.compileClasspath)
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 379 bytes
    - Viewed (0)
  9. platforms/jvm/language-groovy/src/integTest/resources/org/gradle/groovy/compile/InvokeDynamicGroovyCompilerSpec/canEnableAndDisableInvokeDynamicOptimization/build.gradle

        def noOptDestDir = compileWithoutOptimization.destinationDirectory
        doLast {
            def optFile = optDestDir.file("MethodInvocations.class").get().asFile
            def noOptFile = noOptDestDir.file("MethodInvocations.class").get().asFile
            assert optFile.size() != noOptFile.size()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/performance/resolveAtConfigurationTime/kotlin/build.gradle.kts

    plugins {
        id("java-library")
    }
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        implementation("org.apache.commons:commons-lang3:3.11")
    }
    
    // tag::copy[]
    tasks.register<Copy>("copyFiles") {
        println(">> Compilation deps: ${configurations.compileClasspath.get().files.map { it.name }}")
        into(layout.buildDirectory.dir("output"))
        from(configurations.compileClasspath)
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 406 bytes
    - Viewed (0)
Back to top