Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 1,036 for kvar (0.86 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/PlatformTest.kt

    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class PlatformTest {
      @RegisterExtension
      var platform = PlatformRule()
    
      @Test
      fun alwaysBuilds() {
        Platform()
      }
    
      /** Guard against the default value changing by accident.  */
      @Test
      fun defaultPrefix() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. callbacks/create_test.go

    package callbacks
    
    import (
    	"reflect"
    	"sync"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    )
    
    var schemaCache = &sync.Map{}
    
    func TestConvertToCreateValues_DestType_Slice(t *testing.T) {
    	type user struct {
    		ID    int `gorm:"primaryKey"`
    		Name  string
    		Email string `gorm:"default:(-)"`
    		Age   int    `gorm:"default:(-)"`
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Mar 18 05:48:42 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. gorm.go

    		return isConfig && !isConfig2
    	})
    
    	if len(opts) > 0 {
    		if c, ok := opts[0].(*Config); ok {
    			config = c
    		} else {
    			opts = append([]Option{config}, opts...)
    		}
    	}
    
    	var skipAfterInitialize bool
    	for _, opt := range opts {
    		if opt != nil {
    			if applyErr := opt.Apply(config); applyErr != nil {
    				return nil, applyErr
    			}
    			defer func(opt Option) {
    				if skipAfterInitialize {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. cmd/signature-v4.go

    func getCanonicalHeaders(signedHeaders http.Header) string {
    	var headers []string
    	vals := make(http.Header, len(signedHeaders))
    	for k, vv := range signedHeaders {
    		k = strings.ToLower(k)
    		headers = append(headers, k)
    		vals[k] = vv
    	}
    	sort.Strings(headers)
    
    	var buf bytes.Buffer
    	for _, k := range headers {
    		buf.WriteString(k)
    		buf.WriteByte(':')
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Dec 13 22:19:12 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

      fun allPublicSuffixes() {
        val buffer = Buffer()
        FileSystem.SYSTEM.read(pathForTests) {
          val length = readInt()
          buffer.write(this, length.toLong())
        }
        while (!buffer.exhausted()) {
          var publicSuffix = buffer.readUtf8LineStrict()
          if (publicSuffix.contains("*")) {
            // A wildcard rule, let's replace the wildcard with a value.
            publicSuffix = publicSuffix.replace("\\*".toRegex(), "square")
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. docs/sts/web-identity.go

    )
    
    // Returns a base64 encoded random 32 byte string.
    func randomState() string {
    	b := make([]byte, 32)
    	rand.Read(b)
    	return base64.RawURLEncoding.EncodeToString(b)
    }
    
    var (
    	stsEndpoint    string
    	configEndpoint string
    	clientID       string
    	clientSec      string
    	clientScopes   string
    	port           int
    )
    
    // DiscoveryDoc - parses the output from openid-configuration
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 19 09:13:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  7. tests/migrate_test.go

    		t.Fatalf("failed to get column types, got error: %v", err)
    	}
    	return modifySql
    }
    
    func decimalColumnsTest[T, T2 any](t *testing.T, expectedSql []string) {
    	var t1 T
    	var t2 T2
    	modSql := testAutoMigrateDecimal(t, t1, t2)
    	var alterSQL []string
    	for _, sql := range modSql {
    		if strings.HasPrefix(sql, "ALTER TABLE ") {
    			alterSQL = append(alterSQL, sql)
    		}
    	}
    
    	if len(alterSQL) != 3 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  8. finisher_api.go

    	var (
    		tx = db.Order(clause.OrderByColumn{
    			Column: clause.Column{Table: clause.CurrentTable, Name: clause.PrimaryKey},
    		}).Session(&Session{})
    		queryDB      = tx
    		rowsAffected int64
    		batch        int
    	)
    
    	// user specified offset or limit
    	var totalSize int
    	if c, ok := tx.Statement.Clauses["LIMIT"]; ok {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/badword/admin_badword.jsp

                                                </tr>
                                                </thead>
                                                <tbody>
                                                <c:forEach var="data" varStatus="s"
                                                           items="${badWordItems}">
                                                    <tr
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 6.5K bytes
    - Viewed (0)
  10. cmd/routers.go

    	"github.com/minio/mux"
    )
    
    // Composed function registering routers for only distributed Erasure setup.
    func registerDistErasureRouters(router *mux.Router, endpointServerPools EndpointServerPools) {
    	var (
    		lockGrid   = globalLockGrid.Load()
    		commonGrid = globalGrid.Load()
    	)
    
    	// Register storage REST router only if its a distributed setup.
    	registerStorageRESTHandlers(router, endpointServerPools, commonGrid)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top