Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for parsePorts (0.11 sec)

  1. cni/pkg/plugin/sidecar_redirect.go

    			keys = append(keys, port)
    		}
    	}
    	return keys
    }
    
    func parsePort(portStr string) (uint16, error) {
    	port, err := strconv.ParseUint(strings.TrimSpace(portStr), 10, 16)
    	if err != nil {
    		return 0, fmt.Errorf("failed parsing port %q: %v", portStr, err)
    	}
    	return uint16(port), nil
    }
    
    func parsePorts(portsString string) ([]int, error) {
    	portsString = strings.TrimSpace(portsString)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/JapaneseStopTokenFilterFactory.java

            this.ignoreCase = settings.getAsBoolean("ignore_case", false);
            this.removeTrailing = settings.getAsBoolean("remove_trailing", true);
            this.stopWords =
                    Analysis.parseWords(env, settings, "stopwords", JapaneseAnalyzer.getDefaultStopSet(), NAMED_STOP_WORDS, ignoreCase);
        }
    
        @Override
        public TokenStream create(TokenStream tokenStream) {
            if (removeTrailing) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

                  if (portColonOffset + 1 < componentDelimiterOffset) {
                    host = input.percentDecode(pos = pos, limit = portColonOffset).toCanonicalHost()
                    port = parsePort(input, portColonOffset + 1, componentDelimiterOffset)
                    require(port != -1) {
                      "Invalid URL port: \"${input.substring(
                        portColonOffset + 1,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
Back to top