Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,898 for Initialize (0.25 sec)

  1. src/cmd/compile/internal/walk/temp.go

    package walk
    
    import (
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/typecheck"
    	"cmd/compile/internal/types"
    )
    
    // initStackTemp appends statements to init to initialize the given
    // temporary variable to val, and then returns the expression &tmp.
    func initStackTemp(init *ir.Nodes, tmp *ir.Name, val ir.Node) *ir.AddrExpr {
    	if val != nil && !types.Identical(tmp.Type(), val.Type()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. cluster/images/etcd/migrate/data_dir_test.go

    	}
    	exists, err := d.versionFile.Exists()
    	if err != nil {
    		t.Fatal(err)
    	}
    	if exists {
    		t.Errorf("Expected version file %s not to exist", d.versionFile.path)
    	}
    	err = d.Initialize(targetVersion)
    	if err != nil {
    		t.Fatalf("Failed initialize data directory %s: %v", d.path, err)
    	}
    	exists, err = d.versionFile.Exists()
    	if err != nil {
    		t.Fatal(err)
    	}
    	if exists {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 28 07:33:23 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/transport/transport.go

    		ca:   flagset.String("tls_ca", "", "TLS CA certs file for fetching profile and symbols"),
    	}
    }
    
    // initialize uses the cert, key, and ca to initialize the certs
    // to use these when making requests.
    func (tr *transport) initialize() error {
    	var cert, key, ca string
    	if tr.cert != nil {
    		cert = *tr.cert
    	}
    	if tr.key != nil {
    		key = *tr.key
    	}
    	if tr.ca != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/configure/NativeBinaries.java

                new SimpleModelRuleDescriptor("initialize binary " + binaryPath),
                new BiAction<MutableModelNode, NativeBinarySpec>() {
                    @Override
                    public void execute(MutableModelNode mutableModelNode, NativeBinarySpec nativeBinarySpec) {
                        initialize(nativeBinarySpec, namingScheme, resolver, fileCollectionFactory, platform, buildType, flavor);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/vcstest/git/insecurerepo.txt

    git init
    
    at 2019-04-03T13:30:35-04:00
    git add go.mod
    git commit -m 'all: initialize module'
    git branch -m master
    
    at 2019-09-04T14:39:48-04:00
    git add main.go
    git commit -m 'main: add Go source file'
    
    git log --oneline --decorate=short
    cmp stdout .git-log
    
    -- .git-log --
    6fecd21 (HEAD -> master) main: add Go source file
    d1a15cd all: initialize module
    -- go.mod --
    module vcs-test.golang.org/insecure/go/insecure
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 15:36:24 UTC 2022
    - 641 bytes
    - Viewed (0)
  6. test/fixedbugs/issue27595.go

    var b, c, d = twoResults() // ERROR "assignment mismatch: 3 variables but twoResults returns 2 values|cannot initialize"
    var e, f = oneResult()     // ERROR "assignment mismatch: 2 variables but oneResult returns 1 value|cannot initialize"
    
    func twoResults() (int, int) {
    	return 1, 2
    }
    
    func oneResult() int {
    	return 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 23 19:41:41 UTC 2021
    - 670 bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/SearchBody.java

        // `size` is prepared to be compatible with other Admin APIs
        @ValidateTypeFailure
        public Integer size;
    
        @Override
        public void initialize() {
            if (size != null) {
                num = (num == null || num < size) ? size : num;
            }
            super.initialize();
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. gorm.go

    func (c *Config) Apply(config *Config) error {
    	if config != c {
    		*config = *c
    	}
    	return nil
    }
    
    // AfterInitialize initialize plugins after db connected
    func (c *Config) AfterInitialize(db *DB) error {
    	if db != nil {
    		for _, plugin := range c.Plugins {
    			if err := plugin.Initialize(db); err != nil {
    				return err
    			}
    		}
    	}
    	return nil
    }
    
    // Option gorm option interface
    type Option interface {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sun Aug 20 11:46:56 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  9. pkg/tracing/tracing.go

    )
    
    func tracer() traceapi.Tracer {
    	return otel.Tracer(instrumentationScope)
    }
    
    // Initialize starts the tracing provider. This must be called before any traces are created or traces will be discarded.
    // Returned is a shutdown function that should be called to ensure graceful shutdown.
    func Initialize() (func(), error) {
    	exp, err := newExporter()
    	if err != nil {
    		return nil, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 01:07:39 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/fake_session.cc

    };
    FakeSessionOptions* kSessionOptions = []() { return new FakeSessionOptions; }();
    }  // namespace
    
    FakeSession::FakeSession() {
      // We don't initialize devices in constructor as it causes some
      // global initialization fiasco between tests and code in TF.
    }
    
    void FakeSession::Initialize() {
      if (initialized_) return;
      BuildDeviceManager();
      InitVariables();
      initialized_ = true;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top