Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 1,650 for cast (0.04 sec)

  1. clause/expression_test.go

    		Result: "create table `users` (`id` int, `name` text)",
    	}}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    			user, _ := schema.Parse(&tests.User{}, &sync.Map{}, db.NamingStrategy)
    			stmt := &gorm.Statement{DB: db, Table: user.Table, Schema: user, Clauses: map[string]clause.Clause{}}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 10 05:34:33 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. internal/event/target/kafka_scram_client_contrib.go

    )
    
    func initScramClient(args KafkaArgs, config *sarama.Config) {
    	switch strings.ToLower(args.SASL.Mechanism) {
    	case "sha512":
    		config.Net.SASL.SCRAMClientGeneratorFunc = func() sarama.SCRAMClient { return &XDGSCRAMClient{HashGeneratorFcn: KafkaSHA512} }
    		config.Net.SASL.Mechanism = sarama.SASLMechanism(sarama.SASLTypeSCRAMSHA512)
    	case "sha256":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Nov 09 04:04:01 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. cmd/xl-storage-free-version.go

    		tierObjKey := ReservedMetadataPrefixLower + TransitionedObjectName
    		tierObjVIDKey := ReservedMetadataPrefixLower + TransitionedVersionID
    
    		for k, v := range j.MetaSys {
    			switch k {
    			case tierKey, tierObjKey, tierObjVIDKey:
    				freeEntry.DeleteMarker.MetaSys[k] = v
    			}
    		}
    		return freeEntry, true
    	}
    	return xlMetaV2Version{}, false
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

          pattern += "."
        }
        // Hostname and pattern are now absolute domain names.
    
        pattern = pattern.asciiToLowercase()
        // Hostname and pattern are now in lower case -- domain names are case-insensitive.
    
        if ("*" !in pattern) {
          // Not a wildcard pattern -- hostname and pattern must match exactly.
          return hostname == pattern
        }
    
        // Wildcard pattern
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. cmd/erasure-metadata-utils_test.go

    // Tests caclculating disk count.
    func TestDiskCount(t *testing.T) {
    	testCases := []struct {
    		disks     []StorageAPI
    		diskCount int
    	}{
    		// Test case - 1
    		{
    			disks:     []StorageAPI{&xlStorage{}, &xlStorage{}, &xlStorage{}, &xlStorage{}},
    			diskCount: 4,
    		},
    		// Test case - 2
    		{
    			disks:     []StorageAPI{nil, &xlStorage{}, &xlStorage{}, &xlStorage{}},
    			diskCount: 3,
    		},
    	}
    	for i, testCase := range testCases {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. docs/security/README.md

    The MinIO server runs a key-derivation algorithm to generate the KEK using a pseudo-random function ([PRF](#prf)):
    `KEK := PRF(EK, IV, context_values)` where:
    
    - [EK](#ek): is the external key. In case of SSE-C this is the client-provided key. In case of SSE-S3  this is secret key generated by the KMS. For further details see [SSE-C](#Server-Side-Encryption-with-client-provided-Keys) or [SSE-S3](#Server-Side-Encryption-with-a-KMS).
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 12 00:51:25 UTC 2022
    - 13.8K bytes
    - Viewed (0)
  7. cmd/bucket-replication-metrics.go

    	if !ok {
    		v = ProxyMetric{}
    	}
    	switch api {
    	case putObjectTaggingAPI:
    		if !isErr {
    			atomic.AddUint64(&v.PutTagTotal, 1)
    			atomic.AddUint64(&p.srProxyStats.PutTagTotal, 1)
    		} else {
    			atomic.AddUint64(&v.PutTagFailedTotal, 1)
    			atomic.AddUint64(&p.srProxyStats.PutTagFailedTotal, 1)
    		}
    	case getObjectTaggingAPI:
    		if !isErr {
    			atomic.AddUint64(&v.GetTagTotal, 1)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/security/simple-oauth2.md

    Qualquer código de status HTTP (erro) 401 "UNAUTHORIZED" também deve retornar um cabeçalho `WWW-Authenticate`.
    
    No caso de tokens ao portador (nosso caso), o valor desse cabeçalho deve ser `Bearer`.
    
    Na verdade, você pode pular esse cabeçalho extra e ainda funcionaria.
    
    Mas é fornecido aqui para estar em conformidade com as especificações.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:17:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. clause/delete_test.go

    		},
    		{
    			[]clause.Interface{clause.Delete{Modifier: "LOW_PRIORITY"}, clause.From{}},
    			"DELETE LOW_PRIORITY FROM `users`", nil,
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    			checkBuildClauses(t, result.Clauses, result.Result, result.Vars)
    		})
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Jun 02 01:18:01 UTC 2020
    - 608 bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/noncurrentversion.go

    func (n NoncurrentVersionExpiration) Validate() error {
    	if !n.set {
    		return nil
    	}
    	val := int(n.NoncurrentDays)
    	switch {
    	case val == 0 && n.NewerNoncurrentVersions == 0:
    		// both fields can't be zero
    		return errXMLNotWellFormed
    
    	case val < 0, n.NewerNoncurrentVersions < 0:
    		// negative values are not supported
    		return errXMLNotWellFormed
    	}
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 14 17:41:44 UTC 2021
    - 5.3K bytes
    - Viewed (0)
Back to top