Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 659 for initialize (0.21 sec)

  1. interfaces.go

    package gorm
    
    import (
    	"context"
    	"database/sql"
    
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    )
    
    // Dialector GORM database dialector
    type Dialector interface {
    	Name() string
    	Initialize(*DB) error
    	Migrator(db *DB) Migrator
    	DataTypeOf(*schema.Field) string
    	DefaultValueOf(*schema.Field) clause.Expression
    	BindVarTo(writer clause.Writer, stmt *Statement, v interface{})
    	QuoteTo(clause.Writer, string)
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Aug 19 13:33:31 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  2. cmd/bucket-policy-handlers_test.go

    		},
    	}
    
    	// Iterating over the test cases, calling the function under test and asserting the response.
    	for i, testCase := range testCases {
    		// obtain the put bucket policy request body.
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    		recV4 := httptest.NewRecorder()
    		// construct HTTP request for PUT bucket policy endpoint.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/StaticJAASConfiguration.java

     */
    class StaticJAASConfiguration extends Configuration {
    
        private Map<String, ?> options;
    
    
        /**
         * Initialize a static JAAS configuration with default settings
         */
        public StaticJAASConfiguration () {
            this.options = new HashMap<>();
        }
    
    
        /**
         * Initialize a static JAAS configuration with custom settings
         * 
         * @param options
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.9K bytes
    - Viewed (0)
  4. 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() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  5. 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() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  6. 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),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.8K bytes
    - Viewed (0)
  7. cmd/config-current.go

    		configLogIf(ctx, fmt.Errorf("Unable to initialize remote webhook DNS config %w", err))
    	}
    	if err == nil && dnsURL != "" {
    		bootstrapTraceMsg("initialize remote bucket DNS store")
    		globalDNSConfig, err = dns.NewOperatorDNS(dnsURL,
    			dns.Authentication(dnsUser, dnsPass),
    			dns.RootCAs(globalRootCAs))
    		if err != nil {
    			configLogIf(ctx, fmt.Errorf("Unable to initialize remote webhook DNS config %w", err))
    		}
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 11:33:28 GMT 2024
    - 30.7K bytes
    - Viewed (0)
  8. cmd/config-migrate.go

    	configFiles := []string{
    		getConfigFile(),
    		getConfigFile() + ".deprecated",
    		configFile,
    	}
    
    	newServerCfg := func() (config.Config, error) {
    		// Initialize server config.
    		srvCfg := newServerConfig()
    
    		return srvCfg, saveServerConfig(ctx, objAPI, srvCfg)
    	}
    
    	var data []byte
    	var err error
    
    	cfg := &serverConfigV33{}
    	for _, cfgFile := range configFiles {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Oct 18 18:05:24 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/Striped64.java

       */
      final void retryUpdate(long x, @CheckForNull int[] hc, boolean wasUncontended) {
        int h;
        if (hc == null) {
          threadHashCode.set(hc = new int[1]); // Initialize randomly
          int r = rng.nextInt(); // Avoid zero to allow xorShift rehash
          h = hc[0] = (r == 0) ? 1 : r;
        } else h = hc[0];
        boolean collide = false; // True if last slot nonempty
        for (; ; ) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  10. cmd/routers.go

    func configureServerHandler(endpointServerPools EndpointServerPools) (http.Handler, error) {
    	// Initialize router. `SkipClean(true)` stops minio/mux from
    	// normalizing URL path minio/minio#3256
    	router := mux.NewRouter().SkipClean(true).UseEncodedPath()
    
    	// Initialize distributed NS lock.
    	if globalIsDistErasure {
    		registerDistErasureRouters(router, endpointServerPools)
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 3.6K bytes
    - Viewed (1)
Back to top