Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for sqlite (0.15 sec)

  1. tests/migrate_test.go

    		t.Fatalf("Found deleted column")
    	}
    }
    
    func TestMigrateColumns(t *testing.T) {
    	tidbSkip(t, "use another test case")
    
    	sqlite := DB.Dialector.Name() == "sqlite"
    	sqlserver := DB.Dialector.Name() == "sqlserver"
    
    	type ColumnStruct struct {
    		gorm.Model
    		Name  string
    		Age   int    `gorm:"default:18;comment:my age"`
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  2. tests/query_test.go

    							t.Errorf("invalid data type for %v, got %v %#v", dbName, resultType, first[dbName])
    						}
    					case "Birthday":
    						if !strings.Contains(resultType, "Time") && !(DB.Dialector.Name() == "sqlite" && strings.Contains(resultType, "string")) {
    							t.Errorf("invalid data type for %v, got %v %#v", dbName, resultType, first[dbName])
    						}
    					}
    
    					reflectValue := reflect.Indirect(reflect.ValueOf(users[0]))
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

    to a database. Only SQLite is supported right now. This function
    will create the schema if it doesn't exist. Entries in the Users,
    Experiments, and Runs tables will be created automatically if they
    don't already exist.
    
    writer: Handle to SummaryWriter resource to overwrite.
    db_uri: For example "file:/tmp/foo.sqlite".
    experiment_name: Can't contain ASCII control characters or <>. Case
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  4. src/strings/strings_test.go

    	for _, tt := range splittests {
    		a := SplitN(tt.s, tt.sep, tt.n)
    		if !eq(a, tt.a) {
    			t.Errorf("Split(%q, %q, %d) = %v; want %v", tt.s, tt.sep, tt.n, a, tt.a)
    			continue
    		}
    		if tt.n == 0 {
    			continue
    		}
    		s := Join(a, tt.sep)
    		if s != tt.s {
    			t.Errorf("Join(Split(%q, %q, %d), %q) = %q", tt.s, tt.sep, tt.n, tt.sep, s)
    		}
    		if tt.n < 0 {
    			b := Split(tt.s, tt.sep)
    			if !reflect.DeepEqual(a, b) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  5. src/go/build/build.go

    	// JoinPath joins the sequence of path fragments into a single path.
    	// If JoinPath is nil, Import uses filepath.Join.
    	JoinPath func(elem ...string) string
    
    	// SplitPathList splits the path list into a slice of individual paths.
    	// If SplitPathList is nil, Import uses filepath.SplitList.
    	SplitPathList func(list string) []string
    
    	// IsAbsPath reports whether path is an absolute path.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  6. src/runtime/mheap.go

    	mp := acquirem()
    	span.ensureSwept()
    
    	offset := uintptr(p) - span.base()
    	kind := s.kind
    
    	lock(&span.speciallock)
    
    	// Find splice point, check for existing record.
    	iter, exists := span.specialFindSplicePoint(offset, kind)
    	if !exists {
    		// Splice in record, fill in offset.
    		s.offset = uint16(offset)
    		s.next = *iter
    		*iter = s
    		spanHasSpecials(span)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  7. src/syscall/zerrors_solaris_amd64.go

    	132: "no buffer space available",
    	133: "transport endpoint is already connected",
    	134: "transport endpoint is not connected",
    	143: "cannot send after socket shutdown",
    	144: "too many references: cannot splice",
    	145: "connection timed out",
    	146: "connection refused",
    	147: "host is down",
    	148: "no route to host",
    	149: "operation already in progress",
    	150: "operation now in progress",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 50.8K bytes
    - Viewed (0)
  8. pkg/apis/admissionregistration/validation/validation.go

    	admissionregistrationv1beta1 "k8s.io/kubernetes/pkg/apis/admissionregistration/v1beta1"
    	apivalidation "k8s.io/kubernetes/pkg/apis/core/validation"
    )
    
    func hasWildcard(slice []string) bool {
    	for _, s := range slice {
    		if s == "*" {
    			return true
    		}
    	}
    	return false
    }
    
    func validateResources(resources []string, fldPath *field.Path) field.ErrorList {
    	var allErrors field.ErrorList
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  9. istioctl/pkg/describe/describe.go

    							if gatewayName == "" || gatewayName == analyzerutil.MeshGateway {
    								continue
    							}
    							// parse gateway
    							gns := vsNamespace
    							parts := strings.SplitN(gatewayName, "/", 2)
    							if len(parts) == 2 {
    								gatewayName = parts[1]
    								gns = parts[0]
    							}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    		CacheKey:            cacheKey,
    	}
    }
    
    func logLines(logs string) []string {
    	if len(logs) == 0 {
    		return nil
    	}
    
    	lines := strings.Split(strings.TrimSpace(logs), "\n")
    	for i, line := range lines {
    		lines[i] = strings.SplitN(line, "] ", 2)[1]
    	}
    	return lines
    }
    
    func TestGetEncryptionConfigHash(t *testing.T) {
    	t.Parallel()
    
    	tests := []struct {
    		name     string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
Back to top