Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for ext (0.19 sec)

  1. 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)
  2. 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)
  3. maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

            }
    
            String baseName;
            String ext = missing ? ".miss" : ".dep";
            Path trackingFile = null;
    
            String indent = "";
            ArrayList<String> trackingData = new ArrayList<>();
    
            if (collectStepTrace == null && plugin != null) {
                ext = ".plugin";
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Apr 12 11:08:37 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/c/experimental/grappler/grappler.h

    //       https://github.com/tensorflow/community/pull/257/files.
    //     * Note that the API is still under active development and doesn't have
    //       versioning guarantees yet.
    //   * `void* ext` is a free-form field that can be populated by
    //     a plugin in `TP_*` structs or potential future extension points .
    //
    // Example usage:
    //
    //   /* Sample TensorFlow code below, exact implementation might differ. */
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/ResourceUtil.java

            assertArgumentNotNull("path", path);
    
            if (extension == null) {
                return path;
            }
            final String ext = "." + extension;
            if (path.endsWith(ext)) {
                return path;
            }
            return path.replace('.', '/') + ext;
        }
    
        /**
         * リソースパスを返します。
         *
         * @param clazz
         *            クラス。{@literal null}であってはいけません
         * @return リソースパス
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            if (fileName == null) {
                return false;
            }
            final String lFileName = fileName.toLowerCase(Locale.ENGLISH);
            for (final String ext : exts) {
                if (lFileName.endsWith("." + ext)) {
                    return true;
                }
            }
            return false;
        }
    
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  9. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  10. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top