- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for ext (0.14 sec)
-
cni/pkg/iptables/iptables_test.go
cfg := constructTestConfig() tt.config(cfg) ext := &dep.DependenciesStub{} iptConfigurator, _ := NewIptablesConfigurator(cfg, ext, EmptyNlDeps()) err := iptConfigurator.CreateInpodRules(&probeSNATipv4) if err != nil { t.Fatal(err) } compareToGolden(t, false, tt.name, ext.ExecutedAll) *ext = dep.DependenciesStub{} // run another time to make sure we are idempotent
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.7K bytes - Viewed (0) -
cmd/metacache_test.go
{ name: "root", prefix: "object.ext", want: "", }, { name: "rootdotslash", prefix: "./object.ext", want: "", }, { name: "rootslash", prefix: "/", want: "", }, { name: "folder", prefix: "prefix/", want: "prefix/", }, { name: "folderobj", prefix: "prefix/obj.ext", want: "prefix/", }, {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Sep 08 18:06:45 GMT 2021 - 6.8K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
EnableIPv6: c.EnableIPv6, RedirectDNS: c.RedirectDNS, } } func NewIptablesConfigurator(cfg *Config, ext dep.Dependencies, nlDeps NetlinkDependencies) (*IptablesConfigurator, error) { if cfg == nil { cfg = &Config{ RestoreFormat: true, } } configurator := &IptablesConfigurator{ ext: ext, nlDeps: nlDeps, cfg: cfg, } // By detecting iptables versions *here* once-for-all we are
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 07 19:54:50 GMT 2024 - 19.7K bytes - Viewed (0) -
cmd/metacache-entries.go
// Root idx := strings.Index(e.name, separator) return idx == -1 || idx == len(e.name)-len(separator) } ext := strings.TrimPrefix(e.name, dir) if len(ext) != len(e.name) { idx := strings.Index(ext, separator) // If separator is not found or is last entry, ok. return idx == -1 || idx == len(ext)-len(separator) } return false } // isLatestDeletemarker returns whether the latest version is a delete marker.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 16:43:43 GMT 2024 - 23.2K bytes - Viewed (0) -
operator/cmd/mesh/manifest-diff.go
fmt.Printf("Differences in manifests are:\n%s\n", diff) return false, nil } fmt.Println("Manifests are identical") return true, nil } func yamlFileFilter(path string) bool { return filepath.Ext(path) == YAMLSuffix } // compareManifestsFromDirs compares manifests from two directories func compareManifestsFromDirs(verbose bool, dirName1, dirName2, renameResources, selectResources, ignoreResources string,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 5.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
isIndex := false num := int16(0) isAmount := true // Amount is zero by default ext := "" if p.peek() == lex.LSH { // (Rn)(Rm<<2), the shifted offset register. ext = "LSL" } else { // (Rn)(Rm.UXTW<1), the extended offset register. // Rm.UXTW<<3, the extended register. p.get('.') tok := p.next() ext = tok.String() } if p.peek() == lex.LSH {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 36.9K bytes - Viewed (0) -
internal/store/queuestore.go
// NewQueueStore - Creates an instance for QueueStore. func NewQueueStore[I any](directory string, limit uint64, ext string) *QueueStore[I] { if limit == 0 { limit = defaultLimit } if ext == "" { ext = defaultExt } return &QueueStore[I]{ directory: directory, entryLimit: limit, fileExt: ext, entries: make(map[string]int64, limit), } } // Open - Creates the directory if not present.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Mar 25 16:44:20 GMT 2024 - 7.1K bytes - Viewed (0) -
src/cmd/asm/internal/arch/arm64.go
func ARM64RegisterExtension(a *obj.Addr, ext string, reg, num int16, isAmount, isIndex bool) error { Rnum := (reg & 31) + int16(num<<5) if isAmount { if num < 0 || num > 7 { return errors.New("index shift amount is out of range") } } if reg <= arm64.REG_R31 && reg >= arm64.REG_R0 { if !isAmount { return errors.New("invalid register extension") } switch ext { case "UXTB":
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Sep 29 09:04:58 GMT 2022 - 10.4K bytes - Viewed (0) -
istioctl/cmd/root.go
// ConfigAndEnvProcessing uses spf13/viper for overriding CLI parameters func ConfigAndEnvProcessing() error { configPath := filepath.Dir(root.IstioConfig) baseName := filepath.Base(root.IstioConfig) configType := filepath.Ext(root.IstioConfig) configName := baseName[0 : len(baseName)-len(configType)] if configType != "" { configType = configType[1:] } // Allow users to override some variables through $HOME/.istioctl/config.yaml
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 11 20:51:30 GMT 2024 - 10K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
un.GetKind(), un.GetNamespace(), un.GetName()))) } } } func isFileFormatValid(file string) bool { ext := filepath.Ext(file) return slices.Contains(fileExtensions, ext) } func validateFiles(istioNamespace *string, defaultNamespace string, filenames []string, writer io.Writer) error { if len(filenames) == 0 { return errMissingFilename }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Jan 22 17:58:52 GMT 2024 - 15K bytes - Viewed (0)