Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,021 for Initialize$ (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/c/eager/immediate_execution_distributed_manager.h

                                          int64_t init_timeout_in_ms, int retries,
                                          bool clear_existing_contexts = false) = 0;
    
      // Initializes context for the local worker and no contexts will be created
      // for remote workers. Currently this only works for resetting context.
      // TODO(b/289445025): Consider removing this when we find a proper fix.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. internal/config/lambda/config.go

    // information about various lambda targets.
    type Config struct {
    	Webhook map[string]target.WebhookArgs `json:"webhook"`
    }
    
    const (
    	defaultTarget = "1"
    )
    
    // NewConfig - initialize lambda config.
    func NewConfig() Config {
    	// Make sure to initialize lambda targets
    	cfg := Config{
    		Webhook: make(map[string]target.WebhookArgs),
    	}
    	cfg.Webhook[defaultTarget] = target.WebhookArgs{}
    	return cfg
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/ReflectionTest.java

      }
    
      public void testInitialize() {
        assertEquals("This test can't be included twice in the same suite.", 0, classesInitialized);
    
        Reflection.initialize(A.class);
        assertEquals(1, classesInitialized);
    
        Reflection.initialize(
            A.class, // Already initialized (above)
            B.class, C.class);
        assertEquals(3, classesInitialized);
      }
    
      public void testNullPointers() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/FixedSharedModeCrossProcessCacheAccessTest.groovy

            then:
            1 * initAction.requiresInitialization(lock) >> false
    
            then:
            1 * onOpenAction.accept(lock)
            0 * _
        }
    
        def "acquires lock then initializes cache and runs handler action on open"() {
            def initialLock = Mock(FileLock)
            def exclusiveLock = Mock(FileLock)
            def sharedLock = Mock(FileLock)
    
            when:
            cacheAccess.open()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. maven-model-builder/src/main/java/org/apache/maven/model/building/TransformerContextBuilder.java

     *
     * @since 4.0.0
     */
    public interface TransformerContextBuilder {
        /**
         * This method is used to initialize the TransformerContext
         *
         * @param request the modelBuildingRequest
         * @param problems the problemCollector
         * @return the mutable transformerContext
         */
        TransformerContext initialize(ModelBuildingRequest request, ModelProblemCollector problems);
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top