- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for ext (0.13 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 err = iptConfigurator.CreateInpodRules(&probeSNATipv4)
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 17:46:23 GMT 2024 - 3.8K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
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 Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 01:42:30 GMT 2024 - 19.2K 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 Apr 21 19:28:08 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 23 11:13:09 GMT 2024 - Last Modified: Thu Sep 29 09:04:58 GMT 2022 - 10.4K 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 Apr 24 22:53:08 GMT 2024 - Last Modified: Mon Jan 22 17:58:52 GMT 2024 - 15K bytes - Viewed (0) -
internal/disk/type_linux.go
package disk import "strconv" // fsType2StringMap - list of filesystems supported on linux var fsType2StringMap = map[string]string{ "1021994": "TMPFS", "137d": "EXT", "4244": "HFS", "4d44": "MSDOS", "52654973": "REISERFS", "5346544e": "NTFS", "58465342": "XFS", "61756673": "AUFS", "6969": "NFS", "ef51": "EXT2OLD", "ef53": "EXT4",
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 1.6K bytes - Viewed (3) -
internal/disk/stat_linux_s390x.go
package disk import ( "errors" "fmt" "strconv" "syscall" ) // fsType2StringMap - list of filesystems supported on linux var fsType2StringMap = map[string]string{ "1021994": "TMPFS", "137d": "EXT", "4244": "HFS", "4d44": "MSDOS", "52654973": "REISERFS", "5346544e": "NTFS", "58465342": "XFS", "61756673": "AUFS", "6969": "NFS", "ef51": "EXT2OLD", "ef53": "EXT4",
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 2.6K bytes - Viewed (2) -
internal/disk/stat_linux_32bit.go
package disk import ( "errors" "fmt" "strconv" "syscall" ) // fsType2StringMap - list of filesystems supported on linux var fsType2StringMap = map[string]string{ "1021994": "TMPFS", "137d": "EXT", "4244": "HFS", "4d44": "MSDOS", "52654973": "REISERFS", "5346544e": "NTFS", "58465342": "XFS", "61756673": "AUFS", "6969": "NFS", "ef51": "EXT2OLD", "ef53": "EXT4",
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 2.6K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
foundIssues = true } } if foundIssues { return AnalyzerFoundIssuesError{} } return nil } func isValidFile(f string) bool { ext := filepath.Ext(f) for _, e := range fileExtensions { if e == ext { return true } } return false } func AnalyzersAsString(analyzers []analysis.Analyzer) string { nameToAnalyzer := make(map[string]analysis.Analyzer)
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 17K bytes - Viewed (0) -
cmd/utils.go
// disk since the name of this latter is randomly generated. type profilerWrapper struct { // Profile recorded at start of benchmark. records map[string][]byte stopFn func() ([]byte, error) ext string } // record will record the profile and store it as the base. func (p *profilerWrapper) record(profileType string, debug int, recordName string) { var buf bytes.Buffer if p.records == nil {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sun Apr 21 11:43:18 GMT 2024 - 32K bytes - Viewed (0)