Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for locale (0.17 sec)

  1. schema/relationship_test.go

    			Name: "LocaleTags", Type: schema.Many2Many, Schema: "Blog", FieldSchema: "Tag",
    			JoinTable: JoinTable{Name: "locale_blog_tags", Table: "locale_blog_tags"},
    			References: []Reference{
    				{"ID", "Blog", "BlogID", "locale_blog_tags", "", true},
    				{"Locale", "Blog", "BlogLocale", "locale_blog_tags", "", true},
    				{"ID", "Tag", "TagID", "locale_blog_tags", "", false},
    			},
    		},
    	)
    }
    
    func TestMultipleMany2Many(t *testing.T) {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  2. tests/helper_test.go

    	}
    
    	for i := 0; i < config.Team; i++ {
    		user.Team = append(user.Team, *GetUser(name+"_team_"+strconv.Itoa(i+1), Config{}))
    	}
    
    	for i := 0; i < config.Languages; i++ {
    		name := name + "_locale_" + strconv.Itoa(i+1)
    		language := Language{Code: name, Name: name}
    		user.Languages = append(user.Languages, language)
    	}
    
    	for i := 0; i < config.Friends; i++ {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 8K bytes
    - Viewed (0)
  3. cmd/local-locker.go

    	}
    	return lockCopy
    }
    
    func (l *localLocker) Close() error {
    	return nil
    }
    
    // IsOnline - local locker is always online.
    func (l *localLocker) IsOnline() bool {
    	return true
    }
    
    // IsLocal - local locker returns true.
    func (l *localLocker) IsLocal() bool {
    	return true
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    		if err = verifyBinary(u, sha256Sum, releaseInfo, mode, bytes.NewReader(bin)); err != nil {
    			peerResults[local] = madmin.ServerPeerUpdateStatus{
    				Host:           local,
    				Err:            err.Error(),
    				CurrentVersion: Version,
    			}
    		} else {
    			peerResults[local] = madmin.ServerPeerUpdateStatus{
    				Host:           local,
    				CurrentVersion: Version,
    				UpdatedVersion: lrTime.Format(MinioReleaseTagTimeLayout),
    			}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  5. istioctl/pkg/proxyconfig/proxyconfig.go

      istioctl proxy-config clusters <pod-name[.namespace]> --port 9080
    
      # Retrieve full cluster dump for clusters that are inbound with a FQDN of details.default.svc.cluster.local.
      istioctl proxy-config clusters <pod-name[.namespace]> --fqdn details.default.svc.cluster.local --direction inbound -o json
    
      # Retrieve cluster summary without using Kubernetes API
      ssh <user@hostname> 'curl localhost:15000/config_dump' > envoy-config.json
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  6. cmd/erasure.go

    	getDisks func() []StorageAPI
    
    	// getLockers returns list of remote and local lockers.
    	getLockers func() ([]dsync.NetLocker, string)
    
    	// getEndpoints returns list of endpoint belonging this set.
    	// some may be local and some remote.
    	getEndpoints func() []Endpoint
    
    	// getEndpoints returns list of endpoint strings belonging this set.
    	// some may be local and some remote.
    	getEndpointStrings func() []string
    
    	// Locker mutex map.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 10:02:39 GMT 2024
    - 16K bytes
    - Viewed (1)
  7. tests/tests_test.go

    var (
    	mysqlDSN     = "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True&loc=Local"
    	postgresDSN  = "user=gorm password=gorm dbname=gorm host=localhost port=9920 sslmode=disable TimeZone=Asia/Shanghai"
    	sqlserverDSN = "sqlserver://gorm:LoremIpsum86@localhost:9930?database=gorm"
    	tidbDSN      = "root:@tcp(localhost:9940)/test?charset=utf8&parseTime=True&loc=Local"
    )
    
    func init() {
    	var err error
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  8. internal/config/errors.go

    		"HTTPS specified in endpoints, but no TLS certificate is found on the local machine",
    		"Please add TLS certificate or use HTTP endpoints only",
    		"Refer to https://min.io/docs/minio/linux/operations/network-encryption.html for information about how to load a TLS certificate in your server",
    	)
    
    	ErrCertsAndHTTPEndpoints = newErrFn(
    		"HTTP specified in endpoints, but the server in the local machine is configured with a TLS certificate",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. src/archive/zip/writer.go

    func detectUTF8(s string) (valid, require bool) {
    	for i := 0; i < len(s); {
    		r, size := utf8.DecodeRuneInString(s[i:])
    		i += size
    		// Officially, ZIP uses CP-437, but many readers use the system's
    		// local character encoding. Most encoding are compatible with a large
    		// subset of CP-437, which itself is ASCII-like.
    		//
    		// Forbid 0x7e and 0x5c since EUC-KR and Shift-JIS replace those
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  10. internal/bucket/object/lock/lock.go

    func (l *ObjectLegalHold) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
    	switch start.Name.Local {
    	case "LegalHold", "ObjectLockLegalHold":
    	default:
    		return xml.UnmarshalError(fmt.Sprintf("expected element type <LegalHold>/<ObjectLockLegalHold> but have <%s>",
    			start.Name.Local))
    	}
    	for {
    		// Read tokens from the XML document in a stream.
    		t, err := d.Token()
    		if err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
Back to top