- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 63 for cfg (0.07 sec)
-
codereview.cfg
Russ Cox <******@****.***> 1613759983 -0500
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Feb 19 18:44:53 UTC 2021 - 15 bytes - Viewed (0) -
internal/config/scanner/scanner.go
return cfg, err } } } switch speed := env.Get(EnvSpeed, kvs.GetWithDefault(Speed, DefaultKVS)); speed { case "fastest": cfg.Delay, cfg.MaxWait, cfg.Cycle = 0, 0, time.Second case "fast": cfg.Delay, cfg.MaxWait, cfg.Cycle = 1, 100*time.Millisecond, time.Minute case "default": cfg.Delay, cfg.MaxWait, cfg.Cycle = 2, time.Second, time.Minute case "slow":
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.5K bytes - Viewed (0) -
internal/config/etcd/etcd.go
} // New - initialize new etcd client. func New(cfg Config) (*clientv3.Client, error) { if !cfg.Enabled { return nil, nil } cli, err := clientv3.New(cfg.Config) if err != nil { return nil, err } cli.KV = namespace.NewKV(cli.KV, cfg.PathPrefix) cli.Watcher = namespace.NewWatcher(cli.Watcher, cfg.PathPrefix) cli.Lease = namespace.NewLease(cli.Lease, cfg.PathPrefix) return cli, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 28 23:17:22 UTC 2024 - 5.2K bytes - Viewed (0) -
internal/config/batch/batch.go
if err != nil { return cfg, err } if eduration < 0 { return cfg, config.ErrInvalidBatchExpirationWorkersWait(nil) } if rduration > 0 { cfg.ReplicationWorkersWait = rduration } if kduration > 0 { cfg.KeyRotationWorkersWait = kduration } if eduration > 0 { cfg.ExpirationWorkersWait = eduration } return cfg, nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.7K bytes - Viewed (0) -
internal/config/browser/browser.go
if err != nil { return cfg, err } cfg.HSTSSeconds = hstsSeconds cfg.HSTSIncludeSubdomains = hstsIncludeSubdomains cfg.HSTSPreload = hstsPreload referrerPolicy := env.Get(EnvBrowserReferrerPolicy, kvs.GetWithDefault(browserReferrerPolicy, DefaultKVS)) switch referrerPolicy {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 21 00:58:58 UTC 2024 - 5.9K bytes - Viewed (0) -
cni/pkg/iptables/iptables_linux.go
) func AddInpodMarkIPRule(cfg *Config) error { err := forEachInpodMarkIPRule(cfg, netlink.RuleAdd) if errors.Is(err, unix.EEXIST) { log.Debugf("Ignoring exists error adding inpod mark ip rule: %v", err) return nil } return err } func DelInpodMarkIPRule(cfg *Config) error { return forEachInpodMarkIPRule(cfg, netlink.RuleDel) } func forEachInpodMarkIPRule(cfg *Config, f func(*netlink.Rule) error) error {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Sep 06 09:44:28 UTC 2024 - 4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
this.cfg = cfg; this.fileId = fid; this.initialSize = initialSize; this.fid = 0; this.unc = unc; this.flags = flags; this.access = access; this.attrs = attrs; this.options = options; this.tree = tree.acquire(); this.tree_num = tree.getTreeId(); if ( cfg.isTraceResourceUsage() ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.6K bytes - Viewed (1) -
cni/pkg/iptables/iptables_e2e_test.go
setup(t) tt := struct { name string config func(cfg *Config) }{ "default", func(cfg *Config) { cfg.RedirectDNS = true }, } probeSNATipv4 := netip.MustParseAddr("169.254.7.127") probeSNATipv6 := netip.MustParseAddr("e9ac:1e77:90ca:399f:4d6d:ece2:2f9b:3164") cfg := &Config{} tt.config(cfg) deps := &dep.RealDependencies{}
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 15 15:39:28 UTC 2024 - 2.9K bytes - Viewed (0) -
cni/pkg/iptables/nldeps.go
type NetlinkDependencies interface { AddInpodMarkIPRule(cfg *Config) error DelInpodMarkIPRule(cfg *Config) error AddLoopbackRoutes(cfg *Config) error DelLoopbackRoutes(cfg *Config) error } func RealNlDeps() NetlinkDependencies { return &realDeps{} } type realDeps struct{} func (r *realDeps) AddInpodMarkIPRule(cfg *Config) error { return AddInpodMarkIPRule(cfg) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 1.6K bytes - Viewed (0) -
cni/pkg/iptables/iptables_test.go
name string config func(cfg *Config) ingressMode bool }{ { name: "default", config: func(cfg *Config) { cfg.RedirectDNS = true }, }, { name: "tproxy", config: func(cfg *Config) { cfg.TPROXYRedirection = true cfg.RedirectDNS = true }, }, { name: "ingress", config: func(cfg *Config) { }, ingressMode: true, }, }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 15 15:39:28 UTC 2024 - 4.1K bytes - Viewed (0)