Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for ext (0.15 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. cmd/sftp-server-driver.go

    		r:      pr,
    		wg:     &sync.WaitGroup{},
    	}
    	wa.wg.Add(1)
    	go func() {
    		_, err := clnt.PutObject(r.Context(), bucket, object, pr, -1, minio.PutObjectOptions{
    			ContentType:          mimedb.TypeByExtension(path.Ext(object)),
    			DisableContentSha256: true,
    		})
    		pr.CloseWithError(err)
    		wa.wg.Done()
    	}()
    	return wa, nil
    }
    
    func (f *sftpDriver) Filecmd(r *sftp.Request) (err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  10. cmd/ftp-server-driver.go

    	if err != nil {
    		return 0, err
    	}
    
    	info, err := clnt.PutObject(context.Background(), bucket, object, data, -1, minio.PutObjectOptions{
    		ContentType:          mimedb.TypeByExtension(path.Ext(object)),
    		DisableContentSha256: true,
    	})
    	return info.Size, err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 13.6K bytes
    - Viewed (0)
Back to top