Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for title (0.16 sec)

  1. schema/relationship.go

    				return
    			}
    		}
    	}
    
    	for idx, ownField := range ownForeignFields {
    		joinFieldName := strings.Title(schema.Name) + ownField.Name
    		if len(joinForeignKeys) > idx {
    			joinFieldName = strings.Title(joinForeignKeys[idx])
    		}
    
    		ownFieldsMap[joinFieldName] = ownField
    		fieldsMap[joinFieldName] = ownField
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  2. schema/naming.go

    	}
    	ret := buf.String()
    	return ret
    }
    
    func (ns NamingStrategy) toSchemaName(name string) string {
    	result := strings.ReplaceAll(strings.Title(strings.ReplaceAll(name, "_", " ")), " ", "")
    	for _, initialism := range commonInitialisms {
    		result = regexp.MustCompile(strings.Title(strings.ToLower(initialism))+"([A-Z]|$|_)").ReplaceAllString(result, initialism+"$1")
    	}
    	return result
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  3. internal/s3select/select_test.go

    }
    
    func TestJSONQueries(t *testing.T) {
    	input := `{"id": 0,"title": "Test Record","desc": "Some text","synonyms": ["foo", "bar", "whatever"]}
    	{"id": 1,"title": "Second Record","desc": "another text","synonyms": ["some", "synonym", "value"]}
    	{"id": 2,"title": "Second Record","desc": "another text","numbers": [2, 3.0, 4]}
    	{"id": 3,"title": "Second Record","desc": "another text","nested": [[2, 3.0, 4], [7, 8.5, 9]]}`
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  4. src/bytes/bytes.go

    	return unicode.IsSpace(r)
    }
    
    // Title treats s as UTF-8-encoded bytes and returns a copy with all Unicode letters that begin
    // words mapped to their title case.
    //
    // Deprecated: The rule Title uses for word boundaries does not handle Unicode
    // punctuation properly. Use golang.org/x/text/cases instead.
    func Title(s []byte) []byte {
    	// Use a closure here to remember state.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  5. src/bytes/example_test.go

    }
    
    func ExampleSplitAfterN() {
    	fmt.Printf("%q\n", bytes.SplitAfterN([]byte("a,b,c"), []byte(","), 2))
    	// Output: ["a," "b,c"]
    }
    
    func ExampleTitle() {
    	fmt.Printf("%s", bytes.Title([]byte("her royal highness")))
    	// Output: Her Royal Highness
    }
    
    func ExampleToTitle() {
    	fmt.Printf("%s\n", bytes.ToTitle([]byte("loud noises")))
    	fmt.Printf("%s\n", bytes.ToTitle([]byte("хлеб")))
    	// Output:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  6. src/bytes/bytes_test.go

    	{"unicode \xe2\x80\xa8 line separator", "Unicode \xe2\x80\xa8 Line Separator"},
    }
    
    func TestTitle(t *testing.T) {
    	for _, tt := range TitleTests {
    		if s := string(Title([]byte(tt.in))); s != tt.out {
    			t.Errorf("Title(%q) = %q, want %q", tt.in, s, tt.out)
    		}
    	}
    }
    
    var ToTitleTests = []TitleTest{
    	{"", ""},
    	{"a", "A"},
    	{" aaa aaa aaa ", " AAA AAA AAA "},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  7. istioctl/cmd/root.go

    	rootCmd.AddCommand(multicluster.NewCreateRemoteSecretCommand(ctx))
    	rootCmd.AddCommand(proxyconfig.ClustersCommand(ctx))
    
    	rootCmd.AddCommand(collateral.CobraCommand(rootCmd, collateral.Metadata{
    		Title:   "Istio Control",
    		Section: "istioctl CLI",
    		Manual:  "Istio Control",
    	}))
    
    	validateCmd := validate.NewValidateCommand(ctx)
    	hideInheritedFlags(validateCmd, "kubeconfig")
    	rootCmd.AddCommand(validateCmd)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  8. cni/pkg/cmd/root.go

    	logOptions.AttachCobraFlags(rootCmd)
    	ctrlzOptions.AttachCobraFlags(rootCmd)
    
    	rootCmd.AddCommand(version.CobraCommand())
    	rootCmd.AddCommand(collateral.CobraCommand(rootCmd, collateral.Metadata{
    		Title:   "Istio CNI Plugin Installer",
    		Section: "install-cni CLI",
    		Manual:  "Istio CNI Plugin Installer",
    	}))
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 21:42:29 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  9. internal/s3select/sql/parser_test.go

    		participle.Lexer(sqlLexer),
    		participle.CaseInsensitive("Keyword"),
    		participle.CaseInsensitive("Timeword"),
    	)
    
    	j := JSONPath{}
    	cases := []string{
    		"S3Object",
    		"S3Object.id",
    		"S3Object.book.title",
    		"S3Object.id[1]",
    		"S3Object.id['abc']",
    		"S3Object.id['ab']",
    		"S3Object.words.*.id",
    		"S3Object.words.name[*].val",
    		"S3Object.words.name[*].val[*]",
    		"S3Object.words.name[*].val.*",
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  10. cmd/update.go

    		if vsphereVersion != "" {
    			uaAppend(" vsphere-plugin-", vsphereVersion)
    		}
    	}
    
    	if IsPCFTile() {
    		pcfTileVersion := env.Get("MINIO_PCF_TILE_VERSION", "")
    		if pcfTileVersion != "" {
    			uaAppend(" pcf-tile-", pcfTileVersion)
    		}
    	}
    	uaAppend("; ", "")
    
    	if cpus, err := gopsutilcpu.Info(); err == nil && len(cpus) > 0 {
    		cpuMap := make(map[string]struct{}, len(cpus))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
Back to top