Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,048 for Initialize (0.19 sec)

  1. src/math/big/example_test.go

    // Fibonacci number with 100 decimal digits and to test whether it is prime.
    func Example_fibonacci() {
    	// Initialize two big ints with the first two numbers in the sequence.
    	a := big.NewInt(0)
    	b := big.NewInt(1)
    
    	// Initialize limit as 10^99, the smallest integer with 100 digits.
    	var limit big.Int
    	limit.Exp(big.NewInt(10), big.NewInt(99), nil)
    
    	// Loop while a is smaller than 1e100.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 26 16:15:32 UTC 2020
    - 4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/cc/save_variables.h

    namespace tensorflow {
    namespace quantization {
    
    // Saves variables in `module_op` to the checkpoint file inside `prefix`.
    // It finds variables that are initialized with "tf.AssignVariableOp" inside the
    // initializer function with type "restore_op". The "tf.Const"s used to
    // initialize the variables are saved. This function does not modify the
    // `module_op`. Returns a list of saved names of the saved variables.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Dec 22 02:23:23 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/workflow/runner.go

    func (e *Runner) computePhaseRunFlags() (map[string]bool, error) {
    	// Initialize support data structure
    	phaseRunFlags := map[string]bool{}
    	phaseHierarchy := map[string][]string{}
    	e.visitAll(func(p *phaseRunner) error {
    		// Initialize phaseRunFlags assuming that all the phases should be run.
    		phaseRunFlags[p.generatedName] = true
    
    		// Initialize phaseHierarchy for the current phase (the list of phases
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 21 05:35:15 UTC 2022
    - 16K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_off_init.txt

    # 'go mod init' should refuse to initialize a module if it will be
    # ignored anyway due to GO111MODULE=off.
    env GO111MODULE=off
    ! go mod init
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 15 12:46:25 UTC 2020
    - 216 bytes
    - Viewed (0)
  5. internal/kms/secret-key_test.go

    	"context"
    	"encoding/base64"
    	"testing"
    )
    
    func TestSingleKeyRoundtrip(t *testing.T) {
    	KMS, err := ParseSecretKey("my-key:eEm+JI9/q4JhH8QwKvf3LKo4DEBl6QbfvAl1CAbMIv8=")
    	if err != nil {
    		t.Fatalf("Failed to initialize KMS: %v", err)
    	}
    
    	key, err := KMS.GenerateKey(context.Background(), &GenerateKeyRequest{Name: "my-key"})
    	if err != nil {
    		t.Fatalf("Failed to generate key: %v", err)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. platforms/software/resources-gcs/src/test/groovy/org/gradle/internal/resource/transport/gcp/gcs/RetryHttpInitializerWrapperTest.groovy

        def credential = Mock(Credential)
        def credentialSupplier = new Supplier<Credential>() {
            @Override
            Credential get() {
                return credential
            }
        }
    
        def "initialize should configure request for retries"() {
            given:
            def retryHttpInitializerWrapper = new RetryHttpInitializerWrapper(credentialSupplier)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. internal/config/notify/config.go

    	Webhook       map[string]target.WebhookArgs       `json:"webhook"`
    }
    
    const (
    	defaultTarget = "1"
    )
    
    // NewConfig - initialize notification config.
    func NewConfig() Config {
    	// Make sure to initialize notification targets
    	cfg := Config{
    		NSQ:           make(map[string]target.NSQArgs),
    		AMQP:          make(map[string]target.AMQPArgs),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tf_test_passes.td

      let constructor = "mlir::tf_test::CreateLiftVariablesTestPass()";
    }
    
    def InitializeVariablesInSessionInitializerPass : Pass<"tf-saved-model-initialize-variables-in-session-init", "ModuleOp"> {
      let summary = "Initialize variables in session initializer function.";
    
      let constructor = "mlir::tf_test::CreateInitializeVariablesInSessionInitializerTestPass()";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 00:21:29 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/utils/lstm_utils.h

      LogicalResult RewriteFunc();
    
      int GetNumInputs() { return n_input_; }
    
     protected:
      // verify input func op arguments/attributes and initialize internal state.
      virtual LogicalResult InitializeFromFuncAttributes();
      virtual LogicalResult Initialize();
    
      void UpdateFuncSignature();
      void GenerateFusedOpOperands();
    
      void SetWeightForInputToCellGate();
      void SetWeightForInputToInputGate();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  10. src/runtime/os_darwin.go

    	"internal/abi"
    	"unsafe"
    )
    
    type mOS struct {
    	initialized bool
    	mutex       pthreadmutex
    	cond        pthreadcond
    	count       int
    }
    
    func unimplemented(name string) {
    	println(name, "not implemented")
    	*(*int)(unsafe.Pointer(uintptr(1231))) = 1231
    }
    
    //go:nosplit
    func semacreate(mp *m) {
    	if mp.initialized {
    		return
    	}
    	mp.initialized = true
    	if err := pthread_mutex_init(&mp.mutex, nil); err != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top