- Sort Score
- Result 10 results
- Languages All
Results 671 - 680 of 1,384 for funcs (0.04 sec)
-
cmd/config-current.go
MultipleTargets: subSysHelp.MultipleTargets, KeysHelp: help, }, nil } func newServerConfig() config.Config { return config.New() } // newSrvConfig - initialize a new server config, saves env parameters if // found, otherwise use default parameters func newSrvConfig(objAPI ObjectLayer) error { // Initialize server config. srvCfg := newServerConfig()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 03 18:23:41 UTC 2024 - 30.1K bytes - Viewed (0) -
schema/relationship_test.go
"gorm.io/gorm" "gorm.io/gorm/schema" ) func checkStructRelation(t *testing.T, data interface{}, relations ...Relation) { if s, err := schema.Parse(data, &sync.Map{}, schema.NamingStrategy{}); err != nil { t.Errorf("Failed to parse schema, got error %v", err) } else { for _, rel := range relations { checkSchemaRelation(t, s, rel) } } } func TestBelongsToOverrideForeignKey(t *testing.T) {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 25.5K bytes - Viewed (0) -
schema/index_test.go
{Field: &schema.Field{Name: "FieldH1", Unique: true}}, {Field: &schema.Field{Name: "FieldH2"}}, }, }, }, indices) } func CheckIndices(t *testing.T, expected, actual map[string]schema.Index) { for k, ei := range expected { t.Run(k, func(t *testing.T) { ai, ok := actual[k] if !ok { t.Errorf("expected index %q but actual missing", k) return }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sun Feb 04 07:49:19 UTC 2024 - 8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint_test.go
"istio.io/istio/pkg/test/util/assert" ) func TestPrintEndpointsSummary(t *testing.T) { tests := []struct { name string filter EndpointFilter }{ { name: "emptyfilter", filter: EndpointFilter{}, }, { name: "portfilter", filter: EndpointFilter{ Port: 8080, }, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { gotOut := &bytes.Buffer{}
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 12 02:25:59 UTC 2022 - 2.4K bytes - Viewed (0) -
istioctl/pkg/authz/analyzer_test.go
}, }, }, }, wantErr: nil, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { if _, wanted2 := NewAnalyzer(tt.input); wanted2 != nil { t.Errorf("Wanted %v, got %v", tt.wantErr, wanted2) } }) } } func TestPrint(t *testing.T) { a := &Analyzer{ listenerDump: &envoy_admin.ListenersConfigDump{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 2.8K bytes - Viewed (0) -
internal/event/targetlist.go
} }() } wk.Wait() } var startOnce sync.Once // Init initialize target send workers. func (list *TargetList) Init(workers int) *TargetList { startOnce.Do(func() { go list.startSendWorkers(workers) }) return list } // NewTargetList - creates TargetList. func NewTargetList(ctx context.Context) *TargetList { list := &TargetList{ targets: make(map[TargetID]Target),
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 9.2K bytes - Viewed (0) -
src/cmd/asm/internal/lex/slice.go
} func (s *Slice) File() string { return s.base.Filename() } func (s *Slice) Base() *src.PosBase { return s.base } func (s *Slice) SetBase(base *src.PosBase) { // Cannot happen because we only have slices of already-scanned text, // but be prepared. s.base = base } func (s *Slice) Line() int { return s.line } func (s *Slice) Col() int {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jun 29 22:49:50 UTC 2023 - 1.6K bytes - Viewed (0) -
cmd/test-utils_test.go
func resetGlobalEndpoints() { globalEndpoints = EndpointServerPools{} } func resetGlobalIsErasure() { globalIsErasure = false } // reset global heal state func resetGlobalHealState() { // Init global heal state if globalAllHealState == nil { globalAllHealState = newHealState(GlobalContext, false) } else { globalAllHealState.Lock() for _, v := range globalAllHealState.healSeqMap {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0) -
istioctl/pkg/version/version.go
return remInfo, err } } func getProxyInfoWrapper(ctx cli.Context, opts *clioptions.ControlPlaneOptions) func() (*[]istioVersion.ProxyInfo, error) { return func() (*[]istioVersion.ProxyInfo, error) { client, err := ctx.CLIClientWithRevision(opts.Revision) if err != nil { return nil, err } return proxy.GetProxyInfo(client, ctx.IstioNamespace()) } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 29 21:11:35 UTC 2024 - 8.3K bytes - Viewed (0) -
api/go1.16.txt
pkg os, const ModeType fs.FileMode pkg os, func Chmod(string, fs.FileMode) error pkg os, func CreateTemp(string, string) (*File, error) pkg os, func DirFS(string) fs.FS pkg os, func Lstat(string) (fs.FileInfo, error) pkg os, func Mkdir(string, fs.FileMode) error pkg os, func MkdirAll(string, fs.FileMode) error pkg os, func MkdirTemp(string, string) (string, error) pkg os, func OpenFile(string, int, fs.FileMode) (*File, error)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Dec 02 16:30:41 UTC 2022 - 479.2K bytes - Viewed (0)