Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 491 for Generating (0.25 sec)

  1. cmd/kubeadm/app/phases/certs/certs.go

    	}
    
    	// The key does NOT exist, let's generate it now
    	key, err := pkiutil.NewPrivateKey(keyType)
    	if err != nil {
    		return err
    	}
    
    	// Write .key and .pub files to disk
    	fmt.Printf("[certs] Generating %q key and public key\n", kubeadmconstants.ServiceAccountKeyBaseName)
    
    	if err := pkiutil.WriteKey(certsDir, kubeadmconstants.ServiceAccountKeyBaseName, key); err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 05 10:17:14 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/join/controlplaneprepare.go

    	// Skip if this is not a control plane
    	if data.Cfg().ControlPlane == nil {
    		return nil
    	}
    
    	cfg, err := data.InitCfg()
    	if err != nil {
    		return err
    	}
    
    	fmt.Println("[kubeconfig] Generating kubeconfig files")
    	fmt.Printf("[kubeconfig] Using kubeconfig folder %q\n", data.KubeConfigDir())
    
    	// Generate kubeconfig files for controller manager, scheduler and for the admin/kubeadm itself
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:46:34 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/BUILD

            "//tensorflow/python:pywrap_tfe",
            "//tensorflow/python/util:dispatch",
            "//tensorflow/python/util:deprecation",
            "//tensorflow/python/util:tf_export",
        ],
        # Prevent unintentionally generating Python wrappers for all TF ops.
        op_allowlist = ["CustomAggregator"],
        py_lib_rule = py_strict_library,
        visibility = ["//visibility:private"],
        deps = [":custom_aggregator_op"],
    )
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 01:31:23 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. cmd/gotemplate/gotemplate.go

    	tmpl, err := template.New("").Funcs(funcMap).Parse(buf.String())
    	if err != nil {
    		return fmt.Errorf("parsing input as text template: %v", err)
    	}
    
    	if err := tmpl.Execute(out, data); err != nil {
    		return fmt.Errorf("generating result: %v", err)
    	}
    	return nil
    }
    
    func include(filename string) (string, error) {
    	content, err := os.ReadFile(filename)
    	if err != nil {
    		return "", err
    	}
    	return string(content), nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 22 18:39:23 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testgodefs/testgodefs_test.go

    				t.Errorf("%s: got generated comment %q, want %q", fn, line, want)
    			}
    			hasGeneratedByComment = true
    			break
    		}
    
    		if !hasGeneratedByComment {
    			t.Errorf("%s: comment with generating cgo -godefs command not found", fn)
    		}
    	}
    
    	main, err := os.ReadFile(filepath.Join("testdata", "main.go"))
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. src/crypto/dsa/dsa_test.go

    	}
    	x := new(big.Int).Exp(params.G, quo, params.P)
    	if x.Cmp(one) == 0 {
    		t.Errorf("%d: invalid generator", int(sizes))
    	}
    
    	err = GenerateKey(&priv, rand.Reader)
    	if err != nil {
    		t.Errorf("error generating key: %s", err)
    		return
    	}
    
    	testSignAndVerify(t, int(sizes), &priv)
    }
    
    func TestParameterGeneration(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping parameter generation test in short mode")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 15 21:04:43 UTC 2019
    - 4.7K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/build_trimpath_goroot.txt

    # (because that could mask an unexpected production dependency on the GOROOT
    # environment variable), but 'go generate' should (because the generator may
    # reasonably expect to be able to locate the GOROOT for which it is generating
    # code).
    
    [trimpath] stop
    
    ! go run -trimpath .
    stdout '^GOROOT $'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/validate.go

    // that each fact type is a pointer.
    //
    // Analyzer names need not be unique, though this may be confusing.
    func Validate(analyzers []*Analyzer) error {
    	// Map each fact type to its sole generating analyzer.
    	factTypes := make(map[reflect.Type]*Analyzer)
    
    	// Traverse the Requires graph, depth first.
    	const (
    		white = iota
    		grey
    		black
    		finished
    	)
    	color := make(map[*Analyzer]uint8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/tooling/provider/model/ToolingModelBuilder.java

     * to the client application.</p>
     *
     * <p>The model object is adapted to the Java type that is used by the client by generating a view, or wrapper object, over the model object.
     * The model object does not need to implement the client Java type, but it does need to have the same structure as the client type.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 18 05:08:57 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  10. security/pkg/pki/util/generate_cert.go

    	PKCS8Key bool
    
    	// The type of Elliptical Signature algorithm to use
    	// when generating private keys. Currently only ECDSA is supported.
    	// If empty, RSA is used, otherwise ECC is used.
    	ECSigAlg SupportedECSignatureAlgorithms
    
    	// The type of Elliptical Signature algorithm to use
    	// when generating private keys. Currently only ECDSA is supported.
    	// If empty, RSA is used, otherwise ECC is used.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 02 14:34:38 UTC 2023
    - 14.2K bytes
    - Viewed (0)
Back to top